/* Dr. Stênio Carlos — Odontologia Estética (v2) */
:root {
  --black: #0d0c0a;
  --char: #181613;
  --char-2: #221f1b;
  --ivory: #f4efe6;
  --sand: #e8dfcf;
  --gold: #c2a15f;
  --gold-l: #e2c88e;
  --gold-d: #94742f;
  --ink: #1b1814;
  --mute-d: #a89f91;
  --mute-l: #6c6459;
  --line-d: rgba(194, 161, 95, .26);
  --line-l: #d8cdb9;
  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(18px, 4.5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 1.05rem; line-height: 1.65; color: var(--ink); background: var(--ivory); overflow-x: clip; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { fill: currentColor; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }
.motion [data-split] { visibility: hidden; }
.ln { padding: .16em 0 .06em; margin-top: -.16em; }

.kicker { margin: 0 0 1.3rem; font-size: .74rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.kicker--dark { color: var(--gold-d); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 1.05em 1.8em; border: 0; font-weight: 500; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-l); }
.link { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; text-decoration: none; color: #e9e1d2; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.link svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(5px); }

/* header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 30px; height: 80px; padding: 0 var(--pad); color: #f2ebdd; transition: transform .45s var(--ease), background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(13, 12, 10, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-d); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 30px; }
.brand span { font-family: var(--display); font-size: 1.15rem; line-height: 1.05; }
.brand small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: .86rem; text-decoration: none; opacity: .8; transition: opacity .2s, color .2s; }
.nav a:hover { opacity: 1; color: var(--gold-l); }
.hbtn { padding: .7em 1.2em; background: var(--gold); color: var(--black); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.menu-btn { display: none; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr .55fr .5fr; grid-template-rows: 1fr auto; gap: 0 clamp(18px, 2.5vw, 36px); min-height: 100svh; padding: 120px var(--pad) 40px; background: var(--black); color: #f2ebdd; overflow: hidden; }
.hero__mono { position: absolute; right: -3vw; top: 6%; width: min(36vw, 520px); opacity: .05; pointer-events: none; }
.hero__txt { position: relative; z-index: 2; align-self: center; }
.hero h1 { font-size: clamp(3.4rem, 7.4vw, 8rem); line-height: .96; }
.hero h1 em { display: block; }
.sign { display: block; width: min(420px, 80%); margin: 6px 0 0; overflow: visible; }
.sign path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__lead { max-width: 30rem; margin: 1.4rem 0 2.1rem; font-size: 1.06rem; font-weight: 300; color: #cfc6b6; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.hero__film { position: relative; z-index: 2; align-self: center; }
.hero__film video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; box-shadow: 0 0 0 1px var(--line-d); }
.hero__film figcaption { margin-top: 10px; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mute-d); }
.hero__pic { position: relative; z-index: 2; align-self: end; margin-bottom: 70px; }
.hero__pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hero__pic::after { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid var(--line-d); z-index: -1; }
.proof { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 60px; list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-d); }
.proof li { display: flex; flex-direction: column; }
.proof b { font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1.1; color: var(--gold-l); }
.proof li > span { font-size: .82rem; color: var(--mute-d); }

/* versus (resin / porcelain) */
.versus { --bg: var(--ivory); --fg: var(--ink); --sub: var(--mute-l); --ln: var(--line-l); padding: 140px var(--pad); background: var(--bg); color: var(--fg); transition: background .8s var(--ease), color .8s var(--ease); }
.versus[data-mode="porcelana"] { --bg: var(--char); --fg: #f2ebdd; --sub: var(--mute-d); --ln: var(--line-d); }
.versus__head { max-width: 920px; }
.versus h2 { font-size: clamp(2.4rem, 4.8vw, 4.6rem); }
.versus h2 em { display: block; font-size: .62em; margin-top: .3em; }
.versus__head p:last-child { margin: 1.4rem 0 0; max-width: 40rem; color: var(--sub); }
.switch { position: relative; display: inline-flex; margin: 50px 0 40px; padding: 5px; border: 1px solid var(--gold); border-radius: 999px; }
.switch button { position: relative; z-index: 2; min-width: 170px; padding: .9em 1.6em; border: 0; border-radius: 999px; background: none; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg); cursor: pointer; transition: color .4s; }
.switch button[aria-selected="true"] { color: var(--black); }
.switch__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--gold); transition: transform .6s var(--ease); }
.versus[data-mode="porcelana"] .switch__thumb { transform: translateX(100%); }
.panel[hidden] { display: none; }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.panel h3 { grid-column: 1 / -1; font-size: clamp(2rem, 3.8vw, 3.6rem); font-style: italic; }
.panel dl { margin: 0; }
.panel dl div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--ln); }
.panel dt { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); padding-top: 8px; }
.versus[data-mode="porcelana"] .panel dt { color: var(--gold); }
.panel dd { margin: 0; color: var(--sub); }
.panel dd b { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--fg); margin-bottom: 4px; }
.panel figure img, .panel figure video { width: 100%; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; }
.panel figcaption { margin-top: 10px; font-size: .78rem; color: var(--sub); }
.versus__myth { max-width: 44rem; margin: 50px 0 0; padding-left: 20px; border-left: 2px solid var(--gold); color: var(--sub); }
.versus__myth b { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 1.2rem; color: var(--fg); }

