/* ==========================================================================
   Dra. Bianca Apoyná · Landing Page
   Paleta: fundo #F8F2EE · secundário #E8D5CC · destaque #C69B91
           botões #8B625B · textos #493632
   ========================================================================== */

:root {
  --bg: #F8F2EE;
  --bg-alt: #E8D5CC;
  --accent: #C69B91;
  --btn: #8B625B;
  --btn-hover: #74504A;
  --text: #493632;
  --text-soft: #7A625C;
  --white: #FFFDFB;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 24px 60px -24px rgba(73, 54, 50, .28);
  --container: 80rem; /* largura máx. do conteúdo: 1280px no notebook, 1440px no monitor Full HD */
  --gutter: clamp(18px, 5vw, 120px); /* margem lateral: cresce com a tela */
  --peek: clamp(64px, 10svh, 104px); /* quanto da 2ª tela "espia" no fim da 1ª */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
/* monitores grandes: textos e espaços crescem junto com a tela */
@media (min-width: 1680px) { html { font-size: 106.25%; } }
@media (min-width: 1920px) { html { font-size: 112.5%; } }
@media (min-width: 2400px) { html { font-size: 125%; } }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; font-weight: inherit; color: var(--btn); }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--btn);
  margin-bottom: 1.2rem;
}
.eyebrow--light { color: var(--bg-alt); }
.eyebrow__cro { white-space: nowrap; }
@media (max-width: 560px) {
  /* no celular o CRO desce para a linha de baixo, sem o ponto sobrando */
  .eyebrow__sep { display: none; }
  .eyebrow__cro { display: block; }
}

.section-title { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 1.4rem; }
.section-head { max-width: 640px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-sub { color: var(--text-soft); }

/* ---------- Botões ---------- */
.btn {
  --pad-y: 1.05rem; --pad-x: 2rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px;
  background: var(--btn);
  color: var(--white);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .3s var(--ease);
  box-shadow: 0 14px 30px -14px rgba(139, 98, 91, .7);
  will-change: transform;
}
.btn:hover { background: var(--btn-hover); box-shadow: 0 20px 40px -16px rgba(139, 98, 91, .85); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { --pad-y: .8rem; --pad-x: 1.5rem; font-size: .74rem; }
.btn--lg { --pad-y: 1.25rem; --pad-x: 2.4rem; font-size: .86rem; }
.btn--ghost { background: transparent; color: var(--btn); box-shadow: inset 0 0 0 1px var(--btn); }
.btn--ghost:hover { background: var(--btn); color: var(--white); box-shadow: inset 0 0 0 1px var(--btn); }
.btn--light { background: var(--bg); color: var(--btn); }
.btn--light:hover { background: var(--white); color: var(--btn-hover); }
.btn .wa-icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
/* botão do WhatsApp no topo (igual aldemgestao.com.br): verde, texto preto */
.btn--whats { background: #25D366; color: #000; font-weight: 700; text-transform: none; letter-spacing: .01em; font-size: .9rem; gap: .55rem; box-shadow: 0 12px 26px -14px rgba(37, 211, 102, .8); }
.btn--whats:hover { background: #1fbd59; color: #000; box-shadow: 0 0 0 4px rgba(37, 211, 102, .22); }
.btn--whats .wa-icon { width: 20px; height: 20px; }
/* botão do WhatsApp na chamada final: na cor rosé da palavra "conversa", maior e com um anel pulsando */
.btn.btn--cta-wa { --pad-y: 1.35rem; --pad-x: 2.6rem; background: var(--accent); color: #2a1d1b; font-size: 1rem; letter-spacing: .04em; animation: cta-pulse 2.2s ease-out infinite; }
.btn--cta-wa .wa-icon { width: 26px; height: 26px; }
@keyframes cta-pulse {
  0% { box-shadow: 0 18px 40px -12px rgba(198, 155, 145, .6), 0 0 0 0 rgba(198, 155, 145, .55); }
  80%, 100% { box-shadow: 0 18px 40px -12px rgba(198, 155, 145, .6), 0 0 0 16px rgba(198, 155, 145, 0); }
}
.btn.btn--cta-wa:hover { background: var(--bg-alt); color: #2a1d1b; }
/* botão redondo só com o ícone (WhatsApp do cabeçalho) */
.btn--icon { --pad-x: 0; --pad-y: 0; width: 50px; height: 50px; padding: 0; border-radius: 50%; }
.btn--icon .wa-icon { width: 26px; height: 26px; }
.btn:hover .wa-icon { transform: none; }

/* Brilho que atravessa (shine sweep) */
.btn--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 5s var(--ease-in-out) infinite;
}
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Sublinhado que cresce */
.link-underline { position: relative; }
.link-underline::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--bg);
  transition: clip-path 1.1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.preloader__logo { width: 96px; animation: breathe 2.2s ease-in-out infinite; }
.preloader__bar { width: 120px; height: 1px; background: var(--bg-alt); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--btn); transform-origin: left; animation: load 1.4s var(--ease) forwards; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .75; } }
body.is-loaded .preloader { clip-path: inset(0 0 100% 0); pointer-events: none; }

/* ---------- Cursor personalizado ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 999; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--btn); }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1px solid var(--accent);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s var(--ease), border-color .35s;
  }
  .cursor.is-hover .cursor__ring { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(198, 155, 145, .16); border-color: transparent; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease), transform .5s var(--ease);
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(248, 242, 238, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(73, 54, 50, .08);
}
.header.is-hidden { transform: translateY(-100%); }
/* logo à esquerda | menu no centro exato | WhatsApp à direita */
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.header__inner .brand { justify-self: start; }
.header__actions { justify-self: end; display: flex; align-items: center; gap: 12px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; border-left: 1px solid rgba(73, 54, 50, .35); padding-left: 12px; }
.brand__text strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }
.brand__text small { font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); }

