/* =========================================================================
   Dr. Diego Paiva · LP Cirurgia Plástica Goiânia
   Direção: luz dourada, linho e marfim. Base clara e quente, dourado do logo
   como acento, seções escuras (espresso) para respiro e autoridade.
   ========================================================================= */

/* ---------- 1. Fontes (General Sans, self-hosted) ---------- */
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- 2. Tokens ---------- */
:root {
  /* superfícies claras */
  --ivory: #F6F2EC;
  --ivory-2: #EFE8DD;
  --sand: #E4D9C8;
  --paper: #FBF9F5;
  /* tinta */
  --ink: #1A1612;
  --ink-2: #4B443D;
  --ink-3: #6F665D;
  /* dourado da marca (derivado do gradiente do logo) */
  --gold: #B08D57;
  --gold-soft: #D8BC8A;
  --gold-deep: #7E5B2C;
  /* escuros */
  --espresso: #15120F;
  --espresso-2: #1F1B17;
  --on-dark: #EFE8DD;
  --on-dark-2: rgba(239, 232, 221, 0.7);
  /* linhas */
  --line: rgba(26, 22, 18, 0.12);
  --line-strong: rgba(26, 22, 18, 0.22);
  --line-dark: rgba(239, 232, 221, 0.14);

  --font: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.45rem, 1.1rem + 4.3vw, 5.1rem);
  --fs-h2: clamp(2.05rem, 1.2rem + 2.7vw, 3.75rem);
  --fs-h3: clamp(1.65rem, 1.15rem + 1.35vw, 2.45rem);
  --fs-lead: clamp(1.06rem, 0.98rem + 0.32vw, 1.24rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-label: 0.75rem;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --space-section: clamp(84px, 9vw, 144px);
  --frame-gap: clamp(8px, 0.9vw, 12px);

  --r-xl: clamp(26px, 2.6vw, 38px);
  --r-lg: clamp(22px, 2vw, 30px);
  --r-md: 20px;
  --r-sm: 14px;

  --shadow-soft: 0 24px 60px -28px rgba(58, 40, 20, 0.28);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 30px 70px -40px rgba(58, 40, 20, 0.35);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --nav-h: 64px;
  --nav-top: 14px;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* grão de filme: só em pseudo-elemento fixo, nunca em container que rola */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--ivory); padding: 12px 18px; border-radius: 999px; font-weight: 500; transition: top 0.2s var(--ease-out); }
.skip:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--space-section); }

/* ---------- 4. Tipografia ---------- */
.h2 {
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.028em;
}
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--light { color: var(--gold-soft); }

/* ---------- 5. Botões e links ---------- */
.btn {
  --h: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 7px 0 26px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 300ms ease, color 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn__icon {
  flex: none;
  width: calc(var(--h) - 14px);
  height: calc(var(--h) - 14px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
}
.btn__icon svg { width: 18px; height: 18px; }
.btn--dark { background: var(--ink); color: var(--ivory); box-shadow: 0 14px 30px -16px rgba(26, 22, 18, 0.55); }
.btn--outline { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--outline .btn__icon { background: var(--ink); color: var(--ivory); }
.btn--lg { --h: 62px; padding-left: 30px; font-size: 1.02rem; }
.btn--sm { --h: 46px; padding-left: 20px; gap: 10px; font-size: 0.9rem; }
.btn--sm .btn__icon svg { width: 16px; height: 16px; }
.btn--block { width: 100%; justify-content: space-between; }

@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: #2C251F; }
  .btn--outline:hover { border-color: var(--ink); background: rgba(26, 22, 18, 0.03); }
  .btn:hover .btn__icon svg { animation: arrow-hop 520ms var(--ease-out); }
}
@keyframes arrow-hop {
  0% { transform: translate(0, 0); }
  45% { transform: translate(130%, -130%); }
  46% { transform: translate(-130%, 130%); }
  100% { transform: translate(0, 0); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 400ms var(--ease-out);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { background-size: 100% 1px; }
  .link-arrow:hover svg { transform: translateX(3px); }
}

/* ---------- 6. Navegação ---------- */
.nav {
  position: fixed;
  top: var(--nav-top);
  left: 0;
  right: 0;
  z-index: 80;
  padding-inline: calc(var(--gutter) * 0.6);
  pointer-events: none;
  transition: transform 520ms var(--ease-drawer);
}
.nav.is-hidden { transform: translateY(calc(-100% - var(--nav-top) - 6px)); }
.nav__bar {
  pointer-events: auto;
  max-width: calc(var(--maxw) + 40px);
  margin-inline: auto;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 0 9px 0 24px;
  border-radius: 999px;
  background: rgba(251, 249, 245, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 40px -24px rgba(52, 38, 22, 0.35);
}
.nav__logo img { width: 126px; height: auto; }
.nav__links { display: flex; justify-content: center; gap: 4px; }
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 200ms ease, background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); background: rgba(26, 22, 18, 0.05); }
}
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--ivory); place-items: center; transition: transform 160ms var(--ease-out); }
.nav__toggle:active { transform: scale(0.94); }
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: block; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ivory);
  padding: calc(var(--nav-top) + var(--nav-h) + 36px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 28px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 560ms var(--ease-drawer), visibility 0s linear 560ms;
  visibility: hidden;
}
.menu[hidden] { display: flex; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 560ms var(--ease-drawer), visibility 0s; }
.menu__links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
}
.menu__links a span { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; color: var(--gold-deep); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 40ms; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 80ms; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 120ms; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 160ms; }
.menu__meta { margin-top: auto; font-size: var(--fs-small); color: var(--ink-3); }

