/* ============================================================
   SG Alvera — Site institucional
   ============================================================ */

:root {
  --navy: #1B3A8C;
  --blue: #1E5FBF;
  --blue-light: #2E9BE0;
  --gray: #5A6472;
  --gray-soft: #7b8494;
  --ink: #16233d;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-dark: #12244f;
  --line: #e4eaf3;
  --white: #ffffff;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(27, 58, 140, .08);
  --shadow-lg: 0 24px 60px rgba(18, 36, 79, .16);
  --maxw: 1140px;

  --grad: linear-gradient(120deg, var(--navy) 0%, var(--blue) 45%, var(--blue-light) 100%);

  --font-head: "Poppins", system-ui, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 116px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3 { font-family: var(--font-head); line-height: 1.18; color: var(--ink); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(30, 95, 191, .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30, 95, 191, .4); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 100px; }
.brand-logo { height: 80px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; }
.main-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--gray);
  position: relative; padding: .2rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--blue-light); transition: width .25s ease;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }
.btn-header { padding: .6rem 1.2rem; font-size: .9rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu { display: none; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-menu ul { list-style: none; padding: .5rem 24px 1.2rem; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a { display: block; padding: .9rem .2rem; font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.mobile-menu .mobile-cta { color: var(--blue); font-weight: 700; }
.mobile-menu.open { display: block; animation: slidedown .25s ease; }
@keyframes slidedown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%); }
.hero-glow {
  position: absolute; top: -180px; right: -160px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,155,224,.28), rgba(46,155,224,0) 68%); z-index: 0;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 4.5rem 24px 5rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
  background: #e8f1fd; padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.35rem); font-weight: 800; letter-spacing: -.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.12rem; color: var(--gray); margin-top: 1.3rem; max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-badges li { font-size: .92rem; color: var(--gray); }
.hero-badges strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.hero-visual { display: flex; justify-content: center; }
.hero-logo { max-width: 750px; width: 100%; filter: drop-shadow(0 20px 40px rgba(27,58,140,.18)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ============================================================
   SECTIONS (generic)
   ============================================================ */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 780px; margin: 0 auto 3rem; text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue-light); margin-bottom: .8rem;
}
.kicker.light { color: #8fc4f5; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
.lead { font-size: 1.08rem; color: var(--gray); margin-top: 1rem; }
.lead.light { color: #c9d8f2; }

/* ---------- Quem somos ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-bottom: 2rem; }
.founder-card {
  display: flex; gap: 1.2rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow);
}
.founder-avatar {
  flex: 0 0 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.15rem; background: var(--grad);
}
.founder-photo {
  flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  object-position: center top; box-shadow: 0 6px 16px rgba(27, 58, 140, .18);
  border: 3px solid #fff; outline: 1px solid var(--line);
}
.founder-card h3 { font-size: 1.25rem; }
.founder-role { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--blue); margin-bottom: .5rem; }
.founder-card p:last-child { font-size: .96rem; color: var(--gray); }

.podcast-badge {
  display: flex; align-items: center; gap: 1rem; justify-content: center;
  background: linear-gradient(120deg, #eaf3fe, #f4f8ff); border: 1px dashed #b9d4f5;
  border-radius: var(--radius); padding: 1.1rem 1.6rem; max-width: 640px; margin: 0 auto;
}
.podcast-icon { font-size: 1.8rem; }
.podcast-badge strong { display: block; font-family: var(--font-head); color: var(--navy); }
.podcast-badge span { font-size: .92rem; color: var(--gray); }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.4rem; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; text-align: center; box-shadow: var(--shadow);
}
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card p { margin-top: .7rem; color: var(--gray); font-size: .96rem; }
.stat-card em { color: var(--gray-soft); font-style: normal; font-size: .85rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-bottom: 2.4rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: var(--shadow); }
.panel h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.check-list { list-style: none; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 1.8rem; font-size: .97rem; color: var(--gray); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.2rem; height: 1.2rem;
  color: var(--blue-light); font-weight: 700;
}
.check-list strong { color: var(--ink); }

/* ---------- Agenda 2030 ---------- */
.agenda2030 { background: var(--grad); border-radius: var(--radius-lg); padding: 2.4rem; color: #fff; box-shadow: var(--shadow-lg); }
.agenda-head { text-align: center; margin-bottom: 1.8rem; }
.agenda-head h3 { color: #fff; font-size: 1.5rem; }
.agenda-head p { color: #d7e6fb; margin-top: .4rem; }
.agenda-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.agenda-nums > div { text-align: center; }
.agenda-nums .stat-num { -webkit-text-fill-color: #fff; color: #fff; background: none; font-size: 2rem; }
.agenda-nums p { color: #d7e6fb; font-size: .92rem; margin-top: .5rem; }

/* ---------- Verticais ---------- */
.verticals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-bottom: 2.5rem; }
.vertical-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.9rem; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.vertical-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.vertical-num { position: absolute; top: 1.5rem; right: 1.7rem; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: #eaf1fb; }
.vertical-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #e8f1fd; font-size: 1.5rem; margin-bottom: 1rem; }
.vertical-card h3 { font-size: 1.35rem; }
.vertical-tag { font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-light); margin: .2rem 0 .8rem; }
.vertical-card > p { color: var(--gray); font-size: .98rem; }
.mini-list { list-style: none; margin-top: 1.1rem; display: grid; gap: .55rem; }
.mini-list li { position: relative; padding-left: 1.4rem; font-size: .92rem; color: var(--gray); }
.mini-list li::before { content: "▸"; position: absolute; left: 0; color: var(--blue-light); }

.verticals-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: var(--bg-alt); border-radius: var(--radius-lg); padding: 1.6rem 2rem; }
.verticals-cta p { color: var(--gray); font-family: var(--font-head); font-weight: 500; }

/* ---------- Compromisso (dark) ---------- */
.section-dark { background: var(--bg-dark); position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; top: -120px; left: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,155,224,.25), transparent 70%); }
.section-dark .section-head h2 { color: #fff; }
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; position: relative; z-index: 1; }
.commit-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.commit-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--grad); font-size: 1.7rem; margin-bottom: 1rem; }
.commit-card h3 { color: #fff; font-size: 1.25rem; }
.commit-card p { color: #c1d1ee; font-size: .97rem; margin-top: .6rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.timeline li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.2rem 1.3rem; box-shadow: var(--shadow); }
.timeline li::before {
  counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 1.2rem;
  width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(30,95,191,.3);
}
.tl-week { display: inline-block; margin-top: 1rem; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-light); }
.timeline h3 { font-size: 1.05rem; margin: .3rem 0 .4rem; }
.timeline p { font-size: .88rem; color: var(--gray); }

/* ---------- Onde atuamos ---------- */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-bottom: 2rem; }
.sector-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.4rem; text-align: center; box-shadow: var(--shadow); transition: transform .25s ease; }
.sector-card:hover { transform: translateY(-4px); }
.sector-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e8f1fd; font-size: 1.6rem; margin-bottom: .8rem; }
.sector-card h3 { font-size: 1.08rem; }
.sector-card p { font-size: .9rem; color: var(--gray); margin-top: .4rem; }
.bridge-note { max-width: 900px; margin: 0 auto 2.6rem; text-align: center; color: var(--gray); font-size: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.8rem; }
.bridge-note strong { color: var(--navy); }