/* menu em cápsula translúcida, com destaque que desliza por trás do item */
.nav {
  position: relative; display: flex; align-items: center; padding: 5px;
  border-radius: 999px;
  background: rgba(255, 253, 251, .62);
  border: 1px solid rgba(139, 98, 91, .16);
  box-shadow: 0 10px 30px -12px rgba(73, 54, 50, .22);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s;
}
.nav__list { position: relative; z-index: 1; display: flex; gap: 2px; font-size: .85rem; font-weight: 500; }
.nav__list a { display: block; padding: 9px 20px; border-radius: 999px; color: var(--text-soft); transition: color .25s; }
.nav__list a:hover, .nav__list a.is-current { color: var(--text); }
.nav__pill {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: 999px; background: rgba(198, 155, 145, .22);
  box-shadow: inset 0 0 0 1px rgba(139, 98, 91, .2);
  opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s;
}
/* sobre o topo escuro: cápsula escura translúcida com letras claras */
.has-dark-hero .header:not(.is-scrolled) .nav { background: rgba(42, 29, 27, .45); border-color: rgba(248, 242, 238, .14); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.has-dark-hero .header:not(.is-scrolled) .nav__list a { color: rgba(248, 242, 238, .72); }
.has-dark-hero .header:not(.is-scrolled) .nav__list a:hover, .has-dark-hero .header:not(.is-scrolled) .nav__list a.is-current { color: var(--bg); }
.has-dark-hero .header:not(.is-scrolled) .nav__pill { background: rgba(248, 242, 238, .12); box-shadow: inset 0 0 0 1px rgba(248, 242, 238, .2); }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 110px 32px 48px; gap: 40px;
  clip-path: circle(0% at calc(100% - 46px) 42px);
  transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; }
