/* =========================================================
   Dra. Danielle Erthal · Estética Dentária e Facial
   Identidade: nude/creme, marrom café, toque bordô e dourado
   ========================================================= */
:root {
  --cream: #f8f3ed;
  --nude: #efe4d8;
  --nude-2: #e3d2c1;
  --taupe: #9b7b65;
  --brown: #6b4e3d;
  --espresso: #3b2a21;
  --wine: #7c2f3b;
  --gold: #b8935f;
  --gold-light: #e2c99f;
  --white: #ffffff;
  --text: #3b2a21;
  --muted: #7d6a5d;
  --line: rgba(107, 78, 61, .16);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Cormorant Garamond", cursive;

  --radius: 20px;
  --shadow: 0 30px 60px -30px rgba(59, 42, 33, .35);
  --shadow-sm: 0 12px 30px -16px rgba(59, 42, 33, .3);
  --header-h: 84px;
  --container: 1200px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--serif); font-weight: 400; line-height: 1.08; color: var(--espresso); }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--wine); }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--gold-light); color: var(--espresso); }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }
.title { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -.01em; }
.title em { font-weight: 400; }
.title--light { color: var(--white); }
.title--light em { color: var(--gold-light); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head p { color: var(--muted); }
.script { font-family: var(--script); }

/* ---------- Barra de progresso ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100;
  background: linear-gradient(90deg, var(--gold), var(--wine));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px;
  font: 500 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: color .4s var(--ease), background .4s var(--ease), border-color .4s, transform .3s var(--ease), box-shadow .3s;
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--espresso); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--dark::before { background: var(--wine); }
.btn--line { border-color: var(--espresso); color: var(--espresso); }
.btn--line::before { background: var(--espresso); }
.btn--line:hover { color: var(--cream); }
.btn--light { background: var(--cream); color: var(--espresso); }
.btn--light::before { background: var(--gold-light); }

/* ---------- Marca ---------- */
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mono {
  position: relative; font-family: var(--script); font-size: 2.6rem; line-height: 1;
  color: var(--brown); padding-right: 10px; letter-spacing: -.08em;
}
.brand__gem { position: absolute; right: -2px; bottom: 4px; font-size: .55rem; font-style: normal; color: var(--gold); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.nav a { white-space: nowrap; }
.brand__logo { height: 58px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .brand__logo { height: 50px; }
.brand__logo--footer { height: 96px; }
.footer__address { font-style: normal; font-size: .85rem; line-height: 1.8; }
.brand__text small { font: 500 .62rem var(--sans); color: var(--muted); letter-spacing: .1em; }
.brand__text strong { font: 400 1.32rem var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--espresso); }
.brand__text em { font: 400 .52rem var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* ---------- Cabeçalho ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .4s, box-shadow .4s, height .4s; }
.header.is-scrolled { --header-h: 72px; background: rgba(248, 243, 237, .88); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; position: relative; padding: 6px 0; color: var(--brown); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--wine); transition: left .35s var(--ease), right .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.is-current::after { left: 0; right: 0; }
.nav a.is-current { color: var(--wine); }
.nav__cta { padding: 11px 22px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; z-index: 2; }
.menu-toggle span { display: block; width: 26px; height: 1.5px; margin: 6px 0; background: var(--espresso); transition: transform .35s var(--ease), opacity .3s; }
.header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 30px) 0 80px; overflow: hidden; background: linear-gradient(180deg, var(--nude) 0%, var(--cream) 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob--1 { width: 520px; height: 520px; background: var(--gold-light); top: -140px; right: -100px; }
.blob--2 { width: 420px; height: 420px; background: #e9c9c2; bottom: -160px; left: -120px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hero__mono { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); font: 32vw/1 var(--script); color: rgba(155, 123, 101, .07); letter-spacing: -.1em; user-select: none; }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); font-weight: 300; letter-spacing: -.02em; }
.rotator { display: inline-block; font-style: italic; color: var(--wine); position: relative; min-width: 4ch; }
.rotator__word { display: inline-block; animation: wordIn .7s var(--ease) both; }
.rotator__word.is-out { animation: wordOut .45s var(--ease) both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(40%) rotateX(-60deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wordOut { to { opacity: 0; transform: translateY(-40%) rotateX(60deg); filter: blur(6px); } }
.hero__lead { font-size: 1.05rem; color: var(--muted); max-width: 520px; margin: 22px 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__quick { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero__quick a { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--brown); transition: color .3s; }
.hero__quick a svg { width: 18px; height: 18px; color: var(--gold); transition: transform .3s var(--ease); }
.hero__quick a:hover { color: var(--wine); }
.hero__quick a:hover svg { transform: scale(1.2) rotate(-8deg); }

.hero__text > * { animation: rise 1s var(--ease) both; }
.hero__text > *:nth-child(2) { animation-delay: .1s; }
.hero__text > *:nth-child(3) { animation-delay: .2s; }
.hero__text > *:nth-child(4) { animation-delay: .3s; }
.hero__text > *:nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero__visual { position: relative; perspective: 1000px; animation: rise 1.2s .2s var(--ease) both; }
.hero__arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden;
  background: var(--nude-2); box-shadow: var(--shadow);
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .4s ease-out;
}
.hero__arch::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.55); border-radius: inherit; pointer-events: none; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
  padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-sm);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font: 500 1.05rem var(--serif); color: var(--espresso); line-height: 1.2; }
.float-card small { font-size: .7rem; color: var(--muted); }
.float-card__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--nude); color: var(--wine); }
.float-card--1 { left: -40px; top: 22%; }
.float-card--2 { right: -30px; bottom: 18%; animation-delay: -2s; }
.float-card--3 { left: 10%; bottom: -18px; padding: 10px 18px; background: var(--espresso); animation-delay: -4s; }
.float-card--3 strong { color: var(--gold-light); font: 500 .72rem var(--sans); letter-spacing: .2em; }
@keyframes bob { 50% { transform: translateY(-12px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid var(--taupe); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px; background: var(--wine); transform: translateX(-50%); animation: scrollDot 2s infinite; }
@keyframes scrollDot { 60% { transform: translate(-50%, 14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Faixa animada ---------- */
.marquee { background: var(--espresso); color: var(--gold-light); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: italic 400 1.7rem var(--serif); white-space: nowrap; }
.marquee i { font-style: normal; font-size: .7rem; color: var(--gold); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Placeholder de imagens ausentes ---------- */
.img-fallback {
  display: grid; place-items: center; text-align: center; white-space: pre-line;
  width: 100%; height: 100%; min-height: 220px; padding: 20px;
  background: repeating-linear-gradient(45deg, transparent 0 16px, rgba(184,147,95,.08) 16px 32px), linear-gradient(135deg, var(--nude), var(--nude-2));
  color: var(--taupe); font-size: .78rem; letter-spacing: .06em;
}

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; }
.about__frame { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--nude); box-shadow: var(--shadow); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__visual:hover .about__frame img { transform: scale(1.05); }
.about__frame--brand { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--cream), var(--nude) 55%, var(--nude-2)); }
.about__frame--brand img { width: 78%; height: auto; object-fit: contain; }
.about__visual::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.about__signature { position: absolute; right: -24px; bottom: 40px; background: var(--white); padding: 18px 28px; border-radius: 16px; box-shadow: var(--shadow-sm); text-align: center; }
.about__signature .script { display: block; font-size: 2.1rem; line-height: 1.1; color: var(--brown); }
.about__signature small { font-size: .65rem; letter-spacing: .22em; color: var(--muted); }
.about__text > p { color: var(--muted); }
.about__text strong { color: var(--espresso); font-weight: 600; }
.pillars { list-style: none; padding: 0; margin: 34px 0; display: grid; gap: 4px; }
.pillar { display: flex; gap: 22px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); transition: padding .35s var(--ease); }
.pillar:hover { padding-left: 10px; }
.pillar__num { font: italic 400 1.8rem var(--serif); color: var(--gold); line-height: 1; }
.pillar strong { font: 500 1.35rem var(--serif); color: var(--espresso); }
.pillar p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.formation { border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; background: rgba(255,255,255,.5); }
.formation summary { cursor: pointer; padding: 12px 0; font-weight: 500; font-size: .88rem; list-style: none; display: flex; justify-content: space-between; color: var(--brown); }
.formation summary::after { content: "+"; font-size: 1.2rem; line-height: 1; transition: transform .3s; }
.formation[open] summary::after { transform: rotate(45deg); }
.formation__body { padding: 4px 0 18px; display: grid; gap: 18px; animation: rise .4s var(--ease); }
.formation__group h4 { font: 600 .66rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.formation__group ul { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 1px solid var(--gold-light); display: grid; gap: 12px; }
.formation__group li { position: relative; }
.formation__group li::before { content: ""; position: absolute; left: -20.5px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--gold); }
.formation__group strong { display: block; font: 500 1.1rem var(--serif); color: var(--espresso); line-height: 1.3; }
.formation__group span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ---------- Filtros ---------- */
.filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 auto 48px; padding: 6px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); width: fit-content; max-width: 100%; }
.filter button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; cursor: pointer; font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: var(--muted); transition: background .35s var(--ease), color .35s; }
.filter button:hover { color: var(--espresso); }
.filter button[aria-selected="true"] { background: var(--espresso); color: var(--cream); }
.filter--light { background: rgba(255,255,255,.08); box-shadow: none; border: 1px solid rgba(255,255,255,.14); }
.filter--light button { color: rgba(255,255,255,.7); }
.filter--light button:hover { color: var(--white); }
.filter--light button[aria-selected="true"] { background: var(--gold-light); color: var(--espresso); }
.is-hidden { display: none !important; }

