/* =========================================================
   ARCANJO — Comunidade Conectada
   Design system + layout + animações
   ========================================================= */

:root {
  /* Cores */
  --navy-900: #060b18;
  --navy-850: #0a1122;
  --navy-800: #0d1730;
  --navy-700: #12203f;
  --blue: #2e90ff;
  --blue-bright: #4aa8ff;
  --blue-deep: #0f5ed6;
  --silver: #d7deea;
  --white: #ffffff;
  --text: #cdd6e6;
  --text-dim: #8fa0bd;
  --line: rgba(120, 160, 220, 0.16);
  --card-bg: rgba(16, 30, 60, 0.55);
  --card-brd: rgba(90, 140, 220, 0.22);

  --glow: 0 0 40px rgba(46, 144, 255, 0.45);
  --grad-blue: linear-gradient(180deg, #6fbaff 0%, #2e90ff 55%, #0f5ed6 100%);

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

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

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

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

/* ---------- Barra de progresso ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  box-shadow: 0 0 12px rgba(46, 144, 255, 0.8);
  z-index: 1000; transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(6, 11, 24, 0.82);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { height: 34px; width: auto; filter: drop-shadow(0 2px 8px rgba(46,144,255,.4)); }
.brand-word {
  font-family: var(--font-head); font-weight: 700; letter-spacing: 0.32em;
  font-size: 18px; color: var(--white); padding-left: 4px;
}
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--text-dim);
  position: relative; padding: 4px 0; transition: color 0.25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--blue-bright); transition: width 0.3s var(--ease); border-radius: 2px;
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a.active::after, .nav a:hover::after { width: 100%; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary {
  color: #041125;
  background: linear-gradient(180deg, #7cc0ff, #2e90ff);
  box-shadow: 0 8px 26px rgba(46, 144, 255, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(46, 144, 255, 0.6); }
.btn-ghost {
  color: var(--white); border-color: rgba(140, 180, 240, 0.4);
  background: rgba(20, 40, 80, 0.25); backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--blue-bright); background: rgba(46, 144, 255, 0.15); transform: translateY(-2px); }
.btn-header { padding: 10px 20px; font-size: 14px; }

/* ---------- Hamburguer ---------- */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: -8% 0; z-index: 0; }
.hero-bg img { width: 100%; height: 116%; object-fit: cover; }
.hero-net { position: absolute; inset: 0; z-index: 1; opacity: 0.9; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, var(--navy-900) 8%, rgba(6, 11, 24, 0.85) 38%, rgba(6, 11, 24, 0.25) 70%, rgba(6, 11, 24, 0.55) 100%),
    linear-gradient(0deg, var(--navy-900) 2%, transparent 40%);
}
.hero-overlay.soft {
  background:
    linear-gradient(0deg, var(--navy-900) 3%, rgba(6,11,24,.4) 45%, rgba(6,11,24,.75) 100%);
}
.hero-content { position: relative; z-index: 5; max-width: 720px; }

.eyebrow {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-bright);
  margin-bottom: 18px; padding-left: 2px;
}
.hero-title {
  font-family: var(--font-head); font-weight: 800; line-height: 0.98;
  font-size: clamp(42px, 8.5vw, 104px); letter-spacing: -0.02em; color: var(--white);
  margin-bottom: 22px;
}
.hero-title .line { display: block; }
.hero-title .grad { filter: drop-shadow(0 0 34px rgba(46, 144, 255, 0.55)); }
.hero-sub { font-size: clamp(16px, 2vw, 20px); max-width: 560px; color: var(--text); margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 6;
  width: 26px; height: 42px; border: 2px solid rgba(180, 210, 250, 0.5); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--blue-bright); border-radius: 3px; animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* =========================================================
   SECTIONS (base)
   ========================================================= */
.section { position: relative; padding: clamp(70px, 10vw, 130px) 0; overflow: hidden; }
.section-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-850)); }
.section-bg { position: absolute; inset: -6% 0; z-index: 0; }
.section-bg img { width: 100%; height: 112%; object-fit: cover; }
.section-bg.dim img { opacity: 0.5; }
.section-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--navy-900) 0%, rgba(6,11,24,.78) 30%, rgba(6,11,24,.82) 70%, var(--navy-900) 100%);
}
.section > .container { position: relative; z-index: 3; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue-bright);
  padding: 6px 14px; border: 1px solid var(--card-brd); border-radius: 999px;
  background: rgba(46, 144, 255, 0.08); margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; color: var(--white);
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; margin-bottom: 20px;
}
.section-lead { font-size: clamp(15.5px, 1.6vw, 18px); color: var(--text-dim); max-width: 640px; }
.section-lead.center { margin-inline: auto; }
.section-head { }
.section-head.reveal .section-title { }

