/* ==========================================================================
   ODONT — Odontologia Especializada — Design System
   Identidade preservada: logo (dente sorridente + wordmark em azul-índigo),
   paleta azul/índigo vista nas placas reais das unidades ("Orgulho em
   sorrir!"), com barras de especialidades em azul — estética de rede de
   clínicas, corporativa e confiável, com 3 unidades na Zona Norte de SP.
   ========================================================================== */

:root {
  --indigo-900: #201c6b;
  --indigo-800: #2a2586;
  --indigo-700: #3330a0;
  --blue-600: #3652d6;
  --blue-500: #4f6bef;
  --blue-100: #e8ecfd;

  --sky-400: #7fa8ff;

  --ink-900: #171833;
  --ink-700: #3d3f5c;
  --ink-500: #6d6f8c;
  --ink-300: #a4a6bf;

  --surface: #ffffff;
  --surface-soft: #f4f6fd;
  --border-soft: #e3e6f5;

  --success: #1f9d6b;
  --gold: #f0a93a;

  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --shadow-sm: 0 1px 3px rgba(23, 24, 51, 0.06);
  --shadow-md: 0 14px 32px -14px rgba(32, 28, 107, 0.3);
  --shadow-lg: 0 30px 64px -20px rgba(32, 28, 107, 0.35);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1180px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--indigo-900);
  line-height: 1.18;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue-600);
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--surface-soft); }
.section--indigo { background: var(--indigo-900); color: rgba(255,255,255,0.82); }
.section--indigo h2 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 17px; margin-top: 14px; line-height: 1.6; }
.section--indigo .section-head p { color: rgba(255,255,255,0.68); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--indigo-700); }
.btn-ghost {
  background: var(--surface);
  color: var(--indigo-900);
  border: 1.5px solid var(--border-soft);
}
.btn-ghost:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-light:hover { background: rgba(255,255,255,0.22); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand img { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-700);
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { background: var(--blue-100); color: var(--indigo-900); }
.main-nav a.active { background: var(--indigo-900); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary { padding: 12px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--indigo-900); }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions .btn-primary span.long { display: none; }
  .nav-toggle { display: flex; }
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--surface);
  z-index: 89;
  padding: 20px 24px 40px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 16px 6px;
  font-size: 19px;
  font-weight: 800;
  color: var(--indigo-900);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav .btn { margin-top: 24px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 76px 0 100px;
  background: linear-gradient(160deg, var(--blue-100) 0%, var(--surface) 55%);
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(32px, 4.4vw, 52px); }
.hero-copy h1 em { font-style: normal; color: var(--blue-600); }
.hero-copy p.lead { font-size: 18px; color: var(--ink-500); margin: 22px 0 32px; max-width: 520px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badges { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 12px; }
.hero-badge .num { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--indigo-900); }
.hero-badge .label { font-size: 12.5px; color: var(--ink-500); line-height: 1.3; font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 270px;
  z-index: 2;
}
.hero-float-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--indigo-900);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-float-card .icon svg { width: 22px; height: 22px; color: #fff; }
.hero-float-card strong { display: block; font-size: 14px; color: var(--indigo-900); }
.hero-float-card span { font-size: 12px; color: var(--ink-500); }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 26px 0;
  background: var(--surface);
}
.trust-strip ul { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: center; }
.trust-strip li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ink-700); }
.trust-strip svg { width: 20px; height: 20px; color: var(--blue-600); flex-shrink: 0; }