/* treatments */
.treat { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 90px); align-items: start; padding: 140px var(--pad); background: var(--sand); }
.treat__media { position: sticky; top: 110px; }
.treat__media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.treat h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); margin-bottom: 40px; }
.treat__list { list-style: none; margin: 0; padding: 0; }
.treat__list li { display: grid; grid-template-columns: 70px 1fr; padding: 26px 0; border-top: 1px solid var(--line-l); transition: padding .4s var(--ease); }
.treat__list li:hover { padding-left: 14px; }
.treat__list span { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--gold-d); }
.treat__list b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.8rem; line-height: 1.15; margin-bottom: 6px; }
.treat__list p { margin: 0; color: var(--mute-l); }

/* smiles reel */
.smiles { padding: 130px 0; background: var(--black); color: #f2ebdd; overflow: hidden; }
.smiles__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; padding: 0 var(--pad); margin-bottom: 46px; }
.smiles h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.smiles__head p { max-width: 24rem; margin: 0; color: var(--mute-d); font-size: .95rem; }
.smiles__head a { color: var(--gold-l); }
.reel { cursor: grab; touch-action: pan-y; }
.reel.is-drag { cursor: grabbing; }
.reel__track { display: flex; gap: 16px; width: max-content; padding: 0 var(--pad); will-change: transform; }
.reel figure { height: min(62vh, 560px); flex: none; overflow: hidden; }
.reel figure img { height: 100%; width: auto; object-fit: cover; pointer-events: none; user-select: none; transition: transform 1s var(--ease); }
.reel figure:hover img { transform: scale(1.04); }

/* office */
.office { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 90px); align-items: center; padding: 140px var(--pad) 160px; overflow: hidden; }
.office h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); margin-bottom: 1.4rem; }
.office__txt p { color: var(--mute-l); }
.office__txt em { font-family: var(--display); color: var(--gold-d); }
.office__facts { list-style: none; margin: 1.6rem 0 0; padding: 0; columns: 2; column-gap: 30px; }
.office__facts li { break-inside: avoid; padding: 12px 0; border-top: 1px solid var(--line-l); font-size: .92rem; }
.office__stack { position: relative; height: 620px; }
.office__stack figure { position: absolute; width: 46%; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .5); }
.office__stack img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.o1 { left: 0; top: 0; }
.o2 { left: 30%; top: 14%; z-index: 2; }
.o3 { right: 0; top: 30%; z-index: 3; width: 40% !important; }

