/* =========================================================
   Gênesis Pró — Landing institucional CLT + FGTS
   Estilo: parecido com a antiga (mesma paleta) mas LAYOUT
   diferente — mais moderno, fintech-premium.
   ========================================================= */

:root {
  --brand:        #053582;   /* azul institucional Gênesis */
  --brand-2:      #0D6EFD;   /* azul brilhante (links/CTA) */
  --brand-3:      #1A4598;   /* azul intermediário */
  --accent:       #C6141B;   /* vermelho destaque */
  --success:      #25D366;   /* verde WhatsApp */
  --success-2:    #128C7E;
  --bg:           #ffffff;
  --bg-alt:       #F5F7FB;   /* off-white pra alternar seções */
  --bg-dark:      #0A1F3F;
  --ink:          #0F172A;   /* texto principal */
  --ink-2:        #475569;   /* texto secundário */
  --ink-3:        #94A3B8;   /* texto auxiliar */
  --border:       #E2E8F0;
  --shadow-sm:    0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow:       0 10px 30px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg:    0 24px 60px rgba(15, 23, 42, .14), 0 8px 16px rgba(15, 23, 42, .06);
  --radius:       16px;
  --radius-sm:    10px;
  --font:         'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============== HEADER ============== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand img { height: 40px; }
.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.nav a:hover { color: var(--brand); }
@media (max-width: 880px) {
  .nav { display: none; }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 32px; font-size: 17px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(5, 53, 130, .25);
}
.btn-primary:hover { background: var(--brand-3); box-shadow: 0 8px 18px rgba(5, 53, 130, .32); }

.btn-secondary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(198, 20, 27, .25);
}
.btn-secondary:hover { background: #A50F16; box-shadow: 0 8px 18px rgba(198, 20, 27, .32); }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }

.btn-success {
  background: var(--success);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, .35);
}
.btn-success:hover { background: var(--success-2); }

/* ============== HERO ============== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-3) 100%);
  color: #fff;
  padding: 60px 0 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13, 110, 253, .25) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 200px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(198, 20, 27, .15) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--red {
  background: rgba(198, 20, 27, .1);
  border-color: rgba(198, 20, 27, .25);
  color: var(--accent);
}

.hero-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.hero-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.hero-head h1 mark {
  background: linear-gradient(to right, var(--accent), #FF4A4F);
  color: #fff;
  padding: 2px 14px;
  border-radius: 8px;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .85);
  max-width: 640px;
  margin: 0 auto;
}

/* Produtos: 2 cards lado a lado */
.produto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 50px 0 60px;
}
@media (max-width: 760px) { .produto-grid { grid-template-columns: 1fr; } }

.produto {
  position: relative;
  background: #fff;
  color: var(--ink);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.produto:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.produto-tag {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  align-self: flex-start;
}
.produto-tag--alt { background: var(--accent); }

.produto h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 4px 0 0;
  line-height: 1.2;
}
.produto-desc {
  color: var(--ink-2);
  margin: 0;
  font-size: 15px;
}
.produto-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.produto-features li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 4px 0;
  border-bottom: 1px dashed var(--border);
}
.produto-features li:last-child { border-bottom: 0; }
.produto-features strong { color: var(--ink); }

.produto .btn { margin-top: 8px; }

/* Stats bar */
.stats-bar {
  background: rgba(255, 255, 255, .08);
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 40px;
  padding: 30px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

.stat { text-align: center; color: #fff; }
.stat-num {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-num span {
  display: inline;
  font-size: .55em;
  font-weight: 700;
  margin-left: 4px;
  color: rgba(255, 255, 255, .7);
}
.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  margin-top: 8px;
  line-height: 1.4;
}

/* ============== SECTION HEAD (genérico) ============== */
.section-head {
  text-align: center;
  margin: 0 auto 50px;
  max-width: 700px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 14px 0 0;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.section-head h2 small {
  display: block;
  font-size: .55em;
  font-weight: 500;
  color: var(--ink-2);
  margin-top: 8px;
}

/* ============== VANTAGENS ============== */
.vantagens { padding: 80px 0; background: var(--bg-alt); }
.vantagens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .vantagens-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .vantagens-grid { grid-template-columns: 1fr; } }

.vantagem {
  background: #fff;
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.vantagem:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.vantagem-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.vantagem-ico svg { width: 24px; height: 24px; }
.vantagem h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.vantagem p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}

/* ============== COMO FUNCIONA (timeline) ============== */
.como-funciona { padding: 80px 0; background: var(--bg); }
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand), var(--accent));
  z-index: 0;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 16px 0;
  align-items: flex-start;
}
.timeline-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.timeline-item:nth-child(odd) .timeline-num {
  background: var(--brand);
  color: #fff;
}
.timeline-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 4px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.timeline-body:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.timeline-body h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}
.timeline-body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

/* ============== COMPARATIVO ============== */
.comparativo { padding: 80px 0; background: var(--bg-alt); }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) { .compare-grid { grid-template-columns: 1fr; } }

.compare-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.compare-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand);
}
.compare-card--alt::before { background: var(--accent); }
.compare-card h4 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  color: var(--brand);
}
.compare-card--alt h4 { color: var(--accent); }
.compare-best {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border-left: 3px solid currentColor;
}
.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compare-card li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 4px 0;
}

/* ============== FAQ ============== */
.faq { padding: 80px 0; background: var(--bg); }
.faq-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.faq-tab {
  padding: 12px 24px;
  border: 2px solid var(--border);
  background: #fff;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s ease;
}
.faq-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--brand); background: #fff; }
.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 18px;
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ============== DEPOIMENTOS ============== */
.depoimentos { padding: 80px 0; background: var(--bg-alt); }
.depo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .depo-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; } }

.depo {
  background: #fff;
  padding: 28px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.depo-stars { color: #FBBF24; font-size: 1.05rem; letter-spacing: 2px; }
.depo p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  font-style: italic;
}
.depo-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.depo-author strong { color: var(--brand); font-size: 15px; }
.depo-author span { color: var(--ink-3); font-size: 12px; }

/* ============== CTA FINAL ============== */
.cta-final { padding: 60px 0; background: var(--bg); }
.cta-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-3) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, transparent 70%);
}
.cta-text { flex: 1; min-width: 280px; position: relative; z-index: 1; }
.cta-text h3 { font-size: 1.6rem; font-weight: 800; margin: 0 0 6px; }
.cta-text p { margin: 0; opacity: .9; }
.cta-final .btn { position: relative; z-index: 1; }

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .75);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand p { font-size: 14px; max-width: 360px; }
.footer-logo { height: 50px; margin-bottom: 14px; filter: brightness(2); }

.footer h5 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
}
.footer a {
  display: block;
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  padding: 4px 0;
  text-decoration: none;
}
.footer a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
}
.footer-bottom p { margin: 4px 0; font-size: 13px; }
.footer-bottom .small { font-size: 11px; color: rgba(255, 255, 255, .5); max-width: 800px; margin: 8px auto 0; line-height: 1.6; }

/* ============== WhatsApp Floating ============== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  z-index: 90;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
