/* ==========================================================================
   SN Odontologia — Folha de estilo principal
   Direção visual: Marfim & Navy
   Construído mobile-first (base = 375px), expandindo em min-width.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens de design
   -------------------------------------------------------------------------- */
:root {
  /* Cores extraídas da identidade visual */
  --navy: #0f2a47;
  --navy-deep: #0a1d33;
  --petrol: #1e6a8d;
  --teal: #2b87a8;
  --ivory: #faf8f5;
  --ivory-2: #f2ede7;
  --ivory-3: #e8e0d6;
  --mist: #8a97a3;
  --mist-light: #b4bec7;
  --sand: #c9b79c;
  --sand-light: #ded0ba;
  --white: #ffffff;

  --text: var(--navy);
  --text-soft: #4a5b6d;
  --text-mute: var(--mist);
  --line: rgba(15, 42, 71, 0.12);
  --line-soft: rgba(15, 42, 71, 0.07);

  /* Tipografia */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Ritmo vertical */
  --section-y: 72px;
  --gutter: 22px;
  --maxw: 1180px;
  --maxw-narrow: 720px;

  /* Outros */
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 18px 50px -28px rgba(15, 42, 71, 0.4);
  --shadow-card: 0 2px 24px -14px rgba(15, 42, 71, 0.35);
  --header-h: 68px;
}

@media (min-width: 768px) {
  :root {
    --section-y: 108px;
    --gutter: 40px;
    --header-h: 84px;
  }
}

@media (min-width: 1100px) {
  :root {
    --section-y: 136px;
    --gutter: 48px;
  }
}

/* --------------------------------------------------------------------------
   2. Reset e base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--navy);
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--navy);
  color: var(--ivory);
}

:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Utilitários de layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: calc(var(--maxw-narrow) + var(--gutter) * 2);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.66);
}

.section--ivory2 {
  background: var(--ivory-2);
}

.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  font-size: 0.9rem;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* --------------------------------------------------------------------------
   4. Tipografia de composição
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--petrol);
}

.section--navy .eyebrow {
  color: var(--sand);
}

.display {
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.022em;
}

.h2 {
  font-size: clamp(2rem, 7vw, 3.1rem);
  font-weight: 300;
  line-height: 1.1;
}

.h3 {
  font-size: clamp(1.4rem, 4.6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
}

.h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.005em;
}

.lead {
  font-size: 1.075rem;
  line-height: 1.72;
  color: var(--text-soft);
}

@media (min-width: 768px) {
  .lead {
    font-size: 1.18rem;
    line-height: 1.75;
  }
}

.body-soft {
  color: var(--text-soft);
}

.measure {
  max-width: 56ch;
}

.section--navy .lead,
.section--navy .body-soft {
  color: rgba(255, 255, 255, 0.72);
}

.rule {
  width: 46px;
  height: 1px;
  margin: 0 0 26px;
  background: linear-gradient(90deg, var(--petrol), var(--navy));
  border: 0;
}

.section--navy .rule {
  background: linear-gradient(90deg, var(--sand), rgba(201, 183, 156, 0.15));
}

/* --------------------------------------------------------------------------
   5. Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  flex: none;
  width: 17px;
  height: 17px;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}

.btn--primary:hover {
  background: var(--petrol);
  border-color: var(--petrol);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(15, 42, 71, 0.04);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--white);
}

.btn--light:hover {
  background: var(--sand-light);
  border-color: var(--sand-light);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 34px;
}

@media (min-width: 560px) {
  .btn-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--petrol);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.link-arrow::after {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.link-arrow:hover {
  gap: 14px;
  color: var(--navy);
}

.link-arrow:hover::after {
  width: 26px;
}

.section--navy .link-arrow {
  color: var(--sand);
}

.section--navy .link-arrow:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   6. Cabeçalho
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 248, 245, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}

.header.is-solid,
.header.is-open {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.header__logo img {
  width: auto;
  height: 38px;
  transition: height 0.4s var(--ease);
}

@media (min-width: 768px) {
  .header__logo img {
    height: 46px;
  }
}

.header__nav {
  display: none;
}

.header__actions {
  display: none;
}

@media (min-width: 940px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
  }

  .header__actions {
    display: block;
    margin-left: 34px;
  }

  .header__actions .btn {
    min-height: 44px;
    padding: 11px 22px;
    font-size: 0.8rem;
  }
}

.nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.055em;
  color: var(--text-soft);
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--petrol);
  transition: width 0.35s var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

/* Botão hamburguer */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0 10px;
}

