/* ============================================================
   SUDDEN CAPITAL — style.css
   Paleta: #0d1b2e · #112240 · #162944 · #2d6fbf · #4a9eed
   Fonte:  Inter (igual ao site original)
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d1b2e;
  --navy2:      #112240;
  --navy3:      #162944;
  --blue:       #2d6fbf;
  --blue-lt:    #4a9eed;
  --blue-light: #4a9eed;
  --white:      #f0f4f8;
  --gray:       #8899aa;
  --border:     rgba(74,158,237,0.15);
  --light-bg:   #f4f6f9;
  --light-border:#e2e8f0;
  --radius:     14px;
  --transition: .2s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Container ────────────────────────────────────────────── */
.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { background: #245fa8; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.05);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--outline:hover { background: var(--blue); color: #fff; }

.btn--full { width: 100%; justify-content: center; }
.btn:disabled { opacity: .6; pointer-events: none; }

/* ── Section tags ─────────────────────────────────────────── */
.sec-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-tag.dark { color: var(--blue); }

.sec-h2 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.5px;
  color: #fff;
  margin-bottom: 12px;
}
.sec-h2.dark { color: var(--navy); }

.sec-sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}
.sec-sub.dark { color: #6b7a8d; }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  background: var(--navy);
  padding: 16px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar__logo img {
  height: 62px;
  width: auto;
}
.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.navbar__nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.navbar__nav a:hover { color: #fff; }

.navbar__cta {
  background: var(--blue);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: background var(--transition);
}
.navbar__cta:hover { background: #245fa8; color: #fff; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.navbar__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 1px;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: #0d1b2e;
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Imagem de fundo — coloque o link real aqui */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* overlay escuro sobre a foto */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(13,27,46,.7) 0%,
    rgba(13,27,46,.45) 35%,
    rgba(13,27,46,.6) 65%,
    rgba(13,27,46,.95) 100%
  );
  pointer-events: none;
}
.hero > *:not(.hero-bg) { position: relative; z-index: 2; }

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 18px;
  max-width: 800px;
  margin-inline: auto;
}
.hero h1 .blue { color: var(--blue-light); }

.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.6);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 32px;
}
.stat {
  background: rgba(255,255,255,.03);
  padding: 24px 16px;
  text-align: center;
}
.stat__num {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat__num b { color: var(--blue-light); }
.stat__label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}

/* badges */
.badges-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.badge-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── SECTIONS ─────────────────────────────────────────────── */
.s-dark  { background: var(--navy);  padding: 80px 5%; border-top: 1px solid rgba(255,255,255,.07); }
.s-mid   { background: var(--navy2); padding: 80px 5%; border-top: 1px solid rgba(255,255,255,.07); }
.s-light { background: var(--light-bg);  padding: 80px 5%; border-top: 1px solid var(--light-border); }
.s-white { background: #fff; padding: 80px 5%; border-top: 1px solid var(--light-border); }

.sec-center { text-align: center; max-width: 700px; margin: 0 auto 48px; }

/* ── SOBRE ────────────────────────────────────────────────── */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.sobre-text p {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin-bottom: 16px;
}
.sobre-visual {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.sobre-stat {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.sobre-stat:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sobre-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-light);
  margin-bottom: 4px;
}
.sobre-stat__label { font-size: 13px; color: rgba(255,255,255,.5); }

/* ── SERVIÇOS ─────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: rgba(74,158,237,.35);
  transform: translateY(-3px);
}
.service-card__icon {
  width: 48px; height: 48px;
  background: rgba(74,158,237,.1);
  border: 1px solid rgba(74,158,237,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card__icon svg { width: 24px; height: 24px; color: var(--blue-light); }
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.service-card p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ── COMO FUNCIONA ────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.step-card { position: relative; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
}
.step-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-desc  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }
.step-connector {
  position: absolute;
  top: 26px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 1.5px;
  background: rgba(74,158,237,.2);
}

/* ── CONTATO ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(74,158,237,.1);
  border: 1px solid rgba(74,158,237,.2);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; color: var(--blue-light); }
.contact-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-value { font-size: 14px; color: #fff; font-weight: 500; }
.contact-value a { color: #fff; }

/* ── FORMULÁRIO ───────────────────────────────────────────── */
.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.contact-form h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.contact-form p  { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 20px; }

.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 11px; }
.form-group label { font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.8); }
.form-group label span { color: var(--blue-light); }

.form-input,
.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.form-input::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-light); }
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e53e3e; }

.form-group select option { background: var(--navy); color: #fff; }

.form-error    { font-size: .78rem; color: #e53e3e; min-height: 1em; }
.form-feedback { text-align: center; font-size: .9rem; font-weight: 500; min-height: 1.4em; margin-top: 8px; }
.form-feedback.success { color: #48bb78; }
.form-feedback.error   { color: #fc8181; }

.btn-form {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 4px;
}
.btn-form:hover { background: #245fa8; }
.btn-form:disabled { opacity: .6; pointer-events: none; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: #090f1a;
  padding: 48px 5% 32px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 36px; width: auto; margin-bottom: 14px; }
.logo-img--footer  { height: 36px; width: auto; margin-bottom: 14px; }
.logo-text--footer { font-size: 1.1rem; font-weight: 800; color: #fff; display: block; margin-bottom: 14px; }

.footer-tagline { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 18px; }
.footer-social  { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.social-btn:hover { background: rgba(255,255,255,.12); }
.social-btn svg { width: 17px; height: 17px; fill: rgba(255,255,255,.6); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #fff; }

.ouvidoria-bar {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ouvidoria-bar span   { font-size: 12px; color: rgba(255,255,255,.4); }
.ouvidoria-bar strong { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 600; }
.ouvidoria-bar a      { font-size: 12px; color: rgba(74,158,237,.7); }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.07); margin-bottom: 20px; }
.footer-bottom  { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.footer-copy    { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-disclaimer { font-size: 10.5px; color: rgba(255,255,255,.25); line-height: 1.7; max-width: 800px; }
.footer-disclaimer a { color: rgba(74,158,237,.6); }

/* ── WhatsApp FAB ─────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 22px;
  z-index: 200;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ── ANIMAÇÕES ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1,
.hero__sub,
.hero__actions,
.stats-row { animation: fadeUp .6s ease both; }
.hero__sub    { animation-delay: .1s; }
.hero__actions{ animation-delay: .2s; }
.stats-row    { animation-delay: .3s; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .navbar__nav.open a { font-size: 1.5rem; color: #fff; font-weight: 600; }

  .sobre-grid   { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .footer-top   { grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; }
}

@media (max-width: 600px) {
  .hero   { padding: 60px 5%; }
  .s-dark, .s-mid, .s-light, .s-white { padding: 56px 5%; }
  .hero__actions { flex-direction: column; align-items: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
