/* =========================================================
   Dr. Mateus Louzada — Landing page
   Azul-marinho + dourado (identidade do cartão)
   ========================================================= */

:root {
  --navy-900: #020620;
  --navy: #040a2b;
  --bg: #f4f2ee;
  --white: #ffffff;
  --ink: #0b1030;
  --ink-soft: #545a70;
  --line: rgba(11, 16, 48, .1);
  --line-dark: rgba(243, 230, 184, .14);
  --gold-100: #f3e6b8;
  --gold-300: #e0c47a;
  --gold-500: #c9a24a;
  --gold-700: #94732a;
  --gold-text: linear-gradient(120deg, #f3e2a6 0%, #d8b765 50%, #b8913b 100%);
  --gold-btn: linear-gradient(120deg, #f0dfad 0%, #d6b772 60%, #c3a05a 100%);

  --serif: "Marcellus", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --container: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 24px; }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.18;
  color: var(--ink);
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.25;
}
.gold {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow, .kicker {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { color: var(--gold-300); margin-bottom: 20px; }
.kicker { color: var(--gold-700); margin-bottom: 12px; }
.kicker--gold { color: var(--gold-300); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
.btn--gold {
  background: var(--gold-btn);
  color: var(--navy);
  box-shadow: 0 10px 24px -14px rgba(201, 162, 74, .8);
}
.btn--gold:hover { box-shadow: 0 14px 30px -14px rgba(201, 162, 74, .9); }
.btn--sm { padding: 9px 16px; font-size: .84rem; }
.btn--chip { padding: 12px 12px 12px 22px; gap: 16px; }
.btn__chip {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(4, 10, 43, .12);
  transition: transform .4s var(--ease);
}
.btn__chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__chip { transform: rotate(45deg); }
.btn--gold { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--gold:hover::before { transform: translateX(120%); }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Barra de progresso ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--gold-text);
  pointer-events: none;
}

/* ---------- Header flutuante ---------- */
.header {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 50;
  padding-inline: 16px;
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 10px 10px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(4, 10, 43, .35);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .4s, box-shadow .4s, padding .4s var(--ease), max-width .5s var(--ease);
}
.header.is-scrolled .header__bar {
  max-width: 1000px;
  padding-block: 7px;
  background: rgba(4, 10, 43, .96);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .55);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 32px; height: 32px; object-fit: contain; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); color: var(--gold-100); font-size: 1.05rem; letter-spacing: .03em; }
.brand__sub { font-size: .62rem; letter-spacing: .12em; color: rgba(255, 255, 255, .5); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  position: relative;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-size: .88rem;
  padding: 6px 0;
  transition: color .25s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold-300);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover { color: var(--gold-100); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--gold-100); }
.menu-toggle { display: none; }

/* ---------- Seções ---------- */
.section { padding: 120px 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .75); }
.section p + p { margin-top: 16px; }
.head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.head--left { text-align: left; margin: 0; }
.head--left p:last-child { margin-top: 16px; color: var(--ink-soft); }
.head--light .h2 { color: var(--white); }

