:root {
  --navy: #083A6F;
  --navy-dark: #052848;
  --ice: #5CC7E8;
  --bg-light: #F3F8FC;
  --white: #FFFFFF;
  --text: #0E2235;
  --text-2: #4E6478;
  --header-h: 72px;
  --radius: 20px;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
}

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

.container { width: min(1140px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(8,58,111,.08);
  height: var(--header-h);
}
body.menu-open .header {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: #FFFFFF;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--navy); }
.nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; align-items: center;
  background: none; border: 0; cursor: pointer;
}
.menu-btn span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border-radius: 14px; padding: 15px 26px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); box-shadow: 0 10px 24px rgba(8,58,111,.28); }
.btn-ice { background: var(--ice); color: var(--navy-dark); }
.btn-ice:hover { box-shadow: 0 10px 28px rgba(92,199,232,.45); filter: brightness(1.05); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: .88rem; border-radius: 10px; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding-top: var(--header-h);
  overflow: clip;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 300px at 12% 18%, rgba(92,199,232,.16), transparent 70%),
    radial-gradient(420px 260px at 88% 78%, rgba(92,199,232,.12), transparent 70%);
}
.hero-media { position: relative; height: 55svh; min-height: 340px; overflow: clip; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,40,72,0) 30%, var(--navy-dark) 96%);
}
.hero-grid { position: relative; }
.hero-content { position: relative; margin-top: -88px; padding: 0 0 44px; z-index: 2; }
.hero-content h1 { font-size: clamp(2.1rem, 8.5vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; }
.hero-content h1 .accent { color: var(--ice); }
.hero-sub { margin: 16px 0 24px; font-size: 1.06rem; font-weight: 500; color: rgba(255,255,255,.88); max-width: 34rem; }
.hero-content .btn-block { width: 100%; box-sizing: border-box; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700;
  color: #dff3fc; border: 1px solid rgba(92,199,232,.45);
  background: rgba(92,199,232,.1); border-radius: 999px; padding: 8px 14px;
}
.hero-photo { display: none; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 800; line-height: 1.15; color: var(--navy-dark); letter-spacing: -.01em; }
.lead { color: var(--text-2); font-size: 1.05rem; margin-top: 12px; }

/* Saco */
.saco { background: var(--bg-light); }
.saco-grid { display: grid; gap: 36px; align-items: center; }
.benefits { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.benefits li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid rgba(8,58,111,.1);
  border-radius: 16px; padding: 16px;
}
.benefit-icon {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(92,199,232,.16); color: var(--navy);
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefits strong { display: block; font-size: 1rem; color: var(--navy-dark); }
.benefits span span, .benefits div span { color: var(--text-2); font-size: .93rem; }
.saco-photo img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: 0 24px 50px rgba(5,40,72,.18); }

/* Para quem */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid rgba(8,58,111,.12); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(5,40,72,.12); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--ice);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.1rem; color: var(--navy-dark); }
.card p { color: var(--text-2); font-size: .95rem; flex: 1; }
.card .btn { align-self: flex-start; margin-top: 6px; }

/* Como funciona */
.como { background: var(--bg-light); }
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; margin-bottom: 32px; }
.step { background: #fff; border: 1px solid rgba(8,58,111,.1); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 12px;
}
.step h3 { color: var(--navy-dark); margin-bottom: 6px; font-size: 1.12rem; }
.step p { color: var(--text-2); }

/* Eventos */
.eventos { background: linear-gradient(160deg, var(--navy-dark), var(--navy)); color: #fff; position: relative; overflow: clip; }
.eventos::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 280px at 85% 20%, rgba(92,199,232,.15), transparent 70%);
}
.eventos-grid { display: grid; gap: 32px; align-items: center; position: relative; }
.eventos-text h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.18; font-weight: 800; }
.eventos-text p { margin: 16px 0 26px; color: rgba(255,255,255,.87); font-size: 1.04rem; }
.eventos-photo img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; box-shadow: 0 24px 50px rgba(0,0,0,.35); }

/* Dúvidas */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid rgba(8,58,111,.14); border-radius: 14px; background: #fff; overflow: hidden; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font); font-weight: 700; font-size: 1rem; color: var(--navy-dark);
  padding: 18px 20px;
}
.acc-icon { position: relative; flex: 0 0 22px; width: 22px; height: 22px; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--navy); border-radius: 2px; }
.acc-icon::before { left: 0; top: 10px; width: 22px; height: 2.5px; }
.acc-icon::after { left: 10px; top: 0; width: 2.5px; height: 22px; transition: transform .25s; }
.acc-item.open .acc-icon::after { transform: rotate(90deg) scaleY(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > p { overflow: hidden; }
.acc-panel p { padding: 0 20px; color: var(--text-2); }
.acc-item.open .acc-panel p { padding-bottom: 20px; }

/* CTA final */
.cta-final { background: linear-gradient(180deg, var(--navy-dark), var(--navy)); color: #fff; position: relative; overflow: clip; }
.cta-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 260px at 50% 0%, rgba(92,199,232,.18), transparent 70%);
}
.cta-final h2 { font-size: clamp(1.7rem, 5.5vw, 2.5rem); font-weight: 800; }
.cta-final p { margin: 14px auto 28px; color: rgba(255,255,255,.87); max-width: 34rem; }
.cta-final .btn-lg { width: 100%; box-sizing: border-box; }
.insta-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  color: var(--ice); font-weight: 700; text-decoration: none; font-size: 1.02rem;
}
.insta-link:hover { text-decoration: underline; }

/* Footer */
.footer { background: #fff; border-top: 1px solid rgba(8,58,111,.1); padding: 40px 0 32px; }
.footer-grid { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-logo { height: 72px; width: auto; }
.footer-info { display: flex; flex-direction: column; gap: 6px; }
.footer-info a { color: var(--navy); font-weight: 700; text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-info p { color: var(--text-2); }
.footer-legal { color: var(--text-2); font-size: .9rem; }
.credit { font-size: .8rem; }
.credit a { color: var(--text-2); }

/* Float */
.wpp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(5,40,72,.4);
  transition: opacity .25s, transform .25s, background .2s;
}
.wpp-float:hover { background: var(--navy-dark); transform: scale(1.05); }
.wpp-float.hidden { opacity: 0; pointer-events: none; transform: scale(.8); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  .hero-media { display: none; }
  .hero { padding:  calc(var(--header-h) + 56px) 0 72px; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
  .hero-content { margin-top: 0; padding: 0; }
  .hero-content h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
  .hero-content .btn-block { width: auto; }
  .hero-photo { display: block; }
  .hero-photo img { border-radius: 24px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; max-height: 560px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
  .saco-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .eventos-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .cta-final .btn-lg { width: auto; }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mobile menu ---------- */
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #FFFFFF;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 24px 20px 40px;
    transform: translateX(100%); transition: transform .3s ease;
  }
  body.menu-open .nav { transform: translateX(0); }
  .nav a:not(.btn) { font-size: 1.2rem; font-weight: 800; color: var(--navy-dark); padding: 14px 4px; border-bottom: 1px solid rgba(8,58,111,.1); }
  .nav-cta { display: inline-flex; margin-top: 20px; width: 100%; box-sizing: border-box; }
  body.menu-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Ajuste pós-teste: botão do menu duplicado no desktop */
@media (min-width: 861px) { .nav .nav-cta { display: none; } }