@media (min-width: 940px) {
  .burger {
    display: none;
  }
}

.burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.header.is-open .burger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.header.is-open .burger span:nth-child(2) {
  opacity: 0;
}

.header.is-open .burger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 99;
  background: var(--ivory);
  border-bottom: 1px solid var(--line-soft);
  padding: 8px var(--gutter) 34px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease),
    visibility 0.32s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 940px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu a:not(.btn) {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 54px);
  padding-bottom: 0;
  background: var(--ivory);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--header-h) + 48px);
  }
}

.hero__mark {
  width: 54px;
  margin-bottom: 30px;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .hero__mark {
    width: 64px;
    margin-bottom: 38px;
  }
}

.hero__title {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 8.6vw, 3.1rem);
  line-height: 1.06;
}

/* No desktop cada frase ocupa exatamente uma linha — o <br> do HTML faz a
   quebra. Sem max-width, para não sobrar "quer." e "tem." órfãos. */
@media (min-width: 900px) {
  .hero__title {
    font-size: clamp(2.15rem, 3.05vw, 2.85rem);
    max-width: none;
  }
}

.hero__title em {
  font-style: italic;
  color: var(--petrol);
}

.hero__sub {
  max-width: 46ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 30px;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mist);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sand);
}

/* Primeira dobra em duas colunas: texto + mídia (vídeo ou foto vertical).
   No mobile a mídia vem logo abaixo do texto, ainda dentro da primeira rolagem. */
.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-bottom: var(--section-y);
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 68px;
  }
}

@media (min-width: 1100px) {
  .hero__grid {
    gap: 84px;
  }
}

.hero__media {
  position: relative;
  margin: 0;
}

.hero__media .ph,
.hero__media img,
.hero__media video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
  .hero__media .ph,
  .hero__media img,
  .hero__media video {
    aspect-ratio: 4 / 5;
    /* Impede que a mídia empurre o botão de agendamento para fora da
       primeira dobra em telas de notebook. */
    max-height: 64vh;
  }
}

/* Selo sobreposto à mídia — reforça a prova sem ocupar mais uma seção. */
.hero__badge {
  position: absolute;
  left: 0;
  bottom: 22px;
  transform: translateX(-14px);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 82%;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  box-shadow: var(--shadow-card);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--navy);
}

@media (min-width: 900px) {
  .hero__badge {
    transform: translateX(-28px);
    bottom: 34px;
  }
}

.hero__badge svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--petrol);
}

.hero__badge strong {
  display: block;
  font-weight: 500;
}

.hero__badge span {
  color: var(--text-soft);
}

/* Faixa de imagem de largura total, para dar peso visual entre seções. */
.media-band {
  position: relative;
  overflow: hidden;
}

.media-band .ph,
.media-band img,
.media-band video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

@media (min-width: 768px) {
  .media-band .ph,
  .media-band img,
  .media-band video {
    aspect-ratio: 21 / 8;
  }
}

/* --------------------------------------------------------------------------
   8. Placeholders de imagem
   (substituir por <img> quando as fotos reais chegarem)
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(43, 135, 168, 0.22) 0%, rgba(43, 135, 168, 0) 58%),
    linear-gradient(152deg, var(--navy) 0%, #143b5c 42%, var(--navy-deep) 100%);
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  isolation: isolate;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  z-index: -1;
}

.ph::after {
  content: "";
  position: absolute;
  inset: auto -18% -32% 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 135, 168, 0.3) 0%, rgba(43, 135, 168, 0) 68%);
  z-index: -1;
}

.ph__label {
  padding: 20px 22px;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.ph--wide {
  aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
  .ph--wide {
    aspect-ratio: 16 / 8;
  }
}

.ph--portrait {
  aspect-ratio: 3 / 4;
}

.ph--square {
  aspect-ratio: 1;
}

.ph--tall {
  aspect-ratio: 4 / 5;
}

/* --------------------------------------------------------------------------
   9. Faixa de confiança
   -------------------------------------------------------------------------- */