/* ---------- 1. Topo ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 620px at 78% 30%, rgba(40, 56, 140, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy) 100%);
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  right: 4%;
  top: 14%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 74, .24) 0%, rgba(201, 162, 74, 0) 65%);
  animation: breathe 7s ease-in-out infinite;
  z-index: -1;
}
.hero__watermark {
  position: absolute;
  left: -130px;
  top: 60px;
  width: 640px;
  opacity: .05;
  filter: grayscale(1) brightness(3);
  pointer-events: none;
  z-index: -1;
}
.hero__lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: end;
  gap: 32px;
  padding-top: 118px;
  min-height: min(100vh, 860px);
}
.hero__content { align-self: center; padding-bottom: 120px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-100);
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  margin-bottom: 24px;
}
.tag__dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-300); }
.tag__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold-300);
  animation: ping 2.4s var(--ease) infinite;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.35rem, 4.8vw, 3.75rem);
  line-height: 1.12;
  color: var(--white);
}
.hero__title .line { display: block; }
.shimmer {
  background: linear-gradient(110deg, #b8913b 0%, #e7cd8a 25%, #fff4cf 40%, #e7cd8a 55%, #b8913b 80%, #d8b765 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
.hero__lead { margin-top: 22px; max-width: 520px; font-size: 1.02rem; color: rgba(255, 255, 255, .76); }
.hero__small { margin: 18px 0 16px; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.hero__proof { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: .78rem; color: rgba(255, 255, 255, .58); line-height: 1.4; }
.hero__proof strong { display: block; color: var(--gold-100); font-weight: 600; font-size: .86rem; }
.hero__proof-icon {
  flex: none;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .04);
}
.hero__proof-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-300); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.hero__media { position: relative; align-self: end; display: flex; justify-content: center; }
.hero__arc {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  margin-inline: auto;
  width: min(92%, 460px);
  aspect-ratio: 1 / 1.2;
  border-radius: 999px 999px 0 0;
  border: 1px solid rgba(224, 196, 122, .22);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(224, 196, 122, .07), transparent 70%);
  opacity: 0;
  animation: fadeUp 1.4s var(--ease) .5s forwards;
}
.hero__photo {
  position: relative;
  width: min(100%, 470px);
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
  opacity: 0;
  animation: photoIn 1.3s var(--ease) .25s forwards;
}
.seal {
  position: absolute;
  right: 0;
  top: 12%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(4, 10, 43, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-dark);
  opacity: 0;
  animation: pop .9s var(--ease) 1s forwards;
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal__ring text { font-family: var(--sans); font-size: 12.5px; letter-spacing: 2.4px; fill: rgba(243, 230, 184, .85); }
.seal__mark { width: 44px; height: 44px; object-fit: contain; }

/* Entrada escalonada do topo */
.intro { opacity: 0; transform: translateY(22px); animation: fadeUp .9s var(--ease) forwards; animation-delay: calc(var(--i) * .1s + .15s); }

[data-depth] { will-change: translate; }

@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: .65; scale: 1.08; } }
@keyframes ping { 0% { opacity: .9; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes shimmer { 0%, 20% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }

/* ---------- 2. Credenciais ---------- */
.facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -56px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -30px rgba(4, 10, 43, .35);
}
.facts li { display: flex; align-items: center; gap: 16px; padding: 28px 30px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts__icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
}
.facts__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-300); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.facts strong { display: block; font-size: .95rem; font-weight: 600; }
.facts div span { display: block; font-size: .82rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Split (abordagem / sobre) ---------- */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 88px; align-items: center; }
.split--reverse { grid-template-columns: 6fr 5fr; }
.split--reverse .portrait { order: 2; }
.split__text { max-width: 500px; }
.split__text .h2 { margin-bottom: 22px; }
.split__text p:not(.kicker):not(.crm) { color: var(--ink-soft); }
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: var(--radius);
}
.crm { margin: -10px 0 22px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-700); }

/* ---------- 4. Tratamentos ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.card__num { font-family: var(--serif); font-size: .95rem; color: var(--gold-700); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 10px 0 12px; }
.card > p { color: var(--ink-soft); }
.checks { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; font-size: .92rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px; top: .45em;
  width: 12px; height: 7px;
  border-left: 1.6px solid var(--gold-500);
  border-bottom: 1.6px solid var(--gold-500);
  transform: rotate(-45deg);
}

.showcase {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 56px;
  border-radius: var(--radius);
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
}
.showcase__text { max-width: 420px; }
.showcase .h3 { color: var(--white); margin-bottom: 14px; }
.showcase .btn { margin-top: 30px; }
.disclaimer { margin-top: 28px; font-size: .74rem; line-height: 1.5; color: rgba(255, 255, 255, .45); }

/* ---------- 6. Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line-dark);
}
.steps li { position: relative; text-align: center; }
.steps__n {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid rgba(224, 196, 122, .5);
  background: var(--navy);
  color: var(--gold-100);
  font-family: var(--serif);
}
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--white); margin-bottom: 6px; }
.steps p { font-size: .86rem; line-height: 1.5; max-width: 180px; margin: 0 auto; }

/* ---------- 7. Dúvidas ---------- */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: .98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  margin-right: 4px;
  border-right: 1.6px solid var(--gold-700);
  border-bottom: 1.6px solid var(--gold-700);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.faq details p { padding: 0 4px 24px; color: var(--ink-soft); max-width: 620px; }