/* ---------- 7. Hero ---------- */
.hero { padding: var(--frame-gap); }
.hero__frame {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 2 * var(--frame-gap));
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--sand);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video,
.final__media img, .final__media video,
.proc__media img, .proc__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media img, .hero__media video { object-position: 70% 50%; }
[data-ambient] { opacity: 0; transition: opacity 1.4s var(--ease-out); }
[data-ambient].is-playing { opacity: 1; }
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 242, 236, 0.9) 0%, rgba(246, 242, 236, 0.72) 30%, rgba(246, 242, 236, 0.18) 52%, rgba(246, 242, 236, 0) 64%),
    linear-gradient(0deg, rgba(246, 242, 236, 0.55) 0%, rgba(246, 242, 236, 0) 32%);
}
.hero__content {
  position: relative;
  padding-block: calc(var(--nav-top) + var(--nav-h) + 72px) clamp(40px, 6vh, 76px);
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 26px;
}
.hero__kicker-avatar { display: none; }
.hero__title {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 0.99;
  letter-spacing: -0.042em;
  max-width: 12.2em;
  text-wrap: balance;
}
.hero__title em { font-style: normal; font-weight: 400; color: var(--gold-deep); }
.hero__sub {
  margin-top: 26px;
  max-width: 42ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
}
.hero__chips {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px;
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(251, 249, 245, 0.58);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.hero__chips svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(176, 141, 87, 0.18);
  color: var(--gold-deep);
}
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.dr-card {
  position: absolute;
  right: clamp(16px, 2.2vw, 32px);
  bottom: clamp(16px, 2.2vw, 32px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 10px;
  border-radius: 24px;
  background: rgba(251, 249, 245, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 22px 44px -26px rgba(52, 38, 22, 0.45);
}
.dr-card img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.dr-card__name { font-weight: 500; font-size: 1rem; line-height: 1.2; }
.dr-card__role { font-size: 0.8rem; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }
.dr-card__meta { font-size: 0.8rem; color: var(--ink-2); margin-top: 4px; }
.dr-card__meta strong { color: var(--gold-deep); font-weight: 600; }

.media-toggle {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(251, 249, 245, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.media-toggle:active { transform: scale(0.94); }
.media-toggle svg { width: 16px; height: 16px; }
.media-toggle__play { display: none; }
.media-toggle[aria-pressed="true"] .media-toggle__play { display: block; }
.media-toggle[aria-pressed="true"] .media-toggle__pause { display: none; }
.hero__toggle { top: calc(var(--nav-top) + var(--nav-h) + 18px); right: clamp(16px, 2.2vw, 32px); }


/* ---------- 7b. Faixa de procedimentos ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 4vw, 52px) clamp(8px, 1.5vw, 16px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
  padding-inline: clamp(18px, 2.2vw, 34px);
}
.marquee__item:nth-of-type(3n + 2) { color: var(--gold-deep); }
.marquee__sep { flex: none; width: clamp(14px, 1.4vw, 22px); height: auto; color: var(--gold); }
.no-anim .marquee__track { animation: none; }

/* ---------- 8. Consulta ---------- */
.consulta__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.consulta__content .h2 { max-width: 17ch; }
.consulta__content .lead { margin-top: 26px; }

.vcard {
  position: relative;
  isolation: isolate;
  width: min(100%, 410px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--espresso);
  box-shadow: var(--shadow-soft);
}
.vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: start;
  justify-items: start;
  padding: 16px;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(21, 18, 15, 0.38) 0%, rgba(21, 18, 15, 0) 26%, rgba(21, 18, 15, 0) 56%, rgba(21, 18, 15, 0.5) 100%);
  transition: opacity 300ms var(--ease-out);
}
.vcard__pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  background: rgba(251, 249, 245, 0.2);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 200ms var(--ease-out), background-color 300ms ease;
}
.vcard__play-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
}
.vcard__play-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(251, 249, 245, 0.9);
  animation: ring 2.6s var(--ease-out) infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.vcard__play-btn svg { width: 18px; height: 18px; margin-left: 2px; }
