/* ==========================================================================
   Dra. Yasmin Miglio — Otorrinolaringologia Infantil
   Mundo visual: 9 — Orgânico Calmo (chave editorial)
   Gesto único: a trilha de respiração
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* --- primitivos: escala derivada do #8A6A55 da marca, H fixo em 62 --- */
  --brand-50:  oklch(0.972 0.006 62);
  --brand-100: oklch(0.945 0.013 62);
  --brand-200: oklch(0.885 0.022 62);
  --brand-300: oklch(0.805 0.031 62);
  --brand-400: oklch(0.700 0.040 62);
  --brand-500: oklch(0.552 0.044 62); /* marca */
  --brand-600: oklch(0.482 0.044 62);
  --brand-700: oklch(0.410 0.040 62);
  --brand-800: oklch(0.330 0.031 62);
  --brand-900: oklch(0.245 0.022 62);

  --terra-400: oklch(0.700 0.088 45);
  --terra-500: oklch(0.620 0.100 45);
  --terra-600: oklch(0.545 0.098 45);
  --terra-700: oklch(0.470 0.090 45);

  /* --- verde WhatsApp: escala derivada do #267C01 da marca, H fixo em 140 --- */
  --wa-400: oklch(0.640 0.150 140);
  --wa-500: oklch(0.514 0.164 140); /* #267C01 — branco 5.30:1 */
  --wa-600: oklch(0.448 0.148 140);
  --wa-700: oklch(0.385 0.128 140);

  --sand-100: oklch(0.962 0.011 75);
  --sand-200: oklch(0.928 0.018 72);
  --sand-300: oklch(0.878 0.024 70);

  /* --- semânticos --- */
  --bg:          oklch(0.982 0.008 75);
  --bg-subtle:   var(--sand-100);
  --bg-inverse:  var(--brand-900);
  --surface:     oklch(1 0 0);
  --surface-2:   oklch(0.992 0.005 75);

  --text:        oklch(0.268 0.014 62);
  --text-muted:  oklch(0.505 0.014 62);
  --text-soft:   oklch(0.545 0.013 62); /* >=4.5:1 sobre --bg */
  --text-invert: oklch(0.972 0.008 75);

  --border:        oklch(0.895 0.014 68);
  --border-strong: oklch(0.820 0.022 66);

  --accent:        var(--brand-500);
  --accent-hover:  var(--brand-600);
  --accent-quiet:  var(--brand-100);
  --cta:           var(--terra-600); /* texto branco 4.73:1 */
  --cta-hover:     var(--terra-700);
  --wa:            var(--wa-500);
  --wa-hover:      var(--wa-600);
  --star:          var(--terra-500);

  --focus: oklch(0.55 0.14 250);

  /* --- tipografia --- */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.19vw, 1.11rem);
  --step-1:  clamp(1.19rem, 1.12rem + 0.33vw, 1.39rem);
  --step-2:  clamp(1.41rem, 1.29rem + 0.58vw, 1.74rem);
  --step-3:  clamp(1.68rem, 1.49rem + 0.95vw, 2.18rem);
  --step-4:  clamp(2rem, 1.7rem + 1.48vw, 2.72rem);
  --step-5:  clamp(2.38rem, 1.93rem + 2.24vw, 3.4rem);
  --step-6:  clamp(2.6rem, 1.9rem + 3.5vw, 4.2rem);

  /* --- ritmo --- */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --measure: 66ch;
  --radius-sm: 0.6rem;
  --radius: 1rem;
  --radius-lg: 1.6rem;
  --radius-xl: 2rem;

  /* --- motion --- */
  --dur-fast: 180ms;
  --dur-base: 280ms;
  --dur-slow: 600ms;
  --dur-cinema: 900ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-sm: 0 1px 2px oklch(0.33 0.03 62 / 0.05), 0 2px 8px oklch(0.33 0.03 62 / 0.04);
  --shadow-md: 0 4px 12px oklch(0.33 0.03 62 / 0.07), 0 12px 32px oklch(0.33 0.03 62 / 0.06);
  --shadow-lg: 0 8px 24px oklch(0.33 0.03 62 / 0.09), 0 28px 64px oklch(0.33 0.03 62 / 0.09);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.021em;
  /* smoothing auto: no macOS engorda o serifado e firma as hastes finas */
  -webkit-font-smoothing: auto;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