/* doctor */
.doctor { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 90px); align-items: center; padding: 140px var(--pad); background: var(--char); color: #f2ebdd; }
.doctor__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.doctor h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
.doctor__cro { margin: 10px 0 1.6rem; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.doctor__txt > p:not(.kicker):not(.doctor__cro) { color: #cfc6b6; max-width: 36rem; }
.doctor__duo { max-width: 340px; margin-top: 1.6rem; }
.doctor__duo img { width: 100%; }

/* reviews */
.reviews { padding: 140px var(--pad); }
.reviews__top { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; color: var(--mute-l); }
.reviews__score { margin: 0; font-family: var(--display); font-size: 6rem; line-height: 1; color: var(--ink); }
.reviews__top p:last-child { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold-d); }
.stars svg { width: 16px; height: 16px; }
.r-big { margin: 0 0 60px; max-width: 1000px; }
.r-big p { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1.2; }
.r-big cite, .reviews__grid cite { font-style: normal; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); }
.reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.reviews__grid blockquote { margin: 0; padding-top: 20px; border-top: 1px solid var(--ink); }
.reviews__grid p { font-size: .96rem; color: var(--mute-l); }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 90px); padding: 130px var(--pad); background: var(--sand); }
.faq h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary { position: relative; padding: 24px 50px 24px 0; font-family: var(--display); font-size: 1.5rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 20px; font-family: var(--sans); font-weight: 300; font-size: 1.8rem; color: var(--gold-d); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--mute-l); max-width: 40rem; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 50px clamp(28px, 5vw, 90px); padding: 130px var(--pad); background: var(--black); color: #f2ebdd; }
.contact h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); margin-bottom: 2rem; }
.contact__info { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin: 0; align-self: end; }
.contact__info dt { margin-bottom: 6px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.contact__info dd { margin: 0; color: #cfc6b6; }
.contact__info a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.contact__map { grid-column: 1 / -1; position: relative; height: 380px; }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }
.contact__maplink { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: .7em 1.2em; background: var(--gold); color: var(--black); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.contact__maplink svg { width: 18px; height: 18px; }

.footer { display: grid; justify-items: center; gap: 12px; padding: 50px var(--pad) 70px; background: var(--black); color: var(--mute-d); text-align: center; font-size: .85rem; border-top: 1px solid var(--line-d); }
.footer img { width: 28px; }
.footer p { margin: 0; }
.fab { display: none; }

/* responsive */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr .7fr; }
  .hero__pic { display: none; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .header { height: 70px; gap: 14px; }
  .hbtn { display: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; margin-left: auto; padding: 0 12px; border: 1px solid var(--gold); background: none; cursor: pointer; }
  .menu-btn span { display: block; height: 1.5px; background: var(--gold-l); transition: transform .3s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; padding: 10px var(--pad) 26px; background: var(--black); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 15px 0; font-family: var(--display); font-size: 1.5rem; border-bottom: 1px solid var(--line-d); opacity: 1; }
  .header.menu-open { background: var(--black); }

  .hero { grid-template-columns: 1fr; padding-top: 110px; min-height: 0; }
  .hero__film { width: min(320px, 70%); justify-self: end; margin-top: 40px; }
  .versus, .treat, .office, .doctor, .reviews, .faq, .contact { padding: 100px var(--pad); }
  .switch button { min-width: 0; padding: .9em 1.2em; }
  .panel { grid-template-columns: 1fr; }
  .treat { grid-template-columns: 1fr; }
  .treat__media { position: relative; top: 0; max-width: 420px; }
  .office { grid-template-columns: 1fr; }
  .office__stack { height: 500px; }
  .doctor { grid-template-columns: 1fr; }
  .doctor__img { max-width: 440px; }
  .faq { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--black); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .6); }
  .fab svg { width: 26px; height: 26px; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(3rem, 15vw, 4rem); }
  .proof { gap: 14px 30px; }
  .proof b { font-size: 1.7rem; }
  .switch { display: flex; }
  .switch button { flex: 1; font-size: .7rem; letter-spacing: .1em; }
  .panel dl div { grid-template-columns: 1fr; gap: 4px; }
  .office__facts { columns: 1; }
  .office__stack { height: 400px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__score { font-size: 4.4rem; }
  .contact__info { grid-template-columns: 1fr; }
  .reel figure { height: 380px; }
}
