/* ============================================================
   HELP ME! — Assessoria Acadêmica
   Tema dark moderno • cores da marca (laranja + azul-marinho)
   ============================================================ */

:root {
  /* Marca */
  --orange: #f7941d;
  --orange-light: #ffb04d;
  --orange-deep: #e07d00;
  --navy: #1f3a5f;

  /* Superfícies dark */
  --bg: #0a1424;
  --bg-2: #0d1a2e;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(247, 148, 29, 0.35);

  /* Texto */
  --text: #eaf0fa;
  --text-muted: #93a3bd;
  --text-dim: #6c7d97;

  /* Efeitos */
  --grad-brand: linear-gradient(120deg, #ffb04d 0%, #f7941d 45%, #ff7a00 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-orange: 0 18px 50px -12px rgba(247, 148, 29, 0.45);
  --max: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: "Sora", sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

::selection { background: var(--orange); color: #1a1303; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
.container--narrow { max-width: 820px; }

.section { padding: clamp(40px, 5.5vw, 72px) 0; position: relative; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Background glows ---------- */
.bg-glows {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity 0.9s ease;
}
body.glows-on .bg-glows { opacity: 1; }
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; }
.glow--orange { width: 520px; height: 520px; background: #f7941d; top: -160px; right: -120px; opacity: 0.25; }
.glow--blue { width: 600px; height: 600px; background: #1f5fa6; bottom: -200px; left: -160px; opacity: 0.22; }
.glow--orange2 { width: 360px; height: 360px; background: #ff7a00; top: 45%; left: 50%; transform: translateX(-50%); opacity: 0.1; }

body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(247, 148, 29, 0.08), transparent 60%),
    linear-gradient(180deg, #0a1424 0%, #0b1729 50%, #0a1424 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap; line-height: 1;
}
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }

.btn--primary {
  background: var(--grad-brand); color: #1a1303;
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -10px rgba(247, 148, 29, 0.6); }

.btn--ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--border-strong); transform: translateY(-3px); background: var(--surface-2); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 16px 0;
}
.navbar.scrolled {
  background: rgba(10, 20, 36, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--border), 0 20px 40px -28px rgba(0, 0, 0, 0.8);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo img { height: 46px; transition: height 0.3s; }
.navbar.scrolled .nav-logo img { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  color: var(--text-muted); font-weight: 600; font-size: 0.95rem; position: relative;
  transition: color 0.2s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-brand); border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-cta-mobile { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 101; }
.nav-toggle span {
  width: 26px; height: 2.5px; background: var(--text); border-radius: 3px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 88svh; overflow: hidden;
  display: flex; align-items: center;
  padding: 150px 0 90px;
  background: var(--bg); /* fundo sólido = mesma cor do overlay, evita emenda na imagem */
}

/* ---- Imagem full-bleed à direita (estilo REFERÊNCIA 3) ---- */
.hero-bg-img {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 55%; z-index: 0;
}
.hero-bg-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
/* Degradê que funde o azul-marinho na imagem (esquerda) + topo/base */
.hero-bg-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10, 20, 36, 0.85) 22%, rgba(10, 20, 36, 0.25) 55%, transparent 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 80%, var(--bg) 100%);
}
/* Sombra interna nas bordas para integrar a imagem ao layout */
.hero-bg-img::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 120px 30px rgba(10, 20, 36, 0.55);
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: none; margin: 0;
  padding-left: clamp(24px, 4vw, 64px); padding-right: 22px;
}
.hero-content { text-align: left; max-width: 560px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; font-size: 0.86rem; font-weight: 600;
  background: rgba(247, 148, 29, 0.1); border: 1px solid rgba(247, 148, 29, 0.28);
  color: var(--orange-light); margin-bottom: 26px;
}

.hero-title { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; margin-bottom: 22px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); }

.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--text-muted);
  max-width: 500px; margin-bottom: 38px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }

.hero-stats {
  display: flex; align-items: flex-start; justify-content: center; flex-wrap: nowrap;
  gap: clamp(16px, 2vw, 30px);
  margin-top: 44px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 0 0 auto; }
.stat-num { font-family: "Sora", sans-serif; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 0.76rem; color: var(--text-dim); margin-top: 6px; letter-spacing: 0.01em; line-height: 1.3; }
.stat-divider { display: none; }

.hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 140px; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 4.2vw, 2.9rem); font-weight: 800; margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 1.05rem; }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.service-card {
  position: relative; padding: 26px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(247, 148, 29, 0.12), transparent 70%);
  opacity: 0; transition: opacity 0.35s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(247, 148, 29, 0.12); border: 1px solid rgba(247, 148, 29, 0.22);
  color: var(--orange-light); margin-bottom: 18px; position: relative; z-index: 1;
  transition: transform 0.35s var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 7px; position: relative; z-index: 1; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); position: relative; z-index: 1; margin-bottom: 14px; }

.service-link {
  display: inline-flex; align-items: center; gap: 6px; position: relative; z-index: 1;
  font-size: 0.85rem; font-weight: 700; color: var(--orange);
  transition: gap 0.25s;
}
.service-card:hover .service-link { gap: 11px; }

/* Ver mais / Ver menos */
.service-card.is-collapsed { display: none; }
.services-more { display: flex; justify-content: center; margin-top: 34px; }
.services-toggle { cursor: pointer; }
.services-toggle__icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.services-toggle.is-expanded .services-toggle__icon { transform: rotate(180deg); }

/* ============================================================
   COMO FUNCIONA — STEPS
   ============================================================ */
.steps-wrap { position: relative; }
.steps-path {
  display: none; /* ativado em desktop e mobile via media queries */
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none; overflow: visible;
}
.steps-path path {
  fill: none; stroke: var(--orange); stroke-width: 2.5;
  stroke-dasharray: 7 9; stroke-linecap: round;
  vector-effect: non-scaling-stroke; opacity: 0.55;
  animation: dashFlow 1.6s linear infinite;
}
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step {
  position: relative; padding: 30px 24px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s;
  text-align: center;
}
.step:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.step-num {
  font-family: "Sora", sans-serif; font-size: 1.35rem; font-weight: 800;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-brand); color: #1a1303;
  box-shadow: var(--shadow-orange);
  margin: 0 auto 16px; /* centralizado no topo do card */
  position: relative; z-index: 3;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--text-muted); }

/* Trilha conectando os cards (desktop): zigue-zague horizontal + traços curvos */
@media (min-width: 861px) {
  .steps { grid-template-columns: repeat(4, 1fr); align-items: start; gap: 40px; }
  .step { z-index: 1; }
  .step:nth-child(even) { margin-top: 70px; } /* pares mais para baixo → intercalado */
  .steps-path { display: block; }
}

/* Trilha no mobile: cards menores, intercalados (esquerda/direita) + traços lateral→topo */
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step {
    width: 78%; z-index: 1;
    padding: 22px 18px 20px;
  }
  .step:nth-child(odd) { justify-self: start; }  /* esquerda */
  .step:nth-child(even) { justify-self: end; }   /* direita */
  .step-num { width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 12px; }
  .step h3 { font-size: 1.02rem; }
  .step p { font-size: 0.86rem; }
  .steps-path { display: block; }
}

@keyframes dashFlow { to { stroke-dashoffset: -32; } }

/* ============================================================
   DIFERENCIAIS — CARROSSEL
   ============================================================ */
.feat-carousel { position: relative; }
.carousel-viewport { overflow: hidden; padding: 6px; margin: -6px; }
.carousel-track {
  display: flex; gap: 18px;
  transition: transform 0.6s var(--ease); will-change: transform;
}
.feature-card {
  flex: 0 0 calc((100% - 36px) / 3); /* 3 por vez no desktop (gap 18px) */
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2); }

/* Controles (setas + dots) */
.carousel-controls {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 32px;
}
.carousel-arrow {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:hover { background: var(--grad-brand); color: #1a1303; border-color: transparent; transform: scale(1.08); }
.carousel-dots { display: flex; align-items: center; gap: 9px; }
.carousel-dot {
  width: 9px; height: 9px; border-radius: 999px; padding: 0;
  background: var(--border); transition: width 0.3s var(--ease), background 0.3s;
}
.carousel-dot.active { width: 26px; background: var(--grad-brand); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-brand); color: #1a1303; margin-bottom: 18px;
  box-shadow: var(--shadow-orange);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.feature-card p { font-size: 0.94rem; color: var(--text-muted); }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
/* ---- Carrossel automático (marquee) ---- */
.marquee {
  position: relative; overflow: hidden;
  width: 100%; max-width: var(--max); margin-inline: auto; /* não vai até a borda da tela */
  padding-block: 10px; /* folga para o card subir no hover sem ser cortado */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee + .marquee { margin-top: 20px; } /* espaço entre as duas fileiras */
.marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: marqueeScroll 65s linear infinite;
}
.marquee--reverse .marquee-track { animation-direction: reverse; } /* gira ao contrário */
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial {
  flex: 0 0 auto; width: 280px;
  padding: 22px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.testimonial:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.stars { color: var(--orange); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; }
.testimonial blockquote { font-size: 0.88rem; color: var(--text); margin-bottom: 16px; line-height: 1.55; }
.testimonial figcaption { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); color: #1a1303; font-weight: 800; font-family: "Sora", sans-serif;
  font-size: 0.9rem;
}
.testimonial figcaption strong { display: block; font-size: 0.88rem; }
.testimonial figcaption small { color: var(--text-dim); font-size: 0.78rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-layout {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 5vw, 60px); align-items: start; /* não estica ao abrir um card */
}
.faq-visual img {
  width: 100%; height: 520px; border-radius: 24px; object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.7);
}
.faq-title { text-align: left; margin-bottom: 24px; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: var(--radius-sm); background: var(--surface);
  border: 1px solid var(--border); overflow: hidden; transition: border-color 0.3s, background 0.3s;
}
.faq-item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: "Sora", sans-serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--orange);
  transition: transform 0.3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 20px; color: var(--text-muted); animation: faqIn 0.35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: clamp(40px, 6vw, 70px) 0 clamp(80px, 10vw, 120px); }
