/* ============================================================
   G3 Ativos | Design System
   ============================================================ */

:root {
  /* Brand palette: inspired by the metallic silver/gold logo */
  --bg: #0a0b0e;
  --bg-alt: #101216;
  --surface: #15181d;
  --surface-2: #1b1f25;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f4f4f2;
  --text-muted: #a7acb4;
  --text-faint: #6f757e;

  --gold: #d9b567;
  --gold-light: #f0d9a3;
  --gold-dark: #a9803a;
  --gold-gradient: linear-gradient(135deg, #f2d38b 0%, #d9b567 45%, #b3893f 100%);

  --silver: #cdd2d8;
  --silver-dark: #8b929b;

  --success: #58c48a;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 10px 30px rgba(217, 181, 103, 0.25);

  --container: 1200px;
  --container-narrow: 800px;

  --ff-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --ff-body: 'Inter', sans-serif;

  --header-h: 80px;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--ff-heading); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #14110a;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container.narrow { max-width: var(--container-narrow); }

.text-gold { color: var(--gold); }
.muted { color: var(--text-muted); font-weight: 500; }

/* subtle background texture across whole page */
body {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(217, 181, 103, 0.07), transparent 40%),
    radial-gradient(circle at 88% 4%, rgba(140, 150, 255, 0.05), transparent 35%);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color .2s ease;
  border: 1px solid transparent;
}
.btn .icon { width: 18px; height: 18px; fill: currentColor; }
.btn-primary {
  background: var(--gold-gradient);
  color: #1c1608;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(217, 181, 103, 0.35); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-ghost svg { fill: var(--success); }
.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border-color: rgba(217, 181, 103, 0.4);
}
.btn-outline:hover { background: rgba(217, 181, 103, 0.08); border-color: var(--gold); }
.btn-whatsapp {
  background: #1f9e5a;
  color: #fff;
}
.btn-whatsapp svg { fill: #fff; }
.btn-whatsapp:hover { background: #21b366; transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 11, 14, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 11, 14, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-mark { height: 46px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin-inline: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 90;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

/* ============ Sections generic ============ */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-lead { color: var(--text-muted); font-size: 1.05rem; margin-top: 12px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.split-copy, .split-visual { min-width: 0; }
.split-copy p { color: var(--text-muted); margin-top: 16px; font-size: 1.02rem; }
.split-copy h2 { margin-top: 6px; }

.center-cta { text-align: center; margin-top: 48px; }

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

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(217, 181, 103, 0.16) 0%, rgba(217, 181, 103, 0) 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy, .hero-visual { min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.hero-subtitle { font-size: 1.2rem; margin-top: 20px; font-weight: 500; }
.hero-support { color: var(--text-muted); margin-top: 14px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-proof { margin-top: 28px; color: var(--text-faint); font-size: 0.88rem; }
.hero-proof strong { color: var(--gold-light); }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-blob {
  position: absolute;
  width: 380px; height: 380px;
  background: linear-gradient(140deg, rgba(217,181,103,0.25), rgba(140,150,255,0.08));
  filter: blur(50px);
  border-radius: 50%;
  z-index: 0;
}
.hero-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(380px, 100%);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.hero-card-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 0.95rem; }
.hero-card-row strong { font-family: var(--ff-heading); font-size: 1.05rem; }
.hero-divider { height: 1px; background: var(--border); margin: 8px 0; }
.hero-card-row.highlight strong { font-size: 1.3rem; }
.hero-badge {
  margin-top: 20px;
  background: rgba(88, 196, 138, 0.12);
  color: var(--success);
  border: 1px solid rgba(88, 196, 138, 0.3);
  border-radius: 999px;
  padding: 10px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ============ Quick diff ============ */
.quick-diff { padding: 0 0 40px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quick-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.quick-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.quick-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.quick-icon svg { width: 26px; height: 26px; fill: #1c1608; }
.quick-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.quick-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ Pillars (Quem Somos) ============ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.pillar h4 { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 8px; }
.pillar p { color: var(--text-muted); font-size: 0.9rem; }

.stat-stack { display: flex; flex-direction: column; gap: 18px; }
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.stat-box strong { font-family: var(--ff-heading); font-size: 2rem; color: var(--gold-light); }
.stat-box span { color: var(--text-muted); font-size: 0.92rem; }

/* ============ Services ============ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(217,181,103,0.4); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(217, 181, 103, 0.1);
  border: 1px solid rgba(217, 181, 103, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; fill: var(--gold-light); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ Educational (RPV/Precatorio) ============ */
.edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.edu-card h3 { color: var(--gold-light); margin-bottom: 12px; font-size: 1.2rem; }
.edu-card p { color: var(--text-muted); }
.edu-card strong { color: var(--text); }

.compare-title { font-size: 1.3rem; margin-bottom: 20px; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--surface-2); font-family: var(--ff-heading); color: var(--gold-light); }
.compare-table tbody th { color: var(--text); font-weight: 600; background: rgba(255,255,255,0.02); }
.compare-table td { color: var(--text-muted); }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: none; }

.why-anticipate { margin-top: 56px; text-align: center; max-width: 640px; margin-inline: auto; }
.why-anticipate h3 { font-size: 1.4rem; margin-bottom: 24px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; text-align: left; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text-muted);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  background: rgba(88,196,138,0.15);
  color: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ============ Steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #1c1608;
  font-family: var(--ff-heading);
  font-weight: 800;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* ============ Benefits ============ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.benefit {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.benefit svg { width: 34px; height: 34px; fill: var(--gold-light); flex-shrink: 0; }
.benefit h3 { font-size: 1.05rem; margin-bottom: 6px; }
.benefit p { color: var(--text-muted); font-size: 0.92rem; }

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(217,181,103,0.14), rgba(217,181,103,0.03));
  border: 1px solid rgba(217,181,103,0.25);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
}
.banner h3 { font-size: 1.5rem; margin-bottom: 8px; }
.banner p { color: var(--text-muted); max-width: 46ch; }

/* ============ Áreas de atuação ============ */
.city-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.city-tags span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.note-box {
  background: rgba(217,181,103,0.08);
  border: 1px solid rgba(217,181,103,0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.contact-mini p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 6px; }
.contact-mini strong { color: var(--text); }
.contact-mini { margin-bottom: 28px; }

.coverage-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 25% 15%, rgba(217, 181, 103, 0.16), transparent 55%),
    linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  padding: 44px 36px;
  overflow: hidden;
  min-width: 0;
}
.coverage-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 30% 20%, black, transparent 70%);
  pointer-events: none;
}
.coverage-pin {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.coverage-pin svg { width: 30px; height: 30px; fill: #1c1608; }
.coverage-card h3 { font-size: 1.35rem; margin-bottom: 12px; position: relative; }
.coverage-card p { color: var(--text-muted); max-width: 34ch; position: relative; margin-bottom: 32px; }
.coverage-stat-row { display: flex; gap: 32px; position: relative; }
.coverage-stat-row strong { display: block; font-family: var(--ff-heading); font-size: 1.8rem; color: var(--gold-light); }
.coverage-stat-row span { color: var(--text-muted); font-size: 0.85rem; }

/* ============ Depoimentos ============ */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.95rem; }
.testimonial-card blockquote { color: var(--text); font-size: 0.98rem; margin-bottom: 18px; }
.testimonial-card figcaption { color: var(--text-faint); font-size: 0.85rem; font-weight: 600; }
.testimonial-card figcaption span { color: var(--text-faint); font-weight: 400; }
.testimonial-disclaimer { text-align: center; color: var(--text-faint); font-size: 0.8rem; margin-top: 20px; font-style: italic; }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.number-box { text-align: center; }
.number-box strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold-light);
}
.number-box span { color: var(--text-muted); font-size: 0.88rem; }