.mobile-menu ul { display: grid; gap: 10px; }
.mobile-menu li a { font-family: var(--serif); font-size: 2.4rem; display: inline-block; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu-open .mobile-menu li a { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: .25s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .31s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .37s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .43s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .49s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: .55s; }
.mobile-menu { overflow-y: auto; }
.mobile-menu li a { line-height: 1.3; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--peek));
  padding: calc(var(--header-h) + 24px) 0 48px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  /* luz quente e suave atrás da Bianca, sobre o fundo marrom */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(55% 70% at 74% 42%, rgba(198, 155, 145, .28), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__content { position: relative; z-index: 2; }
.hero__content { container-type: inline-size; }
/* notebook e monitor: título sempre em 2 linhas; a fonte se ajusta à largura da coluna (cqi) */
.hero__title { font-size: clamp(2.2rem, min(8.7cqi, 8.5svh), 4.8rem); margin-bottom: 1.6rem; } /* linha mais longa ≈ 11,2em */
.hero__line { display: block; white-space: nowrap; }
.hero__rotator { font-family: var(--serif); font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-style: italic; color: var(--text-soft); margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 .28em; line-height: 1.35; }
.hero__text { max-width: 30rem; color: var(--text-soft); margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* lista de procedimentos abaixo do título: cada item inteiro, sem quebrar no meio */
.hero__text--list { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .3rem 1.1rem; max-width: none;
  min-height: calc(1.75em * 3); } /* reserva o espaço do texto antigo (3 linhas) para o topo não mudar de posição */
.hero__text--list span { white-space: nowrap; }

/* Palavras que se alternam */
.rotator { display: inline-block; height: 1.35em; overflow: hidden; vertical-align: bottom; color: var(--btn); }
.rotator__track { display: flex; flex-direction: column; animation: rotate-words 9s var(--ease-in-out) infinite; }
.rotator__track span { height: 1.35em; line-height: 1.35em; white-space: nowrap; }
@keyframes rotate-words {
  0%, 28% { transform: translateY(0); }
  33%, 61% { transform: translateY(-1.35em); }
  66%, 94% { transform: translateY(-2.7em); }
  100% { transform: translateY(-4.05em); }
}

/* Topo na versão escura */
.hero { background: linear-gradient(160deg, #4a3430 0%, #362623 55%, #2a1d1b 100%); color: var(--bg); }
.hero .eyebrow { color: var(--accent); }
.hero__title { color: var(--bg); }
.hero__title em { color: var(--accent); }
.hero__rotator { color: rgba(248, 242, 238, .78); }
.hero .rotator { color: var(--accent); }
.hero__text { color: rgba(248, 242, 238, .8); }
.hero .btn { background: var(--accent); color: #2a1d1b; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.hero .btn:hover { background: var(--bg-alt); color: #2a1d1b; }
/* cabeçalho claro enquanto está sobre o topo escuro; volta ao normal ao rolar */
.has-dark-hero .header:not(.is-scrolled) { color: var(--bg); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-dark-hero .header:not(.is-scrolled) .brand__mark { filter: brightness(0) invert(.95); }
.has-dark-hero .header:not(.is-scrolled) .brand__text { border-left-color: rgba(248, 242, 238, .4); }
.has-dark-hero .header:not(.is-scrolled) .brand__text small { color: rgba(248, 242, 238, .7); }
.has-dark-hero .header:not(.is-scrolled) .menu-toggle span { background: var(--bg); }
.has-dark-hero.menu-open .header .menu-toggle span { background: var(--text); }
.has-dark-hero.menu-open .header .brand__mark { filter: none; }
.has-dark-hero.menu-open .header { color: var(--text); }
.has-dark-hero.menu-open .header .brand__text { border-left-color: rgba(73, 54, 50, .35); }
.has-dark-hero.menu-open .header .brand__text small { color: var(--text-soft); }

/* A Bianca fica direto sobre o fundo, sem moldura. A base da foto encosta na folha da 2ª seção,
   que sobe por cima dela ao rolar. Medidas pela altura da tela para tudo ficar proporcional. */
.hero {
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2)); /* borda direita do conteúdo */
  --ch: min(calc(100svh - var(--peek) - var(--header-h) - 6px), calc(var(--container) * .58)); /* altura da foto (limitada em telas muito grandes) */
}
.hero__media { position: static; min-height: 1px; }
.hero__cutout {
  position: absolute; z-index: 1; bottom: 0; right: calc(var(--edge) + 1%);
  height: var(--ch); width: auto; max-width: none;
  opacity: 0; transform: translateY(60px);
  transition: opacity 1.2s var(--ease) .5s, transform 1.6s var(--ease) .5s;
}
.is-loaded .hero__cutout { opacity: 1; transform: translateY(var(--parallax, 0)); }
/* monograma grande e suave como marca d'água, aparecendo à esquerda dela */
.hero__watermark {
  position: absolute; z-index: 0;
  /* fixo no centro do topo em qualquer tela */
  left: 50%; top: calc(50% + var(--header-h) / 2); translate: -50% -50%;
  height: min(62%, 78vw); width: auto; max-width: none;
  opacity: 0; transition: opacity 1.6s var(--ease) 1s;
}
/* fixo e mais escuro que o fundo: monograma tom sobre tom, como gravado no marrom */
.hero__watermark { filter: brightness(0); }
.is-loaded .hero__watermark { opacity: .07; } /* quase da cor do fundo */

/* Flutuar */
.float { animation: float 6s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }



/* ---------- Segunda tela "chegando": folha arredondada espiando no fim do hero ---------- */
.sheet {
  z-index: 2;
  background: var(--bg-alt);
  border-radius: 44px 44px 0 0;
  box-shadow: 0 -18px 50px rgba(73, 54, 50, .14), inset 0 1px 0 rgba(255, 255, 255, .6);
}
/* alça no topo, sugerindo que a folha sobe */
.sheet::before {
  content: ""; position: absolute; top: 14px; left: 50%; translate: -50% 0;
  width: 56px; height: 5px; border-radius: 999px;
  background: var(--btn); opacity: .35; pointer-events: none;
}
.sheet .pillar { background: var(--bg); }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__media { position: relative; width: 100%; max-width: 32rem; justify-self: center; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; } /* menos parede, mais da Bianca */
.about__sign {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 10px;
  background: rgba(73, 54, 50, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px; color: var(--bg);
  font-size: .6rem; letter-spacing: .18em;
}
.about__sign img { width: 20px; }
.about__content > p { color: var(--text-soft); margin-bottom: 1.2rem; max-width: none; } /* texto vai até a borda dos cartões */

.pillars { display: grid; gap: 14px; margin-top: 2.4rem; }
.pillar {
  display: flex; gap: 18px; align-items: center;
  padding: 18px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(198, 155, 145, .25);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar__icon { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--btn); }
.pillar__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.pillar strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.2; }
.pillar span { font-size: .95rem; color: var(--text-soft); }


/* ---------- Procedimentos: cards ---------- */
.proc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 4vw, 56px); }
.proc-head .section-title { margin-bottom: 0; }
.proc-head__link { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--btn); white-space: nowrap; }
.proc-head__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease); }
.proc-head__link:hover svg { transform: translateX(4px); }

