/* ==========================================================================
   ALO ERP — Folha de estilo única das páginas do site (formato "revista")
   Tema claro. Paleta extraída do logotipo: azul metálico + laranja/dourado.
   ========================================================================== */

:root {
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --text-body: #475569;
  --text-muted: #64748b;

  --blue: #1d4ed8;
  --blue-light: #3b82f6;
  --cyan: #38bdf8;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --green: #059669;

  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --border: #e2e8f0;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.15);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.25);

  --radius: 16px;
  --nav-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}

a { color: var(--blue); text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── NAVBAR ─────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logotipo grande em barra fina: usa a versão sem legenda, com as margens
   transparentes já recortadas, e transborda poucos pixels abaixo da barra. */
.brand {
  position: relative;
  flex-shrink: 0;
  width: 138px;
  height: var(--nav-h);
}
.brand img {
  position: absolute;
  left: 0;
  top: 3px;
  height: 88px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

.nav-links a.active { font-weight: 700; }

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
}

/* ── BOTÕES ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn i, .btn svg { width: 19px; height: 19px; }

.btn-orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(234, 88, 12, 0.6);
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(234, 88, 12, 0.7); color: #fff; }

.btn-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(29, 78, 216, 0.55);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(29, 78, 216, 0.65); color: #fff; }

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: #cbd5e1; transform: translateY(-2px); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ── HERO (capa) ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-blue {
  width: 620px; height: 620px;
  right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(59, 130, 246, 0.12) 45%, transparent 70%);
}
.hero-glow-orange {
  width: 420px; height: 420px;
  right: 220px; bottom: -180px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero-badge i, .hero-badge svg { width: 15px; height: 15px; color: var(--orange); }

.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--text-muted);
}
.mini-item strong { display: block; color: var(--navy); font-weight: 700; }
.mini-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}
.mini-icon i, .mini-icon svg { width: 17px; height: 17px; }

/* ── CARROSSEL DE TELAS REAIS ───────────────────────────────────────────── */
.shots {
  position: relative;
  perspective: 1800px;
}

.shots-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: rotateY(-7deg) rotateX(2deg) scale(1.02);
  transform-origin: left center;
  aspect-ratio: 16 / 10;
}

.shots-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.shots-dot { width: 10px; height: 10px; border-radius: 50%; }
.shots-dot.r { background: #f87171; }
.shots-dot.y { background: #fbbf24; }
.shots-dot.g { background: #34d399; }
.shots-bar span {
  margin-left: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
}

.shots-stage {
  position: relative;
  width: 100%;
  height: calc(100% - 39px);
  background: #fff;
}

.shots-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 4s ease-out;
}
.shots-stage img.active { opacity: 1; transform: scale(1); }

.shots-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  background: rgba(15, 23, 42, 0.86);
  color: #fff;
  padding: 7px 15px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.shots-nav {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}
.shots-nav button {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.shots-nav button.active { width: 30px; border-radius: 99px; background: var(--blue); }

/* ── FAIXA DE NÚMEROS ───────────────────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  text-align: center;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}
.stat-num span { color: var(--orange); }
.stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

/* ── SEÇÕES GENÉRICAS ───────────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; color: var(--text-muted); }

/* Página interna: cabeçalho compacto */
.page-head {
  padding: 60px 0 44px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-head p { font-size: 1.08rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* ── CARDS DE RECURSO ───────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(56, 189, 248, 0.16));
  color: var(--blue);
  margin-bottom: 18px;
}
.card-icon.warm {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(251, 191, 36, 0.18));
  color: var(--orange-dark);
}
.card-icon i, .card-icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--text-muted); }

.card ul { list-style: none; margin-top: 14px; }
.card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ── CTA DA TABELA DE PELÍCULAS ─────────────────────────────────────────── */
.pelicula-cta-box {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.pelicula-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 21px 42px;
  border-radius: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 55%, var(--cyan) 100%);
  box-shadow: 0 18px 40px -12px rgba(29, 78, 216, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pelicula-cta-btn:hover { transform: translateY(-3px) scale(1.02); color: #fff; }
.pelicula-cta-btn strong { color: #fcd34d; font-weight: 900; }
.pelicula-cta-btn i, .pelicula-cta-btn svg { width: 25px; height: 25px; }

.pelicula-cta-caption {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
}
.pelicula-cta-caption strong { color: var(--navy); }

/* ── PLANOS ─────────────────────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 22px;
  align-items: start;
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan.featured {
  border-color: var(--blue);
  box-shadow: 0 24px 50px -20px rgba(29, 78, 216, 0.45);
}

.plan-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 99px;
  white-space: nowrap;
}

.plan h3 { font-size: 1.22rem; margin-bottom: 4px; }
.plan .plan-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.plan-price .curr { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.plan-price .val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.plan-period { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 22px; }

.plan ul { list-style: none; margin-bottom: 24px; flex: 1; }
.plan ul li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-body);
  padding: 7px 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.07);
}
.plan ul li:last-child { border-bottom: none; }
.plan ul li i, .plan ul li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

.plan-cta .guarantee-text {
  display: block;
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.active { border-color: var(--blue); box-shadow: var(--shadow-md); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
}
.faq-q i, .faq-q svg { width: 19px; height: 19px; color: var(--text-muted); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.active .faq-q i, .faq-item.active .faq-q svg { transform: rotate(180deg); color: var(--blue); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 0.96rem; color: var(--text-muted); }

/* ── CTA FINAL ──────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  color: #fff;
  text-align: center;
  padding: 68px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: #cbd5e1; max-width: 620px; margin: 0 auto 28px; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); box-shadow: none; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── RODAPÉ ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 54px 0 26px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 104px;
  width: auto;
  background: #fff;
  border-radius: 12px;
  padding: 8px 16px;
  margin-bottom: 16px;
}

.footer p { max-width: 340px; }

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer a { color: #94a3b8; transition: color 0.2s ease; }
.footer a:hover { color: #fff; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
}
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-social i, .footer-social svg { width: 18px; height: 18px; }

.footer-base {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.84rem;
}

/* ── RESPONSIVO ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .shots-frame { transform: none; }
  .hero-sub { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1150px) {
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-nav-hide { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .brand { width: 116px; }
  .brand img { height: 76px; top: 6px; }
  .hero { padding: 40px 0 56px; }
  .hero-actions .btn { width: 100%; }
  .pelicula-cta-btn { font-size: 1.02rem; padding: 17px 22px; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
}