/* ==========================================================================
   Cards
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card .icon svg { width: 26px; height: 26px; color: var(--blue-600); }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; margin: 0; }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .icon { width: 50px; height: 50px; border-radius: 13px; background: var(--indigo-900); display: flex; align-items: center; justify-content: center; }
.service-card .icon svg { width: 25px; height: 25px; color: #fff; }
.service-card h3 { font-size: 18px; }
.service-card p { font-size: 14px; color: var(--ink-500); line-height: 1.6; margin: 0; flex-grow: 1; }
.service-card .link { font-size: 14px; font-weight: 800; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; }
.service-card .link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.service-card:hover .link svg { transform: translateX(4px); }

/* Unit cards */
.unit-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 20px);
  box-shadow: var(--shadow-sm);
}
.unit-card-head {
  background: var(--indigo-900);
  color: #fff;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.unit-card-head h3 { color: #fff; font-size: 21px; }
.unit-rating { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.unit-rating .stars { font-size: 13px; }
.unit-card-body { display: grid; grid-template-columns: 1fr 1fr; }
.unit-info { padding: 28px 30px; display: flex; flex-direction: column; gap: 16px; }
.unit-row { display: flex; gap: 14px; }
.unit-row .icon { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.unit-row .icon svg { width: 18px; height: 18px; color: var(--blue-600); }
.unit-row h5 { font-size: 13.5px; margin: 0 0 3px; color: var(--indigo-900); font-family: var(--font-display); font-weight: 800; }
.unit-row p, .unit-row a { font-size: 14px; color: var(--ink-500); line-height: 1.5; }
.unit-row a:hover { color: var(--blue-600); }
.unit-map { min-height: 260px; }
.unit-map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }
@media (max-width: 780px) { .unit-card-body { grid-template-columns: 1fr; } .unit-map { min-height: 220px; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  background: var(--indigo-900);
  background-image: radial-gradient(circle at 85% 10%, rgba(79,107,239,0.35), transparent 60%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); max-width: 520px; }
.cta-band p { color: rgba(255,255,255,0.72); margin-top: 10px; max-width: 460px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.rating-summary .score { font-family: var(--font-display); font-size: 50px; font-weight: 800; color: var(--indigo-900); }
.rating-summary .score-meta { display: flex; flex-direction: column; gap: 4px; }
.rating-summary .divider { width: 1px; align-self: stretch; background: var(--border-soft); }

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card .stars { font-size: 15px; }
.testimonial-card p { color: var(--ink-700); font-size: 15px; line-height: 1.65; margin: 0; flex-grow: 1; }
.testimonial-card .reply {
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.55;
}
.testimonial-card .reply strong { color: var(--blue-600); display: block; margin-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar-dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--indigo-900);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
.testimonial-author strong { display: block; font-size: 14.5px; color: var(--indigo-900); }
.testimonial-author span { font-size: 12.5px; color: var(--ink-500); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 18px 14px;
  background: linear-gradient(0deg, rgba(23,24,51,0.88), transparent);
  color: #fff;
}
.gallery-item .caption strong { display: block; font-size: 14px; letter-spacing: 0.02em; color: #fff; }
.gallery-item .caption span { font-size: 12.5px; color: var(--sky-400); font-weight: 700; }
.gallery-item.tall { grid-row: span 2; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-item.tall { grid-row: span 1; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page hero
   ========================================================================== */
.page-hero {
  padding: 56px 0 60px;
  background: linear-gradient(160deg, var(--blue-100), var(--surface));
  border-bottom: 1px solid var(--border-soft);
}
.breadcrumb { font-size: 13.5px; color: var(--ink-500); margin-bottom: 16px; font-weight: 700; }
.breadcrumb a:hover { color: var(--blue-600); }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); max-width: 720px; }
.page-hero p { color: var(--ink-500); font-size: 16.5px; margin-top: 16px; max-width: 620px; line-height: 1.6; }

/* ==========================================================================
   About page
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.about-copy p { color: var(--ink-500); font-size: 16px; line-height: 1.75; margin: 0 0 16px; }
.about-copy p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.value-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.value-card .tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; }
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--ink-500); line-height: 1.65; margin: 0; }

.credential-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.credential-card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.credential-card .icon svg { width: 23px; height: 23px; color: var(--blue-600); }
.credential-card h4 { font-size: 15px; margin-bottom: 6px; }
.credential-card p { font-size: 13.5px; color: var(--ink-500); margin: 0; line-height: 1.55; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--indigo-900); color: rgba(255,255,255,0.7); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .brand img { height: 38px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 18px 0 0; max-width: 280px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.footer-social a:hover { background: var(--blue-600); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.site-footer h5 { color: #fff; font-size: 13.5px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul a { font-size: 14px; transition: color 0.2s ease; }
.site-footer ul a:hover { color: var(--sky-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12.5px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #22c35e;
  color: #fff;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(34, 195, 94, 0.6);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.02); }
.whatsapp-float svg { width: 24px; height: 24px; }
@media (max-width: 640px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; }
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-100); color: var(--indigo-900); font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 999px; }

::selection { background: var(--blue-500); color: #fff; }