.trust {
  background: var(--ivory-2);
  border-block: 1px solid var(--line-soft);
}

.trust__grid {
  display: grid;
  gap: 30px;
  padding-block: 46px;
}

@media (min-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
    padding-block: 58px;
  }
}

.trust__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust__icon {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--petrol);
}

.trust__item h3 {
  margin-bottom: 5px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust__item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   10. Grades genéricas
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 78px;
  }

  .split--wide-text {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .split--reverse > *:first-child {
    order: 2;
  }
}

.section-head {
  max-width: 62ch;
  margin-bottom: 52px;
}

@media (min-width: 768px) {
  .section-head {
    margin-bottom: 68px;
  }
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .rule {
  margin-inline: auto;
}

.section-head .h2 + .lead {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   11. Tratamentos
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px 28px 38px;
  background: var(--ivory);
  transition: background-color 0.4s var(--ease);
}

@media (min-width: 768px) {
  .card {
    padding: 42px 34px 46px;
  }
}

.card:hover {
  background: var(--white);
}

.card__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--sand);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.22;
}

.card p {
  font-size: 0.925rem;
  line-height: 1.68;
  color: var(--text-soft);
}

/* display:block (e não inline-flex) para que o <br> quebre a linha quando o
   card tiver mais de um profissional responsável. */
.card__tag {
  display: block;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--petrol);
}

/* --------------------------------------------------------------------------
   12. Método (como é ser atendido)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 34px;
  }
}

.step {
  position: relative;
  padding: 30px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  counter-increment: step;
}

@media (min-width: 900px) {
  .step {
    padding: 34px 0 0;
  }
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--sand);
}

.step h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 400;
  color: var(--white);
}

.step p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

/* --------------------------------------------------------------------------
   13. Valores
   -------------------------------------------------------------------------- */
.values {
  display: grid;
  gap: 34px;
}

@media (min-width: 700px) {
  .values {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 60px;
  }
}

.value {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.value h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.value p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   14. Equipe
   -------------------------------------------------------------------------- */
.team {
  display: grid;
  gap: 44px;
}

@media (min-width: 720px) {
  .team {
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
  }
}

.team__card figure {
  margin: 0 0 22px;
}

.team__card .ph {
  margin-bottom: 0;
}

.team__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.team__cro {
  display: block;
  margin-top: 7px;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mist);
}

.team__spec {
  margin-top: 14px;
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* Página de equipe — perfis longos */
.profile {
  display: grid;
  gap: 34px;
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}

.profile:first-of-type {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 900px) {
  .profile {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 66px;
    align-items: start;
  }
}

.profile__body .eyebrow {
  margin-bottom: 12px;
}

.profile__name {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 300;
  line-height: 1.1;
}

.profile__cro {
  display: block;
  margin-top: 12px;
  margin-bottom: 26px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.profile__quote {
  margin: 30px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--sand);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   15. Localização
   -------------------------------------------------------------------------- */
.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list > div {
  display: grid;
  gap: 4px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 560px) {
  .info-list > div {
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: baseline;
  }
}

.info-list dt {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
}

.info-list dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}

.info-list dd a {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}

.info-list dd a:hover {
  border-color: var(--petrol);
}

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivory-3);
}

@media (min-width: 768px) {
  .map {
    aspect-ratio: 16 / 9;
  }
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(1.02);
}

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.35;
  color: var(--navy);
  transition: color 0.3s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--petrol);
}

