:root {
  --navy: #2a356f;
  --navy-deep: #232c5e;
  --navy-card: #1f2a5c;
  --blue-grad-1: #2b357a;
  --blue-grad-2: #3a4aa0;
  --green: #25c45a;
  --green-dark: #1faa4c;
  --yellow: #ffcf3f;
  --text-light: #e7ebff;
  --text-muted: #c2c9ee;
  --white: #ffffff;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text-light);
  background: var(--navy);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; }

/* Acessibilidade: foco visível e alvos de toque confortáveis */
a:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 8px;
}

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

/* ===========================================================
   BASE = MOBILE FIRST
   =========================================================== */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-whats {
  background: var(--green);
  color: #fff;
  padding: 14px 22px;
  box-shadow: 0 8px 20px rgba(37, 196, 90, .25);
}
.btn-whats:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-whats.sm { padding: 11px 18px; font-size: 14px; }
.wa-icon { width: 18px; height: 18px; }
.wa-dot { font-size: 14px; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; text-decoration: none; }
.brand img { height: 38px; width: auto; display: block; }
.footer-brand { justify-content: center; margin-bottom: 16px; }
.footer-brand img { height: 46px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 56px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.4s ease-in-out;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.12);
  transition: opacity 1.4s ease-in-out, transform 7s ease-out;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 80% 90%, rgba(90,110,210,.45), transparent 55%),
    linear-gradient(135deg, rgba(35,44,94,.94) 0%, rgba(43,53,122,.88) 45%, rgba(58,74,160,.82) 100%);
}
.nav, .hero-inner { position: relative; z-index: 2; }
.nav { padding: 22px 20px; }
.hero-inner { padding-top: 20px; max-width: 720px; }
.hero h1 {
  font-size: clamp(31px, 8.5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: #fff;
  text-wrap: balance;
}
.hero-br { display: none; }
.hero-highlight { color: var(--yellow); font-weight: 700; font-size: clamp(17px, 4.5vw, 20px); margin: 14px 0; }
.hero-text { color: var(--text-muted); max-width: 560px; font-size: clamp(14px, 4vw, 15px); }
.hero-cta-text { color: var(--yellow); font-weight: 700; margin: 20px 0 24px; }
.hero .btn-whats { width: 100%; max-width: 360px; }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section-title { text-align: center; color: var(--yellow); font-size: clamp(24px, 6vw, 32px); font-weight: 800; text-wrap: balance; }
.section-title.dark { color: var(--navy); }
.section-sub { text-align: center; color: var(--text-muted); max-width: 680px; margin: 14px auto 0; font-size: 15px; }

/* ---------- Reasons cards ---------- */
.reasons { background: var(--navy); }
.cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: var(--navy-card);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-icon { font-size: 30px; margin-bottom: 14px; }
.card-title { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.card-title.accent { color: var(--yellow); }
.card p { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; flex: 1; }
.card .btn-whats { width: 100%; }

/* ---------- Help ---------- */
.help { background: var(--navy-deep); }
.help-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.help-img {
  border-radius: 14px;
  min-height: 220px;
  background: url("/images/balanca-igor.png") center/cover;
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.eyebrow { color: var(--text-muted); font-weight: 600; margin-bottom: 8px; }
.help-text h2 { color: var(--yellow); font-size: 24px; font-weight: 800; line-height: 1.2; }
.help-lead { color: var(--text-light); margin: 16px 0 14px; font-weight: 600; }
.checklist { list-style: none; margin-bottom: 24px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-muted); font-size: 15px; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 2px;
  color: var(--green); font-weight: 800;
  background: rgba(37,196,90,.15);
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.help-text .btn-whats { width: 100%; }
.banner {
  margin-top: 36px;
  background: rgba(37,196,90,.12);
  border: 1px solid rgba(37,196,90,.35);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
}
.banner-icon { margin-right: 8px; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background:
    linear-gradient(rgba(34,42,92,.88), rgba(34,42,92,.93)),
    url("/images/carrosselhero2.png") center/cover;
  background-attachment: scroll;
  text-align: center;
}
.contact-inner { max-width: 720px; }
.contact h2 { color: var(--yellow); font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.contact p { color: var(--text-muted); margin-bottom: 26px; }
.contact .btn-whats { width: 100%; max-width: 320px; }

/* ---------- FAQ ---------- */
.faq { background: #f4f6fb; }
.accordion { max-width: 860px; margin: 32px auto 0; }
.accordion details { border-bottom: 1px solid #dfe3ee; padding: 4px 0; }
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 4px;
  color: var(--navy);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before {
  content: "+";
  color: var(--yellow);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  width: 18px;
  flex: 0 0 18px;
  text-align: center;
}
.accordion details[open] summary::before { content: "–"; }
.answer {
  background: var(--navy);
  color: var(--text-light);
  padding: 16px 18px;
  border-radius: 8px;
  margin: 0 0 14px 30px;
  font-size: 14px;
}

/* ---------- Footer ---------- */
.footer { background: #fff; color: #5a6280; text-align: center; padding: 40px 0; }
.footer-oab { color: var(--navy); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.footer-disc { font-size: 12px; max-width: 720px; margin: 0 auto; color: #8089ad; }
.footer-credit { font-size: 12px; margin-top: 18px; color: #8089ad; }
.footer-credit a { color: var(--navy); font-weight: 600; text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- Floating WhatsApp ---------- */
.float-whats {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  z-index: 50;
  transition: transform .15s ease;
}
.float-whats:hover { transform: scale(1.08); }
.float-whats svg { width: 28px; height: 28px; }

/* ===========================================================
   >= 640px  (tablets pequenos)
   =========================================================== */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .hero .btn-whats,
  .card .btn-whats,
  .help-text .btn-whats { width: auto; }
  .hero-br { display: inline; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ===========================================================
   >= 960px  (desktop)
   =========================================================== */
@media (min-width: 960px) {
  .nav { padding: 28px 24px; }
  .hero { padding-bottom: 80px; }
  .hero-inner { padding-top: 30px; }
  .brand img { height: 46px; }
  .footer-brand img { height: 56px; }

  .section { padding: 70px 0; }
  .cards { margin-top: 44px; gap: 26px; }
  .card { padding: 30px 28px; }

  .help-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; }
  .help-img { min-height: 300px; }
  .help-text h2 { font-size: 28px; }

  .contact { background-attachment: fixed; }
}

/* ===========================================================
   Acessibilidade: respeitar quem prefere menos movimento
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide,
  .hero-slide.is-active { transition: opacity .4s ease; transform: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .01ms !important; }
}

/* ===========================================================
   Reveal sutil ao rolar (padrao 2026, sem alterar layout)
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