.diffs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.diff-card { background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-lg); }
.diff-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .5rem; }
.diff-card p { color: #dbe8fb; font-size: .96rem; }

/* ---------- Contato ---------- */
.contact { background: var(--bg-dark); }
.contact-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; }
.contact-text h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.steps { margin-top: 1.6rem; padding-left: 0; list-style: none; counter-reset: st; display: grid; gap: .8rem; }
.steps li { counter-increment: st; position: relative; padding-left: 2.4rem; color: #dbe8fb; font-family: var(--font-head); font-weight: 500; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.contact-actions { display: grid; gap: 1rem; }
.contact-actions .btn { padding: 1rem 1.4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0d1b3d; color: #b7c5e2; padding: 3rem 0 1.6rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 105px; background: #fff; padding: 12px 18px; border-radius: 12px; margin-bottom: 1rem; }
.footer-brand p { font-size: .95rem; max-width: 30rem; }
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a { color: #b7c5e2; font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.4rem; font-size: .85rem; color: #8595bb; }
.footer-bottom a { color: #8595bb; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo { max-width: 280px; }
  .two-col, .founders { grid-template-columns: 1fr; }
  .verticals-grid { grid-template-columns: 1fr; }
  .commit-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .diffs-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 820px) {
  .main-nav, .btn-header { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid, .agenda-nums { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 3.5rem 0; }
  .hero-inner { padding: 3rem 24px 3.5rem; }
  .timeline, .sectors-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; }
  .verticals-cta { flex-direction: column; text-align: center; align-items: stretch; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .6rem; text-align: center; }
  .hero-badges { gap: 1.2rem; }
}