::selection { background: var(--brand-200); color: var(--brand-900); }

/* --------------------------------------------------------------------------
   3. UTILITÁRIOS DE LAYOUT
   -------------------------------------------------------------------------- */

.wrap {
  width: min(100% - var(--gutter) * 2, 1180px);
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - var(--gutter) * 2, 800px); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--surface);
  color: var(--text);
  padding: 0.85rem 1.3rem;
  border-radius: 0 0 var(--radius-sm) 0;
  box-shadow: var(--shadow-md);
}
.skip:focus { left: 0; }

.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-600); /* 14px: precisa de 4.5:1 */
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: var(--border-strong);
  flex: none;
}
.eyebrow--center { justify-content: center; }

.section-title { font-size: var(--step-4); }
.section-lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.55;
}
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }

em, .italic {
  font-style: italic;
}

/* --------------------------------------------------------------------------
   4. BOTÕES
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.02rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: 0.005em;
  text-decoration: none;
  line-height: 1;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  will-change: transform;
}
.btn svg { flex: none; }

.btn--primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 2px 10px oklch(0.62 0.1 45 / 0.28);
}
.btn--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px oklch(0.62 0.1 45 / 0.34);
}
.btn--primary:active { transform: translateY(0); }

/* Todo botao que leva ao WhatsApp usa o verde da marca, em qualquer fundo.
   Uma cor, uma acao: o visitante aprende o verde na primeira dobra. */
.btn--wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 2px 10px oklch(0.245 0.022 62 / 0.22);
}
.btn--wa:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px oklch(0.245 0.022 62 / 0.28);
}
.btn--wa:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--brand-700);
  border: 1.5px solid var(--border-strong);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--brand-400); transform: translateY(-2px); }