/* ---------- Tratamentos ---------- */
.services { background: var(--white); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; text-align: left; cursor: pointer; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream);
  padding: 34px 30px 30px; min-height: 270px; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s, color .5s;
  animation: cardIn .6s var(--ease) both; isolation: isolate;
}
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, var(--espresso), var(--brown)); clip-path: circle(0% at 90% 10%); transition: clip-path .7s var(--ease); }
.service:hover, .service:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; outline: none; }
.service:hover::before, .service:focus-visible::before { clip-path: circle(150% at 90% 10%); }
.service__tag { font-size: .65rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); transition: color .5s; }
.service__icon { position: absolute; top: 26px; right: 26px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: var(--white); color: var(--wine); transition: transform .6s var(--ease), background .5s; }
.service h3 { font-size: 1.85rem; margin: 46px 0 10px; transition: color .5s; }
.service p { font-size: .9rem; color: var(--muted); margin: 0 0 20px; transition: color .5s; }
.service__more { margin-top: auto; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); display: inline-flex; gap: 8px; align-items: center; transition: color .5s, gap .4s var(--ease); }
.service:hover .service__tag, .service:focus-visible .service__tag { color: var(--gold-light); }
.service:hover h3, .service:focus-visible h3 { color: var(--white); }
.service:hover p, .service:focus-visible p { color: rgba(255,255,255,.75); }
.service:hover .service__more, .service:focus-visible .service__more { color: var(--gold-light); gap: 14px; }
.service:hover .service__icon, .service:focus-visible .service__icon { transform: rotate(-12deg) scale(1.08); background: var(--gold-light); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Modal ---------- */
.modal, .lightbox { border: 0; padding: 0; color: var(--text); }
.modal { width: min(640px, calc(100% - 32px)); border-radius: 24px; background: var(--cream); box-shadow: var(--shadow); max-height: 88vh; }
.modal::backdrop, .lightbox::backdrop { background: rgba(30, 20, 15, .65); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: var(--white); color: var(--espresso); font-size: 1.6rem; line-height: 1; z-index: 2; transition: transform .3s, background .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--gold-light); }
.modal__body { padding: clamp(32px, 5vw, 48px); }
.modal__body .service__tag { display: block; margin-bottom: 8px; }
.modal__body h3 { font-size: 2.4rem; }
.modal__body > p { color: var(--muted); }
.modal__body h4 { font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin: 26px 0 12px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: .92rem; }
.ticks li::before { content: "◆"; position: absolute; left: 4px; top: 1px; font-size: .6rem; color: var(--gold); }
.modal__body .btn { margin-top: 28px; }