/* ---------- Campo de mensagem das dúvidas ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.faq-aside { position: sticky; top: 104px; }
.ask {
  margin-top: 32px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 50px -40px rgba(4, 10, 43, .4);
}
.ask h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.ask > p { margin: 6px 0 16px; font-size: .86rem; color: var(--ink-soft); }
.ask textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font: inherit;
  font-size: .9rem;
  color: var(--ink);
  resize: vertical;
  min-height: 92px;
  transition: border-color .3s, box-shadow .3s;
}
.ask textarea::placeholder { color: #9aa0b4; }
.ask textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, .18);
}
.ask .btn { margin-top: 14px; width: 100%; justify-content: center; }
.btn--dark {
  background: linear-gradient(135deg, #16205e, var(--navy-900));
  color: var(--white);
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 26px -16px rgba(4, 10, 43, .9);
}
.btn__wa { width: 17px; height: 17px; fill: currentColor; }
.ask__hint { display: block; margin-top: 12px; font-size: .72rem; color: var(--ink-soft); }

/* ---------- Contato ---------- */
.contact { padding: 0 0 120px; }
.contact__card {
  text-align: center;
  padding: 72px 40px 56px;
  border-radius: 20px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(201, 162, 74, .14), transparent 70%),
    var(--navy);
  color: rgba(255, 255, 255, .72);
}
.contact__mark { width: 52px; margin: 0 auto 20px; }
.contact__card .h2 { color: var(--white); margin-bottom: 10px; }
.contact__card .btn { margin-top: 30px; }
.contact__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line-dark);
}
.contact__list li { padding: 0 16px; }
.contact__list li + li { border-left: 1px solid var(--line-dark); }
.contact__list small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 6px; }
.contact__list a { text-decoration: none; color: var(--white); font-size: .92rem; line-height: 1.5; }
.contact__list a:hover { color: var(--gold-100); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .55); padding: 48px 0; text-align: center; font-size: .8rem; }
.footer__logo { width: 190px; margin: 0 auto 18px; opacity: .9; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-100); }
.footer__legal { margin-top: 6px; font-size: .72rem; color: rgba(255, 255, 255, .38); }


/* ---------- Efeitos de conteúdo ---------- */
.facts li { transition: background .35s; }
.facts li:hover { background: #faf8f3; }
.facts li:first-child:hover { border-radius: var(--radius) 0 0 var(--radius); }
.facts li:last-child:hover { border-radius: 0 var(--radius) var(--radius) 0; }
.facts__icon { transition: transform .5s var(--ease), box-shadow .5s; }
.facts li:hover .facts__icon { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 0 0 6px rgba(201, 162, 74, .15); }

.wipe { overflow: hidden; border-radius: var(--radius); }
.wipe img {
  clip-path: inset(100% 0 0 0 round var(--radius));
  transform: scale(1.12);
  transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease);
}
.wipe.is-in img { clip-path: inset(0 0 0 0 round var(--radius)); transform: scale(1); }
.wipe.is-in:hover img { transform: scale(1.03); }
.portrait { position: relative; }
.portrait::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--ease) .8s;
}
.portrait.is-in::after { opacity: 1; }

.card { position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s; }
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 100%;
  background: var(--gold-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.card:hover { transform: translateY(-6px); background: var(--white); box-shadow: 0 30px 50px -34px rgba(4, 10, 43, .4); }
.card:hover::before { transform: scaleX(1); }

.showcase { position: relative; overflow: hidden; isolation: isolate; }
.showcase::before {
  content: "";
  position: absolute;
  right: -120px; top: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 74, .2), transparent 65%);
  z-index: -1;
  animation: breathe 8s ease-in-out infinite;
}

