/* ============================================================
   MAZUTTI CLÍNICA MÉDICA — style.css
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #0EA5E9;
  --blue-light: #38BDF8;
  --blue-dark:  #0369A1;
  --blue-bg:    #EFF8FF;
  --white:      #FFFFFF;
  --bg:         #FFFFFF;
  --bg-alt:     #F1F5F9;
  --title:      #0F172A;
  --text:       #475569;
  --muted:      #94A3B8;
  --green-wa:   #25D366;
  --green-wa-h: #1ebe5d;
  --radius:     14px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(14,165,233,.10);
  --shadow-lg:  0 8px 40px rgba(14,165,233,.18);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --font:       'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTION ---------- */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--title);
  line-height: 1.18;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.7;
}

.section-tag {
  display: inline-block;
  background: var(--blue-bg);
  color: var(--blue);
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.highlight { color: var(--blue); }

/* ---------- AVAILABILITY BADGE ---------- */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #16A34A;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.avail-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14,165,233,.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,.25);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 18px 36px;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay { transition-delay: .2s; }

/* ============================================================
   CARD ICON SYSTEM
   ============================================================ */
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition);
}

.card-icon--red { background: #FEF2F2; }
.card-icon--red svg { stroke: #EF4444; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14,165,233,.08);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(14,165,233,.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; }
.logo-text {
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--title);
}
.logo-icon { color: var(--blue); font-size: 1.3rem; }
.logo-sub { color: var(--muted); font-weight: 500; font-size: .85rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-family: var(--font);
  font-weight: 600;
  font-size: .9rem;
  color: var(--title);
  transition: color var(--transition);
}
.nav a:hover { color: var(--blue); }
.nav-cta { padding: 10px 22px !important; font-size: .88rem !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--title);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO — SLIDESHOW DE FUNDO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  overflow: hidden;
}

/* ---------- Slideshow ---------- */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}

/* Estado ativo — slide visível */
.hero-slide.active {
  opacity: 1;
}

/* Slides desktop — imagens hero1 a hero4 */
.hero-slide--1 { background-image: url('imagens/hero1.png'); }
.hero-slide--2 { background-image: url('imagens/hero2.png'); }
.hero-slide--3 { background-image: url('imagens/hero3.png'); }
.hero-slide--4 { background-image: url('imagens/hero4.png'); }

/* Overlay duplo: escurece a foto e adiciona tom azulado para manter legibilidade */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      155deg,
      rgba(3, 30, 60, 0.72) 0%,
      rgba(7, 89, 133, 0.58) 50%,
      rgba(3, 30, 60, 0.65) 100%
    );
  z-index: 1;
}

/* ---------- Indicadores (dots) ---------- */
.hero-slide-dots {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}

.hero-dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255,255,255,.5);
}

.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,.4);
  border-color: rgba(255,255,255,.9);
}

/* ---------- Conteúdo hero (z-index acima do overlay) ---------- */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-size: .82rem;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.badge-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

/* Textos do hero ficam brancos sobre o fundo escuro */
.hero-title {
  font-family: var(--font);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-title-sub {
  font-size: clamp(2rem, 4vw, 3rem);
  display: block;
  margin-top: 6px;
}
.hero-title em {
  font-style: normal;
  color: #7dd3fc;
}
.hero-title .highlight {
  color: #7dd3fc;
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255,255,255,.90);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}

.hero-actions { margin-bottom: 24px; }

.hero-support {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: .82rem;
  color: rgba(255,255,255,.80);
  font-family: var(--font);
  font-weight: 600;
}
.hero-support span { display: flex; align-items: center; gap: 4px; }

/* Hero Visual (card flutuante) */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-card-main {
  position: relative;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  overflow: visible;
  width: 340px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-img {
  width: 100%; height: 100%;
  min-height: 340px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-doctor-placeholder { width: 200px; height: 260px; }

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
  border-radius: var(--radius-lg);
  filter: brightness(1.1);
}

.hero-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.badge-float-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-float-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-badge-float strong {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: .9rem;
  color: var(--title);
}
.hero-badge-float span {
  display: block;
  font-size: .78rem;
  color: var(--muted);
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(14,165,233,.1);
  padding: 28px 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,.08);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(14,165,233,.18);
}
.stat-stars { color: #F59E0B; font-size: 1rem; }
.stat-num {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blue);
}
.stat-label {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 500;
}
.stat-address {
  text-align: center;
  margin-top: 12px;
  font-size: .82rem;
  color: var(--muted);
}

