/* ── Variáveis ─────────────────────────────────────────────────────────────── */
:root {
  --navy: #2B2E4A;
  --gold: #D4AF37;
  --gold-hover: #c49e2f;
  --sidebar-bg: #f8f7f4;
}

/* ── Reset / Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #1a1a1a; background: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Header fixo ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
  animation: slideDown .3s ease-out;
}
@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.header-logo { height: 40px; width: auto; cursor: pointer; flex-shrink: 0; }
@media (min-width: 640px) { .header-logo { height: 48px; } }
@media (min-width: 1024px) { .header-logo { height: 56px; } }

/* ── Nav Desktop ───────────────────────────────────────────────────────────── */
.nav-desktop { display: none; align-items: center; gap: 32px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
  color: #fff; font-weight: 500; font-size: .95rem;
  position: relative; transition: transform .2s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px;
  background: currentColor; transform: scaleX(0); transition: transform .3s;
}
.nav-link:hover { transform: scale(1.08); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--gold); }

.btn-header {
  display: none; align-items: center; gap: 8px;
  padding: 10px 24px; font-weight: 600; font-size: .9rem;
  background: var(--gold); color: var(--navy);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
@media (min-width: 1024px) { .btn-header { display: flex; } }
.btn-header:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(212,175,55,.35); }
.btn-header:active { transform: scale(.97); }

/* ── Hambúrguer Mobile ─────────────────────────────────────────────────────── */
.hamburger { display: flex; padding: 8px; color: #fff; }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* ── Menu Mobile ───────────────────────────────────────────────────────────── */
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200;
  transition: opacity .3s;
}
.mobile-overlay.hidden { display: none; }

.mobile-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0; width: 320px; max-width: 85vw;
  background: #fff; z-index: 201; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-sidebar:not(.translate-x-full) { transform: translateX(0); }

.mobile-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-sidebar-header img { height: 40px; width: auto; }
.mobile-close { padding: 8px; color: #fff; }

.mobile-nav a, .mobile-nav button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left; padding: 16px 24px;
  color: var(--navy); font-weight: 600;
  border-bottom: 1px solid #f1f1f1;
  transition: background .2s;
}
.mobile-nav a:hover, .mobile-nav button:hover { background: #f9f9f9; }
.mobile-nav .active-mobile { color: var(--gold); background: rgba(43,46,74,.05); }

.mobile-cta { padding: 16px; }
.mobile-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px 24px; font-weight: 700; font-size: 1.1rem;
  background: var(--gold); color: var(--navy);
  transition: transform .2s, box-shadow .2s;
}
.mobile-cta-btn:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(212,175,55,.3); }

/* ── Espaçador de header ───────────────────────────────────────────────────── */
.header-spacer { height: 64px; }
@media (min-width: 640px) { .header-spacer { height: 76px; } }
@media (min-width: 1024px) { .header-spacer { height: 88px; } }

/* ── Container ─────────────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ── Seções ────────────────────────────────────────────────────────────────── */
.section { padding: 48px 0; }
@media (min-width: 640px) { .section { padding: 64px 0; } }
@media (min-width: 1024px) { .section { padding: 80px 0; } }

