/* ============================================================
   validacao.social — Rafael Zapatta Consultoria Financeira
   Estilo compartilhado
   ============================================================ */

:root {
  --bg: #0b1120;
  --bg-soft: #111a2e;
  --card: #16233e;
  --line: #23324f;
  --text: #e8eef7;
  --muted: #9fb0c8;
  --brand: #2dd4bf;
  --brand-2: #38bdf8;
  --accent: #c9a24a;
  --radius: 16px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #05121f; font-weight: 800;
}
.brand small { display: block; font-size: .7rem; color: var(--muted); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: .95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #05121f !important; font-weight: 700; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 20px rgba(45, 212, 191, .25);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 10px 28px rgba(45, 212, 191, .35); }
.btn-ghost {
  background: transparent; color: var(--text) !important;
  border: 1px solid var(--line); box-shadow: none;
}
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(56,189,248,.14), transparent),
    radial-gradient(700px 400px at 0% 20%, rgba(45,212,191,.12), transparent);
}
.hero .tag {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-soft);
  color: var(--brand); font-size: .82rem; font-weight: 600; margin-bottom: 22px;
  letter-spacing: .03em;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.hero h1 .grad { background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 620px; margin: 24px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.stats { display: flex; gap: 44px; margin-top: 60px; flex-wrap: wrap; }
.stat .n { font-size: 2.2rem; font-weight: 800; color: var(--text); }
.stat .l { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .kicker { color: var(--brand); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-top: 10px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about .photo {
  aspect-ratio: 4/5; border-radius: 20px;
  background: linear-gradient(160deg, #1c2c4d, #0f1a30);
  border: 1px solid var(--line);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.about .photo .mono { font-size: 5rem; font-weight: 800; color: var(--accent); opacity: .9; }
.about ul { list-style: none; margin-top: 20px; }
.about ul li { padding: 10px 0 10px 30px; position: relative; color: var(--muted); }
.about ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, #12253f, #0d1a30);
  border: 1px solid var(--line); border-radius: 24px;
  padding: 56px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p { color: var(--muted); margin: 14px auto 28px; max-width: 520px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 54px 0 40px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.foot-grid ul { list-style: none; }
.foot-grid ul li { margin-bottom: 10px; }
.foot-grid ul li a { color: var(--muted); font-size: .95rem; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 90px; max-width: 820px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 8px; letter-spacing: -.02em; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; color: var(--text); }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul, .legal ol { margin: 0 0 16px 22px; }
.legal a { color: var(--brand); }
.legal .box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
.back { display: inline-block; margin-bottom: 30px; color: var(--muted); font-size: .95rem; }
