/* ============================================================
   RG Consultoria Industrial Digital
   ============================================================ */
:root {
  --bg: oklch(0.16 0.01 60);
  --bg-2: oklch(0.20 0.012 60);
  --fg: oklch(0.97 0.005 80);
  --fg-muted: oklch(0.68 0.012 70);
  --card: oklch(0.22 0.014 60);
  --card-2: oklch(0.26 0.016 60);
  --border: oklch(1 0 0 / 0.10);
  --border-strong: oklch(1 0 0 / 0.18);

  --primary: oklch(0.78 0.19 55);       /* âmbar solda */
  --primary-2: oklch(0.68 0.22 40);     /* laranja quente */
  --primary-fg: oklch(0.14 0.02 60);

  --accent: oklch(0.72 0.19 30);
  --success: oklch(0.72 0.18 145);

  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  transition: all 0.18s;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-fg);
  box-shadow: 0 12px 32px -14px oklch(0.78 0.19 55 / 0.75);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px oklch(0.78 0.19 55 / 0.9);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--card);
  border-color: var(--primary);
}

.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   Navbar
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid;
  place-items: center;
  color: var(--primary-fg);
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px -10px oklch(0.78 0.19 55 / 0.8);
}

.brand-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a { color: var(--fg-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }

.nav-cta {
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  background: var(--primary);
  color: var(--primary-fg) !important;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  color: var(--fg);
  cursor: pointer;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 7rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 50% at 20% 10%, oklch(0.78 0.19 55 / 0.16), transparent 70%),
    radial-gradient(45% 45% at 85% 30%, oklch(0.68 0.22 40 / 0.14), transparent 70%),
    radial-gradient(40% 40% at 50% 100%, oklch(0.72 0.19 30 / 0.08), transparent 70%);
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--card) 80%, transparent);
  border: 1px solid var(--border-strong);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px oklch(0.72 0.18 145 / 0.20);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px oklch(0.72 0.18 145 / 0.20); }
  50%      { box-shadow: 0 0 0 8px oklch(0.72 0.18 145 / 0); }
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 900;
  max-width: 15ch;
  margin-bottom: 1.75rem;
}

h1 .grad {
  background: linear-gradient(100deg, var(--primary), var(--primary-2) 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--fg-muted);
  max-width: 58ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ============================================================
   Sections
   ============================================================ */
section { padding: 6rem 0; }
section.alt { background: var(--bg-2); }

.section-head {
  max-width: 680px;
  margin-bottom: 3.5rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--primary);
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--fg-muted);
  font-size: 1.05rem;
}

/* ============================================================
   Planos
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.plan.featured {
  background: linear-gradient(180deg, color-mix(in oklab, var(--card-2) 90%, var(--primary) 10%), var(--card));
  border: 1.5px solid var(--primary);
  box-shadow: 0 30px 60px -30px oklch(0.78 0.19 55 / 0.5);
  transform: scale(1.02);
}
.plan.featured:hover { transform: scale(1.02) translateY(-4px); }

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-fg);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0;
}
.plan-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}

.plan-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--fg);
}
.plan-feats li::before {
  content: "+";
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--primary) 20%, transparent);
  color: var(--primary);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  margin-top: 1px;
}

/* ============================================================
   Serviços
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.service:hover { transform: translateY(-4px); border-color: var(--primary); }

.service-num {
  font-size: 0.85rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.service h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  flex: 1;
}

.service-metric {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--success);
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================================
   Fundador
   ============================================================ */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.founder-img {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background:
    linear-gradient(135deg, oklch(0.30 0.05 55), oklch(0.20 0.03 40)),
    repeating-linear-gradient(45deg, oklch(0.30 0.05 55 / 0.5) 0 10px, oklch(0.25 0.04 40 / 0.5) 10px 20px);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.founder-img::after {
  content: "Foto do fundador";
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.5;
}

.founder h2 { margin-bottom: 1.25rem; }

.founder p {
  color: var(--fg-muted);
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

.founder-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.founder-stat-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.founder-stat-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* ============================================================
   Prova social
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--fg);
  position: relative;
  padding-left: 1.5rem;
}
.testimonial-quote::before {
  content: "C";
  position: absolute;
  left: 0; top: -0.4rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.avatar-sm {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary-fg);
  flex-shrink: 0;
}

.testimonial-author strong { font-size: 0.95rem; font-weight: 700; display: block; }
.testimonial-author span { font-size: 0.82rem; color: var(--fg-muted); }

/* ============================================================
   Formulário / Diagnóstico
   ============================================================ */