.section-navy { background: var(--navy); }
.section-white { background: #fff; }
.section-gray { background: var(--sidebar-bg); }

/* ── Tipografia ────────────────────────────────────────────────────────────── */
.heading-xl {
  font-size: clamp(1.35rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.2;
}
.heading-lg {
  font-size: clamp(1.2rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.25;
}
.heading-md {
  font-size: clamp(1.1rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.3;
}
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: #fff; }

/* ── Botões ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 32px; font-weight: 600; font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(212,175,55,.35); }
.btn-full { width: 100%; }

@media (min-width: 640px) { .btn { padding: 14px 40px; font-size: 1.05rem; } }
@media (min-width: 1024px) { .btn { padding: 16px 56px; font-size: 1.1rem; } }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card { background: #fff; border: 1px solid #e5e7eb; padding: 24px; }
.card-navy { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 24px; }
.card-gold-border { background: rgba(255,255,255,.1); border: 2px solid var(--gold); padding: 24px; }

/* ── Grid utilitários ──────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* ── Formulários ───────────────────────────────────────────────────────────── */
.form-input {
  width: 100%; height: 48px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1);
  color: #fff; font-size: .95rem; font-family: inherit;
  outline: none; transition: border-color .2s;
}
.form-input::placeholder { color: rgba(255,255,255,.5); }
.form-input:focus { border-color: rgba(255,255,255,.6); }
.form-input.error { border-color: #ef4444; border-width: 2px; }

.form-input-white {
  width: 100%; height: 48px; padding: 0 16px;
  border: 1px solid #d1d5db; background: #fff;
  color: #1a1a1a; font-size: .95rem; font-family: inherit;
  outline: none; transition: border-color .2s;
}
.form-input-white:focus { border-color: var(--navy); }
.form-input-white.error { border-color: #ef4444; border-width: 2px; }

.form-label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: #fff; }
.form-error { display: none; color: #f87171; font-size: .85rem; margin-top: 4px; }
.form-error.visible { display: block; }

/* ── Modal ─────────────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

.modal-box {
  width: 100%; max-width: 480px; max-height: 95vh; overflow-y: auto;
  background: var(--navy);
  transform: translateY(20px); transition: transform .3s;
}
.modal-backdrop.open .modal-box { transform: translateY(0); }

.modal-inner { padding: 32px 24px; }
@media (min-width: 640px) { .modal-inner { padding: 40px 40px; } }

.modal-close-btn {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.2); color: #fff;
  transition: background .2s;
}
.modal-close-btn:hover { background: rgba(255,255,255,.3); }

/* ── ThankYou Modal ────────────────────────────────────────────────────────── */
.thankyou-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 400;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.thankyou-modal.open { opacity: 1; pointer-events: all; }
.thankyou-box {
  background: var(--navy); padding: 48px 32px; text-align: center;
  max-width: 400px; width: 100%;
  transform: scale(.95); transition: transform .3s;
}
.thankyou-modal.open .thankyou-box { transform: scale(1); }

/* ── WhatsApp Float ────────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 150;
  width: 56px; height: 56px; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: transform .2s;
  animation: popIn .5s .5s cubic-bezier(.175,.885,.32,1.275) both;
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float:active { transform: scale(.95); }

/* ── Back to top ───────────────────────────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 90px; left: 24px; z-index: 150;
  width: 44px; height: 44px; background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: opacity .3s, transform .2s;
}
#back-to-top.opacity-0 { opacity: 0; }
#back-to-top.pointer-events-none { pointer-events: none; }
#back-to-top:hover { transform: translateY(-3px); }

/* ── Reveal animation ──────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── LP animations ─────────────────────────────────────────────────────────── */
.anim-fade-up { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.anim-fade-up.visible { opacity: 1; transform: translateY(0); }
.anim-fade-in { opacity: 0; transition: opacity .8s ease; }
.anim-fade-in.visible { opacity: 1; }
.anim-scale { opacity: 0; transform: scale(.95); transition: opacity .6s ease, transform .6s ease; }
.anim-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.delay-3 { transition-delay: .45s; }
.delay-4 { transition-delay: .6s; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(212,175,55,.4);} 50%{box-shadow:0 0 0 14px rgba(212,175,55,0);} }
.btn-pulse { animation: pulse 2.2s ease-in-out infinite; }

/* ── LP hero full height ───────────────────────────────────────────────────── */
.lp-hero {
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: 80px 0 60px;
}
.lp-cta-section {
  min-height: 70svh; display: flex; align-items: center; justify-content: center;
  padding: 80px 0;
}
.lp-copy-section { padding: 64px 0; }
@media (min-width: 640px) { .lp-copy-section { padding: 80px 0; } }
@media (min-width: 1024px) { .lp-copy-section { padding: 100px 0; } }

/* ── LP typography ─────────────────────────────────────────────────────────── */
.lp-heading {
  font-size: clamp(1.6rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.15;
}
.lp-subheading {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem); font-weight: 400; line-height: 1.5;
}
.lp-body {
  font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.7;
}
.lp-accent-line {
  width: 60px; height: 4px; background: var(--gold); margin: 24px auto;
}
.lp-accent-line-left {
  width: 60px; height: 4px; background: var(--gold); margin: 24px 0;
}

/* ── LP bullet list ────────────────────────────────────────────────────────── */
.lp-bullets { list-style: none; padding: 0; margin: 0; }
.lp-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: clamp(.95rem, 1.8vw, 1.15rem); line-height: 1.6;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.lp-bullets li:last-child { border-bottom: none; }
.lp-bullets li::before {
  content: '•'; color: var(--gold); font-size: 1.4rem; line-height: 1.2; flex-shrink: 0;
}
.lp-bullets-dark li { border-bottom-color: rgba(0,0,0,.07); }
.lp-bullets-dark li::before { color: var(--navy); }

/* ── LP divider ────────────────────────────────────────────────────────────── */
.lp-divider { border: none; border-top: 1px solid rgba(255,255,255,.12); margin: 32px 0; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy); padding: 48px 0 0;
  border-top: 2px solid var(--gold);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 2fr 1fr 1fr; } }

.footer-logo { height: 44px; margin-bottom: 12px; }
.footer-desc { color: #9ca3af; font-size: .85rem; line-height: 1.6; }

.footer-col-title { color: var(--gold); font-weight: 700; font-size: .9rem; margin-bottom: 16px; }
.footer-link { display: block; color: #9ca3af; font-size: .85rem; margin-bottom: 8px; transition: color .2s; }
.footer-link:hover { color: #fff; }

.footer-address { color: #9ca3af; font-size: .85rem; line-height: 1.7; }
.footer-address-icon { display: flex; align-items: flex-start; gap: 8px; }

.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social-btn {
  width: 40px; height: 40px; border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
}
.footer-social-btn:hover { transform: scale(1.1); background: rgba(212,175,55,.1); }

.footer-copy { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; }
.footer-copy p { color: #6b7280; font-size: .8rem; }

/* ── Hero Form Box ─────────────────────────────────────────────────────────── */
.hero-form-box {
  background: var(--navy); border: 2px solid var(--gold);
  padding: 32px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
@media (min-width: 640px) { .hero-form-box { padding: 40px 32px; } }

/* ── Stat Cards ────────────────────────────────────────────────────────────── */
.stat-card { text-align: center; padding: 24px; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: .85rem; color: #9ca3af; margin-top: 4px; }

/* ── Check list ────────────────────────────────────────────────────────────── */
.check-item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 24px; }
.check-icon { color: var(--gold); flex-shrink: 0; }
.x-icon { color: #dc2626; flex-shrink: 0; }

/* ── Bullet card ───────────────────────────────────────────────────────────── */
.bullet-card { padding: 32px 24px; text-align: center; background: #fff; border: 1px solid #e5e7eb; }
.bullet-card-icon { width: 48px; height: 48px; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.bullet-card-text { color: var(--navy); font-weight: 600; font-size: .95rem; }

/* ── Spinner ───────────────────────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(43,46,74,.3); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; }

/* ── Utilidades ────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.space-y > * + * { margin-top: 16px; }
.space-y-lg > * + * { margin-top: 24px; }
.space-y-xl > * + * { margin-top: 32px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