.proc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.proc-card {
  display: flex; flex-direction: column;
  padding: 10px 10px 18px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 14px 34px -22px rgba(73, 54, 50, .45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.proc-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(73, 54, 50, .5); }
.proc-card__media { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; margin-bottom: 16px; }
.proc-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.proc-card:hover .proc-card__media > img { transform: scale(1.06); }
.proc-card__badge {
  position: absolute; left: 10px; bottom: 10px;
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(248, 242, 238, .9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.proc-card__badge img { width: 20px; }
.proc-card h3 { font-size: 1.12rem; line-height: 1.25; margin: 0 6px 6px; }
.proc-card p { font-size: .82rem; line-height: 1.55; color: var(--text-soft); margin: 0 6px 18px; flex: 1; }
.proc-card__foot { display: flex; justify-content: space-between; align-items: center; margin: 0 6px; font-size: .8rem; font-weight: 500; color: var(--btn); }
.proc-card__arrow {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt); color: var(--btn);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.proc-card__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease); }
.proc-card:hover .proc-card__arrow { background: var(--btn); color: var(--white); }
.proc-card:hover .proc-card__arrow svg { transform: translateX(2px); }

/* ---------- Para quem é indicado ---------- */
.indications { background: var(--white); }
.indications__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.indications__head { position: sticky; top: calc(var(--header-h) + 40px); }
.indications__head > p { color: var(--text-soft); margin-bottom: 2rem; max-width: 440px; }
.indications__note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 2.4rem; padding: 18px 20px;
  max-width: 440px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid rgba(198, 155, 145, .35);
}
.indications__note svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--btn); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.indications__note p { font-size: .84rem; line-height: 1.6; color: var(--text-soft); }
.indications__note strong { color: var(--text); font-weight: 600; }

.ind-list { border-top: 1px solid rgba(139, 98, 91, .18); }
.ind {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px 22px; align-items: start;
  padding: 26px 4px;
  border-bottom: 1px solid rgba(139, 98, 91, .18);
}
.ind__icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt); color: var(--btn);
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.ind__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ind:hover .ind__icon { background: var(--btn); color: var(--white); transform: rotate(-8deg) scale(1.05); }
.ind h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; margin: 8px 0 .4rem; }
.ind p { font-size: .9rem; color: var(--text-soft); max-width: 460px; }
.ind__tag {
  align-self: center;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid rgba(139, 98, 91, .3);
  font-size: .72rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap;
  color: var(--btn);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.ind:hover .ind__tag { background: var(--btn); border-color: var(--btn); color: var(--white); }

/* ---------- Quem já foi transformada (carrossel) ---------- */
.transformed { background: var(--bg-alt); overflow: hidden; padding: clamp(64px, 7vw, 100px) 0; }
.tr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(28px, 3vw, 40px); }
.tr-head .section-title { margin-bottom: 0; }
.tr-head__aside { display: flex; align-items: flex-end; gap: 24px; }
.tr-head .section-sub { max-width: 22rem; font-size: .92rem; }
.tr-nav { display: flex; gap: 10px; flex: none; }
.tr-nav[hidden] { display: none; }
.tr-nav__btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(139, 98, 91, .35); color: var(--btn);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, opacity .3s;
}
.tr-nav__btn:hover:not(:disabled) { background: var(--btn); border-color: var(--btn); color: var(--white); }
.tr-nav__btn:disabled { opacity: .3; cursor: default; }
.tr-nav__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.tr-track {
  /* alinha o 1º card com o conteúdo e deixa a fila "vazar" até a borda da tela */
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: flex; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding: 6px var(--edge) 20px;
  scrollbar-width: none;
}
.tr-track::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .tr-track { cursor: grab; } }
.tr-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.tr-track.is-dragging .tr-card { pointer-events: none; }
/* no computador os 5 cabem lado a lado; em telas menores vira carrossel */
.tr-item { flex: 1 0 210px; scroll-snap-align: start; }
.tr-card { display: block; }
.tr-card__media {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: 18px; overflow: hidden;
  background: var(--bg);
  box-shadow: 0 18px 40px -24px rgba(73, 54, 50, .55);
}
.tr-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); -webkit-user-drag: none; }
.tr-card:hover .tr-card__media img { transform: scale(1.05); }
.tr-card__pill {
  position: absolute; top: 10px; left: 10px;
  padding: 5px 10px; border-radius: 100px;
  background: rgba(248, 242, 238, .92);
  font-size: .56rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--btn);
}
.tr-card__open {
  position: absolute; top: 8px; right: 8px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--btn); color: var(--white);
  opacity: 0; transform: scale(.6) rotate(-45deg);
  transition: transform .5s var(--ease), opacity .4s;
}
.tr-card:hover .tr-card__open, .tr-card:focus-visible .tr-card__open { opacity: 1; transform: none; }
@media (hover: none) { .tr-card__open { opacity: 1; transform: none; } }
.tr-card__open svg, .tr-card__cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tr-card__info { padding: 14px 2px 0; }
.tr-card__count { font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--btn); }
.tr-card h3 { font-size: 1.12rem; line-height: 1.25; margin: .2rem 0 .35rem; }
.tr-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; color: var(--text-soft); transition: color .3s, gap .4s var(--ease); }
.tr-card:hover .tr-card__cta { color: var(--btn); gap: 12px; }

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