.steps::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--gold-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease) .3s;
}
.steps.is-drawn::after { transform: scaleX(1); }
.steps__n { position: relative; z-index: 1; transition: background .5s, color .5s, box-shadow .5s; }
.steps li:hover .steps__n { background: var(--gold-btn); color: var(--navy); box-shadow: 0 0 0 6px rgba(201, 162, 74, .15); }

.faq summary { transition: color .25s, padding-left .35s var(--ease); }
.faq summary:hover { color: var(--gold-700); padding-left: 10px; }
.faq details > p { animation: none; }
.faq details[open] > p { animation: fadeUp .5s var(--ease) both; }

.contact__mark { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-6px); } }

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-300);
  animation: ping 2.6s var(--ease) infinite;
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-btn);
  color: var(--navy);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45);
  transform: translateY(120px);
  transition: transform .45s var(--ease);
}
.wa-float.is-visible { transform: none; }
.wa-float svg { width: 25px; height: 25px; fill: currentColor; }

/* ---------- Entrada suave ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .1s; }
.reveal--d2 { transition-delay: .2s; }
.reveal--d3 { transition-delay: .3s; }
.reveal--d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .intro, .hero__photo, .seal, .hero__arc { opacity: 1; transform: none; transition: none; animation: none; }
  .wipe img { clip-path: none; transform: none; transition: none; }
  .seal__ring, .hero__glow, .shimmer, .tag__dot::after, .wa-float::before, .contact__mark, .showcase::before { animation: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 960px) {
  .section { padding: 88px 0; }

  .menu-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 42px; height: 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--white); transition: transform .3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .header { inset: 10px 0 auto; padding-inline: 12px; }
  .header__bar { padding: 8px 8px 8px 14px; }
  .header.menu-open .header__bar { background: rgba(4, 10, 43, .98); }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    border-radius: 16px;
    background: rgba(4, 10, 43, .98);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 2px; border-bottom: 1px solid var(--line-dark); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; justify-content: center; }

  .hero__grid { grid-template-columns: 1fr; gap: 12px; min-height: 0; padding-top: 108px; }
  .hero__content { padding-bottom: 0; }
  .hero__media { width: 100%; max-width: 420px; margin: 0 auto; }
  .hero__photo { width: 84%; }
  .hero__arc { width: 78%; }
  .seal { width: 96px; height: 96px; right: 0; top: 4%; }
  .seal__ring text { font-size: 12px; }
  .seal__mark { width: 32px; height: 32px; }
  .hero__watermark { width: 420px; left: -170px; top: 40px; }
  .hero__glow { width: 420px; height: 420px; right: -80px; top: auto; bottom: 0; }
  .hero__lines { background-size: 25% 100%; }
  .steps::after { display: none; }

  .facts { grid-template-columns: 1fr; margin-top: -32px; }
  .facts li { padding: 20px 22px; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }

  .split, .split--reverse { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .portrait { order: 0; }
  .portrait { max-width: 460px; }
  .split__text { max-width: none; }

  .cards { grid-template-columns: 1fr; }
  .card { padding: 30px 26px; }
  .showcase { grid-template-columns: 1fr; padding: 36px 26px 26px; gap: 32px; }
  .showcase__text { max-width: none; }

  .steps { grid-template-columns: 1fr; gap: 0; max-width: 420px; margin: 0 auto; }
  .steps::before { top: 20px; bottom: 46px; left: 19px; right: auto; width: 1px; height: auto; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; text-align: left; padding-bottom: 26px; }
  .steps__n { grid-row: span 2; margin: 0; }
  .steps p { margin: 0; max-width: none; }

  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-aside { position: static; }
  .ask { padding: 22px; }

  .contact { padding-bottom: 88px; }
  .contact__card { padding: 56px 22px 40px; }
  .contact__list { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; padding-top: 28px; }
  .contact__list li + li { border-left: 0; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .brand__sub { display: none; }
  .brand__name { font-size: .98rem; }
  .hero__title { font-size: clamp(2.05rem, 9.4vw, 2.5rem); }
  .hero__lead { font-size: .96rem; }
  .btn--chip { width: 100%; justify-content: space-between; }
  .hero__proof { margin-top: 24px; }
  .seal { width: 84px; height: 84px; right: -4px; top: 3%; }
  .seal__ring text { font-size: 13px; letter-spacing: 2px; }
  .seal__mark { width: 28px; height: 28px; }
}

/* Ajustes técnicos: preservam a composição e as cores originais. */
body.menu-open { overflow: hidden; }
.wa-float { bottom: calc(20px + env(safe-area-inset-bottom)); }
html:not(.js) .reveal { opacity: 1; transform: none; }
html:not(.js) .wipe img { clip-path: none; transform: none; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.disclaimer, .footer__legal { color: rgba(255,255,255,.7); }
.brand__sub { color: rgba(255,255,255,.72); }
@media (max-width: 960px) {
  .nav { max-height: calc(100dvh - 96px); overflow-y: auto; }
  html:not(.js) .header { position: relative; margin-top: 10px; }
  html:not(.js) .header__bar { background: var(--navy); flex-wrap: wrap; }
  html:not(.js) .nav { position: static; visibility: visible; opacity: 1; transform: none; width: 100%; }
  html:not(.js) .menu-toggle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Refatoração v2: ajustes técnicos, sem alterar tokens ou efeitos aprovados. */
.showcase--pending { grid-template-columns: 1fr; }
.showcase--pending .pending__text { max-width: 560px; margin-top: 10px; font-size: .9rem; }
.contact__list address { font-style: normal; }
.menu-toggle { min-width: 44px; min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  [data-depth] { will-change: auto; }
}

/* Texto pequeno sobre fundo claro: usar o contraste de um token já aprovado. */
.kicker:not(.kicker--gold), .crm { color: var(--ink-soft); }

/* Páginas de tratamento: três cards, cada um leva à sua página. */
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--3 .card { padding: 34px 30px; }
.card { display: flex; flex-direction: column; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  padding-top: 22px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color .25s;
}
.card__link .btn__arrow { color: var(--gold-700); }
.card__link:hover { color: var(--gold-700); }
.card__link:hover .btn__arrow { transform: translateX(3px); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-bottom: 6px; }
@media (max-width: 960px) {
  .cards--3 { grid-template-columns: 1fr; }
  .cards--3 .card { padding: 30px 26px; }
}

/* ---------- Casos: antes e depois lado a lado, do mesmo tamanho ---------- */
/* Landing e páginas de tratamento. O slider fica só no topo das páginas de tratamento;
   aqui, ângulos diferentes são aceitos. */
.compare__label {
  position: absolute;
  top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(4, 10, 43, .75);
  color: var(--white);
  pointer-events: none;
}
.compare__label--before { left: 10px; }
.compare__label--after { right: 10px; }
.pairs { display: grid; gap: 28px; max-width: 720px; margin: 0 auto; }
.pair__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair__photo {
  position: relative;
  aspect-ratio: var(--ratio, 4 / 3);
  border-radius: var(--radius);
  overflow: hidden;
  background: #e9e7e3;
  box-shadow: 0 24px 50px -34px rgba(4, 10, 43, .45);
}
.pair__photo img { width: 100%; height: 100%; object-fit: cover; }
.pairs + .section-note { margin-top: 24px; text-align: center; font-size: .84rem; color: var(--ink-soft); }
/* Na landing, os casos ocupam o lado direito do painel escuro de tratamentos. */
.showcase__cases { display: grid; gap: 20px; }
.pair__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 12px;
  margin-top: 6px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .72);
}
.pair__caption a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-weight: 600;
  color: var(--gold-100);
  text-decoration: none;
  transition: color .25s;
}
.pair__caption a:hover { color: var(--white); }
.pair__caption a:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
/* O aviso dos casos precisa ser lido: mais contraste que o .disclaimer padrão. */
.showcase .disclaimer { color: rgba(255, 255, 255, .62); }
@media (max-width: 480px) {
  .pair__photos { gap: 6px; }
  .pair__photo .compare__label { top: 6px; left: 6px; padding: 2px 8px; font-size: .56rem; }
}
