/* =========================================================
   MÁQUINA LUCRATIVA ICEBERG — Design System
   Tema: glacial / futurista. Frio na captação, quente no lucro.
   ========================================================= */

:root {
  /* Água profunda / fundo */
  --bg-0: #030711;
  --bg-1: #050b1a;
  --bg-2: #081428;
  --bg-3: #0b1e3a;

  /* Gelo / ciano */
  --ice-100: #eaf9ff;
  --ice-200: #c4ecff;
  --ice-300: #8fdcff;
  --ice-400: #4fc3f7;
  --ice-500: #22d3ee;
  --ice-600: #0ea5e9;
  --ice-glow: rgba(56, 211, 255, 0.55);

  /* Lucro / calor (usar com parcimônia) */
  --gold-300: #ffe08a;
  --gold-400: #ffd166;
  --gold-500: #f7b733;

  /* Texto */
  --text-hi: #f2fbff;
  --text: #b9d2e6;
  --text-dim: #7c93a8;
  --text-faint: #4a5b6d;

  /* Vidro */
  --glass: rgba(16, 34, 60, 0.45);
  --glass-2: rgba(20, 42, 74, 0.6);
  --stroke: rgba(120, 200, 255, 0.14);
  --stroke-hi: rgba(120, 210, 255, 0.32);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 44px -6px var(--ice-glow);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(1000px 600px at 10% 0%, rgba(14, 165, 233, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 40%, #01040c 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Névoa de partículas / gelo flutuante */
#frost-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.shell { position: relative; z-index: 1; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-hi); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ice-300);
  padding: 7px 15px; border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--stroke-hi);
  backdrop-filter: blur(8px);
}

.grad {
  background: linear-gradient(120deg, var(--ice-200) 0%, var(--ice-400) 45%, #fff 70%, var(--ice-300) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-gold {
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.center { text-align: center; }
.muted { color: var(--text-dim); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 14px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .18s ease, box-shadow .25s ease, filter .2s ease;
  white-space: nowrap;
}
.btn-primary {
  color: #04121f;
  background: linear-gradient(120deg, #7ff0ff, #22d3ee 55%, #0ea5e9);
  box-shadow: 0 10px 30px -6px var(--ice-glow), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -6px var(--ice-glow), inset 0 1px 0 rgba(255,255,255,.6); filter: brightness(1.05); }
.btn-ghost {
  color: var(--ice-100);
  background: var(--glass);
  border: 1px solid var(--stroke-hi);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ice-400); background: var(--glass-2); }
.btn-gold {
  color: #2a1a02;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 10px 30px -8px rgba(247, 183, 51, 0.5);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-lg { padding: 18px 40px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Cartão de vidro ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  position: relative;
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(150,220,255,.35), transparent 40%, transparent 70%, rgba(150,220,255,.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(4,10,22,.85), rgba(4,10,22,.4));
  border-bottom: 1px solid var(--stroke);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px var(--ice-glow)); }
.brand-name { font-family: var(--font-display); font-weight: 700; color: var(--text-hi); font-size: 1.06rem; letter-spacing: -0.01em; }
.brand-name span { color: var(--ice-400); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text); text-decoration: none; font-size: .93rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ice-300); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); margin: 22px 0 20px; }
.hero p.lead { font-size: 1.2rem; color: var(--text); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 28px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--text-dim); font-size: .9rem; }
.hero-trust b { color: var(--ice-200); }

/* ---------- Iceberg visual ---------- */
.berg-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 460px; }
.berg-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.35), transparent 65%); filter: blur(20px); animation: pulse 6s ease-in-out infinite; }
.berg-svg { width: min(430px, 90%); position: relative; z-index: 2; animation: float 7s ease-in-out infinite; }
.berg-tag {
  position: absolute; z-index: 3; font-family: var(--font-display); font-weight: 600;
  padding: 8px 14px; border-radius: 12px; font-size: .82rem; white-space: nowrap;
  border: 1px solid var(--stroke-hi); backdrop-filter: blur(10px);
}
.berg-tag.top { top: 20%; left: 50%; transform: translateX(-50%); background: rgba(34,211,238,.14); color: var(--ice-100); }
.berg-tag.bot { bottom: 16%; left: 50%; transform: translateX(-50%); background: rgba(247,183,51,.12); color: var(--gold-300); border-color: rgba(247,183,51,.3); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.08); } }

/* ---------- Faixa de logos / social ---------- */
.strip { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); padding: 26px 0; }
.strip-inner { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 22px; color: var(--text-faint); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Section head ---------- */
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 16px 0 14px; }
.sec-head p { color: var(--text-dim); font-size: 1.08rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 32px 26px; border-radius: var(--radius); }
.step-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--ice-500); opacity: .5; }
.step h3 { font-size: 1.25rem; margin: 8px 0 10px; }
.step p { color: var(--text-dim); font-size: .96rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px 24px; border-radius: var(--radius); transition: transform .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-5px); border-color: var(--stroke-hi); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(34,211,238,.2), rgba(14,165,233,.06)); border: 1px solid var(--stroke-hi); font-size: 1.3rem; }
.feature h3 { font-size: 1.14rem; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: .93rem; }
.feature .soon { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); border: 1px solid rgba(247,183,51,.3); padding: 3px 8px; border-radius: 6px; margin-left: 8px; }

/* ---------- Método iceberg (waterline) ---------- */
.method { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.method-side { padding: 54px 46px; }
.method-top { background: linear-gradient(180deg, rgba(34,211,238,.08), transparent); }
.method-bot { background: linear-gradient(180deg, rgba(11,30,58,.6), rgba(3,7,17,.8)); }
.method-side h3 { font-size: 1.6rem; margin: 10px 0 18px; }
.method-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.method-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: .98rem; }
.method-list .dot { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; margin-top: 2px; }
.dot-ice { background: rgba(34,211,238,.18); color: var(--ice-300); border: 1px solid var(--stroke-hi); }
.dot-gold { background: rgba(247,183,51,.15); color: var(--gold-400); border: 1px solid rgba(247,183,51,.3); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { padding: 36px 30px; border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.plan.pop { border-color: var(--ice-400); box-shadow: var(--shadow), 0 0 60px -18px var(--ice-glow); transform: scale(1.03); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(120deg,#7ff0ff,#22d3ee); color: #04121f; font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; }
.plan .price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--text-hi); margin: 14px 0 4px; }
.plan .price small { font-size: .95rem; color: var(--text-dim); font-weight: 400; }
.plan .price-sub { color: var(--text-dim); font-size: .88rem; margin-bottom: 22px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan ul li { display: flex; gap: 10px; font-size: .94rem; color: var(--text); }
.plan ul li::before { content: "❄"; color: var(--ice-400); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.qa { border-radius: var(--radius-sm); overflow: hidden; }
.qa summary { cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; color: var(--text-hi); list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1.03rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--ice-400); font-size: 1.4rem; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 24px 22px; color: var(--text-dim); }

/* ---------- CTA final ---------- */
.finalcta { text-align: center; padding: 70px 30px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.finalcta h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.finalcta p { color: var(--text); max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--stroke); padding: 40px 0; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; color: var(--text-faint); font-size: .88rem; }

/* ---------- Utilidades ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid, .method-grid { grid-template-columns: 1fr; }
  .steps, .features, .pricing { grid-template-columns: 1fr; }
  .plan.pop { transform: none; }
  .nav-links { display: none; }
  .berg-stage { min-height: 360px; }
  .section { padding: 64px 0; }
}
