/* ==========================================================================
   Dra. Janaína Machado — identidade visual
   Vinho #581F28 + dourado do monograma "Jm" sobre marfim. Formas circulares
   (eco do monograma redondo) e toques lúdicos na odontopediatria.
   ========================================================================== */
:root {
  --wine: #581F28;
  --wine-2: #6F2A35;
  --wine-deep: #3E141B;
  --gold: #C8A26A;
  --gold-hi: #E7CFA2;
  --ivory: #FBF7F2;
  --cream: #F4ECE3;
  --blush: #F2E2DC;
  --sage: #DCE5D6;
  --sky: #DCE7EF;
  --ink: #2B1A1D;
  --muted: #76626A;
  --line: rgba(88, 31, 40, .12);
  --line-2: rgba(88, 31, 40, .22);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --script: 'Great Vibes', cursive;
  --ease: cubic-bezier(.22, .68, .2, 1);
  --nav-h: 82px;
  --maxw: 1220px;
  --gutter: clamp(18px, 4.5vw, 44px);
  --r: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) - 6px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 300 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--wine); color: #fff; }
.container { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; padding: 8px 14px; background: var(--wine); color: #fff; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Tipografia */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.015em; font-variation-settings: 'SOFT' 50; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--wine); font-weight: 300; }
.h2 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 56ch; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--wine); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.eyebrow--light { color: var(--gold-hi); }
.signature { font: 2.6rem/1 var(--script); color: var(--wine); margin: 22px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; color: var(--wine); box-shadow: 0 8px 24px -16px rgba(88,31,40,.4); margin: 0 0 24px; }
.pill .icon { width: 17px; height: 17px; color: var(--gold); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 50px; height: 50px; flex: none; }
.logo__text { display: grid; line-height: 1.15; }
.logo__text strong { font: 500 1.12rem var(--serif); color: var(--wine); letter-spacing: -.01em; }
.logo__text small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Botões */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px; font: 500 .92rem var(--sans); white-space: nowrap; transition: transform .35s var(--ease), background .3s, box-shadow .35s, color .3s, border-color .3s; }
.btn .icon { width: 18px; height: 18px; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: .86rem; }
.btn--lg { --h: 58px; padding: 0 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--wine { background: var(--wine); color: #fff; box-shadow: 0 14px 30px -14px rgba(88,31,40,.6); }
.btn--wine:hover { background: var(--wine-2); transform: translateY(-2px); }
.btn--gold { background: linear-gradient(120deg, var(--gold-hi), var(--gold)); color: var(--wine-deep); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(200,162,106,.7); }
.btn--ghost { border: 1.5px solid var(--line-2); color: var(--wine); background: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--wine); background: #fff; }

/* Navegação */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .4s, box-shadow .4s; }
.nav.is-scrolled { background: rgba(251,247,242,.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 26px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: .9rem; color: var(--muted); transition: all .25s; }
.nav__links a:hover { color: var(--wine); }
.nav__links a.is-active { color: var(--wine); background: var(--blush); }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; margin-left: auto; color: var(--wine); }
.menu { position: absolute; top: var(--nav-h); inset-inline: 0; background: var(--ivory); padding: 10px var(--gutter) 28px; display: grid; box-shadow: 0 30px 40px -30px rgba(88,31,40,.3); }
.menu[hidden] { display: none; }
.menu a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font: 400 1.5rem var(--serif); color: var(--wine); }
.menu .btn { margin-top: 20px; }

