:root {
  --bg: #09110f;
  --surface: #0e1816;
  --surface-hover: #121e1b;
  --text: #f7f6f1;
  --muted: #a6b2ae;
  --muted-strong: #c3ccc8;
  --line: rgba(222, 232, 227, 0.14);
  --line-strong: rgba(222, 232, 227, 0.28);
  --green: #b8d69f;
  --green-hover: #c7e4ae;
  --dark: #09110f;
  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 760px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 1px;
  background: var(--line-strong);
  pointer-events: none;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--font-heading);
}

p {
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.25rem);
}

/* Identidade */
#capa {
  padding: clamp(1.75rem, 6vw, 3rem) 0 clamp(2rem, 5vw, 3rem);
}

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.identity__photo {
  width: 190px;
  margin-bottom: 1.2rem;
}

.identity__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 12%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  filter: none;
}

.identity__primary {
  width: 100%;
  min-width: 0;
}

.identity__name {
  max-width: 34rem;
  margin-inline: auto;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.identity__role {
  margin-top: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.identity__place {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.identity__place span {
  white-space: nowrap;
}

.identity__place span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.75em;
  margin-inline: 0.65rem;
  background: var(--line-strong);
}

.identity__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.identity__social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  font-size: 0;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.identity__social svg {
  width: 20px;
  height: 20px;
}

.identity__social li:first-child a {
  border-color: var(--green);
  background: var(--green);
  color: var(--dark);
}

.identity__social a:hover,
.identity__social a:focus-visible {
  border-color: var(--green);
  background: rgba(184, 214, 159, 0.08);
}

.identity__social li:first-child a:hover,
.identity__social li:first-child a:focus-visible {
  background: var(--green-hover);
  color: var(--dark);
}

/* Cabeçalhos de seção */
.block-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(15rem, 1.1fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(1.25rem, 4vw, 2rem);
}

.block-head h2 {
  font-size: clamp(1.45rem, 4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.block-head p {
  max-width: 24rem;
  justify-self: end;
  font-size: 0.86rem;
  line-height: 1.55;
}

/* Lista de atendimentos */
#perfis {
  padding: clamp(1.75rem, 5vw, 2.75rem) 0 clamp(2.5rem, 7vw, 4rem);
  border-top: 1px solid var(--line);
}

.profiles {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  transition: border-color 160ms ease;
}

.profile:hover,
.profile:focus-visible {
  border-color: var(--line-strong);
}

.profile__kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.profile h3 {
  max-width: 31rem;
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 160ms ease;
}

.profile p {
  max-width: 31rem;
  margin-top: 0.35rem;
  font-size: 0.84rem;
  line-height: 1.55;
}

.profile__go {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease;
}

.profile__go svg {
  transition: transform 160ms ease;
}

.profile:hover h3,
.profile:focus-visible h3,
.profile:hover .profile__go,
.profile:focus-visible .profile__go {
  color: var(--green);
}

.profile:hover .profile__go svg,
.profile:focus-visible .profile__go svg {
  transform: translateX(3px);
}

/* Contato */
#contato {
  padding-bottom: clamp(2.75rem, 7vw, 4.5rem);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem 2rem;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.cta-card h2 {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.cta-card p {
  max-width: 31rem;
  font-size: 0.84rem;
  line-height: 1.55;
}

.btn-wa {
  display: inline-flex;
  min-height: 44px;
  padding: 0 0.45rem 0 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background 160ms ease;
}

.cta-card .btn-wa {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.btn-wa:hover,
.btn-wa:focus-visible {
  background: var(--green-hover);
}

.btn-wa svg {
  width: 32px;
  height: 32px;
  padding: 8px;
  flex: 0 0 auto;
  border-radius: 4px;
  background: var(--dark);
  color: var(--green);
}

/* Checklist */
#checklist {
  padding: clamp(2.5rem, 7vw, 4rem) 0 clamp(3.5rem, 9vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.rows {
  border-bottom: 1px solid var(--line);
}

.row-link {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, auto) 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.row-link__ico {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--muted);
}

.row-link__label {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.row-link__label small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.45;
}

.row-link__leader {
  height: 1px;
  border-bottom: 1px solid var(--line);
}

.row-link__icon,
.row-link__ico {
  transition: color 160ms ease, transform 160ms ease;
}

.row-link:hover .row-link__ico,
.row-link:focus-visible .row-link__ico,
.row-link:hover .row-link__icon,
.row-link:focus-visible .row-link__icon {
  color: var(--green);
}

.row-link:hover .row-link__icon,
.row-link:focus-visible .row-link__icon {
  transform: translateX(3px);
}

/* Modal do checklist */
.modal {
  width: calc(100% - 2.5rem);
  max-width: 520px;
  max-height: 86vh;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.46);
}

.modal::backdrop {
  background: rgba(2, 7, 6, 0.82);
  backdrop-filter: blur(2px);
}

.modal__card {
  position: relative;
  padding: 2.25rem 1.35rem 1.35rem;
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.modal__close:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.modal__step {
  display: none;
}

.modal__step.is-active {
  display: block;
}

.modal__eyebrow {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.modal__title {
  padding-right: 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.modal__text {
  margin-top: 0.45rem;
  font-size: 0.84rem;
}

.modal__choices {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.modal__choice {
  display: grid;
  gap: 0.12rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.modal__choice strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 650;
}

.modal__choice span {
  color: var(--muted);
  font-size: 0.72rem;
}

.modal__choice:hover,
.modal__choice:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.modal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  cursor: pointer;
}

.modal__back:hover {
  color: var(--green);
}

.modal__list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.modal__list li {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  color: var(--text);
  font-size: 0.84rem;
}

.modal__list li::before {
  content: "✓";
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.modal__note {
  margin-top: 1.25rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--line-strong);
  font-size: 0.72rem;
  line-height: 1.6;
}

.modal .btn-wa {
  width: 100%;
  margin-top: 1.25rem;
  justify-content: center;
}

.modal__link {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.modal__link::after {
  content: "→";
  margin-left: 0.4rem;
}

.modal__link:hover {
  color: var(--green);
}

@media (max-width: 680px) {
  .identity__photo {
    width: 160px;
    margin-bottom: 1.1rem;
  }

  .identity__name {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .identity__role {
    margin-top: 0.5rem;
    font-size: 0.84rem;
  }

  .identity__place {
    display: flex;
    justify-content: center;
    margin-top: 0.45rem;
    font-size: 0.72rem;
  }

  .block-head {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .block-head p {
    justify-self: start;
  }

  .profile {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .profile__go span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .cta-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .cta-card .btn-wa {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-top: 0.65rem;
  }
}

@media (max-width: 449px) {
  body::before {
    display: none;
  }

  #capa {
    padding: 0 0 2.25rem;
  }

  #capa .container {
    max-width: none;
    padding-inline: 0;
  }

  .identity {
    width: 100%;
  }

  .identity__photo {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
  }

  .identity__photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(to bottom, rgba(9, 17, 15, 0), rgba(9, 17, 15, 0.72) 62%, var(--bg) 100%);
    pointer-events: none;
  }

  .identity__photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-position: center 10%;
    border: 0;
    border-radius: 0;
  }

  .identity__primary {
    position: relative;
    z-index: 1;
    margin-top: -2.75rem;
    padding-inline: 1.25rem;
  }

  .identity__social {
    display: flex;
    justify-content: center;
  }

  .identity__social a {
    width: 44px;
    padding: 0;
  }

  .profile {
    align-items: start;
  }

  .profile p {
    display: none;
  }

  .row-link {
    grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  }

  .row-link__leader {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