/* ============ Simulador ============ */
.sim-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.sim-form, .contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.field label span { font-weight: 400; color: var(--text-faint); }
.field input, .field select, .field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 181, 103, 0.18);
}
.field textarea { resize: vertical; }
.form-hint { margin-top: 16px; text-align: center; font-size: 0.9rem; color: var(--success); min-height: 1.2em; }
.form-hint.error { color: #e0725f; }

.sim-alt {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  height: fit-content;
}
.sim-alt h3 { font-size: 1.1rem; margin-bottom: 10px; }
.sim-alt p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; }
.sim-benefits { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.sim-benefits li { color: var(--text-muted); font-size: 0.88rem; padding-left: 22px; position: relative; }
.sim-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* ============ Blog ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  background: rgba(217,181,103,0.1);
  border: 1px solid rgba(217,181,103,0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.blog-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }
.blog-soon { font-size: 0.78rem; color: var(--text-faint); font-style: italic; }

/* ============ FAQ Accordion ============ */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 0.98rem;
}
.accordion-trigger svg {
  width: 18px; height: 18px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.accordion-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.accordion-panel > p {
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; }
.accordion-item.open .accordion-panel > p { padding: 0 24px 22px; }
.accordion-panel { display: grid; }
.accordion-panel > p { min-height: 0; }

/* ============ Contato ============ */
.contact-list { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--text-muted); font-size: 0.95rem; }
.contact-list svg { width: 22px; height: 22px; fill: var(--gold-light); flex-shrink: 0; }
.contact-list a:hover { color: var(--gold-light); }
.contact-list em { font-style: italic; color: var(--text-faint); }