/* Hero */
.hero { position: relative; padding: calc(var(--nav-h) + 30px) 0 70px; overflow: hidden; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.hero__blob--a { width: 46vw; height: 46vw; right: -8vw; top: -10vw; background: radial-gradient(circle at 40% 40%, var(--blush), transparent 70%); }
.hero__blob--b { width: 24vw; height: 24vw; left: -8vw; bottom: -6vw; background: radial-gradient(circle, var(--cream), transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; min-height: calc(100svh - var(--nav-h) - 100px); }
.hero__inner > * { min-width: 0; }
.hero__title { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.04; margin-bottom: 24px; }
.hero__lead { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.18rem); max-width: 48ch; margin: 0 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li { display: flex; gap: 8px; align-items: center; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; }
.hero__chips .icon { color: var(--wine); width: 18px; }
.hero__visual { position: relative; width: min(100%, 470px); justify-self: center; }
.hero__circle { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--blush); box-shadow: 0 0 0 12px #fff, 0 0 0 13px var(--line), 0 50px 80px -40px rgba(88,31,40,.5); }
.hero__circle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__card { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; background: #fff; border-radius: 999px; box-shadow: 0 20px 40px -20px rgba(88,31,40,.45); font-size: .78rem; color: var(--muted); }
.hero__card strong { display: block; font: 500 .98rem var(--serif); color: var(--ink); }
.hero__card .logo__mark { width: 42px; height: 42px; }
.hero__card .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--blush); color: var(--wine); }
.hero__card--a { left: -30px; bottom: 16%; animation: float 6s ease-in-out infinite; }
.hero__card--b { right: -10px; top: 10%; animation: float 7s ease-in-out infinite reverse; }
.hero__cards { display: contents; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Especialidades */
.services { position: relative; margin-top: -10px; padding-bottom: 20px; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(88,31,40,.45); border-color: transparent; }
.service__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--wine); margin-bottom: 6px; transition: background .3s, color .3s; }
.service__icon .icon { width: 26px; height: 26px; }
.service:hover .service__icon { background: var(--wine); color: var(--gold-hi); }
.service h3 { font-size: 1.35rem; }
.service p { margin: 0; color: var(--muted); font-size: .94rem; }
.service__more { margin-top: auto; padding-top: 8px; display: inline-flex; gap: 6px; align-items: center; font-size: .84rem; font-weight: 500; color: var(--wine); }
.service__more .icon { width: 15px; transition: transform .3s; }
.service:hover .service__more .icon { transform: translateX(4px); }

/* Seções */
.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }
.section__head { display: grid; gap: 16px; margin-bottom: 56px; }
.section__head .eyebrow { margin: 0; }
.section__head--center { text-align: center; justify-items: center; }
.section__head--center .lead { margin-inline: auto; }
.prose p { color: var(--muted); margin: 0 0 16px; }
.prose strong { color: var(--ink); font-weight: 500; }

/* Alinhadores + simulador */
.aligners { background: linear-gradient(180deg, var(--ivory), var(--cream)); }
.sim { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; border-radius: 36px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -60px rgba(88,31,40,.55); margin-bottom: 70px; }
.sim > * { min-width: 0; }
.sim__stage { position: relative; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--blush) 75%); padding: 30px; display: grid; place-items: center; }
.sim__svg { width: 100%; max-width: 460px; overflow: visible; }
.sim__gum { fill: #EBC3BF; opacity: .9; }
.tooth { fill: url(#enamel); stroke: #D8C6B2; stroke-width: 1; }
.sim__shell { fill: rgba(220,236,245,.35); stroke: rgba(150,190,215,.9); stroke-width: 1.6; stroke-dasharray: 4 3; opacity: 0; transition: opacity .4s; }
.sim.is-active .sim__shell { opacity: 1; }
.sim__badge { position: absolute; left: 24px; top: 24px; display: grid; padding: 12px 18px; border-radius: 18px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); box-shadow: 0 10px 24px -16px rgba(88,31,40,.5); }
.sim__badge span { font: 500 1.15rem var(--serif); color: var(--wine); }
.sim__badge small { font-size: .74rem; color: var(--muted); }
.sim__panel { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.sim__panel h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.sim__panel > p { margin: 0; color: var(--muted); }
.sim__label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); margin-top: 10px; }
.sim input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; cursor: grab; }
.sim input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--wine) var(--p, 0%), var(--blush) var(--p, 0%)); }
.sim input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--blush); }
.sim input[type=range]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--wine); }
.sim input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--wine); box-shadow: 0 4px 12px rgba(88,31,40,.35); }
.sim input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--wine); }
.sim__scale { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin-top: -6px; }
.sim__play { align-self: flex-start; }
.sim__note { margin: 6px 0 0; font-size: .76rem; color: var(--muted); }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 70px; }
.benefit { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.benefit__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--wine); color: var(--gold-hi); font: 500 1rem var(--serif); margin-bottom: 14px; }
.benefit h3 { font-size: 1.25rem; margin-bottom: 8px; }
.benefit p { margin: 0; color: var(--muted); font-size: .92rem; }

.steps { margin-bottom: 80px; }
.steps__title { font-size: clamp(1.6rem, 2.4vw, 2rem); text-align: center; margin-bottom: 30px; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.steps__list::before { content: ''; position: absolute; left: 10%; right: 10%; top: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); }
.steps__list li { position: relative; text-align: center; padding: 0 6px; }
.steps__list span { position: relative; display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); font: 500 1.1rem var(--serif); color: var(--wine); }
.steps__list strong { display: block; font: 500 1.08rem var(--serif); margin-bottom: 6px; }
.steps__list p { margin: 0; font-size: .86rem; color: var(--muted); }