.cta-box {
  position: relative; text-align: center; overflow: hidden;
  padding: clamp(44px, 7vw, 80px) clamp(24px, 5vw, 60px);
  border-radius: 28px; border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(247, 148, 29, 0.08), rgba(31, 58, 95, 0.18));
  backdrop-filter: blur(10px);
}
.cta-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: var(--orange); filter: blur(130px); opacity: 0.22;
  top: -160px; left: 50%; transform: translateX(-50%);
}
.cta-box h2 { font-size: clamp(1.7rem, 4.5vw, 2.7rem); margin-bottom: 16px; position: relative; }
.cta-box p { color: var(--text-muted); font-size: 1.08rem; max-width: 560px; margin: 0 auto 32px; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding-top: 64px; background: rgba(7, 14, 26, 0.5); }
.footer-inner { display: grid; gap: 36px; grid-template-columns: 1.6fr 1fr 1fr 1fr; padding-bottom: 48px; }
.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 300px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 11px; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--orange); padding-left: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 22px; border-top: 1px solid var(--border); margin-top: 0;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.85rem; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  display: grid; place-items: center; backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { background: var(--orange); color: #1a1303; border-color: transparent; }

.float-wa {
  position: fixed; right: 22px; bottom: 80px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: transparent; color: #25d366; display: none; place-items: center;
  transition: transform 0.3s var(--ease), filter 0.3s;
  animation: waPulse 2.4s ease-in-out infinite;
}
.float-wa svg { width: 40px; height: 40px; filter: drop-shadow(0 4px 10px rgba(37, 211, 102, 0.45)); }
.float-wa:hover { transform: scale(1.12); }
@keyframes waPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* FAQ: empilha com imagem em cima */
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-visual { height: auto; }
  .faq-visual img { height: auto; max-height: 280px; }

  .hero { padding: 130px 0 70px; min-height: 82svh; }
  /* imagem vira fundo de tela inteira com overlay mais forte para leitura */
  .hero-bg-img { width: 100%; }
  .hero-bg-img::after {
    background:
      linear-gradient(180deg, rgba(10, 20, 36, 0.92) 0%, rgba(10, 20, 36, 0.78) 45%, rgba(10, 20, 36, 0.92) 100%);
  }
  .hero-content { text-align: center; max-width: 640px; margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .stat { align-items: center; }

  .feature-card { flex: 0 0 calc((100% - 18px) / 2); } /* 2 por vez no tablet */
}

@media (max-width: 760px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .float-wa { display: grid; } /* WhatsApp flutuante só no mobile */
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); height: 100vh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    padding: 40px;
    background: rgba(10, 20, 36, 0.96); backdrop-filter: blur(18px);
    border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) { font-size: 1.2rem; }
  .nav-cta-mobile { display: inline-flex; margin-top: 10px; }
  .stat-divider { display: none; }
  .hero-stats { gap: 22px 36px; }
}

@media (max-width: 560px) {
  /* estatísticas em grade 2x2 para caber na tela */
  .hero-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 22px 16px; justify-items: center;
  }
  .stat { align-items: center; text-align: center; }

  /* cards de serviços de 2 em 2 no mobile */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card { padding: 20px 16px; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: 0.82rem; }

  /* carrossel de diferenciais: 1 card por vez no mobile */
  .feature-card { flex: 0 0 100%; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}

/* Acessibilidade: reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  /* sem animação automática: carrossel vira scroll horizontal manual */
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none !important; padding-bottom: 8px; }
}