.btn--light {
  background: var(--bg);
  color: var(--brand-800);
}
.btn--light:hover { background: #fff; transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              padding var(--dur-base) var(--ease-out);
}
.header.is-stuck {
  background: oklch(0.982 0.008 75 / 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--border);
  padding-block: 0.7rem;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { text-decoration: none; display: grid; gap: 0.1rem; }
/* O lockup e largo (3,8:1). Travar pela largura, nao pela altura: travando
   pela altura a assinatura fica com 3px e some. */
.brand__logo {
  display: block;
  width: clamp(190px, 46vw, 262px);
  height: auto;
  /* o header encolhe ao grudar; a marca acompanha */
  transition: width var(--dur-base) var(--ease-out);
}
.header.is-stuck .brand__logo { width: clamp(168px, 40vw, 232px); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.19rem;
  letter-spacing: -0.015em;
  color: var(--brand-800);
  line-height: 1.1;
}
.brand__role {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.9rem; list-style: none; padding: 0; }
.nav__link {
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.3rem;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__link:hover { color: var(--brand-700); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.header .btn { padding: 0.78rem 1.4rem; font-size: 0.92rem; }

.burger {
  display: none;
  /* column, senao os tres tracos ficam lado a lado e o menu vira um risco */
  flex-direction: column;
  width: 2.85rem; height: 2.85rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  align-items: center; justify-content: center;
  gap: 5px;
  color: var(--brand-700);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block; width: 1.25rem; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) linear;
}
.burger[aria-expanded="true"] { border-color: var(--brand-400); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. HERO — estrutura da referência sessao1
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(7.5rem, 13vh, 9.5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

/* curva orgânica de fundo — início da trilha */
.hero__curve {
  position: absolute;
  top: -14%;
  left: -22%;
  width: min(78vw, 900px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 42% 42%, var(--sand-200) 0%, var(--sand-100) 42%, transparent 70%);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.86fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__title {
  /* calibrado para "Otorrinolaringologista": na Lora a palavra mede ~9.97x o
     font-size. A escala abaixo garante que ela caiba na coluna ate 360px. */
  font-size: clamp(1.7rem, 1.375rem + 2.43vw, 3.55rem);
  line-height: 1.06;
  /* Trava em pixel inteiro. Com tamanho fluido a caixa de linha caia em
     fracao de pixel (56.8 / 60.208), e a linha do meio era rasterizada meio
     pixel fora da grade: as hastes finas do serifado saem tremidas. */
  font-size: round(clamp(1.7rem, 1.375rem + 2.43vw, 3.55rem), 1px);
  line-height: round(1.06em, 1px);
  color: var(--brand-900);
  margin-bottom: 1.5rem;
  hyphens: auto;             /* rede de segurança: nunca estoura a coluna */
  -webkit-hyphens: auto;
}
.hero__title .reveal-line { max-width: 100%; }
/* telas de 320: "Otorrinolaringologista" so cabe inteira abaixo de 28px */
@media (max-width: 350px) { .hero__title { font-size: 27px; line-height: 29px; } }
.hero__title em {
  /* enfase so por cor e peso; o italico serifado no display size fica ruidoso */
  font-style: normal;
  font-weight: 500;
  color: var(--brand-700);
}

.hero__lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 42ch;
  line-height: 1.58;
}
.hero__lead strong { color: var(--text); font-weight: 600; }

.hero__list {
  list-style: none;
  padding: 0;
  margin: 2.1rem 0 2.4rem;
  display: grid;
  gap: 0.92rem;
}
.hero__list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--brand-800);
  font-style: italic;
  font-family: var(--font-display);
}
.hero__list svg { color: var(--accent); flex: none; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero__note {
  margin-top: 1.35rem;
  font-size: var(--step--1);
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__note svg { color: var(--accent); flex: none; }

/* foto do hero */
.hero__figure { position: relative; }
.hero__photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 3.55;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, oklch(0.245 0.022 62 / 0.62), transparent);
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 2;
  background: oklch(1 0 0 / 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.hero__badge b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--brand-900);
  letter-spacing: -0.01em;
}
.hero__badge span {
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* faixa de credenciais */
.credentials {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  padding-block: 2.5rem;
  position: relative;
  z-index: 1;
}
.credentials__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.credentials__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: left;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--brand-800);
  font-family: var(--font-display);
  font-style: italic;
}
.credentials__list svg { color: var(--accent); flex: none; }

/* --------------------------------------------------------------------------
   7. SEÇÕES — ritmo vertical deliberado
   -------------------------------------------------------------------------- */

.s-journey   { padding-block: clamp(5rem, 11vw, 8.75rem); background: var(--bg-subtle); position: relative; overflow: hidden; }
.s-specialty { padding: clamp(4rem, 8vw, 6rem) 0 clamp(4.5rem, 9vw, 7rem); }
.s-about     { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--surface); }
.s-video     { padding-block: clamp(4rem, 8vw, 6rem); background: var(--bg-subtle); }
.s-quotes    { padding-block: clamp(5.5rem, 12vw, 10rem); overflow: hidden; }
.s-faq       { padding-block: clamp(4rem, 8vw, 6rem); background: var(--surface); }
.s-place     { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--bg-subtle); }

