@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============ Tema Odontologia — clínico premium claro ============ */
:root {
  --brand: #0E7490;
  --dark: #0B2E36;
  --tint: #F1F7F9;
  --ink: #1E3A42;
  --muted: #5B7480;
  --line: #DCE9ED;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 46, 54, .08);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 800; color: var(--dark); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }

a { color: var(--brand); }

.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .6rem;
}

.section { padding: 5.5rem 0; }
/* respiro extra entre blocos de mesma natureza (agendar -> contato) */
.section + .section { padding-top: 6rem; }
.section-tint + .section { border-top: 1px solid rgba(14,116,144,.10); }
@media (max-width: 720px) { .section { padding: 3.6rem 0; } .section + .section { padding-top: 4rem; } }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin: 0 auto 2.8rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }

/* ---------- Botões ---------- */
.btn { border-radius: 999px; font-weight: 700; padding: .65rem 1.5rem; display: inline-flex; align-items: center; gap: .55rem; justify-content: center; }
.btn-lg { padding: .85rem 1.9rem; }
.btn-brand { background: var(--brand); border: 2px solid var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-ghost { border: 2px solid var(--line); color: var(--dark); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-light-brand { background: #fff; color: var(--dark); border: 2px solid #fff; }
.btn-light-brand:hover { background: var(--tint); border-color: var(--tint); color: var(--dark); }

/* ---------- Topbar + navbar ---------- */
.topbar { background: var(--dark); color: #CFE5EB; font-size: .82rem; padding: .45rem 0; }
.topbar svg { color: var(--brand); filter: brightness(1.6); }
.topbar-link { color: #fff; text-decoration: none; }
.topbar-link:hover { color: #CFE5EB; }

.site-nav { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: .7rem 0; }
.site-nav.scrolled { box-shadow: var(--shadow); }
.site-nav .nav-link { color: var(--dark); font-weight: 600; padding: .5rem .9rem; border-radius: 8px; }
.site-nav .nav-link:hover { color: var(--brand); background: var(--tint); }
.site-nav .nav-link.active { color: var(--brand); }
.navbar-toggler { border: 0; color: var(--dark); padding: .25rem; }
.navbar-toggler:focus { box-shadow: none; }
.btn-nav { padding: .5rem 1.2rem; font-size: .92rem; }

.brand-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-top { font-size: .68rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--brand); }
.brand-name { font-size: 1.25rem; font-weight: 800; color: var(--dark); letter-spacing: -.02em; }
.brand-logo { max-height: 46px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.12; margin-bottom: 1rem; }
.hero-sub { color: var(--muted); font-size: 1.12rem; line-height: 1.7; max-width: 34rem; }
.rating { color: var(--muted); font-size: .92rem; font-weight: 600; }
.stars { color: #E9A23B; display: inline-flex; gap: .1rem; }

.hero-media { position: relative; }
.hero-media::before {
  content: '';
  position: absolute;
  inset: -18px -18px auto auto;
  width: 62%;
  height: 62%;
  border-radius: var(--radius);
  background: radial-gradient(circle, rgba(14, 116, 144, .18) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  position: absolute;
  z-index: 2;
  left: -14px;
  bottom: -22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  color: var(--muted);
  max-width: 300px;
  border: 1px solid var(--line);
}
.hero-card strong { color: var(--dark); font-size: .95rem; }
.hero-card-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Números de confiança ---------- */
.stats { background: var(--dark); color: #fff; padding: 2.6rem 0; }
.stat-num { font-size: 2rem; font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: .35rem; }
.stat-star { color: #E9A23B; display: inline-flex; }
.stat-label { color: #9FC2CC; font-size: .9rem; font-weight: 600; }

/* ---------- Cards de tratamento ---------- */
.treat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.treat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(14, 116, 144, .35); }
.treat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--tint);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.treat-name { font-size: 1.15rem; margin-bottom: .5rem; }
.treat-desc { color: var(--muted); font-size: .95rem; line-height: 1.65; margin-bottom: 0; }

/* ---------- Convênios ---------- */
.conv { background: var(--tint); padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.conv-title { font-weight: 800; color: var(--dark); font-size: 1.15rem; margin-bottom: 1.2rem; }
.conv-list { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.conv-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.conv-list li svg { color: var(--brand); }
.conv-note { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------- Sobre ---------- */
.about-media { position: relative; }
.about-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(11, 46, 54, .82);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem .95rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.perks li { display: flex; align-items: center; gap: .8rem; font-weight: 600; color: var(--dark); }
.perk-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Faixa CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--dark) 0%, var(--brand) 130%);
  color: #fff;
  padding: 3.6rem 0;
}
.cta-title { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .5rem; }
.cta-text { color: #C8E2E9; font-size: 1.05rem; max-width: 40rem; }

/* ---------- Cabeçalho de página interna ---------- */
.page-head {
  background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
  padding: 3.6rem 0 2.8rem;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.page-head-sub { color: var(--muted); font-size: 1.08rem; max-width: 42rem; margin: 0; }

/* ---------- Tabela de valores ---------- */
.price-list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  margin-bottom: .7rem;
}
.price-name { font-weight: 700; color: var(--dark); }
.price-dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.price-value { font-weight: 800; color: var(--brand); font-size: 1.08rem; white-space: nowrap; }
.price-note { color: var(--muted); font-size: .88rem; }

/* ---------- Contato ---------- */
.contact-box { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; }
.contact-form .form-label { font-weight: 700; color: var(--dark); font-size: .88rem; margin: .9rem 0 .3rem; }
.contact-form .form-label:first-of-type { margin-top: 0; }
.contact-form .form-control {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .95rem;
  font-size: .95rem;
  background: #fff;
}
.contact-form .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(14, 116, 144, .12); }
.alert-ok {
  background: #E4F5EC;
  border: 1px solid #B4E3C8;
  color: #14683B;
  font-weight: 600;
  border-radius: 12px;
  padding: .85rem 1.1rem;
  margin-bottom: 1.2rem;
}
.contact-info { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-info li { display: flex; gap: .9rem; align-items: flex-start; color: var(--ink); line-height: 1.5; }
.contact-info a { color: var(--dark); font-weight: 600; text-decoration: none; }
.contact-info a:hover { color: var(--brand); }
.ci-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.map-wrap { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 220px; border: 0; }
.map-full iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--dark); color: #9FC2CC; padding: 3.5rem 0 0; }
.footer-brand .brand-top { color: #6FB3C4; }
.footer-brand .brand-name { color: #fff; }
.footer-tagline { margin: .9rem 0 1.1rem; font-size: .92rem; max-width: 26rem; }
.footer-head { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; font-size: .92rem; }
.footer-links a { color: #9FC2CC; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 2.6rem;
  padding: 1.2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: space-between;
  font-size: .85rem;
}
.footer-bottom a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- Animação de entrada (só quando o JS ativa .js-anim) ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 991.98px) {
  .section { padding: 3.2rem 0; }
  .hero { padding: 3rem 0 4rem; }
}
@media (max-width: 575.98px) {
  .hero-card { left: 8px; bottom: -18px; max-width: 260px; }
  .stat-num { font-size: 1.6rem; }
  .contact-box { padding: 1.4rem; }
  .price-list li { flex-wrap: wrap; }
  .price-dots { display: none; }
  .price-value { margin-left: auto; }
}