.vcard__play:active .vcard__pill { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .vcard__play:hover .vcard__pill { background: rgba(251, 249, 245, 0.3); }
}
.vcard__play-label { font-size: 0.88rem; font-weight: 500; letter-spacing: 0.01em; }
.vcard__play-label span { opacity: 0.75; margin-left: 4px; font-variant-numeric: tabular-nums; }
.vcard__caption {
  position: absolute;
  z-index: 3;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--paper);
  background: rgba(21, 18, 15, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
  transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out);
}
.vcard__eyebrow { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; }
.vcard.is-playing .vcard__play,
.vcard.is-playing .vcard__caption { opacity: 0; pointer-events: none; }
.vcard.is-playing .vcard__caption { transform: translateY(8px); }

.steps-list { margin-top: 40px; border-top: 1px solid var(--line); }
.steps-list li {
  display: grid;
  grid-template-columns: 46px 34px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.steps-list__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--gold-deep);
}
.steps-list__icon svg { width: 20px; height: 20px; }
.steps-list__n { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.steps-list__t { font-size: 1.14rem; line-height: 1.35; letter-spacing: -0.01em; }
.consulta__content .btn { margin-top: 40px; }

/* ---------- 9. Section heads ---------- */
.section-head { margin-bottom: clamp(44px, 5vw, 72px); }
.section-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  align-items: end;
  gap: 24px 64px;
}
.section-head__aside { color: var(--ink-2); max-width: 40ch; justify-self: end; }

/* ---------- 10. Procedimentos (pilha fixa) ---------- */
.procs__stack { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.proc {
  --i: 0;
  position: sticky;
  top: calc(var(--nav-top) + var(--nav-h) + 20px + var(--i) * 14px);
}
.proc:nth-child(2) { --i: 1; }
.proc:nth-child(3) { --i: 2; }
.proc__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  min-height: min(calc(100svh - var(--nav-h) - var(--nav-top) - 80px), 720px);
  background: var(--paper);
  border: 1px solid rgba(26, 22, 18, 0.08);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform-origin: 50% 0%;
}
.proc:nth-child(2) .proc__inner { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); background: var(--ivory-2); }
.proc:nth-child(2) .proc__content { order: 2; }
.proc__shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--espresso);
  opacity: 0;
  pointer-events: none;
}
.proc__content {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4.2vw, 64px);
  gap: 22px;
}
.proc__index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.proc__index span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 28px;
  padding-inline: 10px;
  border-radius: 999px;
  border: 1px solid rgba(138, 101, 50, 0.35);
  letter-spacing: 0.06em;
}
.proc .h3 { max-width: 14ch; margin-top: auto; }
.proc__sub { color: var(--ink-2); max-width: 44ch; }
.proc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  border-top: 1px solid var(--line);
}
.proc__list li {
  position: relative;
  padding: 13px 0 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.35;
}
.proc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(13px + 0.62em);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.proc__content .btn { align-self: flex-start; margin-top: 6px; }
.proc__media {
  position: relative;
  margin: 12px;
  border-radius: calc(var(--r-xl) - 10px);
  overflow: hidden;
  background: var(--sand);
}
.proc__media img { transform: scale(1.001); }

