/* =========================================================
   DENTALSERV Clínica Odontológica — Site Demonstrativo
   Desenvolvido por AN Automação Digital
   ========================================================= */

:root {
  --primary: #114B5F;
  --primary-dark: #0B3444;
  --primary-light: #1F7A8C;
  --accent: #1A936F;
  --accent-dark: #12744F;
  --ink: #16211f;
  --muted: #5b6a67;
  --bg: #ffffff;
  --bg-soft: #EEF5F3;
  --border: rgba(22, 33, 31, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(16, 24, 22, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 24, 22, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 24, 22, 0.16);
  --font-heading: 'Outfit', serif;
  --font-body: 'Inter', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: color-mix(in srgb, var(--primary) 12%, white);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); }
.section-head p { font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: inherit;
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { opacity: 1; color: var(--primary-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 12px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle::before { position: absolute; transform: translateY(-7px); }
.nav-toggle::after { position: absolute; transform: translateY(7px); }
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::before { transform: rotate(45deg); }
.nav-toggle.is-open::after { transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 168px 0 110px;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 62%, var(--primary-light) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 12% 18%, rgba(255,255,255,0.14), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(255,255,255,0.10), transparent 45%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--accent); }
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero .lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-meta div { display: flex; align-items: center; gap: 10px; }
.hero-meta svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.hero-meta span { font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.92); }

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(6px);
}
.hero-rating {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.hero-rating .num { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: #fff; }
.stars { display: flex; gap: 4px; margin: 10px 0 4px; }
.stars svg { width: 20px; height: 20px; color: var(--accent); }
.hero-card .reviews-count { font-size: 0.92rem; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.hero-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.2); margin: 24px 0; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hero-stats .stat-num { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #fff; }
.hero-stats .stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.75); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 10%, white);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { font-size: 0.95rem; margin-bottom: 0; }

/* Why us */
.why-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--primary-dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h4 { font-size: 1.04rem; margin-bottom: 4px; }
.why-item p { font-size: 0.94rem; margin: 0; }

.why-visual {
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 46px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.why-visual::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  right: -80px; bottom: -80px;
}
.why-visual .big-quote { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.4; position: relative; z-index: 1; }
.why-visual .quote-source { font-size: 0.85rem; color: rgba(255,255,255,0.75); position: relative; z-index: 1; }

/* Reviews */
.reviews-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-md);
  align-items: center;
}
.reviews-score { text-align: center; border-right: 1px solid var(--border); padding-right: 50px; }
.reviews-score .num { font-family: var(--font-heading); font-size: 4rem; font-weight: 700; color: var(--primary-dark); }
.reviews-score .stars { justify-content: center; }
.reviews-score .stars svg { color: var(--accent); }
.reviews-score p { font-size: 0.9rem; margin-top: 8px; }
.review-highlights { display: flex; flex-direction: column; gap: 18px; }
.review-highlight { display: flex; gap: 14px; align-items: flex-start; }
.review-highlight svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.review-highlight p { margin: 0; font-size: 0.98rem; color: var(--ink); }

/* Location */
.location-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}
.location-info {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 42px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-of-type { border-bottom: none; }
.contact-row .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.contact-row .ico svg { width: 20px; height: 20px; }
.contact-row .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 2px; }
.contact-row .value { font-weight: 600; color: var(--ink); }
.location-cta { margin-top: 28px; }
.map-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-height: 380px;
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 46px;
  position: relative;
  overflow: hidden;
}
.map-card::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  left: -100px; top: -100px;
}
.map-pin {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.map-pin svg { width: 30px; height: 30px; }
.map-card h3 { color: #fff; margin-bottom: 2px; position: relative; z-index: 1; }
.map-card p { color: rgba(255,255,255,0.82); margin-bottom: 22px; position: relative; z-index: 1; }
.map-card .btn { position: relative; z-index: 1; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--accent); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 26px;
  margin-top: 80px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { box-shadow: none; }
.footer-brand strong { color: #fff; font-family: var(--font-heading); font-size: 1.05rem; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.84rem;
}
.footer-bottom a { color: rgba(255,255,255,0.8); font-weight: 600; }
.footer-bottom a:hover { color: var(--accent); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  z-index: 90;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; color: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.28), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 10px 30px rgba(0,0,0,0.28), 0 0 0 12px rgba(37,211,102,0); }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-wrap { grid-template-columns: 1fr; }
  .why-visual { order: -1; }
  .location-wrap { grid-template-columns: 1fr; }
  .reviews-panel { grid-template-columns: 1fr; padding: 36px; }
  .reviews-score { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 30px; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .brand small { display: none; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-mark svg { width: 18px; height: 18px; }
  .header-cta .btn-primary span { display: none; }
  .header-cta .btn-primary { padding: 11px; }
  .site-header .container { height: 72px; }
  .hero { padding-top: 108px; }
  .section { padding: 68px 0; }
  .hero { padding: 128px 0 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; margin: 0 16px; }
  .site-header.is-open .main-nav {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-meta { flex-direction: column; gap: 14px; }
  .footer-grid, .footer-bottom { flex-direction: column; align-items: flex-start; }
}