.section-head { margin-bottom: clamp(2.75rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1.05rem; }
.section-head .section-title { margin-bottom: 0.85rem; }

/* --------------------------------------------------------------------------
   8. JORNADA — o gesto único: a trilha de respiração
   -------------------------------------------------------------------------- */

.journey { position: relative; }

.journey__trail {
  position: absolute;
  top: 3.05rem;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.journey__trail path {
  fill: none;
  stroke: var(--brand-300);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
  transition: stroke-dashoffset 1.8s var(--ease-out);
}
.journey.is-drawn .journey__trail path { stroke-dashoffset: 0; }

.journey__steps {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.step { text-align: center; }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brand-600); /* numeral 01-04 carrega significado: precisa de 4.5:1 */
  margin-bottom: 0.9rem;
}
.step__icon {
  width: 4.35rem;
  height: 4.35rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px var(--bg-subtle), 0 6px 18px oklch(0.552 0.044 62 / 0.28);
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
.step:nth-child(even) .step__icon { background: var(--brand-400); }
.step:hover .step__icon { transform: translateY(-4px) scale(1.04); background: var(--brand-600); }

.step__title {
  font-size: var(--step-2);
  color: var(--brand-900);
  margin-bottom: 0.6rem;
}
.step__text {
  font-size: 0.945rem;
  color: var(--text-muted);
  line-height: 1.62;
  max-width: 34ch;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   9. ESPECIALIDADES
   -------------------------------------------------------------------------- */

.spec {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.spec__areas { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.spec__areas li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.05rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--brand-800);
  line-height: 1.45;
  transition: border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.spec__areas li:hover {
  border-color: var(--brand-300);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.spec__areas svg { color: var(--accent); flex: none; margin-top: 0.2rem; }

.spec__panelTitle {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--brand-900);
  margin-bottom: 1.4rem;
}

.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tags li {
  padding: 0.62rem 1.05rem;
  border-radius: 999px;
  background: var(--accent-quiet);
  border: 1px solid transparent;
  color: var(--brand-800);
  font-size: 0.925rem;
  font-weight: 500;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.tags li:hover { background: var(--brand-200); border-color: var(--brand-300); }

.spec__note {
  margin-top: 1.9rem;
  padding: 1.35rem 1.55rem;
  border-left: 2.5px solid var(--brand-300);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. SOBRE
   -------------------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 5.5vw, 5rem);
  align-items: center;
}

.about__figure { position: relative; }
.about__photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 3.8;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 42%; }

.about__stats {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.about__stats div {
  background: oklch(1 0 0 / 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.about__stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--accent);
  line-height: 1.1;
}
.about__stats span { font-size: 0.72rem; color: var(--text-soft); letter-spacing: 0.02em; }

.about__crm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: var(--accent-quiet);
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.3rem;
}
.about__body { display: grid; gap: 1.05rem; color: var(--text-muted); line-height: 1.72; max-width: 60ch; }
.about__body strong { color: var(--brand-800); font-weight: 600; }
.about__body p:first-child { font-size: var(--step-1); color: var(--text); line-height: 1.6; }
.about .btn { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   11. VÍDEO
   -------------------------------------------------------------------------- */

.video__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 9 / 16;
  max-width: 392px;
  margin-inline: auto;
  background: var(--brand-900);
}
.video__frame img,
.video__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.1rem;
  border: 0;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-invert);
  background: linear-gradient(to top, oklch(0.245 0.022 62 / 0.72), oklch(0.245 0.022 62 / 0.15));
  transition: background var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.video__overlay:hover { background: linear-gradient(to top, oklch(0.245 0.022 62 / 0.78), oklch(0.245 0.022 62 / 0.28)); }
/* sai de cena assim que o video comeca; nao volta */
.video__frame.is-playing .video__overlay { opacity: 0; visibility: hidden; pointer-events: none; }
.video__play {
  width: 4.6rem; height: 4.6rem;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.95);
  color: var(--brand-700);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out);
}
.video__overlay:hover .video__play { transform: scale(1.07); }
.video__label {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  /* o poster e claro e movimentado: o rotulo carrega o proprio fundo */
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: oklch(0.245 0.022 62 / 0.62);
  backdrop-filter: blur(6px);
}