/* ---------- 11. Sobre (escuro) ---------- */
.section--dark {
  position: relative;
  isolation: isolate;
  margin-inline: var(--frame-gap);
  border-radius: var(--r-xl);
  background: var(--espresso);
  color: var(--on-dark);
  overflow: hidden;
}
.sobre__glow {
  position: absolute;
  z-index: -1;
  width: 70vmax;
  height: 70vmax;
  left: -18vmax;
  top: -12vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(176, 141, 87, 0.22), rgba(176, 141, 87, 0) 70%);
  pointer-events: none;
}
.sobre__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 124px);
  align-items: center;
}
.sobre__photo { position: relative; }
.sobre__photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--espresso-2);
}
.sobre__photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.sobre__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sobre__badge span {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: rgba(21, 18, 15, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.sobre__title { font-size: clamp(2.8rem, 1.2rem + 5vw, 6.2rem); letter-spacing: -0.045em; line-height: 0.95; color: var(--paper); }
.sobre__lead { margin-top: 30px; font-size: var(--fs-lead); line-height: 1.55; color: var(--on-dark); max-width: 50ch; }
.sobre__text { margin-top: 18px; color: var(--on-dark-2); max-width: 54ch; }
.creds {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.creds__item { padding: 22px 20px 0 0; }
.creds__item + .creds__item { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.creds dt { font-size: clamp(1.9rem, 1.3rem + 1.5vw, 2.7rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.creds dd { margin-top: 10px; font-size: 0.88rem; line-height: 1.45; color: var(--on-dark-2); }
.sobre__sign { margin-top: 44px; }
.sobre__sign img { width: 190px; height: auto; opacity: 0.95; }

/* ---------- 12. Resultados ---------- */
.tabs {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: var(--ivory-2);
  border: 1px solid var(--line);
  margin-bottom: 34px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs__pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 10px 24px -14px rgba(26, 22, 18, 0.7);
  transition: transform 460ms var(--ease-out), width 460ms var(--ease-out);
}
.tabs__tab {
  position: relative;
  z-index: 1;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 300ms ease;
}
.tabs__tab[aria-selected="true"] { color: var(--ivory); }
.no-js .tabs__tab[aria-selected="true"], .tabs:not(.is-ready) .tabs__tab[aria-selected="true"] { background: var(--ink); }

.ba-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  align-items: start;
}
.ba--lg { grid-row: 1 / span 2; }
.ba-note {
  grid-column: 2 / -1;
  align-self: end;
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid rgba(26, 22, 18, 0.07);
}
.ba-note__hint { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.ba-note__hint svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--ivory-2); color: var(--gold-deep); }
.ba-note__text { font-size: 0.8rem; line-height: 1.55; color: var(--ink-3); }
.ba-grid[hidden] { display: none; }
.ba figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 14px;
  padding-inline: 4px;
}
.ba figcaption strong { font-weight: 500; font-size: 1rem; }
.ba figcaption span { font-size: 0.85rem; color: var(--ink-3); }
.ba__frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #2A2520;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba__before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  margin-left: -1px;
  transform: translateX(var(--x, 0px));
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(21, 18, 15, 0.08);
  outline: none;
  will-change: transform;
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(251, 249, 245, 0.78);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 26px -10px rgba(21, 18, 15, 0.5);
  transition: transform 200ms var(--ease-out);
}
.ba__knob svg { width: 20px; height: 20px; }
.ba__handle:focus-visible .ba__knob { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.ba.is-dragging .ba__knob { transform: scale(0.92); }
.ba__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(251, 249, 245, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.ba__tag--l { left: 14px; }
.ba__tag--r { right: 14px; }

/* conteúdo sensível: desfocado até o clique */
.ba[data-sensitive] .ba__img { transition: filter 700ms var(--ease-out), transform 900ms var(--ease-out); }
.ba[data-sensitive]:not(.is-revealed) .ba__img { filter: blur(26px) saturate(0.75); transform: scale(1.12); }
.ba[data-sensitive]:not(.is-revealed) .ba__handle,
.ba[data-sensitive]:not(.is-revealed) .ba__tag { opacity: 0; }
.ba__handle, .ba__tag { transition: opacity 400ms var(--ease-out); }
.ba__veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--ink);
  background: rgba(239, 232, 221, 0.42);
  transition: opacity 450ms var(--ease-out), visibility 0s linear 450ms;
}
.ba.is-revealed .ba__veil { opacity: 0; visibility: hidden; }
.ba__veil-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(251, 249, 245, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px -12px rgba(21, 18, 15, 0.45);
  margin-bottom: 4px;
  transition: transform 200ms var(--ease-out);
}
.ba__veil-icon svg { width: 22px; height: 22px; }
.ba__veil:active .ba__veil-icon { transform: scale(0.94); }
.ba__veil-t { font-weight: 500; font-size: 1rem; }
.ba__veil-s { font-size: 0.8rem; color: var(--ink-2); max-width: 24ch; line-height: 1.4; }
.disclaimer {
  margin-top: 40px;
  max-width: 88ch;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-3);
  padding-left: 18px;
  border-left: 2px solid var(--gold-soft);
}

/* ---------- 13. Depoimentos ---------- */
.depo { background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%); }
/* a frase ocupa a largura toda: numa linha só a partir de ~1200px; abaixo
   disso quebra na vírgula (cada metade fica inteira) */
