/* Landing — Dra. Lohaine Souza */
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(36px, 5vw, 54px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--brown-soft); font-size: 18px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 241, 234, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brown); }
.brand-mark { width: 38px; height: 38px; color: var(--terracotta); flex: none; }
.brand-name { font: 600 22px/1 var(--serif); }
.brand-name small { display: block; margin-top: 4px; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brown-soft); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--brown); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--terracotta-ink); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
@media (max-width: 920px) { .nav-links { display: none; } }
@media (max-width: 520px) { .nav .btn span { display: none; } .nav .btn { width: 44px; padding: 0; } }

/* Hero */
.hero { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(32px, 8vw, 96px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(42px, 5.8vw, 72px); margin-top: 20px; }
.hero h1 em { font-style: italic; color: var(--terracotta); }
.hero-lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--brown-soft); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.hero-facts li { padding: 9px 16px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-size: 14px; font-weight: 500; }
.hero-photo { position: relative; }
.hero-photo .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: var(--sand); }
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before {
  content: ""; position: absolute; inset: 8% -6% -5% 10%; z-index: -1;
  border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%; background: var(--sand-deep); opacity: .65;
}
.float-card {
  position: absolute; left: -28px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-hover); max-width: 270px;
}
.float-card .dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--terracotta-ink); flex: none; }
.float-card .dot svg { width: 22px; height: 22px; }
.float-card strong { display: block; font-size: 15px; line-height: 1.3; }
.float-card span { font-size: 13px; color: var(--brown-soft); line-height: 1.35; display: block; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; margin-inline: auto; width: 100%; }
  .float-card { left: 12px; bottom: 16px; }
  .hero-photo::before { inset: 6% -3% -3% 8%; }
}
@media (max-width: 560px) { #sobre { padding-top: 40px; } .hero-facts li { font-size: 13px; padding: 8px 13px; } .float-card strong { font-size: 14px; } .float-card span { font-size: 13px; } }

/* Sobre */
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(36px, 4.6vw, 52px); margin-top: 14px; }
.about-text p { margin-top: 18px; color: var(--brown-soft); }
.about-text blockquote { margin: 26px 0 0; padding: 20px 24px; border-radius: var(--radius); background: var(--sand); font: italic 500 24px/1.35 var(--serif); color: var(--brown); }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.areas .card { padding: 20px; }
.areas h3 { font: 600 16px/1.3 var(--sans); }
.areas p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--brown-soft); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 460px; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

/* Ortodontia */
.ortho { background: var(--sand); border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(8px, 1.5vw, 20px); }
.ortho-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ortho-card { padding: clamp(26px, 3.4vw, 40px); }
.ortho-card .tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--cream); font-size: 13px; font-weight: 600; color: var(--terracotta-ink); }
.ortho-card h3 { font-size: clamp(30px, 3.2vw, 38px); margin-top: 16px; }
.ortho-card > p { margin-top: 12px; color: var(--brown-soft); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; }
.checks svg { width: 24px; height: 24px; color: var(--terracotta); margin-top: 1px; }
.signs { margin-top: 20px; padding: clamp(26px, 3.4vw, 40px); }
.signs h3 { font-size: clamp(28px, 3vw, 34px); }
.signs > p { margin-top: 8px; color: var(--brown-soft); }
.sign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.sign { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--cream); font-size: 15px; font-weight: 500; line-height: 1.4; }
.sign svg { width: 22px; height: 22px; color: var(--terracotta); flex: none; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; counter-reset: step; }
.step { padding: 28px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font: 600 44px/1 var(--serif); color: var(--terracotta); opacity: .85; }
.step h3 { font: 600 18px/1.3 var(--sans); margin-top: 14px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--brown-soft); line-height: 1.55; }
.ortho-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; padding: 26px 30px; }
.ortho-cta p { font: 600 clamp(22px, 2.4vw, 28px)/1.25 var(--serif); }
@media (max-width: 900px) { .ortho-cards, .steps { grid-template-columns: 1fr; } .sign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sign-grid { grid-template-columns: 1fr; } }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service { padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.service .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--sand); color: var(--terracotta-ink); }
.service .ico svg { width: 26px; height: 26px; }
.service h3 { font: 600 18px/1.3 var(--sans); margin-top: 18px; }
.service p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--brown-soft); }
.service.featured { background: var(--brown); }
.service.featured h3, .service.featured p { color: var(--cream); }
.service.featured p { opacity: .82; }
.service.featured .ico { background: rgba(247, 241, 234, .12); color: var(--sand); }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* Equipe */
.team-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px; }
.team-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; object-position: 50% 30%; }
.team-list { display: grid; gap: 12px; align-content: start; }
.member { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.member .initial { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font: 600 20px/1 var(--serif); color: var(--terracotta-ink); flex: none; }
.member img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; }
.member strong { display: block; font-size: 16px; line-height: 1.3; }
.member span { font-size: 14px; color: var(--brown-soft); }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figcaption { padding: 14px 18px; font-size: 14px; color: var(--brown-soft); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure:last-child { display: none; } }

/* Localização */
.location-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
.location-info { padding: clamp(26px, 3.4vw, 40px); display: grid; gap: 22px; align-content: start; }
.info-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-row .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--terracotta-ink); }
.info-row .ico svg { width: 22px; height: 22px; }
.info-row strong { display: block; font-size: 15px; }
.info-row p, .info-row a { font-size: 15px; color: var(--brown-soft); line-height: 1.55; }
.location-info .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.75) sepia(.12); }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } .map, .map iframe { min-height: 320px; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 0 24px; interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--terracotta); transition: transform .25s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding-bottom: 22px; color: var(--brown-soft); font-size: 16px; }

/* CTA final */
.final-cta { padding-top: 0; }
.final-box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: clamp(32px, 5vw, 60px); border-radius: var(--radius-lg); background: var(--brown); color: var(--cream);
  position: relative; overflow: hidden;
}
.final-box::after { content: ""; position: absolute; right: -80px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: rgba(166, 107, 80, .35); }
.final-box > * { position: relative; z-index: 1; }
.final-box h2 { color: var(--cream); font-size: clamp(34px, 4.4vw, 52px); }
.final-box p { margin-top: 12px; opacity: .85; max-width: 560px; }
.final-box .btn-primary { background: var(--cream); color: var(--brown); box-shadow: none; }
.final-box .btn-primary:hover { background: var(--white); }
@media (max-width: 760px) { .final-box { grid-template-columns: 1fr; } }

/* Rodapé */
.site-footer { padding: 44px 0 110px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer p, .site-footer a { font-size: 14px; color: var(--brown-soft); line-height: 1.7; }
.site-footer .legal { margin-top: 28px; font-size: 12.5px; color: var(--brown-soft); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--terracotta-ink); color: var(--white); box-shadow: 0 12px 28px -10px rgba(74, 48, 40, .55);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: #7E4E39; }

/* Aparição suave — só CSS (scroll-driven). Navegador sem suporte mostra tudo, sem animação. */
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