.award { display: grid; grid-template-columns: .7fr 1.3fr; gap: 0; border-radius: 36px; overflow: hidden; background: var(--wine); color: #fff; margin-bottom: 80px; }
.award__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; min-height: 320px; }
.award__text { padding: clamp(30px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.award__icon { width: 44px; height: 44px; color: var(--gold-hi); }
.award .eyebrow { color: var(--gold-hi); margin: 0; }
.award h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.award h3 em { color: var(--gold-hi); }
.award__text p:last-child { margin: 0; color: #E9D6D3; max-width: 52ch; }

.results__title { font-size: clamp(1.6rem, 2.4vw, 2rem); text-align: center; margin-bottom: 26px; }
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.result { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #fff; }
.result img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.result:hover img { transform: scale(1.05); }
.result span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .78rem; color: var(--wine); }
.disclaimer { text-align: center; color: var(--muted); font-size: .8rem; margin: 22px 0 0; }

/* Ortodontia */
.ortho__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.ortho__inner > * { min-width: 0; }
.ortho__media { position: relative; }
.ortho__circle { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 50px 80px -50px rgba(88,31,40,.5); }
.ortho__circle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ortho__media::after { content: ''; position: absolute; inset: -18px; border-radius: 50%; border: 1.5px dashed var(--gold); pointer-events: none; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ortho__copy .h2 { margin-bottom: 20px; }
.ortho__list { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ortho__list li { display: flex; gap: 12px; }
.ortho__list .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--blush); color: var(--wine); }
.ortho__list strong { display: block; font: 500 1.05rem var(--serif); }
.ortho__list span { font-size: .88rem; color: var(--muted); }

/* Odontopediatria — lúdico */
.kids { background: var(--cream); overflow: hidden; }
.kids__confetti i { position: absolute; border-radius: 50%; opacity: .8; }
.kids__confetti i:nth-child(1) { width: 90px; height: 90px; background: var(--sky); left: 4%; top: 12%; }
.kids__confetti i:nth-child(2) { width: 40px; height: 40px; background: var(--gold-hi); left: 14%; top: 30%; }
.kids__confetti i:nth-child(3) { width: 130px; height: 130px; background: var(--sage); right: 3%; top: 8%; }
.kids__confetti i:nth-child(4) { width: 26px; height: 26px; background: var(--wine); opacity: .25; right: 16%; top: 26%; }
.kids__confetti i:nth-child(5) { width: 70px; height: 70px; background: var(--blush); left: 46%; bottom: 4%; }
.kids__confetti i:nth-child(6) { width: 20px; height: 20px; background: var(--gold); right: 40%; top: 14%; }
.kids .container { position: relative; }
.kids__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.kids__grid > * { min-width: 0; }
.kids__photos { position: relative; aspect-ratio: 1 / 1.05; }
.kp { position: absolute; object-fit: cover; border: 8px solid #fff; box-shadow: 0 30px 50px -30px rgba(88,31,40,.5); }
.kp--1 { width: 60%; height: 72%; left: 0; top: 0; border-radius: 200px 200px 28px 28px; object-position: 50% 20%; }
.kp--2 { width: 46%; aspect-ratio: 1; height: auto; right: 0; top: 10%; border-radius: 50%; object-position: 50% 25%; }
.kp--3 { width: 54%; height: 44%; right: 6%; bottom: 0; border-radius: 28px; object-position: 50% 30%; transform: rotate(2deg); }
.kids__cards { display: grid; gap: 12px; }
.kcard { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 22px; background: #fff; }
.kcard__icon { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.kcard:nth-child(1) .kcard__icon { background: var(--blush); color: var(--wine); }
.kcard:nth-child(2) .kcard__icon { background: var(--sky); color: #3E6A86; }
.kcard:nth-child(3) .kcard__icon { background: var(--sage); color: #4D6B45; }
.kcard:nth-child(4) .kcard__icon { background: #F5E7C9; color: #8A6326; }
.kcard h3 { font-size: 1.15rem; margin-bottom: 4px; }
.kcard p { margin: 0; color: var(--muted); font-size: .9rem; }
.kids__tip { padding: 16px 20px; border-radius: 22px; border: 1.5px dashed var(--gold); font-size: .92rem; color: var(--muted); }
.kids__tip strong { color: var(--wine); font-weight: 500; }
.kids__cards .btn { justify-self: start; margin-top: 6px; }

/* Harmonização */
.harm { background: var(--wine); color: #fff; overflow: hidden; }
.harm::before { content: ''; position: absolute; right: -15%; top: -40%; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, rgba(231,207,162,.14), transparent 65%); }
.harm__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.harm__inner > * { min-width: 0; }
.harm .h2 em { color: var(--gold-hi); }
.harm .lead { color: #E9D6D3; margin: 22px 0 26px; }
.harm .lead a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.harm__tags { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.harm__tags li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(231,207,162,.4); font-size: .86rem; color: var(--gold-hi); }
.harm__media { position: relative; width: min(100%, 420px); justify-self: center; }
.harm__circle { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px rgba(231,207,162,.15); }
.harm__circle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.harm__ring { position: absolute; right: -6px; bottom: 6%; --logo-bg: var(--wine-deep); }
.harm__ring .logo__mark { width: 96px; height: 96px; filter: drop-shadow(0 14px 24px rgba(0,0,0,.35)); }

/* Sobre */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__inner > * { min-width: 0; }
.about__media { position: relative; aspect-ratio: 1 / 1.05; }
.about__a, .about__b { position: absolute; object-fit: cover; box-shadow: 0 40px 60px -40px rgba(88,31,40,.55); }
.about__a { width: 72%; aspect-ratio: 1; height: auto; border-radius: 50%; left: 0; top: 0; object-position: 50% 25%; }
.about__b { width: 46%; height: 56%; right: 0; bottom: 0; border-radius: 28px; border: 8px solid var(--ivory); object-position: 50% 20%; }
.about__copy .h2 { margin-bottom: 24px; }
.about__facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.about__facts li { padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: grid; gap: 2px; }
.about__facts strong { font: 500 1.02rem var(--serif); color: var(--wine); }
.about__facts span { font-size: .78rem; color: var(--muted); }

/* Agendamento */
.book { background: linear-gradient(180deg, var(--ivory), var(--blush)); }
.book__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.book__inner > * { min-width: 0; }
.book__map { margin-top: 30px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 30px 50px -40px rgba(88,31,40,.5); }
.book__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.45) sepia(.15); }
.book__addr { display: flex; gap: 12px; margin: 18px 0 0; font-size: .92rem; color: var(--muted); }
.book__addr .icon { color: var(--wine); margin-top: 3px; }
.book__addr strong { display: block; color: var(--ink); font-weight: 500; }
.book__addr a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.bform { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 14px; padding: clamp(24px, 4vw, 40px); border-radius: 32px; background: #fff; box-shadow: 0 50px 90px -60px rgba(88,31,40,.6); }
.bform > * { min-width: 0; }
.seg2 { border: 0; margin: 0 0 4px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--cream); border-radius: 999px; min-width: 0; }
.seg2__label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); margin: 0 0 10px; }
.seg2 label { cursor: pointer; }
.seg2 input { position: absolute; opacity: 0; }
.seg2 span { display: block; text-align: center; padding: 11px; border-radius: 999px; font-size: .92rem; color: var(--muted); transition: all .25s; }
.seg2 input:checked + span { background: var(--wine); color: #fff; box-shadow: 0 8px 18px -10px rgba(88,31,40,.6); }
.seg2 input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f[hidden] { display: none; }
.f label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wine); }
.f input, .f select { width: 100%; min-width: 0; height: 54px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--ivory); outline: 0; appearance: none; transition: border-color .25s, box-shadow .25s; }
.f select { background-image: linear-gradient(45deg, transparent 50%, var(--wine) 50%), linear-gradient(135deg, var(--wine) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; text-overflow: ellipsis; }
.f input:focus, .f select:focus { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(88,31,40,.1); }
.f.has-error input { border-color: #b3261e; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bform__err { margin: 0; min-height: 1.2em; color: #b3261e; font-size: .88rem; }
.bform__note { margin: 0; text-align: center; font-size: .78rem; color: var(--muted); }

/* FAQ */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px 80px; align-items: start; }
.faq__inner > * { min-width: 0; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 18px; justify-items: start; }
.faq__head .eyebrow { margin: 0; }
.faq__item { border-radius: 20px; background: #fff; border: 1px solid var(--line); margin-bottom: 10px; padding: 0 22px; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 400 1.18rem/1.3 var(--serif); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blush); color: var(--wine); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--wine); color: #fff; }
.faq__item p { margin: 0 0 20px; color: var(--muted); }

/* Footer */
.footer { background: var(--wine-deep); color: #EAD9D6; padding: 80px 0 30px; --logo-bg: var(--wine); }
.footer .logo__text strong { color: #fff; }
.footer .logo__text small { color: #C9AFAB; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid rgba(231,207,162,.2); }
.footer__quote { margin: 0; font: 300 1.5rem/1.3 var(--serif); text-align: right; }
.footer__quote em { color: var(--gold-hi); }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 40px 0; }
.footer h4 { font: 500 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 12px; }
.footer p { margin: 0; line-height: 1.95; font-size: .92rem; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(231,207,162,.2); font-size: .8rem; color: #C9AFAB; }

/* Flutuante + lightbox */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wine); color: #fff; box-shadow: 0 16px 36px -10px rgba(88,31,40,.7); transform: scale(0); transition: transform .5s var(--ease); }
.wa-float.is-on { transform: scale(1); }
.wa-float .icon { width: 28px; height: 28px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(43,26,29,.93); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-height: calc(100svh - 120px); width: auto; border-radius: 18px; }
.lightbox figcaption { color: #fff; font: italic 1.1rem var(--serif); }
.lightbox__close, .lightbox__nav { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; display: grid; place-items: center; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__nav--prev .icon { transform: rotate(180deg); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (min-width: 1600px) { :root { --maxw: 1380px; } html { font-size: 17.5px; } }
@media (max-width: 1180px) { .nav__links a { padding: 8px 10px; font-size: .86rem; } .logo__text small { display: none; } }
@media (max-width: 1040px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .services__grid, .benefits { grid-template-columns: 1fr 1fr; }
  .steps__list { grid-template-columns: 1fr; gap: 18px; }
  .steps__list::before { display: none; }
  .steps__list li { display: grid; grid-template-columns: 50px 1fr; text-align: left; gap: 2px 16px; }
  .steps__list span { grid-row: span 2; margin: 0; }
}
@media (min-width: 1041px) { .menu { display: none !important; } }
@media (max-width: 860px) {
  .hero__inner, .sim, .award, .ortho__inner, .kids__grid, .harm__inner, .about__inner, .book__inner, .faq__inner { grid-template-columns: 1fr; }
  .hero__inner { min-height: 0; gap: 50px; }
  .hero__visual { order: -1; width: 100%; }
  .hero__circle { width: min(76%, 380px); margin: 0 auto; }
  /* no celular os balões saem de cima do rosto: ficam lado a lado sob a foto, encostando na borda */
  .hero__cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: -30px; position: relative; z-index: 1; }
  .hero__cards .hero__card { position: static; animation: none; }
  .results__grid { grid-template-columns: 1fr 1fr; }
  .award__img img { min-height: 0; aspect-ratio: 4 / 3; }
  .ortho__media { width: min(80%, 380px); margin: 0 auto; }
  .harm__media { order: -1; width: min(76%, 360px); }
  .bform { position: static; }
  .faq__head { position: static; }
  .footer__quote { text-align: left; }
}
@media (max-width: 600px) {
  :root { --nav-h: 70px; }
  body { font-size: 16px; }
  .logo__mark { width: 42px; height: 42px; }
  .logo__text strong { font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; height: auto; min-height: var(--h); padding-block: 12px; }
  .hero__card { font-size: .7rem; padding: 7px 14px 7px 7px; gap: 9px; }
  .hero__card strong { font-size: .88rem; }
  .hero__card .logo__mark { width: 34px; height: 34px; }
  .hero__card .icon { width: 34px; height: 34px; padding: 8px; }
  .services__grid, .benefits, .ortho__list, .about__facts, .footer__grid, .f-row { grid-template-columns: 1fr; }
  .sim__stage { padding: 20px 10px; }
  .sim__badge { left: 12px; top: 12px; padding: 8px 12px; }
  .results__grid { gap: 8px; }
  .lightbox { grid-template-columns: 1fr; padding: 14px; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { left: calc(50% - 62px); } .lightbox__nav--next { right: calc(50% - 62px); }
}
@media (hover: none) { .service:hover, .service:hover .service__more .icon { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Recorte robusto dos elementos decorativos (evita rolagem lateral no celular) */
.hero, .kids, .harm { clip-path: inset(0); }
html, body { overflow-x: clip; }