.depo__title { max-width: none; }
@media (min-width: 768px) {
  .depo__phrase { white-space: nowrap; }
}
.depo__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.depo__video { position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 28px); width: 100%; justify-self: stretch; }
.reviews { columns: 2; column-gap: clamp(14px, 1.6vw, 22px); }
.review {
  break-inside: avoid;
  margin-bottom: clamp(14px, 1.6vw, 22px);
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid rgba(26, 22, 18, 0.07);
  box-shadow: 0 20px 50px -38px rgba(58, 40, 20, 0.45);
}
.review::before {
  content: "“";
  display: block;
  height: 30px;
  font-size: 4rem;
  line-height: 1;
  font-weight: 300;
  color: var(--gold);
}
.review p { margin-top: 10px; font-size: 1.02rem; line-height: 1.6; color: var(--ink); letter-spacing: -0.005em; }
.review footer {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review__avatar {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  background: var(--ivory-2);
  border: 1px solid rgba(138, 101, 50, 0.2);
}
.review cite { font-style: normal; font-weight: 500; font-size: 0.95rem; line-height: 1.2; }
.review__src { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink-3); }
.review__src svg { width: 13px; height: 13px; }

/* ---------- 14. Jornada ---------- */
.jornada { position: relative; }
.jornada__pin {
  padding-block: var(--space-section);
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 56px);
}
.jornada__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.jornada__head .h2 { max-width: 12ch; }
.jornada__viewport { width: 100%; }
.jornada__track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}
.step { flex: none; width: clamp(260px, 23vw, 340px); }
.step__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand);
}
.step__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); }
.step__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 18px 4px 0;
}
.step__n { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; color: var(--gold-deep); padding-top: 3px; font-variant-numeric: tabular-nums; }
.step__t { font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.012em; }
.step__icon { width: 22px; height: 22px; color: var(--gold-deep); opacity: 0.85; }
.jornada__foot { display: none; align-items: center; gap: 24px; }
.jornada__progress { position: relative; flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.jornada__progress span { position: absolute; inset: 0; background: var(--gold-deep); transform-origin: 0 50%; transform: scaleX(0); }
.jornada__count { font-size: 0.85rem; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.jornada__count span { color: var(--ink); }

/* ---------- 15. FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 32px); display: grid; gap: 40px; }
.help-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 12px 22px 12px 12px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid rgba(26, 22, 18, 0.07);
  box-shadow: 0 20px 50px -38px rgba(58, 40, 20, 0.45);
  max-width: 470px;
}
.help-card img { width: 112px; height: 136px; border-radius: 18px; object-fit: cover; object-position: 50% 30%; }
.help-card__t { font-weight: 500; font-size: 1.05rem; }
.help-card__s { font-size: 0.88rem; color: var(--ink-2); line-height: 1.45; margin: 4px 0 14px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; font-weight: inherit; }
.faq__item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-size: clamp(1.12rem, 1rem + 0.45vw, 1.35rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.faq__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: transform 450ms var(--ease-out), background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}
.faq__icon svg { width: 18px; height: 18px; }
.faq__item button[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--ink); color: var(--ivory); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .faq__item button:hover .faq__icon { border-color: var(--ink); }
}
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 480ms var(--ease-out); }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 64px 30px 0; color: var(--ink-2); max-width: 60ch; opacity: 0; transform: translateY(-4px); transition: opacity 360ms var(--ease-out), transform 480ms var(--ease-out); }
.faq__item button[aria-expanded="true"] + .faq__panel,
.faq__item:has(button[aria-expanded="true"]) .faq__panel { grid-template-rows: 1fr; }
.faq__item:has(button[aria-expanded="true"]) .faq__panel p { opacity: 1; transform: none; }

/* ---------- 16. CTA final ---------- */
.final { padding: var(--frame-gap); }
.final__frame {
  position: relative;
  isolation: isolate;
  min-height: min(92svh, 880px);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--sand);
  transform-origin: 50% 100%;
}
.final__media { position: absolute; inset: 0; z-index: -2; }
.final__media img, .final__media video { object-position: 74% 50%; }
.final__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 242, 236, 0.9) 0%, rgba(246, 242, 236, 0.66) 34%, rgba(246, 242, 236, 0.1) 58%, rgba(246, 242, 236, 0) 66%);
}
.final__content { padding-block: clamp(96px, 12vh, 140px); }
.final__title {
  font-size: clamp(2.5rem, 1.1rem + 4.4vw, 5.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.042em;
  max-width: 11.5em;
  text-wrap: balance;
}
.final__title .word { display: inline-block; }
.final__sub { margin-top: 24px; max-width: 36ch; font-size: var(--fs-lead); color: var(--ink-2); }
.final__content .btn { margin-top: 36px; }
.final__info {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.final__info li {
  font-size: 0.86rem;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(251, 249, 245, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.final__info strong { font-weight: 500; }
.final__info a { display: inline-flex; align-items: center; gap: 6px; }
.final__info svg { width: 15px; height: 15px; color: var(--gold-deep); }
.final__toggle { right: clamp(16px, 2.2vw, 32px); bottom: clamp(16px, 2.2vw, 32px); }

/* ---------- 17. Rodapé ---------- */
.footer {
  position: relative;
  overflow: hidden;
  margin-top: var(--frame-gap);
  background: var(--espresso);
  color: var(--on-dark);
  padding-top: clamp(64px, 8vw, 110px);
}
.footer__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px 64px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__logo { width: 200px; height: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center; padding-top: 10px; }
.footer__nav a, .footer__contact a { font-size: 0.92rem; color: var(--on-dark-2); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .footer__nav a:hover, .footer__contact a:hover { color: var(--paper); }
}
.footer__contact { display: grid; gap: 12px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 17px; height: 17px; color: var(--gold-soft); }
.footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px 64px;
  padding-block: 32px clamp(120px, 16vw, 230px);
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(239, 232, 221, 0.55);
}
.footer__meta { justify-self: end; text-align: right; }
.footer__mark {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1180px, 104vw);
  transform: translate(-50%, 36%);
  opacity: 0.09;
  pointer-events: none;
}
.footer__mark img { width: 100%; height: auto; }

/* ---------- 18. WhatsApp flutuante ---------- */
/* o verde do WhatsApp, um tom abaixo do oficial (#25D366) para o ícone branco
   ter contraste de 3:1 */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  background: #1DA851;
  box-shadow: 0 16px 32px -14px rgba(12, 96, 48, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(120%) scale(0.9);
  opacity: 0;
  transition: transform 500ms var(--ease-drawer), opacity 300ms ease;
}
/* anel que se expande de tempos em tempos: chama o olho sem piscar */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #1DA851;
  opacity: 0;
  animation: wa-ring 4.2s var(--ease-out) 1.2s infinite;
  pointer-events: none;
}
@keyframes wa-ring { 0% { transform: scale(1); opacity: 0.6; } 45%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:active { transform: scale(0.94); }
.wa-float svg { width: 30px; height: 30px; }
/* rótulo: só no desktop, ao passar o mouse ou com foco do teclado */
.wa-float__label {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  padding: 10px 15px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 12px 28px -14px rgba(26, 22, 18, 0.55);
  opacity: 0;
  transform: translate(8px, -50%);
  transition: opacity 200ms ease, transform 300ms var(--ease-out);
  pointer-events: none;
}
.wa-float:focus-visible .wa-float__label { opacity: 1; transform: translate(0, -50%); }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover .wa-float__label { opacity: 1; transform: translate(0, -50%); }
}

/* ---------- 19. Estados iniciais de animação (só com JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-hero-item], .js [data-hero-card] { opacity: 0; }
.js [data-split], .js [data-hero-title], .js [data-words] { visibility: hidden; }
.js .is-split { visibility: visible; }
.js .nav__bar { opacity: 0; }
/* rede de segurança: se o JS não iniciar em ~3,5s, tudo aparece */
.js:not(.is-ready) [data-reveal], .js:not(.is-ready) [data-hero-item], .js:not(.is-ready) [data-hero-card],
.js:not(.is-ready) [data-split], .js:not(.is-ready) [data-hero-title], .js:not(.is-ready) [data-words], .js:not(.is-ready) .nav__bar {
  animation: failsafe 0.6s ease 3.5s forwards;
}
@keyframes failsafe { to { opacity: 1; transform: none; visibility: visible; } }
.split-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* ---------- 20. Responsivo ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  /* sem os links: logo | CTA | menu (sem coluna vazia sobrando antes da borda) */
  .nav__bar { grid-template-columns: auto 1fr auto; }
  .nav__cta { justify-self: end; }
  /* no celular o CTA some e o botão cai na coluna flexível: prende no fim da barra */
  .nav__toggle { display: grid; justify-self: end; }
  .proc__list { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
  .consulta__grid, .sobre__grid, .faq__grid, .depo__grid { grid-template-columns: minmax(0, 1fr); }
  .consulta__video { order: 2; }
  .consulta__content .h2 { max-width: 18ch; }
  .section-head--row { grid-template-columns: minmax(0, 1fr); }
  .section-head__aside { justify-self: start; }
  .sobre__photo { max-width: 560px; }
  .faq__aside { position: static; }
  .depo__video { position: relative; top: auto; width: min(100%, 410px); justify-self: start; }
  .reviews { columns: 2; }
  .ba-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
  .ba--lg { grid-column: 1 / -1; grid-row: auto; }
  .ba-note { grid-column: 1 / -1; }
  .ba--lg .ba__frame { aspect-ratio: 5 / 4; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; padding-top: 0; }
}

@media (max-width: 900px) {
  .proc { position: relative; top: auto; }
  .proc__inner, .proc:nth-child(2) .proc__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .proc:nth-child(2) .proc__content { order: 0; }
  .proc__media { order: -1; aspect-ratio: 4 / 3.4; margin: 10px 10px 0; }
  .proc .h3 { margin-top: 6px; }
  .proc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  /* jornada: trilho horizontal fixo durante a rolagem (ativado pelo JS) */
  .jornada.is-pinned .jornada__pin { min-height: 100svh; padding-block: calc(var(--nav-top) + var(--nav-h) + 28px) 32px; gap: clamp(22px, 3.4vh, 48px); justify-content: center; overflow: hidden; }
  .jornada.is-pinned .jornada__head .h2 { font-size: clamp(2rem, 0.9rem + 1.9vw + 1.6vh, 3.6rem); }
  .jornada.is-pinned .jornada__foot { display: flex; }
  .jornada.is-pinned .step { width: clamp(270px, 24vw, 360px); }
  .jornada.is-pinned .step__media { aspect-ratio: auto; height: min(40svh, 440px); }
  .jornada:not(.is-pinned) .jornada__viewport { overflow-x: auto; scrollbar-width: none; }
}

@media (max-width: 1023px) {
  .jornada__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .jornada__viewport::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; scroll-margin-left: var(--gutter); width: min(72vw, 320px); }
}