/* ---------- Antes e depois ---------- */
.results { background: radial-gradient(ellipse at top, #4a352a 0%, var(--espresso) 60%); color: var(--cream); overflow: hidden; }
.results .section-head p { color: rgba(248,243,237,.7); }
.results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case { border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); animation: cardIn .6s var(--ease) both; transition: transform .5s var(--ease), box-shadow .5s; }
.case:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.case__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nude); cursor: zoom-in; }
.case__media > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.case:hover .case__media > img { transform: scale(1.04); }
.case__zoom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--espresso); font-size: 1.1rem; opacity: 0; transform: scale(.7); transition: .4s var(--ease); pointer-events: none; }
.case:hover .case__zoom { opacity: 1; transform: none; }
.case__count { position: absolute; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 99px; background: rgba(59,42,33,.78); backdrop-filter: blur(6px); color: var(--gold-light); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.case__info { padding: 20px 22px 24px; }
.case__info small { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.case__info h3 { color: var(--white); font-size: 1.6rem; margin: 4px 0 0; }
.case__info p { margin: 6px 0 0; font-size: .85rem; color: rgba(248,243,237,.65); }

/* Comparador antes/depois (quando houver 2 fotos separadas) */
.compare { position: relative; width: 100%; height: 100%; cursor: ew-resize; user-select: none; touch-action: pan-y; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-50%); }
.compare__handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--espresso); font-size: 1.1rem; letter-spacing: 2px; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.compare__label { position: absolute; top: 14px; padding: 4px 12px; border-radius: 99px; background: rgba(0,0,0,.45); color: var(--white); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; }
.compare__label--before { left: 14px; }
.compare__label--after { right: 14px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

.results__note { text-align: center; font-size: .75rem; color: rgba(248,243,237,.5); margin: 36px 0 22px; }
.results__cta { text-align: center; }

/* Lightbox */
.lightbox { background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; display: none; place-items: center; }
.lightbox[open] { display: grid; animation: pop .4s var(--ease); }
.lightbox figure { margin: 0; max-width: min(92vw, 720px); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: var(--cream); font: italic 1.3rem var(--serif); margin-top: 14px; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; transition: background .3s; }
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ---------- Jornada ---------- */
.journey { background: var(--nude); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--taupe) 0 6px, transparent 6px 12px); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__n { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: var(--cream); border: 1px solid var(--gold); font: italic 1.8rem var(--serif); color: var(--wine); transition: background .4s, color .4s, transform .4s var(--ease); }
.step:hover .step__n { background: var(--espresso); color: var(--gold-light); transform: scale(1.1); }
.step h3 { font-size: 1.6rem; }
.step p { font-size: .9rem; color: var(--muted); }