.contact-wrap {
  background:
    radial-gradient(60% 90% at 50% 0%, oklch(0.78 0.19 55 / 0.14), transparent 70%),
    var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 3.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.contact-wrap h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.contact-wrap > p {
  text-align: center;
  color: var(--fg-muted);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}

form {
  display: grid;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.field input,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--fg);
  font-size: 0.94rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.78 0.19 55 / 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: 10px;
  background: color-mix(in oklab, var(--success) 15%, transparent);
  border: 1px solid var(--success);
  color: var(--success);
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  background: var(--bg-2);
}

  .nav-links.open .nav-cta { margin-top: 0.85rem; text-align: center; }

  .hero { padding: 4rem 0 3.5rem; }
  section { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.fade-up { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Ajustes: founder e avatares agora são <img> */
img.founder-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  display: block;
}

img.avatar-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.6);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.3s;
  animation: waPulse 2.4s infinite;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px -6px rgba(37, 211, 102, 0.7);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--fg);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.wa-float-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--fg);
}
.wa-float:hover .wa-float-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50%      { box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.5), 0 0 0 12px rgba(37, 211, 102, 0); }
}

@media (max-width: 720px) {
  .wa-float { width: 54px; height: 54px; bottom: 1.25rem; right: 1.25rem; }
  .wa-float-tooltip { display: none; }
}

/* Scroll reveal */
.section-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .section-hidden { opacity: 1; transform: none; transition: none; }
}

/* Botão voltar ao topo */
.to-top {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 998;
  box-shadow: 0 8px 24px -8px oklch(0.78 0.19 55 / 0.7);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

@media (max-width: 720px) {
  .to-top { width: 40px; height: 40px; bottom: 1.25rem; left: 1.25rem; }
}

/* ============================================================
   Cases
   ============================================================ */
.case-destaque {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  align-items: center;
  box-shadow: 0 30px 60px -30px oklch(0.78 0.19 55 / 0.2);
}

.case-imagem {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 4/3;
  background: var(--muted);
}

.case-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.case-conteudo { display: flex; flex-direction: column; gap: 1.25rem; }

.case-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 15%, transparent);
  font-family: 'JetBrains Mono', monospace;
}

.case-conteudo h3 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.case-citacao {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  border-left: 3px solid var(--primary);
  font-style: italic;
}

.case-cliente {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-fg);
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.case-cliente strong { font-size: 0.95rem; font-weight: 700; display: block; }
.case-cliente span { font-size: 0.82rem; color: var(--fg-muted); }

.case-features { display: grid; gap: 0.6rem; }

.case-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--fg);
}

.case-feature svg { flex-shrink: 0; color: var(--success); margin-top: 4px; }

@media (max-width: 900px) {
  .case-destaque { grid-template-columns: 1fr; gap: 2rem; padding: 1.75rem; }
  .case-conteudo h3 { font-size: 1.5rem; }
}

/* ============================================================
   Cases
   ============================================================ */
.case-destaque {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  align-items: center;
  box-shadow: 0 30px 60px -30px oklch(0.78 0.19 55 / 0.2);
}

.case-imagem {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 4/3;
  background: var(--muted);
}

.case-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.case-conteudo { display: flex; flex-direction: column; gap: 1.25rem; }

.case-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 15%, transparent);
  font-family: 'JetBrains Mono', monospace;
}

.case-conteudo h3 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.case-citacao {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  border-left: 3px solid var(--primary);
  font-style: italic;
}

.case-cliente {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-fg);
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.case-cliente strong { font-size: 0.95rem; font-weight: 700; display: block; }
.case-cliente span { font-size: 0.82rem; color: var(--fg-muted); }

.case-features { display: grid; gap: 0.6rem; }

.case-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--fg);
}

.case-feature svg { flex-shrink: 0; color: var(--success); margin-top: 4px; }

@media (max-width: 900px) {
  .case-destaque { grid-template-columns: 1fr; gap: 2rem; padding: 1.75rem; }
  .case-conteudo h3 { font-size: 1.5rem; }
}

/* ============================================================
   Diferenciais — cards com cor, ícone e micro-animações
   ============================================================ */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.diferencial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s,
              box-shadow 0.3s;
}

/* Borda superior colorida por card */
.diferencial-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent);
  opacity: 0.6;
  transition: opacity 0.3s, height 0.3s;
}

/* Glow de fundo que aparece no hover */
.diferencial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, color-mix(in oklab, var(--card-accent) 20%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.diferencial-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in oklab, var(--card-accent) 50%, var(--border));
  box-shadow: 0 24px 48px -24px color-mix(in oklab, var(--card-accent) 40%, transparent);
}

.diferencial-card:hover::before {
  opacity: 1;
  height: 4px;
}

.diferencial-card:hover::after {
  opacity: 1;
}

/* Ícone */
.diferencial-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--card-accent) 15%, transparent);
  border: 1px solid color-mix(in oklab, var(--card-accent) 30%, transparent);
  color: var(--card-accent);
  display: grid;
  place-items: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

.diferencial-card:hover .diferencial-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* Número / palavra-chave */
.diferencial-num {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--card-accent);
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}

.diferencial-card:hover .diferencial-num {
  transform: translateX(3px);
}

/* Texto */
.diferencial-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--fg-muted);
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Rodapé do card */
.diferencial-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.diferencial-footer strong {
  font-size: 0.88rem;
  font-weight: 700;
  display: block;
  color: var(--fg);
}