@media (max-width: 767px) {
  :root { --nav-h: 58px; --nav-top: 10px; }
  body { font-size: 1rem; }
  .nav { padding-inline: 10px; }
  .nav__bar { padding: 0 6px 0 18px; gap: 10px; grid-template-columns: auto 1fr; }
  .nav__logo img { width: 104px; }
  .nav__cta { display: none; }

  .hero__frame { min-height: calc(100svh - 2 * var(--frame-gap)); align-items: flex-end; }
  .hero__media img, .hero__media video { object-position: 50% 30%; }
  .hero__veil {
    background: linear-gradient(0deg, rgba(246, 242, 236, 0.98) 0%, rgba(246, 242, 236, 0.9) 38%, rgba(246, 242, 236, 0.35) 56%, rgba(246, 242, 236, 0) 70%);
  }
  .hero__content { padding-block: 30svh 18px; }
  .hero__kicker { margin-bottom: 14px; letter-spacing: 0.12em; font-size: 0.7rem; }
  .hero__kicker-avatar { display: block; flex: none; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
  .hero__title { font-size: clamp(2.05rem, 8.8vw, 2.6rem); letter-spacing: -0.04em; line-height: 1; }
  .hero__sub { margin-top: 12px; font-size: 0.95rem; line-height: 1.45; }
  .hero__chips { margin-top: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .hero__chips li { font-size: 0.74rem; padding: 7px 9px 7px 7px; gap: 7px; border-radius: 14px; line-height: 1.22; align-items: center; }
  .hero__chips svg { width: 18px; height: 18px; padding: 3px; flex: none; }
  .hero__actions { margin-top: 16px; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__actions .link-arrow { display: none; }
  .dr-card { display: none; }
  .hero__toggle { top: auto; bottom: auto; top: calc(var(--nav-top) + var(--nav-h) + 12px); }

  .steps-list li { grid-template-columns: 42px 28px minmax(0, 1fr); gap: 12px; }
  .steps-list__icon { width: 42px; height: 42px; }
  .steps-list__t { font-size: 1.04rem; }
  .consulta__content .btn, .proc__content .btn, .hero__actions .btn, .final__content .btn, .menu .btn { width: 100%; justify-content: space-between; white-space: normal; text-align: left; line-height: 1.25; }
  .vcard { width: 100%; max-width: 420px; }

  .proc__list { grid-template-columns: minmax(0, 1fr); }
  .proc__content { padding: 26px 22px 28px; gap: 18px; }

  .creds { grid-template-columns: minmax(0, 1fr); }
  .creds__item, .creds__item + .creds__item { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; }
  .creds dd { margin-top: 0; }

  .ba-grid { grid-template-columns: minmax(0, 1fr); }
  .ba--lg .ba__frame, .ba__frame { aspect-ratio: 4 / 4.6; }
  .ba-note { grid-column: auto; }
  .tabs { display: flex; width: 100%; }
  .tabs__tab { flex: 1; padding: 11px 12px; font-size: 0.88rem; }

  .reviews { columns: 1; }
  .depo__video { width: 100%; }

  .help-card { grid-template-columns: 92px minmax(0, 1fr); }
  .help-card img { width: 92px; height: 116px; }
  .faq__item button { padding: 22px 0; }
  .faq__panel p { padding-right: 0; }

  .final__frame { min-height: calc(100svh - 2 * var(--frame-gap)); align-items: flex-end; }
  .final__media img, .final__media video { object-position: 50% 30%; }
  .final__veil { background: linear-gradient(0deg, rgba(246, 242, 236, 0.98) 0%, rgba(246, 242, 236, 0.88) 42%, rgba(246, 242, 236, 0) 70%); }
  .final__content { padding-block: 42vh 26px; }
  .final__content .btn { width: 100%; justify-content: space-between; }
  .final__info { margin-top: 26px; }
  .final__toggle { bottom: auto; top: 16px; }

  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { grid-template-columns: minmax(0, 1fr); }
  .footer__meta { justify-self: start; text-align: left; }

  .wa-float { width: 56px; height: 56px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float__label { display: none; }
}

@media (max-width: 380px) {
  .btn--lg { --h: 56px; padding-left: 22px; font-size: 0.94rem; }
  .hero__kicker { letter-spacing: 0.08em; }
  .hero__chips li { font-size: 0.7rem; }
}

/* telas baixas (notebooks 1366×768, 1280×720): o hero precisa caber inteiro */
@media (min-width: 768px) and (max-height: 860px) {
  .hero__content { padding-block: calc(var(--nav-top) + var(--nav-h) + 36px) 34px; }
  .hero__kicker { margin-bottom: 18px; }
  .hero__title { font-size: min(var(--fs-display), 8.6vh); }
  .hero__sub { margin-top: 18px; font-size: 1.05rem; }
  .hero__chips { margin-top: 20px; gap: 8px; }
  .hero__chips li { padding-block: 8px; }
  .hero__actions { margin-top: 24px; }
  .btn--lg { --h: 58px; }
}

/* ---------- 21. Preferências de acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal], .js [data-hero-item], .js [data-hero-card] { opacity: 1; transform: none; }
  .js [data-split] { visibility: visible; }
  .menu, .menu__links a, .wa-float, .nav { transition-duration: 1ms; }
  .ba[data-sensitive] .ba__img { transition: filter 200ms ease; transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__bar, .dr-card, .hero__chips li, .final__info li, .tabs { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav__bar, .dr-card, .hero__chips li, .final__info li { background: rgba(251, 249, 245, 0.94); }
  .vcard__caption { background: rgba(21, 18, 15, 0.82); }
}
