/* Odonto Harmonie — Odontologia e Harmonização Facial */
:root {
  --bordeaux: #4a1220;
  --bordeaux-d: #330b15;
  --wine: #6b1e2e;
  --champagne: #f3eadf;
  --ivory: #fbf8f3;
  --gold: #c9a050;
  --gold-l: #ead08f;
  --ink: #2a0f15;
  --mute: #7b6a64;
  --line: rgba(74, 18, 32, .15);
  --head: "Libre Caslon Display", "Didot", Georgia, serif;
  --body: "Commissioner", "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(--body); font-size: 1.04rem; line-height: 1.62; 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(--head); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; margin: 0; }
h1 em, h2 em { color: var(--gold-l); }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px 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: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); }
.kicker--dark { color: var(--wine); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 1em 1.7em; border: 0; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(100deg, #b98a2e, #e9c978 55%, #c39338); color: var(--bordeaux-d); }
.btn--gold:hover { filter: brightness(1.07); }
.btn--wine { background: var(--bordeaux); color: #fff; }
.btn--wine:hover { background: var(--wine); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--gold-l); border-bottom: 1px solid currentColor; 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: 84px; padding: 0 var(--pad); color: var(--champagne); transition: transform .45s var(--ease), background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(51, 11, 21, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(234, 208, 143, .15); }
.header.is-hidden { transform: translateY(-100%); }
.brand img { width: 160px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: .88rem; font-weight: 500; text-decoration: none; opacity: .85; transition: opacity .2s, color .2s; }
.nav a:hover { opacity: 1; color: var(--gold-l); }
.hbtn { padding: .72em 1.3em; border: 1px solid var(--gold); border-radius: 999px; font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--gold-l); transition: background .25s, color .25s; }
.hbtn:hover { background: var(--gold); color: var(--bordeaux-d); }
.menu-btn { display: none; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); min-height: 100svh; padding: 120px var(--pad) 80px; background: radial-gradient(60% 80% at 85% 20%, rgba(201, 160, 80, .16), transparent 60%), linear-gradient(160deg, var(--bordeaux), var(--bordeaux-d)); color: var(--champagne); }
.hero h1 { font-size: clamp(2.9rem, 5.8vw, 6rem); max-width: 12ch; }
.hero__lead { max-width: 33rem; margin: 1.8rem 0 2.1rem; font-size: 1.1rem; color: #dcc9c4; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.hero__rate { display: flex; align-items: center; gap: 10px; margin: 2.4rem 0 0; font-size: .88rem; color: #cbb3ad; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.smiles { display: grid; grid-template-columns: 1fr 1fr .78fr; grid-template-rows: auto auto; gap: 14px; }
.sm { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(234, 208, 143, .35); background: var(--bordeaux-d); }
.sm img, .sm video { width: 100%; height: 100%; object-fit: cover; }
.sm--a { grid-column: 1 / 3; aspect-ratio: 720 / 620; }
.sm--b, .sm--c { aspect-ratio: 4 / 5; }
.sm--d { grid-column: 3; grid-row: 1 / span 2; }
.sm figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(51, 11, 21, .8); backdrop-filter: blur(6px); font-size: .76rem; font-weight: 500; color: var(--gold-l); }

/* fronts */
.fronts { padding: 140px var(--pad); }
.fronts__head { max-width: 760px; margin-bottom: 50px; }
.fronts h2 { font-size: clamp(2.4rem, 4.8vw, 4.6rem); color: var(--bordeaux); }
.fronts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.front { display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden; background: var(--champagne); transition: transform .5s var(--ease), box-shadow .5s; }
.front:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(74, 18, 32, .45); }
.front figure { aspect-ratio: 16 / 10; overflow: hidden; }
.front img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.front--smile img { object-position: 50% 35%; }
.front:hover img { transform: scale(1.04); }
.front__txt { padding: 32px 34px 36px; }
.front h3 { font-size: 2.6rem; color: var(--bordeaux); margin-bottom: 16px; }
.front ul { list-style: none; margin: 0; padding: 0; }
.front li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--mute); font-size: .95rem; }
.front li b { display: block; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.front__q { margin: 20px 0 0; font-family: var(--head); font-size: 1.35rem; line-height: 1.3; color: var(--wine); }
.front--face { background: var(--bordeaux); color: var(--champagne); }
.front--face h3 { color: var(--gold-l); }
.front--face li { border-color: rgba(234, 208, 143, .18); color: #cbb3ad; }
.front--face li b { color: #fff; }
.front--face .front__q { color: var(--gold-l); }

/* ortho journey */
.ortho { padding: 130px var(--pad); background: var(--bordeaux-d); color: var(--champagne); }
.ortho__txt { max-width: 760px; margin-bottom: 60px; }
.ortho h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
.ortho__txt p:not(.kicker) { margin: 1.2rem 0 0; color: #dcc9c4; }
.journey { position: relative; margin-bottom: 40px; }
.journey__line { position: absolute; left: 3%; right: 3%; top: 27px; height: 2px; background: rgba(234, 208, 143, .18); }
.journey__line i { position: absolute; inset: 0; background: linear-gradient(90deg, #b98a2e, #ead08f); transform-origin: left; transform: scaleX(var(--p, 1)); }
.journey ol { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.j { display: flex; flex-direction: column; align-items: center; text-align: center; opacity: .35; transition: opacity .5s; }
.j.is-on, .no-motion .j { opacity: 1; }
.j__dot { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--bordeaux); box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold-l); }
.j__dot svg { width: 26px; height: 26px; }
.j:not(.j--start):not(.j--end) .j__dot { width: 22px; height: 22px; margin: 17px 0 35px; background: var(--gold); }
.j b { font-family: var(--head); font-weight: 400; font-size: 1.6rem; color: #fff; }
.j small { max-width: 14ch; font-size: .88rem; color: #cbb3ad; }
.ortho__note { max-width: 40rem; color: #cbb3ad; font-size: .95rem; }

/* prosthesis */
.prost { padding: 130px var(--pad); background: var(--champagne); }
.prost__head { max-width: 760px; margin-bottom: 50px; }
.prost h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); color: var(--bordeaux); }
.prost__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.switch { display: inline-flex; padding: 5px; margin-bottom: 30px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.switch button { padding: .75em 1.3em; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: .92rem; color: var(--mute); cursor: pointer; transition: background .3s, color .3s; }
.switch button[aria-selected="true"] { background: var(--bordeaux); color: #fff; }
.pcard { margin-bottom: 30px; }
.pcard__k { margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pcard h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); color: var(--bordeaux); margin-bottom: 18px; }
.pcard ul { list-style: none; margin: 0; padding: 0; }
.pcard li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); color: var(--mute); }
.pcard li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 2px; background: var(--gold); }
.prost__faces { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: end; }
.prost__faces figure { position: relative; border-radius: 22px; overflow: hidden; }
.prost__faces img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.prost__faces figure:last-child { margin-bottom: 60px; }
.prost__faces figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(251, 248, 243, .92); font-size: .78rem; font-weight: 600; color: var(--bordeaux); }

/* myths quiz */
.myths { padding: 130px var(--pad); background: var(--bordeaux); color: var(--champagne); }
.myths__head { max-width: 760px; margin-bottom: 50px; }
.myths h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
.myths__head p:last-child { margin: 1.2rem 0 0; color: #dcc9c4; }
.myths__head b { color: var(--gold-l); font-size: 1.2rem; }
.quiz { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.q { grid-column: span 2; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: rgba(51, 11, 21, .55); box-shadow: inset 0 0 0 1px rgba(234, 208, 143, .2); transition: background .4s, box-shadow .4s; }
.q:nth-child(4), .q:nth-child(5) { grid-column: span 3; }
.q__t { margin: 0 0 22px; font-family: var(--head); font-size: 1.5rem; line-height: 1.25; color: #fff; }
.q__btns { display: flex; gap: 10px; margin-top: auto; }
.q__btns button { flex: 1; padding: .8em 1em; border: 1px solid rgba(234, 208, 143, .45); border-radius: 999px; background: none; font-weight: 600; color: var(--gold-l); cursor: pointer; transition: background .25s, color .25s; }
.q__btns button:hover { background: rgba(234, 208, 143, .12); }
.q__a { max-height: 0; overflow: hidden; margin: 0; color: #e7d7d2; font-size: .95rem; transition: max-height .6s var(--ease), margin .4s; }
.q.is-done .q__a { max-height: 220px; margin-top: 18px; }
.q.is-done .q__btns button { pointer-events: none; opacity: .45; }
.q.is-done .q__btns button.is-pick { opacity: 1; }
.q.is-right { box-shadow: inset 0 0 0 1.5px var(--gold); }
.q.is-right .is-pick { background: var(--gold); color: var(--bordeaux-d); }
.q.is-wrong .is-pick { background: rgba(255, 255, 255, .12); color: #fff; text-decoration: line-through; }
.q__a b { color: var(--gold-l); }

/* cases: expanding gallery */
.cases { padding: 130px var(--pad); }
.cases__head { max-width: 760px; margin-bottom: 46px; }
.cases h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); color: var(--bordeaux); }
.cases__grid { display: flex; gap: 12px; height: 520px; }
.c { position: relative; flex: 1; min-width: 0; border-radius: 22px; overflow: hidden; background: var(--champagne); transition: flex .8s var(--ease); }
.c img, .c video { width: 100%; height: 100%; object-fit: cover; }
.c--a { flex: 1.6; }
.cases__grid:hover .c { flex: .8; }
.cases__grid .c:hover { flex: 2; }
.c figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; background: linear-gradient(transparent, rgba(51, 11, 21, .85)); color: #e7d7d2; font-size: .86rem; }
.c figcaption b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.35rem; color: #fff; }

/* team */
.team { display: grid; grid-template-columns: .7fr 1.3fr .7fr; gap: clamp(20px, 3vw, 50px); align-items: center; padding: 130px var(--pad); background: var(--champagne); }
.team h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); color: var(--bordeaux); margin-bottom: 1.2rem; }
.team__txt > p:not(.kicker) { color: var(--mute); }
.team figure { border-radius: 22px; overflow: hidden; }
.team figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team__b { margin-top: 120px; }
.rv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.rv li { padding: 18px 20px; border-radius: 18px; background: #fff; font-size: .95rem; }
.rv cite { display: block; margin-top: 8px; font-style: normal; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* visit */
.visit { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 90px); align-items: center; padding: 130px var(--pad); background: linear-gradient(160deg, var(--bordeaux), var(--bordeaux-d)); color: var(--champagne); }
.visit__logo { width: 200px; margin-bottom: 26px; }
.visit h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.visit dl { margin: 2rem 0; }
.visit dl div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(234, 208, 143, .16); }
.visit dt { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-l); padding-top: 3px; }
.visit dd { margin: 0; color: #dcc9c4; }
.visit dd a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.visit__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.visit__img { border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px rgba(234, 208, 143, .35); }
.visit__img img { width: 100%; aspect-ratio: 788 / 710; object-fit: cover; }

.footer { padding: 32px var(--pad) 46px; background: var(--bordeaux-d); color: #a88c86; text-align: center; font-size: .85rem; }
.footer p { margin: 0; }
.fab { display: none; }

/* responsive */
@media (max-width: 980px) {
  .header { height: 72px; gap: 14px; }
  .brand img { width: 130px; }
  .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); border-radius: 50%; 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: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 10px var(--pad) 26px; background: var(--bordeaux-d); 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(--head); font-size: 1.6rem; border-bottom: 1px solid rgba(234, 208, 143, .15); opacity: 1; }
  .header.menu-open { background: var(--bordeaux-d); }

  .hero { grid-template-columns: 1fr; padding-top: 110px; min-height: 0; }
  .fronts, .ortho, .prost, .myths, .cases, .team, .visit { padding: 100px var(--pad); }
  .fronts__grid { grid-template-columns: 1fr; }
  .journey__line { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .journey__line i { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .journey ol { grid-template-columns: 1fr; gap: 20px; }
  .j { flex-direction: row; align-items: center; gap: 0 16px; text-align: left; display: grid; grid-template-columns: 56px 1fr; }
  .j__dot { grid-row: span 2; margin: 0 !important; }
  .j:not(.j--start):not(.j--end) .j__dot { margin: 0 17px !important; }
  .j small { max-width: none; }
  .prost__grid { grid-template-columns: 1fr; }
  .quiz { grid-template-columns: 1fr; }
  .q, .q:nth-child(4), .q:nth-child(5) { grid-column: auto; }
  .cases__grid { height: auto; flex-direction: column; }
  .c, .c--a { flex: none; aspect-ratio: 4 / 3; }
  .cases__grid:hover .c, .cases__grid .c:hover { flex: none; }
  .team { grid-template-columns: 1fr 1fr; }
  .team__txt { grid-column: 1 / -1; grid-row: 1; }
  .team__b { margin-top: 60px; }
  .visit { grid-template-columns: 1fr; }
  .visit__img { max-width: 420px; }
  .fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(120deg, #b98a2e, #e9c978); color: var(--bordeaux-d); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); }
  .fab svg { width: 26px; height: 26px; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.3rem); }
  .smiles { grid-template-columns: 1fr 1fr; }
  .sm--a { grid-column: 1 / -1; }
  .sm--d { display: none; }
  .switch { display: flex; }
  .switch button { flex: 1; font-size: .82rem; padding: .7em .6em; }
  .rv { grid-template-columns: 1fr; }
  .visit dl div { grid-template-columns: 1fr; gap: 2px; }
}