/* ---------- Página de resultados (resultados.html) ---------- */
/* ---------- Página de resultados (resultados.html): uma seção só com abertura, filtros e fotos ---------- */
.results-page {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(64px, 8vw, 110px);
  background: radial-gradient(70% 50% at 85% 0%, rgba(255, 253, 251, .7), transparent 70%), linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 38%);
}
.results-page__mark {
  /* monograma grande e suave ao fundo */
  position: absolute; z-index: 0; right: max(var(--gutter), calc((100% - var(--container)) / 2)); top: calc(var(--header-h) + 8px);
  height: clamp(160px, 22vw, 300px); width: auto; opacity: .1; pointer-events: none;
}
.results-page > .container { position: relative; z-index: 1; }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(24px, 3vw, 36px); }
.results-head .eyebrow { margin-bottom: .7rem; }
.page-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.4rem; font-size: .82rem; font-weight: 500; color: var(--btn); }
.back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.back-link:hover svg { transform: translateX(-4px); }
.results-head__meta { display: flex; align-items: center; gap: 18px; padding-bottom: 6px; }
.results-head__meta p { font-size: .84rem; line-height: 1.6; color: var(--text-soft); }
.results-count { display: flex; align-items: center; gap: 10px; padding-right: 18px; border-right: 1px solid rgba(139, 98, 91, .25); }
.results-count b { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 500; line-height: 1; color: var(--btn); }
.results-count small { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; color: var(--text-soft); }
/* filtros em cápsula, no estilo do menu do cabeçalho */
.filters.filters--capsule {
  display: flex; width: fit-content; flex-wrap: nowrap; justify-content: flex-start; gap: 2px; padding: 5px; margin-bottom: clamp(28px, 3.5vw, 44px);
  border-radius: 999px; background: rgba(255, 253, 251, .7); border: 1px solid rgba(139, 98, 91, .14);
  box-shadow: 0 10px 30px -14px rgba(73, 54, 50, .25); max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.filters--capsule::-webkit-scrollbar { display: none; }
/* filtros dentro do cabeçalho (resultados.html), com a mesma cara dos links do menu */
.nav--filters .filter { display: block; padding: 9px 18px; border: 0; border-radius: 999px; background: none; font-size: .85rem; font-weight: 500; color: var(--text-soft); white-space: nowrap; transition: color .25s; }
.nav--filters .filter:hover, .nav--filters .filter.is-active { color: var(--text); background: none; }
/* no computador os filtros ficam só no cabeçalho */
@media (min-width: 901px) { .filters--inpage { display: none !important; } }
.filters--capsule .filter { border: 0; padding: 10px 20px; white-space: nowrap; color: var(--text-soft); }
.filters--capsule .filter:hover { color: var(--text); }
.filters--capsule .filter.is-active { background: var(--btn); color: var(--white); }
@media (max-width: 760px) {
  .results-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .results-page__mark { height: 120px; top: calc(var(--header-h) + 4px); }
  .results-head__meta p br { display: none; }
  /* filtros: uma linha só, deslizando para o lado, encostando nas bordas da tela */
  .filters.filters--capsule { width: auto; max-width: none; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; border-inline: 0; padding-inline: var(--gutter); background: rgba(255, 253, 251, .55); box-shadow: none; }
}

/* ---------- Resultados: galeria ---------- */
.results { background: var(--bg-alt); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.filter {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: .85rem;
  border: 1px solid rgba(139, 98, 91, .3);
  color: var(--btn);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.filter:hover { border-color: var(--btn); }
.filter.is-active { background: var(--btn); color: var(--white); border-color: var(--btn); }

/* galeria centralizada: fileiras incompletas ficam no meio (--cols = fotos por fileira) */
.gallery { --cols: 4; --gap: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.gallery .g-item { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.g-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg);
  box-shadow: 0 12px 30px -18px rgba(73, 54, 50, .4);
  transform-style: preserve-3d;
  transition: box-shadow .5s var(--ease);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-item::after {
  content: attr(data-label);
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(248, 242, 238, .92);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; text-align: center;
  color: var(--btn);
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { opacity: 1; transform: none; }
.g-item.is-entering { animation: pop-in .7s var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms); }
@keyframes pop-in { from { opacity: 0; transform: scale(.88) translateY(20px); } to { opacity: 1; transform: none; } }

.gallery__more { display: flex; justify-content: center; margin-top: 48px; }
.gallery__more[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 24px;
  background: rgba(41, 29, 27, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; }
.lightbox__img { max-height: 82vh; width: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); transform-origin: top left; }
.lightbox__caption { color: var(--bg); font-family: var(--serif); font-size: 1.3rem; font-style: italic; }
.lightbox__close { position: absolute; top: 18px; right: 22px; font-size: 2.6rem; line-height: 1; color: var(--bg); width: 52px; height: 52px; }
.lightbox__nav { width: 52px; height: 52px; border-radius: 50%; color: var(--bg); font-size: 2.2rem; line-height: 1; border: 1px solid rgba(248, 242, 238, .35); transition: background .3s; }
.lightbox__nav:hover { background: rgba(248, 242, 238, .15); }

/* ---------- Processo: linha do tempo ---------- */
.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.process__head { position: sticky; top: calc(var(--header-h) + 40px); }
.process__head > p { color: var(--text-soft); margin-bottom: 2rem; max-width: 440px; }
.timeline { position: relative; display: grid; gap: 52px; padding-left: 78px; }
.timeline__line { position: absolute; left: 25px; top: 10px; bottom: 10px; width: 1px; background: rgba(139, 98, 91, .2); }
.timeline__line span { position: absolute; inset: 0; background: var(--btn); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.timeline__step { position: relative; opacity: .35; transition: opacity .6s var(--ease); }
.timeline__step.is-active { opacity: 1; }
.timeline__dot {
  position: absolute; left: -78px; top: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  background: var(--bg); color: var(--btn);
  border: 1px solid rgba(139, 98, 91, .35);
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.timeline__step.is-active .timeline__dot { background: var(--btn); color: var(--white); transform: scale(1.06); }
.timeline__step h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .5rem; padding-top: 6px; }
.timeline__step p { color: var(--text-soft); max-width: 460px; }

/* ---------- FAQ: sanfona ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); }
.faq .section-head > p { color: var(--text-soft); }
.accordion { display: grid; gap: 14px; }
.acc { border-radius: var(--radius); background: var(--bg); border: 1px solid transparent; transition: border-color .4s, background .4s; }
.acc.is-open { border-color: rgba(198, 155, 145, .5); background: var(--bg); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 28px; text-align: left;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.35;
}
.acc__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt); transition: background .4s, transform .5s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--btn); transition: transform .5s var(--ease), background .4s; }
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon { background: var(--btn); transform: rotate(180deg); }
.acc.is-open .acc__icon::before, .acc.is-open .acc__icon::after { background: var(--white); }
.acc.is-open .acc__icon::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 28px 26px; color: var(--text-soft); }

/* ---------- CTA final ---------- */
.cta { background: var(--text); color: var(--bg); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(198, 155, 145, .35), transparent 65%);
  animation: blob 14s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 50% 50% 50% 50%; transform: translate(0, 0); }
  33% { border-radius: 60% 40% 55% 45%; transform: translate(-40px, 30px); }
  66% { border-radius: 42% 58% 40% 60%; transform: translate(20px, 60px); }
}
.cta__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: center; position: relative; }
.cta__media { width: 100%; max-width: 30rem; justify-self: center; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; } /* quadrada, cantos arredondados */
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.cta__title { font-size: clamp(2.1rem, 4.3vw, 3.7rem); margin-bottom: 1.4rem; }
.cta__title em { color: var(--accent); }
.cta__content > p { color: rgba(248, 242, 238, .78); max-width: 520px; margin-bottom: 2.4rem; }

/* ---------- Footer ---------- */
.footer { background: #3A2B28; color: rgba(248, 242, 238, .78); padding: 80px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(248, 242, 238, .12); }
.footer__brand { display: flex; gap: 18px; align-items: center; }
.footer__mono { width: 64px; }
.footer__brand div { display: grid; line-height: 1.5; border-left: 1px solid rgba(198, 155, 145, .5); padding-left: 18px; }
.footer__brand strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--bg); }
.footer__brand span { font-size: .8rem; letter-spacing: .1em; }
.footer h4 { font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a:hover { color: var(--bg); }
.footer__address:empty { display: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .78rem; opacity: .65; }

/* ---------- WhatsApp flutuante (pulsar) ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--btn); color: var(--white);
  box-shadow: 0 16px 34px -10px rgba(73, 54, 50, .55);
  transform: scale(0);
  transition: transform .6s var(--ease), background .3s;
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { background: var(--btn-hover); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ring 2.4s var(--ease) infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ==========================================================================
   Animações de entrada
   ========================================================================== */
/* Subir e aparecer + cascata */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Revelar palavra por palavra */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 70ms); }
.split-words.is-in .w > span { transform: none; }