.placeholder-note {
  margin: 1.1rem auto 0;
  max-width: 430px;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. DEPOIMENTOS — carrossel
   -------------------------------------------------------------------------- */

.quotes__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.quotes__nav { display: flex; gap: 0.65rem; flex: none; }
.qbtn {
  width: 3.1rem; height: 3.1rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  color: var(--brand-700);
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.qbtn:hover:not(:disabled) { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.qbtn:disabled { opacity: 0.34; cursor: not-allowed; }

.quotes__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* folga lateral para a sombra do hover nao ser cortada pelo scroller */
  padding-inline: 8px;
  margin-inline: -8px;
  scroll-padding-inline-start: 8px;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.quotes__track::-webkit-scrollbar { display: none; }

.quote {
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 84vw, 400px); /* mobile: peek intencional */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.quote:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); }

.quote__stars { display: flex; gap: 0.18rem; color: var(--star); }
.quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.58;
  color: var(--brand-900);
  flex: 1;
}
.quote__by { border-top: 1px solid var(--border); padding-top: 1rem; }
.quote__by b { display: block; font-weight: 600; color: var(--text); font-size: 0.95rem; }
.quote__by span {
  font-size: 0.78rem;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.quote__by svg { color: var(--accent); }

/* a partir do tablet o carrossel mostra cards inteiros: 2 ate 1099px, 3 acima.
   Os demais ficam fora do scroller, alcancaveis pelas setas. */
@media (min-width: 861px) {
  .quote { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (min-width: 1100px) {
  .quote { flex-basis: calc((100% - 3rem) / 3); }
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */

.faq { display: grid; gap: 0.75rem; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out);
}
.faq details[open] { border-color: var(--brand-300); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-weight: 600;
  color: var(--brand-800);
  font-size: 1.02rem;
  transition: color var(--dur-fast) var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary svg { flex: none; color: var(--accent); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__answer { padding: 0 1.5rem 1.4rem; color: var(--text-muted); line-height: 1.7; max-width: 68ch; }

/* --------------------------------------------------------------------------
   14. LOCAL DE ATENDIMENTO
   -------------------------------------------------------------------------- */

.place {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.25rem, 4.5vw, 3.75rem);
  align-items: center;
}

.place__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.place__rows { list-style: none; padding: 0; display: grid; gap: 1.35rem; margin: 1.75rem 0; }
.place__rows li { display: flex; gap: 1rem; align-items: flex-start; }
.place__rows svg { color: var(--accent); flex: none; margin-top: 0.15rem; }
.place__rows b { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; margin-bottom: 0.28rem; }
.place__rows span { color: var(--text); line-height: 1.55; }
.place__rows a { color: var(--brand-700); text-decoration-color: var(--brand-300); text-underline-offset: 3px; }

.place__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--border);
  background: var(--sand-200);
}
.place__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   15. CTA FINAL + RODAPÉ — única inversão de tema
   -------------------------------------------------------------------------- */

.cta {
  background: var(--bg-inverse);
  color: var(--text-invert);
  padding-block: clamp(5rem, 11vw, 8.75rem) clamp(3rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.cta__curve {
  position: absolute;
  right: -16%;
  top: -34%;
  width: min(62vw, 720px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, oklch(0.41 0.04 62 / 0.55) 0%, transparent 66%);
  border-radius: 52% 48% 44% 56% / 46% 56% 44% 54%;
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; text-align: center; }
.cta__inner .eyebrow { color: var(--brand-300); justify-content: center; }
.cta__inner .eyebrow::before { background: var(--brand-700); }
.cta__title { font-size: var(--step-5); color: var(--text-invert); margin: 1.05rem 0 1rem; }
.cta__lead { color: var(--brand-300); font-size: var(--step-1); max-width: 44ch; margin: 0 auto 2.35rem; }

.footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 2.75rem;
  border-top: 1px solid oklch(0.41 0.04 62 / 0.55);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}
.footer h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: 1.15rem;
}
.footer p, .footer a, .footer li { color: var(--brand-300); font-size: 0.925rem; line-height: 1.7; }
.footer a { text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.footer a:hover { color: var(--text-invert); }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer__brand .brand__name { color: var(--text-invert); font-size: 1.28rem; }
.footer__brand .brand__role { color: var(--brand-400); }
.footer__brand p { margin-top: 0.9rem; max-width: 34ch; }
.footer__logo { display: block; width: 100%; max-width: 268px; height: auto; }

.footer__social { display: flex; gap: 0.7rem; margin-top: 1.15rem; }
.footer__social a {
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  border: 1px solid oklch(0.41 0.04 62 / 0.8);
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.footer__social a:hover { background: var(--brand-700); border-color: var(--brand-600); }

.footer__base {
  border-top: 1px solid oklch(0.41 0.04 62 / 0.55);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer__base p { font-size: 0.82rem; color: var(--brand-400); }

/* --------------------------------------------------------------------------
   16. WHATSAPP FLUTUANTE
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 5px 18px oklch(0.33 0.03 62 / 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base);
}
.wa-float.is-on { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { transform: scale(1.07); }

/* --------------------------------------------------------------------------
   17. MOTION — 3 gestos: Rise, Line reveal, Draw
   -------------------------------------------------------------------------- */

.rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.rise.is-in { opacity: 1; transform: none; }

.reveal-line {
  display: block;
  overflow: hidden;
  /* a mascara corta descendentes (g, j, c-cedilha). Estende a caixa de clip
     para baixo e compensa no layout, sem mexer no ritmo vertical. */
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}
.reveal-line > span {
  display: block;
  transform: translateY(130%);
  transition: transform var(--dur-cinema) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-line.is-in > span { transform: none; }

/* --------------------------------------------------------------------------
   18. RESPONSIVO — projetado, não espremido
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero__figure { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__photo { aspect-ratio: 4 / 4.1; }

  .spec, .about, .place { grid-template-columns: 1fr; }
  .about__figure { max-width: 400px; margin-inline: auto; width: 100%; }
  .about__photo { aspect-ratio: 4 / 4.2; }
  .place__map { aspect-ratio: 16 / 10; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__list, .header .btn { display: none; }
  .burger { display: inline-flex; }

  .nav {
    /* absolute, nao fixed: o `top: 100%` precisa ser 100% da altura do .header
       (que ja e fixed, logo e o containing block), nao da viewport */
    position: absolute;
    inset: auto 0 auto 0;
    top: 100%;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.25rem var(--gutter) 1.75rem;
    box-shadow: 0 12px 28px oklch(0.33 0.03 62 / 0.13);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-base) var(--ease-out),
                transform var(--dur-base) var(--ease-out),
                visibility var(--dur-base);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  /* no topo da pagina o header e transparente; com o menu aberto ele precisa
     de fundo, senao o hero aparece atras da faixa do header */
  .header:has(.nav.is-open) {
    background: var(--bg);
    box-shadow: 0 1px 0 var(--border);
  }
  .nav.is-open .nav__list,
  .nav.is-open .btn { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav__list li:last-child .nav__link { border-bottom: 0; }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 1.15rem; width: 100%; }

  /* jornada vira coluna com linha-guia vertical */
  .journey__trail { display: none; }
  .journey__steps { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin-inline: auto; }
  .step {
    display: grid;
    grid-template-columns: 4.35rem 1fr;
    column-gap: 1.35rem;
    text-align: left;
    position: relative;
    padding-bottom: 2.5rem;
  }
  .step:last-child { padding-bottom: 0; }
  .step::before {
    content: "";
    position: absolute;
    left: calc(4.35rem / 2 - 0.8px);
    top: 4.6rem;
    bottom: 0.5rem;
    width: 1.6px;
    background: var(--brand-300);
  }
  .step:last-child::before { display: none; }
  .step__num { grid-column: 2; margin-bottom: 0.3rem; text-align: left; }
  .step__icon { grid-row: 1 / span 3; grid-column: 1; margin: 0; box-shadow: 0 0 0 6px var(--bg-subtle), 0 5px 14px oklch(0.552 0.044 62 / 0.26); }
  .step__title { grid-column: 2; }
  .step__text { grid-column: 2; margin-inline: 0; max-width: none; }

  .credentials__list { grid-template-columns: 1fr; gap: 1.05rem; }
  .credentials__list li { justify-content: flex-start; }

  .quotes__head { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .about__body p:first-child { font-size: var(--step-0); }
}

@media (max-width: 560px) {
  .hero { padding-top: 6.75rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { justify-content: flex-start; }
  .about__stats { position: static; margin-top: 0.85rem; }
  .about__stats div { box-shadow: none; border: 1px solid var(--border); }
}

/* --------------------------------------------------------------------------
   19. REDUCED MOTION
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rise { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; }
  .journey__trail path { stroke-dashoffset: 0; }
  .quotes__track { scroll-behavior: auto; }
}

@media print {
  .header, .wa-float, .quotes__nav, .video__overlay { display: none; }
  body { background: #fff; }
}