/* ============================================================
   PROBLEMAS
   ============================================================ */
.problems { background: var(--bg); }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--white);
  border: 1px solid #FEE2E2;
  border-left: 4px solid #EF4444;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(239,68,68,.06);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(239,68,68,.1);
}
.problem-card .card-icon { margin-bottom: 14px; }
.problem-card h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--title);
  margin-bottom: 10px;
}
.problem-card p { font-size: .9rem; color: var(--text); line-height: 1.65; }

/* ============================================================
   POR QUE A MAZUTTI
   ============================================================ */
.why-mazutti {
  background: linear-gradient(155deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}

.why-mazutti .solution-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.why-mazutti .solution-blob {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(14,165,233,.12), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: var(--white);
  border: 1px solid rgba(14,165,233,.12);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-card .card-icon { margin-bottom: 14px; }
.why-card:hover .card-icon { background: var(--blue); }
.why-card:hover .card-icon svg { stroke: #fff; }

.why-card h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: .97rem;
  color: var(--title);
  margin-bottom: 10px;
  line-height: 1.3;
}
.why-card p { font-size: .87rem; color: var(--text); line-height: 1.65; }

.why-mazutti .solution-highlight {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.solution-highlight-inner {
  background: var(--white);
  border: 1.5px solid rgba(14,165,233,.25);
  border-radius: var(--radius);
  padding: 24px 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 700px;
  box-shadow: var(--shadow);
}

.solution-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.solution-highlight-icon svg {
  width: 28px; height: 28px;
  stroke: var(--blue);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-highlight-inner p {
  font-family: var(--font);
  font-weight: 600;
  color: var(--blue-dark);
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================================
   ESPECIALIDADES
   ============================================================ */
.specialties { background: var(--bg-alt); }

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.specialties-extra { display: none; margin-top: 20px; }
.specialties-extra.open { display: grid; }

.specialties-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.specialties-toggle-btn {
  gap: 8px;
  font-size: .95rem;
  padding: 13px 28px;
}
.specialties-toggle-btn svg { transition: transform var(--transition); }

.specialty-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid rgba(14,165,233,.1);
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: default;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--card-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 0;
}
.specialty-card:hover::before { opacity: 0.17; }
.specialty-card > * { position: relative; z-index: 1; }

.specialty-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #fff, #f0f9ff);
}

.specialty-card .card-icon { margin-bottom: 12px; }
.specialty-card:hover .card-icon { background: var(--blue); }
.specialty-card:hover .card-icon svg { stroke: #fff; }

.specialty-card h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: .98rem;
  color: var(--title);
  margin-bottom: 8px;
}
.specialty-card p { font-size: .86rem; color: var(--text); line-height: 1.6; flex: 1; }

/* ============================================================
   WHATSAPP CTA — CARDS DE ESPECIALIDADE
   ============================================================ */
.specialty-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(14,165,233,.1);
  width: 100%;
  color: var(--muted);
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: color var(--transition);
  cursor: pointer;
}
.specialty-wa svg { flex-shrink: 0; transition: transform var(--transition); }
.specialty-card:hover .specialty-wa { color: #16a34a; }
.specialty-card:hover .specialty-wa svg { transform: scale(1.2); }

/* ============================================================
   PROVA SOCIAL
   ============================================================ */
.social-proof { background: var(--bg); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14,165,233,.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-big {
  font-family: var(--font);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.stat-card span:last-child { font-size: .9rem; color: var(--text); font-weight: 500; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14,165,233,.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; }
.testimonial-card p { font-size: .98rem; color: var(--text); line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--bg-alt);
  padding-top: 16px;
}
.testimonial-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--title); font-family: var(--font); font-weight: 700; font-size: .92rem; }
.testimonial-author span { display: block; font-size: .8rem; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-alt); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(14,165,233,.1);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--title);
  text-align: left;
  transition: var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-question[aria-expanded="true"] { color: var(--blue); border-bottom: 1px solid rgba(14,165,233,.1); }

.faq-icon {
  width: 32px; height: 32px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  padding: 0 24px;
}
.faq-answer.open { max-height: 300px; padding: 16px 24px 22px; }
.faq-answer p { font-size: .95rem; color: var(--text); line-height: 1.7; }

/* ============================================================
   LOCALIZAÇÃO
   ============================================================ */
.location { background: var(--bg); }

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.location-info h2 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--title);
  margin-bottom: 16px;
  line-height: 1.2;
}
.location-info > p { font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 32px; }

