/* Odonto Lumina — identidade clara: branco, névoa, azul-petróleo e água-marinha. Sora + Nunito Sans. */
:root {
  --white: #FFFFFF; --mist: #F1F6F7; --mist-2: #E3EEF0;
  --teal: #0E5E6F; --teal-dk: #0A4653; --aqua: #7CC9CC; --aqua-lt: #D7F0F0;
  --sand: #F6F0E8; --ink: #12303A; --ink-2: #4A6670;
  --head: "Sora", system-ui, sans-serif; --body: "Nunito Sans", system-ui, sans-serif;
  --r: 22px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--teal); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; margin: 0; color: var(--ink); }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--teal); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--teal); letter-spacing: .02em; margin-bottom: 12px; }
.eyebrow.light { color: #A8E0E2; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 13px 26px; border-radius: 999px; border: 0; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(14, 94, 111, .22); }
.btn-primary:hover { background: var(--teal-dk); }
.btn-soft { background: var(--aqua-lt); color: var(--teal-dk); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-full { width: 100%; }

/* Cabeçalho */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--mist-2); }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--head); font-size: 21px; letter-spacing: -0.02em; }
.logo b { font-weight: 600; color: var(--teal); }
.nav { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--teal); }
.menu { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--mist-2); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .menu { display: inline-flex; }
  .nav { display: none; position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 24px; border-bottom: 1px solid var(--mist-2); box-shadow: 0 20px 30px rgba(18, 48, 58, .08); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--mist); font-size: 18px; }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { padding: clamp(36px, 6vw, 72px) 0 40px; background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--mist-2); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; color: var(--teal); margin-bottom: 22px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); }
.lead { font-size: 19px; color: var(--ink-2); margin-top: 20px; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; color: var(--ink-2); font-weight: 600; }
.hero-list li { display: flex; align-items: center; gap: 10px; }
.hero-list svg { color: var(--teal); flex: none; }
.hero-visual { position: relative; }
.hero-img { margin: 0; border-radius: 200px 200px var(--r) var(--r); overflow: hidden; aspect-ratio: 20 / 23; background: var(--mist-2); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; left: -24px; bottom: 32px; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(18, 48, 58, .14); max-width: 290px; }
.fc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--aqua-lt); color: var(--teal); display: flex; align-items: center; justify-content: center; flex: none; }
.float-card b { display: block; font-family: var(--head); font-weight: 600; font-size: 15px; }
.float-card span { font-size: 14px; color: var(--ink-2); }
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 48px 0 0; background: #fff; border: 1px solid var(--mist-2); border-radius: var(--r); }
.info div { padding: 20px 24px; border-left: 1px solid var(--mist-2); }
.info div:first-child { border-left: 0; }
.info dt { font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--teal); }
.info dd { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .float-card { left: 12px; bottom: 12px; } .info { grid-template-columns: 1fr; } .info div { border-left: 0; border-top: 1px solid var(--mist-2); } .info div:first-child { border-top: 0; } }

/* Seções */
.sec { padding: clamp(64px, 9vw, 110px) 0; }
.sec-mist { background: var(--mist); }
.sec-head { max-width: 660px; margin-bottom: 40px; }
.sec-head.row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head.row > div { max-width: 620px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 48px); }
.sec-head > p:not(.eyebrow) { color: var(--ink-2); margin-top: 14px; }

/* Especialidades */
.esp { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.esp-list { display: grid; gap: 6px; }
.esp-tab { display: flex; align-items: center; gap: 12px; text-align: left; min-height: 56px; padding: 12px 16px; border-radius: 14px; border: 1px solid transparent; background: transparent; cursor: pointer; font-weight: 700; color: var(--ink-2); transition: background .2s, color .2s; }
.esp-tab:hover { background: var(--mist); }
.esp-tab[aria-selected="true"] { background: var(--teal); color: #fff; }
.esp-tab .n { font-family: var(--head); font-size: 13px; }
.esp-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; background: var(--mist); border-radius: var(--r); padding: 18px; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.esp-panel figure { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist-2); }
.esp-panel img { width: 100%; height: 100%; object-fit: cover; }
.esp-body { padding: 10px 8px 10px 0; }
.esp-body h3 { font-size: 28px; margin-bottom: 10px; }
.esp-body > p { color: var(--ink-2); }
.esp-body h4 { font-family: var(--head); font-weight: 600; font-size: 15px; margin: 20px 0 8px; color: var(--teal); }
.esp-body ul { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 4px; }
.esp-body .btn { margin-top: 22px; }
@media (max-width: 960px) {
  .esp { grid-template-columns: 1fr; }
  .esp-list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
  .esp-tab { flex: none; min-height: 48px; border-color: var(--mist-2); }
  .esp-panel { grid-template-columns: 1fr; }
  .esp-panel figure { aspect-ratio: 16 / 10; }
}

/* Tratamentos */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--mist-2); background: #fff; font-weight: 700; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.trat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.trat details { background: #fff; border-radius: 16px; border: 1px solid var(--mist-2); }
.trat summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; cursor: pointer; }
.trat summary::-webkit-details-marker { display: none; }
.trat summary b { font-family: var(--head); font-weight: 600; font-size: 17px; }
.trat summary small { display: block; font-size: 13px; color: var(--teal); font-weight: 700; margin-top: 2px; }
.trat summary i { width: 30px; height: 30px; border-radius: 50%; background: var(--aqua-lt); color: var(--teal); flex: none; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; transition: transform .25s; }
.trat details[open] summary i { transform: rotate(45deg); }
.trat .tb { padding: 0 20px 20px; color: var(--ink-2); font-size: 16px; }
.trat .tb p + p { margin-top: 8px; }
.trat .tb b { color: var(--ink); }
.trat-count { margin: -8px 0 18px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .trat { grid-template-columns: 1fr; } }