/* centralizado quando head não tem grid */
.section .section-head { }
.cards-grid + .quote-band { margin-top: 40px; }

/* ---------- Grids ---------- */
.cards-grid { display: grid; gap: 22px; }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.grid-2.align-center { align-items: center; }
.grid-2.reverse .station-media { order: -1; }

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg); border: 1px solid var(--card-brd); border-radius: 18px;
  padding: 26px 24px; backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s, background 0.4s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 50% -20%, rgba(46, 144, 255, 0.16), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(74, 168, 255, 0.6); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(74,168,255,.25); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--card-brd); background: rgba(46, 144, 255, 0.1); margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-bright); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--white); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-dim); }
.card.value h3 { color: var(--blue-bright); }

/* ---------- Quote band ---------- */
.quote-band {
  border-left: 3px solid var(--blue); padding: 22px 28px; border-radius: 0 14px 14px 0;
  background: rgba(46, 144, 255, 0.06); font-size: clamp(15px, 1.7vw, 18px); color: var(--text);
}
.quote-band strong { color: var(--white); }

/* =========================================================
   COMUNIDADE — feature list + ciclo
   ========================================================= */
.feature-list { list-style: none; margin-top: 30px; display: grid; gap: 4px; }
.feature-list li {
  display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.feature-list b { font-family: var(--font-head); color: var(--blue-bright); font-weight: 600; font-size: 16px; }
.feature-list span { color: var(--text-dim); font-size: 14.5px; }

/* Ciclo animado */
.cycle { text-align: center; }
.cycle-title { font-family: var(--font-head); font-weight: 600; color: var(--white); font-size: 20px; margin-bottom: 24px; }
.cycle-ring {
  position: relative; width: min(420px, 82vw); aspect-ratio: 1; margin-inline: auto;
}
.orbit {
  position: absolute; inset: 12%; border: 1px dashed rgba(74, 168, 255, 0.35); border-radius: 50%;
  animation: spin 40s linear infinite;
}
.orbit::before {
  content: ""; position: absolute; inset: -8%; border: 1px solid rgba(46, 144, 255, 0.14); border-radius: 50%;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cycle-core {
  position: absolute; inset: 30%; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle, rgba(20, 44, 90, 0.9), rgba(8, 16, 34, 0.9));
  border: 1px solid var(--card-brd); box-shadow: var(--glow); z-index: 2;
}
.cycle-core img { width: 46px; margin: 0 auto 6px; }
.cycle-core span { font-family: var(--font-head); font-size: 11px; color: var(--text-dim); line-height: 1.3; }
.node {
  position: absolute; top: 50%; left: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px;
  border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: rgba(10, 20, 42, 0.85); border: 1px solid var(--card-brd);
  transform: rotate(calc(var(--i) * 60deg)) translate(calc(min(210px, 41vw))) rotate(calc(var(--i) * -60deg));
  animation: nodePulse 3s var(--ease) infinite; animation-delay: calc(var(--i) * 0.4s);
}
.node span { font-family: var(--font-head); font-size: 12px; font-weight: 500; color: var(--silver); }
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 rgba(46, 144, 255, 0); border-color: var(--card-brd); }
  50% { box-shadow: 0 0 24px rgba(46, 144, 255, 0.5); border-color: var(--blue-bright); }
}

/* =========================================================
   ESTAÇÕES
   ========================================================= */
.station-media { position: relative; display: grid; place-items: center; min-height: 420px; }
.station-glow {
  position: absolute; width: 60%; height: 80%; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 144, 255, 0.4), transparent 65%); filter: blur(30px);
}
.station-img {
  position: relative; max-height: 560px; width: auto; border-radius: 16px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.pillar {
  padding: 20px 22px; border-radius: 16px; border: 1px solid var(--card-brd);
  background: var(--card-bg); transition: 0.35s var(--ease); position: relative;
}
.pillar::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: var(--grad-blue); }
.pillar:hover { transform: translateY(-4px); border-color: rgba(74, 168, 255, 0.5); }
.pillar h3 { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--blue-bright); margin: 0 0 12px 12px; }
.pillar ul { list-style: none; margin-left: 12px; display: grid; gap: 7px; }
.pillar li { position: relative; padding-left: 18px; font-size: 14px; color: var(--text-dim); }
.pillar li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* =========================================================
   REDE — diagrama radial
   ========================================================= */