.location-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

.location-detail { display: flex; align-items: flex-start; gap: 14px; }
.location-detail-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.location-detail strong { display: block; font-family: var(--font); font-weight: 700; color: var(--title); font-size: .92rem; margin-bottom: 2px; }
.location-detail span, .location-detail a { font-size: .9rem; color: var(--text); }
.location-detail a { color: var(--blue); }
.location-detail a:hover { text-decoration: underline; }

.location-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(14,165,233,.12);
}
.location-map iframe { width: 100%; height: 100%; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.cta-final-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .3; }
.cta-blob-1 { width: 500px; height: 500px; background: #fff; top: -150px; left: -100px; }
.cta-blob-2 { width: 400px; height: 400px; background: #7dd3fc; bottom: -100px; right: -80px; }

.cta-final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-final-inner h2 { font-family: var(--font); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.cta-final-inner h2 span { color: #BAE6FD; }
.cta-final-inner > p { font-size: 1.2rem; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.cta-final-inner strong { color: var(--white); }
.cta-desc { font-size: .98rem; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 12px; }
.cta-final-inner .btn { margin-top: 16px; }
.cta-urgency { margin-top: 18px; font-size: .88rem; color: rgba(255,255,255,.75); font-family: var(--font); font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--title); padding: 72px 0 0; color: var(--muted); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-brand { max-width: 320px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-logo-text { font-family: var(--font); font-weight: 800; font-size: 1.2rem; color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.footer-col h4 { font-family: var(--font); font-weight: 700; color: var(--white); margin-bottom: 20px; font-size: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.footer-col a { color: var(--muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--blue-light); }

.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: .82rem; color: rgba(148,163,184,.5); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--green-wa);
  color: var(--white);
  border-radius: 100px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: var(--transition);
  animation: floatBounce 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: var(--green-wa-h);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}

@keyframes floatBounce {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,.45); }
  50% { box-shadow: 0 8px 36px rgba(37,211,102,.65); }
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-content { text-align: center; }
  .hero-badge { margin: 0 auto 20px; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-support { justify-content: center; }
  .hero-card-main { width: 280px; min-height: 300px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .location-inner { grid-template-columns: 1fr; }
  .location-map { height: 320px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .hero-visual { display: none; }

  .hero-slide-dots { bottom: 90px; }

  /* ---------- Slides mobile — troca para imagens verticais ---------- */
  .hero-slide--1 { background-image: url('imagens/mobile1.jpg'); background-position: center top; }
  .hero-slide--2 { background-image: url('imagens/mobile2.jpg'); background-position: center top; }
  .hero-slide--3 { background-image: url('imagens/mobile3.jpg'); background-position: center top; }
  .hero-slide--4 { background-image: url('imagens/mobile4.jpg'); background-position: center top; }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(14,165,233,.1);
    box-shadow: 0 8px 24px rgba(14,165,233,.1);
    gap: 16px;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: flex; }

  .stats-row { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .stat-item { justify-content: center; }

  .problems-grid,
  .specialties-grid,
  .why-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { max-width: 100%; }

  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 16px; border-radius: 50%; }

  .location-btns { flex-direction: column; }
  .btn-lg { font-size: .95rem; padding: 16px 24px; }

  .solution-highlight-inner { flex-direction: column; text-align: center; }

  .specialties-toggle-btn { font-size: .88rem; padding: 12px 20px; }

  .specialty-wa { color: #16a34a; }
  .specialty-wa svg { color: #16a34a; }

  .specialty-card .card-icon,
  .why-card .card-icon { background: var(--blue-bg); }
  .specialty-card .card-icon svg,
  .why-card .card-icon svg { stroke: var(--blue); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-title-sub { font-size: 1.8rem; }
  .specialties-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .hero-slide-dots { bottom: 80px; gap: 8px; }
  .hero-dot { width: 8px; height: 8px; }
}