.diferencial-footer span {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* Animação de entrada em cascata */
.diferencial-card {
  opacity: 0;
  transform: translateY(20px);
  animation: cardEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.diferencial-card:nth-child(1) { animation-delay: 0.05s; }
.diferencial-card:nth-child(2) { animation-delay: 0.15s; }
.diferencial-card:nth-child(3) { animation-delay: 0.25s; }
.diferencial-card:nth-child(4) { animation-delay: 0.35s; }

@keyframes cardEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .diferencial-card {
    padding: 1.5rem 1.25rem;
  }
  .diferencial-icon {
    width: 44px;
    height: 44px;
  }
  .diferencial-num {
    font-size: 1.35rem;
  }
}

/* ============================================================
   Citação destacada do fundador (manifesto)
   ============================================================ */
.founder-quote {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  font-size: 1.15rem;
  line-height: 1.55;
  font-style: italic;
  font-weight: 500;
  color: var(--fg);
  border-left: 3px solid var(--primary);
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--primary) 8%, transparent),
    transparent 85%);
  border-radius: 0 12px 12px 0;
  transition: border-color 0.3s, background 0.3s;
}

.founder-quote::before {
  content: none !important;
  display: none !important;
}

.founder-quote:hover {
  border-left-color: var(--accent);
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--accent) 10%, transparent),
    transparent 85%);
}

@media (max-width: 720px) {
  .founder-quote {
    font-size: 1.02rem;
    padding: 1.25rem 1.25rem 1.25rem 2rem;
    margin: 1.5rem 0;
  }
  .founder-quote::before {
  content: none !important;
  display: none !important;
}
}

/* Fundador: stats em 3 colunas quando há 3 números */
.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .founder-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .founder-stat-num {
    font-size: 1.5rem;
  }
  .founder-stat-label {
    font-size: 0.72rem;
  }
}

/* ============================================================
   Hero em 2 colunas (conteúdo + foto)
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

/* Coluna da imagem */
.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image picture,
.hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow:
    0 30px 60px -20px oklch(0 0 0 / 0.6),
    0 0 0 1px oklch(1 0 0 / 0.08);
  filter: saturate(0.95) contrast(1.05);
  position: relative;
  z-index: 2;
  animation: floatImage 7s ease-in-out infinite;
}

/* Glow âmbar atrás da imagem */
.hero-image-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, oklch(0.78 0.19 55 / 0.25), transparent 65%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image img {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
  .hero-image {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }
  .hero-image img {
    max-width: 340px;
  }
}

/* Ajuste: hero com mais respiro */
.hero-grid {
  gap: 5rem !important;
  padding: 0 1rem;
}

.hero-image img {
  max-width: 480px !important;
}

/* ============================================================
   Ajustes finos da citação do fundador
   ============================================================ */

/* Citação: mais respiro nas bordas */
.founder-quote {
  padding: 1.75rem 1.75rem 1.5rem 3rem !important;
  margin: 2rem 0 !important;
}

/* Aspas decorativas melhor posicionadas */
.founder-quote::before {
  content: none !important;
  display: none !important;
}