/* Jornada */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: j; }
.journey li { position: relative; padding: 26px 22px; border-radius: var(--r); background: var(--sand); }
.journey span { font-family: var(--head); font-weight: 600; color: var(--teal); font-size: 14px; }
.journey h3 { font-size: 21px; margin: 10px 0 8px; }
.journey p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }

/* Equipe */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.member { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--mist-2); }
.member figure { margin: 0; aspect-ratio: 15 / 16; background: var(--mist-2); overflow: hidden; }
.member img { width: 100%; height: 100%; object-fit: cover; }
.member > div { padding: 18px 20px 22px; }
.member h3 { font-size: 20px; }
.member .role { color: var(--teal); font-weight: 700; margin-top: 4px; }
.member .cro { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 860px) { .team { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .member { scroll-snap-align: start; } }

/* Estrutura + galeria */
.est-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.est-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); margin-right: 10px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 12px; }
.g-item { position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--mist-2); }
.g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(4) { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
.g-item span { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.small-note { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .g-item:nth-child(4) { grid-row: span 1; } }

.lb { width: min(1000px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 18px; background: #0b1a1f; color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(6, 20, 25, .85); }
.lb figure { margin: 0; position: relative; background: #0b1a1f; }
.lb img { width: 100%; max-height: calc(100vh - 110px); object-fit: contain; }
.lb figcaption { padding: 14px 70px 16px 20px; font-weight: 600; }
.lb-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 26px; cursor: pointer; }
.lb-nav { position: absolute; top: 45%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
.lb-nav.prev { left: 10px; } .lb-nav.next { right: 10px; }
.lb-count { position: absolute; right: 16px; bottom: 14px; margin: 0; font-size: 14px; opacity: .8; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.faq details { background: #fff; border-radius: 16px; margin-bottom: 10px; border: 1px solid var(--mist-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-family: var(--head); font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--aqua-lt); color: var(--teal); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Agendamento */
.agendar { background: var(--teal); color: #fff; }
.ag-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.ag-text h2 { color: #fff; font-size: clamp(36px, 4.4vw, 54px); }
.ag-text p { color: #D6ECEE; margin-top: 14px; font-size: 18px; }
.ag-text ul { margin: 24px 0 0; padding-left: 20px; color: #D6ECEE; display: grid; gap: 6px; }
.ag-form { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: 0 24px 60px rgba(4, 30, 36, .3); }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fd { display: grid; gap: 6px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.fd label, .fd legend { font-weight: 700; font-size: 15px; padding: 0; }
.fd legend { margin-bottom: 6px; }
.fd input, .fd select, .fd textarea { width: 100%; min-height: 50px; border: 1px solid #C9DADE; border-radius: 12px; padding: 12px 14px; background: #fff; font-size: 16px; color: var(--ink); }
.fd textarea { min-height: 90px; }
.fd input:focus, .fd select:focus, .fd textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--aqua-lt); }
.fd .er { display: none; color: #B42318; font-size: 14px; font-weight: 700; }
.fd.bad .er { display: block; }
.fd.bad input, .fd.bad select { border-color: #B42318; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 1px solid #C9DADE; font-weight: 700; font-size: 15px; cursor: pointer; }
.pills input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
.consent.bad { color: #B42318; font-weight: 700; }
.form-ok { margin-top: 14px; background: var(--aqua-lt); color: var(--teal-dk); padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: 15px; }
@media (max-width: 900px) { .ag-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .g2 { grid-template-columns: 1fr; } }

.ft { padding: 48px 0 90px; background: var(--ink); color: #B9CDD3; font-size: 15px; }
.ft-in { display: grid; gap: 16px; }
.ft .logo { color: #fff; }
.ft .logo b { color: var(--aqua); }
.ft a { color: #fff; }
.rt { margin-top: 12px; font-size: 14px; }
.ph { background: rgba(124, 201, 204, .18); color: #fff; padding: 0 4px; border-radius: 4px; }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(14, 94, 111, .35); }
.wa:hover { background: var(--teal-dk); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