/* ---------- Agendamento ---------- */
.booking { background: var(--cream); overflow: hidden; }
.booking__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.booking__intro { position: relative; }
.booking__intro p { color: var(--muted); }
.booking__mono { font: 13rem/1 var(--script); color: rgba(155,123,101,.14); margin-top: 10px; letter-spacing: -.1em; }
.card { background: var(--white); border-radius: 26px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 16px 10px; border: 1px solid var(--line); border-radius: 14px;
  font: 400 .95rem var(--sans); color: var(--text); background: var(--cream);
  transition: border-color .3s, box-shadow .3s, background .3s; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field span { position: absolute; left: 17px; top: 17px; font-size: .9rem; color: var(--muted); pointer-events: none; transition: top .25s var(--ease), font-size .25s var(--ease), color .25s; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span,
.field input[type="date"] + span { top: 7px; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(184,147,95,.15); }
.field--select::after { content: "⌄"; position: absolute; right: 18px; top: 50%; transform: translateY(-60%); color: var(--taupe); pointer-events: none; }
.is-invalid, .chips.is-invalid .chips__list { border-color: var(--wine) !important; box-shadow: 0 0 0 3px rgba(124,47,59,.12); }

.chips { border: 0; padding: 0; margin: 0; }
.chips legend { font-size: .82rem; font-weight: 500; margin-bottom: 10px; color: var(--brown); }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; border: 1px solid transparent; border-radius: 14px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; cursor: pointer; background: var(--cream); transition: all .3s var(--ease); }
.chip span:hover { border-color: var(--gold); }
.chip input:checked + span { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--wine); width: 16px; height: 16px; flex: none; }
.form__msg { margin: 0; min-height: 1.4em; font-size: .88rem; text-align: center; }
.form__msg.is-error { color: var(--wine); }
.form__msg.is-ok { color: #3c7a55; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__grid header { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__grid header p { color: var(--muted); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 500 1.35rem var(--serif); color: var(--espresso); transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font: 300 1.3rem var(--sans); transition: transform .4s var(--ease), background .3s, color .3s; }
.qa summary:hover { color: var(--wine); }
.qa[open] summary::after { transform: rotate(45deg); background: var(--espresso); color: var(--cream); }
.qa p { color: var(--muted); padding: 0 50px 24px 0; margin: 0; animation: rise .4s var(--ease); }

/* ---------- Contato / links ---------- */
.contact { background: linear-gradient(180deg, var(--cream), var(--nude)); }
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.link-card {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 26px; overflow: hidden;
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s, color .45s; isolation: isolate;
}
.link-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s; }
.link-card--insta::before { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.link-card--whats::before { background: linear-gradient(135deg, #25d366, #128c7e); }
.link-card--maps::before { background: linear-gradient(135deg, var(--brown), var(--espresso)); }
.link-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--white); }
.link-card:hover::before { opacity: 1; }
.link-card__icon { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--nude); color: var(--wine); transition: background .45s, color .45s, transform .45s var(--ease); }
.link-card__icon svg { width: 26px; height: 26px; }
.link-card:hover .link-card__icon { background: rgba(255,255,255,.2); color: var(--white); transform: rotate(-8deg); }
.link-card__body { display: flex; flex-direction: column; min-width: 0; }
.link-card__body small { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.link-card__body strong { font: 500 1.3rem var(--serif); line-height: 1.25; overflow-wrap: anywhere; }
.link-card__body em { font-style: normal; font-size: .78rem; opacity: .7; color: inherit; }
.link-card__arrow { margin-left: auto; font-size: 1.3rem; transition: transform .4s var(--ease); }
.link-card:hover .link-card__arrow { transform: translateX(6px); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 400px; background: var(--nude-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.85); }

/* ---------- Rodapé ---------- */
.footer { background: var(--espresso); color: rgba(248,243,237,.7); padding: 64px 0 34px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.brand--footer .brand__mono { color: var(--gold-light); }
.brand--footer .brand__text strong { color: var(--cream); }
.brand--footer .brand__text small, .brand--footer .brand__text em { color: rgba(248,243,237,.6); }
.brand--footer { text-align: left; }
.footer__social { display: flex; gap: 14px; }
.footer__social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: var(--gold-light); transition: background .3s, color .3s, transform .3s var(--ease); }
.footer__social a:hover { background: var(--gold-light); color: var(--espresso); transform: translateY(-4px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__legal { font-size: .76rem; margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: var(--white); box-shadow: 0 14px 30px -10px rgba(37,211,102,.8); transition: transform .3s var(--ease); }
.whats-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }
.whats-float__tip { position: absolute; right: 74px; white-space: nowrap; background: var(--white); color: var(--espresso); padding: 8px 14px; border-radius: 12px; font-size: .8rem; font-weight: 500; box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(10px); transition: .35s var(--ease); pointer-events: none; }
.whats-float:hover .whats-float__tip, .whats-float.is-teasing .whats-float__tip { opacity: 1; transform: none; }

/* ---------- Revelação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .services__grid, .results__grid { grid-template-columns: repeat(2, 1fr); }
  .links { grid-template-columns: 1fr; }
}

@media (max-width: 1140px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px;
    background: var(--cream); clip-path: circle(0% at calc(100% - 40px) 36px);
    transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .nav { height: 100vh; height: 100dvh; }
  .header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  .header.menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
  .nav a:not(.btn) { font: 400 2rem var(--serif); text-transform: none; letter-spacing: 0; }
  .nav__cta { margin-top: 20px; }
  .header.menu-open .brand { position: relative; z-index: 2; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }

  .hero__grid, .about__grid, .booking__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero { text-align: left; }
  .hero__visual { max-width: 420px; width: 100%; margin: 20px auto 0; }
  .float-card--1 { left: -10px; }
  .float-card--2 { right: -10px; }
  .about__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .about__signature { right: 0; }
  .faq__grid header { position: static; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .steps::before { display: none; }
  .booking__mono { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { width: min(100% - 32px, var(--container)); }
  .brand__mono { font-size: 2.1rem; }
  .brand__logo, .header.is-scrolled .brand__logo { height: 46px; }
  .brand__text strong { font-size: 1.05rem; letter-spacing: .1em; }
  .brand__text em { font-size: .45rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .float-card { padding: 10px 14px; }
  .float-card strong { font-size: .92rem; }
  .float-card__icon { width: 30px; height: 30px; }
  .services__grid, .results__grid, .form__row { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .filter { border-radius: 18px; }
  .filter button { padding: 9px 14px; font-size: .74rem; }
  .steps { grid-template-columns: 1fr; }
  .qa summary { font-size: 1.18rem; }
  .qa p { padding-right: 0; }
  .link-card { padding: 20px; }
  .map { height: 320px; }
  .about__visual::before { inset: 18px -12px -18px 12px; }
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .whats-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}