/* Assinatura da citação */
.founder-quote cite {
  display: block;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Palavras-chave em destaque */
.founder p strong {
  color: var(--primary);
  font-weight: 700;
}

/* Stats com hover sutil */
.founder-stats > div {
  transition: transform 0.2s;
}
.founder-stats > div:hover {
  transform: translateY(-3px);
}

@media (max-width: 720px) {
  .founder-quote {
    padding: 1.25rem 1rem 1rem 2.25rem !important;
  }
  .founder-quote::before {
  content: none !important;
  display: none !important;
}
}

/* Remove as aspas decorativas (o "C" gigante) */
.founder-quote::before {
  content: none !important;
  display: none !important;
}

/* Compensa o padding esquerdo que era pro "C" */
.founder-quote {
  padding-left: 1.5rem !important;
}

/* Assinatura mais elegante */
.founder-quote cite {
  display: block;
  margin-top: 0.75rem;
  border-top: none !important;
  padding-top: 0 !important;
  text-align: right;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ============================================================
   LGPD — Checkbox de consentimento
   ============================================================ */
.lgpd-consent {
  margin: 0.5rem 0 1rem;
}

.lgpd-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.lgpd-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.lgpd-checkbox a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.lgpd-checkbox a:hover {
  color: var(--primary-2);
}

/* LGPD — Checkbox de consentimento */
.lgpd-consent {
  margin: 0.5rem 0 1rem;
}

.lgpd-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.lgpd-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.lgpd-checkbox a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.lgpd-checkbox a:hover {
  color: var(--primary-2);
}

/* LGPD — Checkbox de consentimento */
.lgpd-consent {
  margin: 0.5rem 0 1rem;
}

.lgpd-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.lgpd-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.lgpd-checkbox a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.lgpd-checkbox a:hover {
  color: var(--primary-2);
}

/* ============================================================
   Banner de Cookies — LGPD
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  width: calc(100% - 3rem);
  max-width: 720px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  box-shadow:
    0 20px 50px -10px oklch(0 0 0 / 0.5),
    0 0 0 1px oklch(1 0 0 / 0.05);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.cookie-text {
  flex: 1;
  min-width: 0;
}

.cookie-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.cookie-text p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin: 0;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-text a:hover {
  color: var(--primary-2);
}

.cookie-btn {
  flex-shrink: 0;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px oklch(0.78 0.19 55 / 0.6);
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    transform: translateY(200%);
    padding: 1rem 1.25rem;
  }
  .cookie-banner.show {
    transform: translateY(0);
  }
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    text-align: left;
  }
  .cookie-icon {
    display: none;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   FASE 2 - REDUÇÃO DE RISCO
   ============================================ */

/* Prazo dentro dos planos */
.plan-prazo {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: oklch(0.78 0.19 55 / 0.12);
  border: 1px solid oklch(0.78 0.19 55 / 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: oklch(0.78 0.19 55);
}

/* Garantia de satisfação */
.garantia {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: oklch(0.22 0.02 60);
  border: 1px solid oklch(0.78 0.19 55 / 0.25);
  border-radius: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.garantia-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.garantia-texto strong {
  display: block;
  font-size: 1.05rem;
  color: oklch(0.95 0.01 60);
  margin-bottom: 0.25rem;
}

.garantia-texto p {
  font-size: 0.9rem;
  color: oklch(0.75 0.01 60);
  margin: 0;
  line-height: 1.5;
}

/* Cronograma em 4 etapas */
.cronograma {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid oklch(0.3 0.01 60);
}

.cronograma-titulo {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: oklch(0.95 0.01 60);
}

.cronograma-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.etapa {
  padding: 1.5rem;
  background: oklch(0.22 0.02 60);
  border: 1px solid oklch(0.3 0.01 60);
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.etapa:hover {
  transform: translateY(-4px);
  border-color: oklch(0.78 0.19 55 / 0.5);
}

.etapa-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: oklch(0.78 0.19 55);
  margin-bottom: 0.75rem;
}

.etapa h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: oklch(0.95 0.01 60);
}

.etapa p {
  font-size: 0.85rem;
  color: oklch(0.7 0.01 60);
  line-height: 1.5;
  margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
  .garantia {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .cronograma-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .cronograma-grid {
    grid-template-columns: 1fr;
  }
}

/* FASE 2 - REDUÇÃO DE RISCO */
.plan-prazo {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: oklch(0.78 0.19 55 / 0.12);
  border: 1px solid oklch(0.78 0.19 55 / 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: oklch(0.78 0.19 55);
}
.garantia {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: oklch(0.22 0.02 60);
  border: 1px solid oklch(0.78 0.19 55 / 0.25);
  border-radius: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.garantia-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}
.garantia-texto strong {
  display: block;
  font-size: 1.05rem;
  color: oklch(0.95 0.01 60);
  margin-bottom: 0.25rem;
}
.garantia-texto p {
  font-size: 0.9rem;
  color: oklch(0.75 0.01 60);
  margin: 0;
  line-height: 1.5;
}
.cronograma {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid oklch(0.3 0.01 60);
}
.cronograma-titulo {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: oklch(0.95 0.01 60);
}
.cronograma-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.etapa {
  padding: 1.5rem;
  background: oklch(0.22 0.02 60);
  border: 1px solid oklch(0.3 0.01 60);
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.etapa:hover {
  transform: translateY(-4px);
  border-color: oklch(0.78 0.19 55 / 0.5);
}
.etapa-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: oklch(0.78 0.19 55);
  margin-bottom: 0.75rem;
}
.etapa h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: oklch(0.95 0.01 60);
}
.etapa p {
  font-size: 0.85rem;
  color: oklch(0.7 0.01 60);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  .garantia { flex-direction: column; text-align: center; padding: 1.25rem; }
  .cronograma-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cronograma-grid { grid-template-columns: 1fr; }
}

/* FASE 4 - ANCORAGEM + ESCASSEZ + URGÊNCIA */
.plan-preco {
  display: block;
  margin: 12px 0;
  padding: 8px 16px;
  background: oklch(0.78 0.19 55 / 0.08);
  border: 1px solid oklch(0.78 0.19 55 / 0.25);
  border-radius: 8px;
  font-size: 0.95rem;
  color: oklch(0.78 0.19 55);
  text-align: center;
}
.plan-preco strong {
  font-size: 1.15rem;
  font-weight: 700;
}
.escassez-urgencia {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.escassez-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: oklch(0.65 0.2 30 / 0.12);
  border: 1px solid oklch(0.65 0.2 30 / 0.35);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: oklch(0.75 0.15 40);
}
.urgencia-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: oklch(0.78 0.19 55 / 0.12);
  border: 1px solid oklch(0.78 0.19 55 / 0.35);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: oklch(0.78 0.19 55);
}
@media (max-width: 480px) {
  .escassez-urgencia { flex-direction: column; align-items: center; }
}

/* FASE 5 - LEAD MAGNET */
.hero-banner-guia {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
  background: oklch(0.78 0.19 55 / 0.08);
  border: 1px solid oklch(0.78 0.19 55 / 0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  color: oklch(0.85 0.01 60);
  flex-wrap: wrap;
}
.hero-banner-guia strong {
  color: oklch(0.78 0.19 55);
}
.hero-banner-guia a {
  padding: 0.4rem 1rem;
  background: oklch(0.78 0.19 55);
  color: oklch(0.15 0.01 60);
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}
.hero-banner-guia a:hover {
  background: oklch(0.85 0.19 55);
}
@media (max-width: 640px) {
  .hero-banner-guia {
    flex-direction: column;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
  }
}

/* ============================================
   QUIZ - CENTRALIZAÇÃO FORÇADA
   ============================================ */
.quiz-hero {
  width: 100%;
  text-align: center;
}
.quiz-hero .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.quiz-badge,
.quiz-h1,
.quiz-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.quiz-container {
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.progress-bar {
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   MENU PROFISSIONAL
   ============================================ */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(217, 211, 199, 0.75);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #e8a647, #d97706);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.65rem 1.5rem !important;
  background: linear-gradient(135deg, #e8a647, #d97706);
  color: #0f0c08 !important;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 166, 71, 0.3);
}

.nav-cta::after {
  display: none !important;
}

@media (max-width: 1024px) {
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 0.85rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ============================================
   RODAPÉ ELEGANTE - VERSÃO FINAL
   ============================================ */
.footer {
  background: linear-gradient(180deg, #0f0c08 0%, #0a0805 100%);
  border-top: 1px solid rgba(232, 166, 71, 0.12);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
  margin-top: 4rem;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 166, 71, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

/* Logo */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #e8a647, #d97706);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0f0c08;
  font-size: 1rem;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 20px rgba(232, 166, 71, 0.25);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.footer-logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(217, 211, 199, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-brand p {
  color: rgba(217, 211, 199, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

/* Colunas */
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e8a647;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #e8a647, transparent);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li {
  font-size: 0.875rem;
  color: rgba(217, 211, 199, 0.6);
  line-height: 1.5;
}

.footer-col ul li a {
  color: rgba(217, 211, 199, 0.6);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
  position: relative;
}

.footer-col ul li a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #e8a647;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.footer-col ul li a:hover {
  color: #e8a647;
  transform: translateX(8px);
}

.footer-col ul li a:hover::before {
  opacity: 1;
}

/* Rodapé inferior */
.footer-bottom {
  border-top: 1px solid rgba(217, 211, 199, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: rgba(217, 211, 199, 0.4);
  font-size: 0.8rem;
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(217, 211, 199, 0.05);
  border: 1px solid rgba(217, 211, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(217, 211, 199, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #e8a647, #d97706);
  color: #0f0c08;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 166, 71, 0.3);
}

/* Responsivo */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-social {
    justify-content: center;
  }
}

/* SUBMENU DE FERRAMENTAS */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; }
.nav-dropdown-arrow { font-size: 0.7rem; transition: transform 0.3s ease; }
.nav-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 220px;
  background: #0f0c08;
  border: 1px solid rgba(232, 166, 71, 0.2);
  border-radius: 12px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #0f0c08;
  border-left: 1px solid rgba(232, 166, 71, 0.2);
  border-top: 1px solid rgba(232, 166, 71, 0.2);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(217, 211, 199, 0.75);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: rgba(232, 166, 71, 0.1);
  color: #e8a647;
}
.nav-dropdown-menu a::after { display: none !important; }

/* ============================================
   CORREÇÃO DEFINITIVA - Z-INDEX
   ============================================ */
header {
  z-index: 99999 !important;
  position: sticky !important;
  top: 0 !important;
}

.nav {
  z-index: 99999 !important;
  position: relative !important;
}

.nav-links {
  z-index: 99999 !important;
  position: relative !important;
}

.nav-dropdown {
  z-index: 100000 !important;
  position: relative !important;
}

.nav-dropdown-menu {
  z-index: 100001 !important;
}

/* Hero - z-index MUITO BAIXO */
.hero {
  z-index: 1 !important;
  position: relative !important;
}

.hero-image,
.hero-image picture,
.hero-image img,
.hero-image-glow,
.hero-grid,
.hero-content {
  z-index: 1 !important;
  position: relative !important;
}

/* Seções normais */
section {
  z-index: 1 !important;
  position: relative !important;
}

main {
  z-index: 1 !important;
  position: relative !important;
}

/* Cookie banner */
.cookie-banner,
.cookie,
#cookie,
[class*="cookie"],
[class*="lgpd"] {
  z-index: 99998 !important;
}

/* WhatsApp flutuante */
.wa-float {
  z-index: 99997 !important;
}

/* Voltar ao topo */
.to-top {
  z-index: 99996 !important;
}

/* Partículas */
#particles-bg,
#particles-container {
  z-index: 0 !important;
}

/* ============================================
   ÍCONES PADRONIZADOS - FONT AWESOME
   ============================================ */
.escassez-badge i,
.urgencia-badge i {
  margin-right: 0.5rem;
  font-size: 0.85rem;
}

.plan-preco i {
  margin-right: 0.5rem;
  color: #e8a647;
  font-size: 0.9rem;
}

.hero-banner-guia i {
  margin-right: 0.5rem;
  color: #e8a647;
}

.hero-banner-guia strong {
  color: #e8a647;
}

/* ============================================
   CASE TRANSFORMAÇÃO - ANTES VS DEPOIS
   ============================================ */
.case-transformacao {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.case-transformacao-titulo {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #fff;
}

.case-antes-depois {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.case-bloco {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.case-antes {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

.case-depois {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.2);
}

.case-bloco-header {
  margin-bottom: 1.5rem;
}

.case-bloco-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.case-antes .case-bloco-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.case-depois .case-bloco-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.case-bloco-header h4 {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
}

.case-bloco-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.case-bloco-lista li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
  padding-left: 1.5rem;
  position: relative;
}

.case-antes .case-bloco-lista li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 700;
}

.case-depois .case-bloco-lista li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.case-seta {
  font-size: 2rem;
  color: #e8a647;
  text-align: center;
  animation: setaPulse 2s ease-in-out infinite;
}

@keyframes setaPulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.case-resultado {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.case-resultado-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.case-resultado-icon {
  font-size: 1.5rem;
  color: #e8a647;
  flex-shrink: 0;
}

.case-resultado-item strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.case-resultado-item p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .case-antes-depois {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .case-seta {
    transform: rotate(90deg);
  }
  .case-resultado {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMAÇÕES IMPACTANTES - CASE FERROBRAS
   ============================================ */

/* 1. SCROLL REVEAL - Blocos aparecem ao rolar */
.case-bloco {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.case-bloco.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.case-antes.animate-in {
  transition-delay: 0.2s;
}

.case-depois.animate-in {
  transition-delay: 0.6s;
}

/* 2. SETA ANIMADA - Pulsa e brilha */
.case-seta {
  position: relative;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.case-seta.animate-in {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.4s;
}

.case-seta i {
  display: inline-block;
  animation: setaBrilha 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes setaBrilha {
  0%, 100% {
    transform: translateX(0) scale(1);
    color: #e8a647;
    text-shadow: 0 0 10px rgba(232, 166, 71, 0.5);
  }
  50% {
    transform: translateX(10px) scale(1.2);
    color: #fbbf24;
    text-shadow: 0 0 30px rgba(232, 166, 71, 0.8), 0 0 60px rgba(232, 166, 71, 0.4);
  }
}

/* Partículas ao redor da seta */
.case-seta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 166, 71, 0.3) 0%, transparent 70%);
  animation: pulseSeta 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulseSeta {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.8;
  }
}

/* 3. HOVER INTERATIVO - Blocos reagem ao mouse */
.case-bloco {
  cursor: default;
  position: relative;
  overflow: hidden;
}

.case-bloco::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(232, 166, 71, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.case-bloco:hover::before {
  opacity: 1;
}

.case-bloco:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-antes:hover {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.15);
}

.case-depois:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

/* 4. ANIMAÇÃO DOS ITENS DA LISTA */
.case-bloco-lista li {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.case-bloco.animate-in .case-bloco-lista li {
  opacity: 1;
  transform: translateX(0);
}

.case-bloco.animate-in .case-bloco-lista li:nth-child(1) { transition-delay: 0.3s; }
.case-bloco.animate-in .case-bloco-lista li:nth-child(2) { transition-delay: 0.4s; }
.case-bloco.animate-in .case-bloco-lista li:nth-child(3) { transition-delay: 0.5s; }
.case-bloco.animate-in .case-bloco-lista li:nth-child(4) { transition-delay: 0.6s; }
.case-bloco.animate-in .case-bloco-lista li:nth-child(5) { transition-delay: 0.7s; }
.case-bloco.animate-in .case-bloco-lista li:nth-child(6) { transition-delay: 0.8s; }
.case-bloco.animate-in .case-bloco-lista li:nth-child(7) { transition-delay: 0.9s; }

/* 5. ANIMAÇÃO DO TÍTULO */
.case-transformacao-titulo {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

.case-transformacao-titulo.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 6. ANIMAÇÃO DO RESULTADO */
.case-resultado-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.case-resultado-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.case-resultado-item:nth-child(1) { transition-delay: 0.2s; }
.case-resultado-item:nth-child(2) { transition-delay: 0.4s; }
.case-resultado-item:nth-child(3) { transition-delay: 0.6s; }

/* 7. EFEITO DE BRILHO NOS BADGES */
.case-bloco-badge {
  position: relative;
  overflow: hidden;
}

.case-bloco-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* 8. TRANSIÇÃO SUAVE ENTRE BLOCOS */
.case-antes-depois {
  position: relative;
}

.case-antes-depois::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(232, 166, 71, 0.3), transparent);
  transition: height 1s ease;
}

.case-transformacao.animate-in .case-antes-depois::after {
  height: 100%;
}

/* 9. RESPONSIVO - Desativar animações complexas no mobile */
@media (max-width: 768px) {
  .case-bloco:hover {
    transform: translateY(-4px);
  }
  .case-seta::before {
    display: none;
  }
}

/* 10. REDUZIR MOVIMENTO - Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .case-bloco,
  .case-seta,
  .case-bloco-lista li,
  .case-transformacao-titulo,
  .case-resultado-item {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   BACKGROUND PARTICLES — unificado
   (antes duplicado em 6 arquivos HTML)
   ============================================ */
#particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#particles-bg canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
body { position: relative; }
main, section, header, footer, .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   RESPONSIVO — Grids (planos e cases)
   ============================================================ */

/* Tablet (até 1024px) — 2 colunas */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .case-destaque { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* Celular (até 768px) — 1 coluna */
@media (max-width: 768px) {
  .plans {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: none; }
  .case-destaque {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

/* Celular pequeno (até 480px) — ajustes finos */
@media (max-width: 480px) {
  .plans { gap: 1rem; }
  .plan { padding: 1.25rem; }
  .case-destaque { padding: 1.25rem; }
}

/* ============================================================
   RESPONSIVO MOBILE — Grids que faltavam
   Corrige: hero-stats, services, testimonials, case-antes-depois
   ============================================================ */

/* ---------- TABLET (até 1024px) ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .case-antes-depois { gap: 1.5rem; }
}

/* ---------- CELULAR GRANDE (até 768px) ---------- */
@media (max-width: 768px) {
  /* Hero stats — 4 colunas viram 2x2 */
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding-top: 2rem;
  }

  /* Serviços — 3 viram 1 */
  .services {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .service { padding: 1.5rem 1.25rem; }
  .service h3 { font-size: 1.2rem; }
  .service p { font-size: 0.9rem; }

  /* Depoimentos — 2 viram 1 */
  .testimonials { gap: 1.25rem; }

  /* Case antes/depois — empilha */
  .case-antes-depois {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---------- CELULAR (até 480px) ---------- */
@media (max-width: 480px) {
  .hero-stats { gap: 1rem; }
  .service { padding: 1.25rem 1rem; }
  .case-antes-depois { gap: 0.75rem; }
}

/* ---------- CELULAR PEQUENO (até 360px) ---------- */
@media (max-width: 360px) {
  .hero-stats { gap: 0.75rem; }
  .service { padding: 1rem 0.85rem; }
}

/* ============================================================
   FIX — Formulário compacto em mobile
   ============================================================ */

@media (max-width: 768px) {
  /* Section com padding reduzido — não ocupa 24% da tela em espaço vazio */
  section { padding: 3rem 0; }

  /* Form mais compacto */
  form { gap: 0.85rem; }

  /* Textarea menor */
  .field textarea { min-height: 90px; }

  /* Inputs mais compactos */
  .field input,
  .field textarea {
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
  }

  /* Label menor */
  .field label { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  section { padding: 2.5rem 0; }
  form { gap: 0.75rem; }
  .field textarea { min-height: 80px; }
}

/* ============================================================
   FIX DEFINITIVO — .contact-wrap compacto em mobile
   Causa raiz: padding 3.5rem (56px) inflava tudo
   ============================================================ */

@media (max-width: 768px) {
  .contact-wrap {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }
  .contact-wrap h2 { font-size: 1.5rem; }
  .contact-wrap > p { margin-bottom: 1.5rem; }
}

@media (max-width: 480px) {
  .contact-wrap {
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }
  .contact-wrap h2 { font-size: 1.35rem; }
}

/* ============================================================
   FIX — Grid do fundador em mobile
   Causa raiz: .founder { grid-template-columns: 1fr 1.2fr } sem breakpoint
   ============================================================ */

@media (max-width: 900px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .founder-img,
  img.founder-img {
    aspect-ratio: 16/9;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .founder { gap: 1.5rem; }
  .founder-img,
  img.founder-img {
    aspect-ratio: 4/3;
  }
  .founder-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .founder-stat-num { font-size: 1.5rem; }
}

@media (max-width: 360px) {
  .founder-stats {
    gap: 1rem;
  }
}

/* ============================================================
   FIX V2 — Founder mobile (força horizontal)
   ============================================================ */

@media (max-width: 900px) {
  .founder {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .founder .founder-img,
  .founder img.founder-img,
  picture .founder-img,
  picture img.founder-img {
    width: 100% !important;
    aspect-ratio: 16/9 !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 480px) {
  .founder .founder-img,
  .founder img.founder-img {
    aspect-ratio: 4/3 !important;
  }
}

/* ============================================================
   FIX — Menu mobile (hamburger + gaveta)
   Causa: regra @media foi perdida em algum momento
   ============================================================ */

@media (max-width: 900px) {
  /* Esconder links no desktop-mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  /* Mostrar quando clicado */
  .nav-links.open {
    display: flex;
  }
  
  .nav-links a {
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    font-size: 1rem;
  }
  
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  
  /* Mostrar o botão hamburger */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Centralizar CTA no mobile */
  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* ============================================================
   MENU — Dropdown Ferramentas + responsivo
   ============================================================ */

/* ---------- DESKTOP (> 900px) ---------- */
@media (min-width: 901px) {
  /* Dropdown alinhado à esquerda do link */
  .nav-dropdown-menu {
    left: 0 !important;
    right: auto !important;
    top: calc(100% + 8px) !important;
    transform: translateY(-10px) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
  }
  /* Abrir no HOVER */
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s;
  }
  /* Abrir no CLIQUE (classe .open) */
  .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s;
  }
  /* Seta à esquerda */
  .nav-dropdown-menu::before {
    left: 24px !important;
    right: auto !important;
    transform: rotate(45deg) !important;
  }
  /* CTA com margem */
  .nav-cta {
    margin-left: 1rem !important;
  }
}

/* ---------- MOBILE/TABLET (≤ 900px) ---------- */
@media (max-width: 900px) {
  /* Dropdown vira accordion */
  .nav-dropdown {
    position: static !important;
    display: block !important;
    width: 100%;
  }
  .nav-dropdown-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.75rem 0.5rem !important;
    width: 100% !important;
    color: var(--fg-muted);
    border-radius: 8px;
  }
  .nav-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  /* Menu escondido por padrão (fecha accordion) */
  .nav-dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 0 1rem !important;
    min-width: auto !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  /* Abre quando .open */
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 300px;
  }
  /* Sem seta em mobile */
  .nav-dropdown-menu::before {
    display: none !important;
  }
  /* Links do dropdown em mobile */
  .nav-dropdown-menu a {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.9rem !important;
    border-radius: 6px;
  }
  /* CTA no mobile */
  .nav-cta {
    margin-top: 0.75rem !important;
    margin-left: 0 !important;
    display: block;
    text-align: center;
  }
}

/* ============================================================
   FIX V3 — Accordion mobile (forçar altura)
   ============================================================ */

@media (max-width: 900px) {
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 500px !important;
    height: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0.5rem 0 0.5rem 1rem !important;
    overflow: visible !important;
  }
  
  /* Garantir que o menu tem espaço */
  .nav-dropdown {
    overflow: visible !important;
  }
  
  /* Links internos */
  .nav-dropdown-menu a {
    display: block !important;
    padding: 0.6rem 0.75rem !important;
    color: var(--fg-muted) !important;
    text-decoration: none !important;
  }
}

/* ============================================================
   FIX FINAL — Overflow visible para o dropdown mobile
   Causa: alguma regra aplicava overflow: hidden no .nav-dropdown
   ============================================================ */

@media (max-width: 900px) {
  /* Garantir que o wrapper deixa o menu crescer */
  .nav-dropdown,
  .nav-links,
  .nav-links.open,
  header,
  header nav {
    overflow: visible !important;
  }
  
  /* Garantir que o menu abre com .open */
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 600px !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0.5rem 0 0.5rem 1rem !important;
  }
  
  /* Links com altura garantida */
  .nav-dropdown-menu a {
    display: block !important;
    min-height: 32px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 900px) {
  .nav-dropdown,
  .nav-links,
  .nav-links.open,
  header,
  header nav {
    overflow: visible !important;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 600px !important;
    height: auto !important;
    overflow: visible !important;
  }
}

/* ============================================================
   FIX DEFINITIVO — Gaveta mobile abre
   Causa: .nav-links { display: none } na linha 2054 sobrescreve
   ============================================================ */

@media (max-width: 900px) {
  /* Gaveta abre quando .open */
  .nav-links.open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--bg) !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 1rem 1.5rem !important;
    gap: 0.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    z-index: 99999 !important;
  }
  
  /* Dentro da gaveta, o dropdown vira accordion */
  .nav-links.open .nav-dropdown {
    display: block !important;
    width: 100% !important;
    position: static !important;
  }
  
  /* Submenu (accordion) */
  .nav-links.open .nav-dropdown-menu {
    position: static !important;
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    min-width: auto !important;
  }
  
  /* Abre quando .open */
  .nav-links.open .nav-dropdown.open .nav-dropdown-menu {
    max-height: 500px !important;
    padding: 0.5rem 0 0.5rem 1rem !important;
    overflow: visible !important;
  }
  
  /* Links internos */
  .nav-links.open .nav-dropdown-menu a {
    display: block !important;
    padding: 0.6rem 0.75rem !important;
    min-height: 32px !important;
  }
}

/* ============================================================
   HEADER INTERNO — Páginas de ferramentas
   ============================================================ */

.page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.page-header .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.page-nav .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
  font-weight: 700;
  font-size: 0.95rem;
}

.page-nav .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid;
  place-items: center;
  color: var(--primary-fg);
  font-weight: 900;
  font-size: 0.85rem;
}

.page-nav .brand-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.page-nav .back-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.page-nav .back-link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
}

.page-nav .nav-cta {
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-fg) !important;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.page-nav .nav-cta:hover {
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 640px) {
  .page-nav { height: 56px; gap: 0.5rem; }
  .page-nav .brand { font-size: 0.85rem; }
  .page-nav .brand-mark { width: 30px; height: 30px; font-size: 0.75rem; }
  .page-nav .brand-sub { display: none; }
  .page-nav .back-link { font-size: 0.8rem; padding: 0.4rem 0.75rem; }
  .page-nav .nav-cta { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
}

@media (max-width: 400px) {
  .page-nav .back-link span { display: none; }
  .page-nav .nav-cta { padding: 0.45rem 0.7rem; font-size: 0.75rem; }
}