/* Máscara que revela (imagens) */
.reveal-mask { clip-path: inset(18% 18% 18% 18% round var(--radius-lg)); transition: clip-path 1.4s var(--ease-in-out); }
.reveal-mask img { transform: scale(1.3); transition: transform 1.8s var(--ease); }
.reveal-mask.is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.reveal-mask.is-in img { transform: scale(1); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (min-width: 1600px) {
  .gallery { --cols: 5; }
}

/* notebooks de tela baixa (ex.: 1366x768): hero mais compacto para a 2ª tela continuar aparecendo */
@media (min-width: 901px) and (max-height: 820px) {
  .hero { padding-bottom: 28px; }
  .hero .eyebrow { margin-bottom: .8rem; }
  .hero__title { margin-bottom: 1rem; }
  .hero__rotator { margin-bottom: 1rem; }
  .hero__text { margin-bottom: 1.6rem; }
}

/* notebook: coluna do texto mais larga para o título ficar maior */
@media (min-width: 1181px) and (max-width: 1680px) {
  .hero__grid { grid-template-columns: 1.25fr .75fr; }
}

/* tablet deitado / notebook pequeno */
@media (max-width: 1180px) and (min-width: 901px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  /* procedimentos: os 4 lado a lado, como no notebook */
  .proc-grid { gap: 14px; }
}

@media (max-width: 1080px) {
  .nav__list a { padding-inline: 14px; }
  .gallery { --cols: 3; }
}

/* Celular e tablet em pé: foto em tela cheia com o texto por cima, cabendo na 1ª tela
   para que a folha da 2ª seção apareça espiando embaixo */
@media (max-width: 900px), (max-width: 1180px) and (orientation: portrait) {
  /* header sempre com fundo (fica sobre a foto) */
  .header { background: rgba(248, 242, 238, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

  /* Hero no celular: fundo claro como o resto do site; Bianca em cima e o texto embaixo,
     cabendo na 1ª tela para que a folha da 2ª seção apareça espiando */
  .hero { height: calc(100svh - var(--peek)); min-height: 560px; padding: 0; align-items: flex-end; }
  .hero::before { display: none; }
  .hero__grid { display: block; }
  .hero__cutout {
    top: calc(var(--header-h) + 4px); bottom: auto; left: 0; right: 0; margin-inline: auto;
    height: auto; width: min(80%, 38svh, 520px); filter: none;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%); mask-image: linear-gradient(180deg, #000 62%, transparent 96%);
  }
  /* fundo escuro que nasce logo acima do texto (acompanha a posição dele em qualquer tela) */
  .hero__content { padding-bottom: calc(var(--peek) * .5 + 24px); }
  /* camadas no celular: foto < escurecimento do texto < BA < texto (o BA fica visível no centro) */
  .hero { isolation: isolate; }
  .hero__content { z-index: auto; }
  .hero__content::before { z-index: 2 !important; }
  .hero__watermark { z-index: 3; pointer-events: none; }
  .hero__content > * { position: relative; z-index: 4; }
  .hero__content::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: -110px; bottom: 0;
    background: linear-gradient(180deg, rgba(42, 29, 27, 0) 0, rgba(42, 29, 27, .9) 85px, #2a1d1b 120px);
  }
  .hero .eyebrow { margin-bottom: .8rem; }
  .hero__title { margin-bottom: 1rem; }
  .hero__rotator { margin-bottom: 1rem; }
  .hero__text { margin-bottom: 1.6rem; }
  .hero__content { max-width: 40rem; }
  /* celular e tablet em pé: título quebra naturalmente, com o tamanho de antes */
  .hero__title { font-size: clamp(2.4rem, min(5vw, 8.5svh), 4.4rem); }
  .hero__line { display: inline; white-space: normal; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav, .header__actions { display: none; }
  .header__inner { display: flex; justify-content: space-between; }
  .menu-toggle { display: block; }

  .about__grid, .process__grid, .faq__grid, .cta__grid, .indications__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; justify-self: start; }
  .process__head, .indications__head { position: static; }
  .ind { grid-template-columns: auto 1fr; }
  .ind__tag { grid-column: 2; justify-self: start; }
  .cta__media { max-width: 380px; justify-self: start; }

  /* cards: rolagem horizontal com encaixe */
  .proc-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 24px; scrollbar-width: none; }
  .proc-grid::-webkit-scrollbar { display: none; }
  .proc-card { flex: 0 0 min(250px, 70vw); scroll-snap-align: start; }
  /* cards fixos: só deslizam quando a pessoa arrasta para o lado */
  .proc-grid { scroll-snap-type: x proximity; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
  .proc-grid .proc-card.reveal { opacity: 1; transform: none; transition: none; }

  .tr-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tr-item { flex: 0 0 min(42vw, 280px); }

  .gallery { --cols: 2; --gap: 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: .95rem; }
  :root { --peek: clamp(56px, 9svh, 84px); }
  .sheet { border-radius: 30px 30px 0 0; }
  .brand__text small { display: none; }
  /* botões cabem em uma linha no celular */
  .btn { --pad-x: 1.4rem; letter-spacing: .1em; }
  .hero__actions .btn { width: auto; --pad-y: .9rem; --pad-x: 1.5rem; font-size: .74rem; } /* botão do topo menor no celular */
  .tr-track { gap: 14px; }
  .tr-item { flex: 0 0 min(70vw, 260px); }
  .tr-nav { display: none; }
  .proc-head { flex-direction: column; align-items: flex-start; }
  .timeline { padding-left: 64px; gap: 40px; }
  .timeline__dot { left: -64px; width: 44px; height: 44px; font-size: 1.1rem; }
  .timeline__line { left: 21px; }
  .acc__btn { padding: 20px; font-size: 1.15rem; }
  .acc__panel p { padding: 0 20px 22px; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 24px; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  .lightbox__img { max-height: 70vh; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* celulares estreitos: o texto antigo ocupava 4 linhas */
@media (max-width: 420px) { .hero__text--list { min-height: calc(1.75em * 4); } }
/* celular: procedimentos um embaixo do outro */
@media (max-width: 600px) { .hero__text--list { flex-direction: column; gap: 0; } }

/* Só nos celulares: a foto original da Bianca (fundo marrom) como fundo do topo, levemente escurecida */
@media (max-width: 600px) {
  .hero__cutout { display: none; }
  .hero__media::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(180deg, rgba(42, 29, 27, .25) 0%, rgba(42, 29, 27, .4) 35%, rgba(42, 29, 27, .82) 62%, rgba(42, 29, 27, .95) 100%),
      url("../assets/img/bianca-hero.webp") 50% 12% / cover no-repeat;
  }
  .hero__content::before { display: none; } /* o próprio escurecimento da foto já dá leitura ao texto */
}

/* tablet, notebook e monitor: cartões do "Sobre" lado a lado, ícone em cima do texto */
@media (min-width: 601px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* ícone + título na mesma linha; o texto vem embaixo ocupando a largura toda */
  .pillar { display: grid; grid-template-columns: auto 1fr; align-items: center; align-content: start; gap: 12px 12px; padding: 20px; }
  .pillar > div { display: contents; }
  .pillar__icon { width: 38px; height: 38px; }
  .pillar__icon svg { width: 18px; height: 18px; }
  .pillar strong { font-size: 1.08rem; }
  .pillar div span { grid-column: 1 / -1; align-self: start; font-size: .88rem; line-height: 1.55; display: block; }
}

/* telas de toque: sem o efeito de "passar o mouse" que deixava o card levantado após o toque */
@media (hover: none) {
  .proc-card:hover { transform: none; box-shadow: 0 14px 34px -22px rgba(73, 54, 50, .45); }
  .proc-card:hover .proc-card__media > img { transform: none; }
}

/* Acessibilidade: movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal, .split-words .w > span { opacity: 1; transform: none; }
  .reveal-mask { clip-path: none; }
  .reveal-mask img { transform: none; }
  .rotator__track { animation: none; }
}