.social-links { display: flex; gap: 16px; }
.social-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.social-links a:hover { color: var(--gold-light); border-color: var(--gold); }

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 34ch; }
.footer-coverage { margin-top: 10px; color: var(--gold-light) !important; font-weight: 600; }
.footer-nav h4, .footer-contact h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 18px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-contact p { margin-bottom: 12px; }
.footer-contact a { color: var(--text-muted); font-size: 0.92rem; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-contact .social-links { margin-top: 16px; }

.footer-legal {
  border-top: 1px solid var(--border);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-legal-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-legal em { font-style: italic; }

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.footer-credit:hover {
  opacity: 0.9;
}
.footer-credit img {
  height: 16px;
  width: auto;
  display: block;
}

/* ============ WhatsApp FAB ============ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1f9e5a;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(31, 158, 90, 0.45);
  z-index: 80;
  transition: transform 0.25s ease;
  animation: fab-pulse 2.6s ease-in-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(31, 158, 90, 0.45); }
  50% { box-shadow: 0 8px 30px rgba(31, 158, 90, 0.7), 0 0 0 8px rgba(31, 158, 90, 0.08); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: min(420px, 100%); margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; }
  .sim-wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonial-track { grid-template-columns: repeat(3, 1fr); }
}

/* Grid-blowout safety net: prevent long content from forcing tracks wider than viewport */
.quick-grid, .pillars, .service-grid, .edu-grid, .benefits-grid, .steps,
.testimonial-track, .numbers-grid, .blog-grid, .form-grid, .sim-wrap, .footer-grid {
  min-width: 0;
}
.quick-grid > *, .pillars > *, .service-grid > *, .edu-grid > *, .benefits-grid > *,
.steps > *, .testimonial-track > *, .numbers-grid > *, .blog-grid > *,
.form-grid > *, .sim-wrap > *, .footer-grid > * {
  min-width: 0;
}

@media (max-width: 900px) {
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--bg); transform: translateX(100%); transition: transform 0.35s ease; z-index: 95; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; padding: 32px 28px 40px; }
  .main-nav ul li { width: 100%; }
  .nav-link { display: block; padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }

  .quick-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .testimonial-track { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .banner { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero { padding: 56px 0 72px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-card { padding: 24px; }
  .sim-form, .contact-form, .sim-alt { padding: 24px; }
  .banner { padding: 28px; }
  .whatsapp-fab { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .footer-legal {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .footer-legal-copy {
    flex-direction: column;
    align-items: center;
  }
  .footer-credit { justify-content: center; }
  .brand-mark { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-fab { animation: none; }
}
