/* ==========================================================================
   Odonto Andrades — Design System
   Identidade preservada: logo (perfil de rosto em azul + wordmark
   "ODONTO ANDRADES"), paleta azul, com um acento de emergência (âmbar)
   para reforçar o diferencial real da clínica: atendimento 24 horas.
   Sem fotos de estoque apresentadas como reais — direção visual apoiada
   em iconografia e composição, não fotografia.
   ========================================================================== */

:root {
  --navy-900: #12294f;
  --blue-700: #1c4f9c;
  --blue-600: #2b6cd4;
  --blue-500: #3a8bf0;
  --sky-400: #29abe2;
  --blue-100: #e8f2fe;

  --amber-600: #e2680f;
  --amber-500: #f0842e;
  --amber-100: #fdece0;

  --ink-900: #14213a;
  --ink-700: #3a4560;
  --ink-500: #6b7490;
  --ink-300: #a3aac2;

  --surface: #ffffff;
  --surface-soft: #f4f8fd;
  --border-soft: #e1e8f5;

  --shadow-sm: 0 1px 3px rgba(18, 41, 79, 0.07);
  --shadow-md: 0 14px 32px -14px rgba(18, 41, 79, 0.3);
  --shadow-lg: 0 30px 64px -20px rgba(18, 41, 79, 0.35);

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

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

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

* { 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(--navy-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(--amber-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber-500);
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--surface-soft); }
.section--navy { background: var(--navy-900); color: rgba(255,255,255,0.82); }
.section--navy 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--navy .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: 16px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-urgent {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(226, 104, 15, 0.55);
}
.btn-urgent:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: var(--surface);
  color: var(--navy-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
   ========================================================================== */
.top-bar {
  background: var(--navy-900);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.02em;
}
.top-bar strong { color: var(--amber-500); }

.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: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  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(--navy-900); }
.main-nav a.active { background: var(--navy-900); color: #fff; }

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

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  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(--navy-900); }

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

.mobile-nav {
  position: fixed;
  inset: calc(var(--header-h) + 34px) 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: 20px;
  font-weight: 800;
  color: var(--navy-900);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav .btn { margin-top: 24px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background: radial-gradient(120% 140% at 100% 0%, var(--blue-100) 0%, var(--surface) 50%);
  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(--amber-600); }
.hero-copy p.lead { font-size: 18px; color: var(--ink-500); margin: 22px 0 32px; max-width: 500px; 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(--navy-900); }
.hero-badge .label { font-size: 12.5px; color: var(--ink-500); line-height: 1.3; font-weight: 600; }
.stars { color: var(--amber-500); letter-spacing: 2px; font-size: 14px; }

.hero-panel {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(240,132,46,0.28), transparent 60%);
}
.hero-panel .badge-24 {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(240,132,46,0.16); border: 1px solid rgba(240,132,46,0.4);
  color: var(--amber-500); font-weight: 800; font-size: 13px;
  padding: 10px 18px; border-radius: 999px; margin-bottom: 24px;
  position: relative; z-index: 1;
}
.hero-panel h3 { color: #fff; font-size: 24px; margin-bottom: 14px; position: relative; z-index: 1; }
.hero-panel p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.65; margin: 0 0 28px; position: relative; z-index: 1; }
.hero-panel .clock {
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.hero-panel .clock svg { width: 44px; height: 44px; color: var(--amber-500); }

/* ==========================================================================
   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-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 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: 54px; height: 54px; border-radius: 14px;
  background: var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card .icon svg { width: 27px; height: 27px; color: var(--blue-600); }
.feature-card.urgent .icon { background: var(--amber-100); }
.feature-card.urgent .icon svg { color: var(--amber-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) + 54px);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .icon { width: 50px; height: 50px; border-radius: 13px; background: var(--navy-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); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  background: var(--navy-900);
  background-image: radial-gradient(circle at 85% 10%, rgba(240,132,46,0.28), 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; }

.cta-urgent {
  background: linear-gradient(120deg, var(--amber-600), var(--amber-500));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-urgent h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.cta-urgent p { color: rgba(255,255,255,0.85); margin-top: 8px; }

/* ==========================================================================
   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(--navy-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-author { display: flex; align-items: center; gap: 12px; }
.avatar-dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-500); font-weight: 800; font-size: 14px;
}
.testimonial-author strong { display: block; font-size: 14.5px; color: var(--navy-900); }
.testimonial-author span { font-size: 12.5px; color: var(--ink-500); }

/* ==========================================================================
   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.85fr 1.15fr; gap: 56px; align-items: center; }
.about-copy p { color: var(--ink-500); font-size: 16px; line-height: 1.8; margin: 0 0 18px; }
.about-copy p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.doctor-card {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  color: #fff;
  text-align: center;
}
.doctor-card .avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.doctor-card .avatar svg { width: 46px; height: 46px; color: var(--amber-500); }
.doctor-card h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.doctor-card span { display: block; color: var(--sky-400); font-size: 13.5px; font-weight: 700; margin-bottom: 18px; }
.doctor-card p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; 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; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-soft); }
.contact-row:last-child { border-bottom: none; }
.contact-row .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .icon svg { width: 22px; height: 22px; color: var(--blue-600); }
.contact-row h4 { font-size: 15px; margin-bottom: 4px; }
.contact-row p, .contact-row a { font-size: 14.5px; color: var(--ink-500); line-height: 1.55; }
.contact-row a:hover { color: var(--blue-600); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border-soft); height: 100%; min-height: 420px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.65); 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.1); }
.footer-brand .brand img { height: 34px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 20px 0 0; max-width: 280px; color: rgba(255,255,255,0.55); }
.site-footer h5 { color: var(--amber-500); 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; }
.whatsapp-float .pulse {
  position: absolute; inset: 0; border-radius: 999px;
  border: 2px solid #22c35e; opacity: 0.6;
  animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float .pulse { animation: none; } }
@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); }

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