.faq summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 7px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
  clip-path: polygon(46% 0, 54% 0, 54% 46%, 100% 46%, 100% 54%, 54% 54%, 54% 100%, 46% 100%, 46% 54%, 0 54%, 0 46%, 46% 46%);
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq__answer {
  padding: 0 0 28px;
  max-width: 62ch;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   17. CTA final
   -------------------------------------------------------------------------- */
/* Última dobra em tom claro. Antes era navy logo acima do rodapé navy-deep:
   dois blocos escuros empilhados, com o texto a 75% de opacidade. O fechamento
   escuro da página fica por conta do rodapé, sozinho. */
.cta {
  position: relative;
  background: var(--ivory);
  color: var(--text-soft);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto 40%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(43, 135, 168, 0.11) 0%, rgba(43, 135, 168, 0) 64%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  text-align: center;
}

.cta__mark {
  width: 46px;
  margin: 0 auto 28px;
  opacity: 0.85;
}

.cta .h2 {
  margin-inline: auto;
  max-width: 18ch;
}

.cta .lead {
  margin-inline: auto;
  margin-top: 22px;
  max-width: 50ch;
}

.cta .btn-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   18. Rodapé
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-block: 64px 44px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
    padding-block: 84px 54px;
  }
}

.footer__logo {
  width: 168px;
  margin-bottom: 22px;
}

.footer h4 {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.footer p,
.footer address {
  font-style: normal;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li {
  margin-top: 11px;
}

.footer a {
  transition: color 0.3s var(--ease);
}

.footer a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.footer__social a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.footer__social svg {
  width: 17px;
  height: 17px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 26px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__legal {
  max-width: 70ch;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   19. WhatsApp flutuante
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 58px;
  padding: 0 17px;
  border-radius: 40px;
  background: #1fa855;
  color: var(--white);
  box-shadow: 0 12px 34px -10px rgba(15, 42, 71, 0.45);
  transition: gap 0.35s var(--ease), padding 0.35s var(--ease),
    background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

@media (min-width: 768px) {
  .wa-float {
    right: 26px;
    bottom: 26px;
  }
}

.wa-float:hover {
  background: #17924a;
  transform: translateY(-2px);
}

.wa-float svg {
  flex: none;
  width: 26px;
  height: 26px;
}

.wa-float span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: max-width 0.4s var(--ease), opacity 0.3s var(--ease),
    margin-left 0.4s var(--ease);
}

@media (min-width: 940px) {
  .wa-float:hover span,
  .wa-float:focus-visible span {
    max-width: 190px;
    margin-left: 11px;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   20. Cabeçalho de páginas internas
   -------------------------------------------------------------------------- */
.page-head {
  padding-top: calc(var(--header-h) + 58px);
  padding-bottom: 0;
  background: var(--ivory);
}

@media (min-width: 768px) {
  .page-head {
    padding-top: calc(var(--header-h) + 92px);
  }
}

.page-head .display {
  font-size: clamp(2.3rem, 9vw, 3.7rem);
  max-width: 16ch;
}

.page-head .lead {
  margin-top: 24px;
  max-width: 52ch;
}

.breadcrumb {
  margin-bottom: 26px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

.breadcrumb a:hover {
  color: var(--petrol);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--sand);
}

/* --------------------------------------------------------------------------
   21. Conteúdo corrido (política de privacidade)
   -------------------------------------------------------------------------- */
.prose {
  max-width: 68ch;
}

.prose h2 {
  margin: 52px 0 16px;
  font-size: 1.55rem;
  font-weight: 400;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  font-size: 0.96rem;
  line-height: 1.78;
  color: var(--text-soft);
}

.prose ul {
  margin: 0 0 1.2em;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 9px;
}

.prose a {
  color: var(--petrol);
  border-bottom: 1px solid var(--line);
}

.prose a:hover {
  border-color: var(--petrol);
}

/* --------------------------------------------------------------------------
   22. Entrada e revelação
   -------------------------------------------------------------------------- */

/* .rise — entrada por CSS puro, sem depender de JavaScript.
   Usada na primeira dobra: o conteúdo mais importante do site nunca pode
   ficar invisível por causa de um script que não rodou. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rise {
  animation: rise 0.85s var(--ease) both;
}

.rise[data-delay="1"] {
  animation-delay: 0.1s;
}
.rise[data-delay="2"] {
  animation-delay: 0.2s;
}
.rise[data-delay="3"] {
  animation-delay: 0.3s;
}

/* .reveal — revelação no scroll, controlada por JavaScript.
   Só no conteúdo abaixo da primeira dobra. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.09s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.18s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.27s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   23. Impressão
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .mobile-menu,
  .wa-float,
  .cta {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