.net-diagram {
  position: relative; width: min(560px, 88vw); aspect-ratio: 1; margin: 0 auto 60px;
}
.net-core {
  position: absolute; top: 50%; left: 50%; width: 128px; height: 128px; margin: -64px 0 0 -64px;
  border-radius: 50%; display: grid; place-items: center; z-index: 3;
  background: radial-gradient(circle, rgba(20, 44, 90, 0.95), rgba(8, 16, 34, 0.95));
  border: 1px solid var(--blue); box-shadow: var(--glow);
}
.net-core img { width: 62px; }
.net-item {
  position: absolute; top: 50%; left: 50%; width: 128px; margin: -46px 0 0 -64px;
  text-align: center; font-family: var(--font-head); font-size: 12.5px; font-weight: 500; color: var(--silver);
  transform: rotate(calc(var(--a) * 1deg)) translate(min(215px, 34vw)) rotate(calc(var(--a) * -1deg));
}
.net-item i { display: block; font-size: 26px; margin-bottom: 6px; font-style: normal;
  filter: drop-shadow(0 0 10px rgba(46,144,255,.6)); }
/* linhas conectando: pseudo com gradiente radial girando */
.net-diagram::before {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  border: 1px solid rgba(46, 144, 255, 0.2);
  background: conic-gradient(from 0deg, transparent, rgba(46,144,255,.12), transparent, rgba(46,144,255,.12), transparent);
  animation: spin 30s linear infinite;
}
.net-diagram::after {
  content: ""; position: absolute; inset: 30%; border-radius: 50%; border: 1px dashed rgba(74,168,255,.25);
}

/* =========================================================
   VALOR
   ========================================================= */
.value-hub {
  text-align: center; font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(24px, 4vw, 42px); color: var(--white); line-height: 1.1; margin: 0 auto 50px;
  max-width: 560px; padding: 30px; border-radius: 20px;
  border: 1px solid var(--card-brd); background: rgba(10, 22, 46, 0.5);
  box-shadow: inset 0 0 60px rgba(46, 144, 255, 0.12), var(--glow); position: relative;
}
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px;
  text-align: center;
}
.stat b {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 5vw, 54px);
  color: var(--white); line-height: 1; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 13.5px; color: var(--text-dim); margin-top: 8px; display: block; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; text-align: center; }
.cta-content { position: relative; z-index: 5; max-width: 820px; }
.cta-title {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em; color: var(--white);
  font-size: clamp(34px, 7vw, 76px); line-height: 1; margin-bottom: 22px;
}
.cta-title .grad { filter: drop-shadow(0 0 40px rgba(46, 144, 255, 0.6)); }
.cta-sub { font-size: clamp(15px, 2vw, 19px); color: var(--text); max-width: 620px; margin: 0 auto 36px; }
.cta-logo { width: 210px; margin: 0 auto 34px; filter: drop-shadow(0 4px 20px rgba(46,144,255,.4)); }
.contact-card {
  display: inline-flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 24px 32px; border-radius: 20px; border: 1px solid var(--card-brd);
  background: rgba(8, 16, 34, 0.6); backdrop-filter: blur(12px);
}
.contact-name { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--white); }
.contact-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-850); border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 40px; }
.footer-brand b { font-family: var(--font-head); letter-spacing: 0.28em; color: var(--white); display: block; font-size: 15px; }
.footer-brand span { font-size: 12.5px; color: var(--text-dim); }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 14px; color: var(--text-dim); transition: color 0.25s; }
.footer-nav a:hover { color: var(--blue-bright); }
.footer-legal { font-size: 12.5px; color: var(--text-dim); width: 100%; text-align: center; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 8px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 800; width: 58px; height: 58px;
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #34c759, #1faa4b);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5); transition: transform 0.3s var(--ease);
  animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.5); } 70% { box-shadow: 0 0 0 16px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }

/* =========================================================
   REVEAL (scroll animations)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
/* stagger em grids */
.cards-grid .reveal { transition-delay: calc(var(--d, 0) * 90ms); }
.pillars .reveal, .feature-list .reveal { transition-delay: calc(var(--d, 0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit, .net-diagram::before, .node, .scroll-hint span, .wa-float { animation: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 980px) {
  .nav, .btn-header { display: none; }
  .nav-toggle { display: flex; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2.reverse .station-media { order: 0; }
  .hero-overlay { background:
    linear-gradient(180deg, rgba(6,11,24,.55), rgba(6,11,24,.8) 60%, var(--navy-900)),
    linear-gradient(90deg, rgba(6,11,24,.7), rgba(6,11,24,.35)); }

  /* Menu mobile */
  .nav.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    gap: 0; background: rgba(6, 11, 24, 0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
}

@media (max-width: 620px) {
  .cols-4, .cols-3 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .feature-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .contact-links { flex-direction: column; width: 100%; }
  .contact-links .btn { width: 100%; }
  .net-item { font-size: 11px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
