*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green-900: #0d3a1c;
  --green-800: #135427;
  --green-700: #1a7236;
  --green-600: #1fa350;
  --green-500: #34c26c;
  --green-400: #6fdb9a;
  --green-300: #a4edc4;
  --green-100: #e7fbee;
  --green-50:  #f4fef8;
  --gold:      #F59E0B;
  --gold-light:#FEF3C7;
  --text-dark: #111827;
  --text-mid:  #374151;
  --text-muted:#6B7280;
  --border:    #E5E7EB;
  --white:     #ffffff;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.14);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,31,10,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: .625rem; }
.nav-brand-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--green-500), var(--green-400)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.nav-brand-name { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,.75); font-size: .875rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.btn-nav-login { color: rgba(255,255,255,.75); font-size: .875rem; font-weight: 500; padding: .5rem 1rem; border-radius: 8px; transition: all .2s; }
.btn-nav-login:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn-nav-signup { background: var(--green-500); color: #fff; font-size: .875rem; font-weight: 600; padding: .5rem 1.25rem; border-radius: 8px; transition: all .2s; }
.btn-nav-signup:hover { background: var(--green-400); transform: translateY(-1px); }

/* ── HERO ── */
.hero { background: linear-gradient(90deg, rgba(13,58,28,.97) 0%, rgba(13,58,28,.90) 32%, rgba(13,58,28,.45) 60%, rgba(13,58,28,.08) 100%), url('../images/hero.jpg') 78% center / cover no-repeat, var(--green-900); padding: 140px 1.5rem 100px; position: relative; overflow: hidden; }
@media (max-width: 900px) { .hero { background: linear-gradient(180deg, rgba(13,58,28,.92) 0%, rgba(13,58,28,.80) 100%), url('../images/hero.jpg') 85% center / cover no-repeat, var(--green-900); } }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(31,163,80,.25) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(52,194,108,.15) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(31,163,80,.2); border: 1px solid rgba(111,219,154,.3); color: #a4edc4; font-size: .75rem; font-weight: 600; padding: .375rem .875rem; border-radius: 100px; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: .5px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--green-400); }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary { background: var(--green-500); color: #fff; font-size: 1rem; font-weight: 700; padding: .875rem 2rem; border-radius: 10px; display: inline-flex; align-items: center; gap: .5rem; transition: all .2s; border: none; cursor: pointer; }
.btn-hero-primary:hover { background: var(--green-400); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,163,80,.4); color: #fff; }
.btn-hero-secondary { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: 1rem; font-weight: 600; padding: .875rem 1.75rem; border-radius: 10px; display: inline-flex; align-items: center; gap: .5rem; transition: all .2s; border: 1px solid rgba(255,255,255,.12); cursor: pointer; }
.btn-hero-secondary:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.hero-stat-num { font-size: 1.625rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-label { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: .25rem; }

/* Hero dashboard mockup */
.hero-mockup { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1.25rem; backdrop-filter: blur(4px); }
.mockup-bar { display: flex; gap: .375rem; margin-bottom: 1rem; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.mockup-card { background: rgba(255,255,255,.06); border-radius: 10px; padding: .875rem; }
.mockup-card-label { font-size: .65rem; color: rgba(255,255,255,.45); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-bottom: .375rem; }
.mockup-card-val { font-size: 1.1rem; font-weight: 800; color: #fff; }
.mockup-card-var { font-size: .7rem; margin-top: .2rem; font-weight: 600; }
.mockup-chart { background: rgba(255,255,255,.04); border-radius: 8px; height: 80px; display: flex; align-items: flex-end; gap: 3px; padding: .5rem; overflow: hidden; }
.mockup-bar-c { flex: 1; background: linear-gradient(to top, rgba(111,219,154,.7), rgba(111,219,154,.3)); border-radius: 3px 3px 0 0; transition: height .3s; }
.mockup-news { margin-top: .75rem; }
.mockup-news-item { background: rgba(255,255,255,.04); border-radius: 7px; padding: .5rem .75rem; margin-bottom: .375rem; font-size: .68rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: .5rem; }
.mockup-news-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* ── SECTION COMMONS ── */
.section { padding: 96px 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-block; background: var(--green-100); color: var(--green-600); font-size: .75rem; font-weight: 700; padding: .25rem .875rem; border-radius: 100px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--text-dark); letter-spacing: -.03em; margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 540px; line-height: 1.7; }

/* ── FEATURES ── */
.features-bg { background: var(--green-50); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3.5rem; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); transition: all .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-400); }
.feature-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--green-600), var(--green-500)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; margin-bottom: 1.25rem; }
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.feature-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 3.5rem; position: relative; }
.step { text-align: center; padding: 0 1rem; }
.step-num { width: 52px; height: 52px; background: var(--green-600); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; font-weight: 800; margin: 0 auto 1.25rem; }
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step-desc { font-size: .875rem; color: var(--text-muted); }
.step-connector { display: none; }

/* ── PLANS ── */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3.5rem; align-items: stretch; } /* mesma altura em todos os cards */
.plan-card { background: #fff; border: 2px solid var(--border); border-radius: 16px; padding: 2rem; position: relative; transition: all .25s; display: flex; flex-direction: column; height: 100%; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* Destaque SEM mudar o tamanho: borda e faixa verdes, fundo suave, sombra forte e botão cheio */
.plan-card.popular { border-color: var(--green-500); background: linear-gradient(180deg, #effaf2 0%, #fff 38%); box-shadow: 0 0 0 4px rgba(31,163,80,.12), 0 14px 40px rgba(31,163,80,.28); }
.plan-card.popular::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 14px 14px 0 0; background: linear-gradient(90deg, var(--green-600), var(--green-400)); }
.plan-card.popular .plan-name { color: var(--green-700, var(--green-600)); }
.plan-card.popular .btn-plan-primary { box-shadow: 0 8px 20px rgba(31,163,80,.35); }
.plan-popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--green-600), var(--green-400)); color: #fff; font-size: .72rem; font-weight: 700; padding: .3rem 1.25rem; border-radius: 100px; white-space: nowrap; text-transform: uppercase; letter-spacing: .5px; }
.plan-name { font-size: 1rem; font-weight: 700; color: var(--text-mid); margin-bottom: .5rem; }
.plan-desc { font-size: .82rem; color: var(--text-muted); margin-bottom: 1.5rem; min-height: 4.4em; } /* 3 linhas: os preços alinham entre os cards */
.plan-price-wrap { margin-bottom: 1.5rem; }
.plan-price { font-size: 2.5rem; font-weight: 900; color: var(--text-dark); line-height: 1; letter-spacing: -.04em; }
.plan-price sub { font-size: 1rem; font-weight: 500; vertical-align: baseline; color: var(--text-muted); }
.plan-price sup { font-size: 1.25rem; font-weight: 700; vertical-align: super; }
.plan-ciclo { font-size: .78rem; color: var(--text-muted); margin-top: .375rem; }
.plan-trial { display: inline-flex; align-items: center; gap: .375rem; background: var(--gold-light); color: #92400E; font-size: .75rem; font-weight: 600; padding: .3rem .75rem; border-radius: 100px; margin-bottom: 1.5rem; border: 1px solid #FDE68A; }
.plan-features { list-style: none; margin-bottom: 1rem; display: flex; flex-direction: column; gap: .625rem; padding-left: 0; flex: 1 1 auto; } /* empurra o botão para o rodapé */
.plan-features li.plan-extra { display: none; }
.plan-card.expandido .plan-features li.plan-extra { display: flex; }
.plan-more { background: none; border: 0; color: var(--green-600); font-size: .8rem; font-weight: 700; padding: 0 0 1rem; text-align: left; cursor: pointer; }
.plan-more:hover { text-decoration: underline; }
.plan-card .btn-plan { margin-top: auto; }
.plan-features li { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--text-mid); }
.plan-features li i { color: var(--green-500); margin-top: .1rem; flex-shrink: 0; font-size: .9rem; }
.plan-features li.off { color: var(--text-muted); }
.plan-features li.off i { color: #D1D5DB; }
.btn-plan { width: 100%; padding: .875rem; border-radius: 10px; font-size: .9rem; font-weight: 700; border: none; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-plan-primary { background: var(--green-600); color: #fff; }
.btn-plan-primary:hover { background: var(--green-500); transform: translateY(-1px); }
.btn-plan-outline { background: transparent; color: var(--green-600); border: 2px solid var(--green-600); }
.btn-plan-outline:hover { background: var(--green-600); color: #fff; }

/* ── TESTIMONIALS ── */
.testimonials-bg { background: var(--green-900); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3.5rem; }
.testi-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.75rem; }
.testi-stars { color: var(--gold); margin-bottom: 1rem; font-size: .85rem; }
.testi-text { font-size: .9rem; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-600); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .875rem; flex-shrink: 0; }
.testi-name { font-size: .875rem; font-weight: 600; color: #fff; }
.testi-role { font-size: .75rem; color: rgba(255,255,255,.45); }

/* ── FOOTER ── */
.footer { background: var(--green-900); padding: 48px 1.5rem 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); margin-top: .75rem; max-width: 260px; line-height: 1.6; }
.footer-col h4 { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: .5rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.06); margin-bottom: 1.25rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: rgba(255,255,255,.35); }

/* ── MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 1000; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: 20px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: slideUp .3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal-header { padding: 1.75rem 2rem 1.25rem; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; position: sticky; top: 0; background: #fff; z-index: 1; border-radius: 20px 20px 0 0; }
.modal-header h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-dark); }
.modal-header p { font-size: .82rem; color: var(--text-muted); margin-top: .25rem; }
.modal-close { width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0; transition: all .2s; }
.modal-close:hover { background: #e5e7eb; color: var(--text-dark); }
.modal-body { padding: 1.5rem 2rem 2rem; }

/* ── FORM ── */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-mid); margin-bottom: .375rem; }
.form-control { width: 100%; padding: .625rem .875rem; border: 1.5px solid var(--border); border-radius: 8px; font-size: .9rem; color: var(--text-dark); font-family: inherit; transition: border-color .2s; outline: none; }
.form-control:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(111,219,154,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%236B7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }

/* Plano selecionado no modal */
.selected-plan-bar { background: var(--green-50); border: 1.5px solid var(--green-200, #A5D6A7); border-radius: 10px; padding: .875rem 1.125rem; display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.selected-plan-bar .sp-name { font-weight: 700; font-size: .9rem; color: var(--green-700, #1a7236); }
.selected-plan-bar .sp-price { font-size: .85rem; font-weight: 600; color: var(--green-600); }
.trial-notice { background: #FEF3C7; border: 1px solid #FDE68A; border-radius: 8px; padding: .625rem .875rem; font-size: .8rem; color: #92400E; display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.stripe-element { padding: .625rem .875rem; border: 1.5px solid var(--border); border-radius: 8px; background: #fff; transition: border-color .2s; }
.stripe-element.focused { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(111,219,154,.12); }
.stripe-secure { display: flex; align-items: center; gap: .375rem; font-size: .72rem; color: var(--text-muted); margin-top: .375rem; }
.btn-submit { width: 100%; padding: .9rem; background: var(--green-600); color: #fff; font-size: .95rem; font-weight: 700; border: none; border-radius: 10px; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.btn-submit:hover:not(:disabled) { background: var(--green-500); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-error { background: #FEF2F2; border: 1px solid #FECACA; border-radius: 8px; padding: .625rem .875rem; font-size: .82rem; color: #DC2626; margin-top: .75rem; display: none; }
.form-error.show { display: block; }
.form-divider { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.form-divider span { font-size: .75rem; color: var(--text-muted); white-space: nowrap; }
.ciclo-toggle { display: flex; background: #F3F4F6; border-radius: 8px; padding: 3px; margin-bottom: 1rem; }
.ciclo-btn { flex: 1; padding: .5rem; border: none; border-radius: 6px; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .2s; background: transparent; color: var(--text-muted); }
.ciclo-btn.active { background: #fff; color: var(--green-600); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.ciclo-anual-badge { font-size: .65rem; background: var(--gold); color: #fff; padding: 1px 5px; border-radius: 4px; margin-left: .25rem; }

/* Steps do form */
.form-steps { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.form-step-dot { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background .3s; }
.form-step-dot.active { background: var(--green-500); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-mockup { display: none; }
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .hero { padding: 120px 1.25rem 72px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .modal-header, .modal-body { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ── Mobile hardening ── */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
@media (max-width: 640px) {
  .nav-inner { gap: .5rem; }
  .nav-cta { gap: .25rem; }
  .btn-nav-login { padding: .5rem .6rem; }
  .btn-nav-signup { padding: .5rem .9rem; font-size: .8rem; }
  .section { padding-left: 1.25rem; padding-right: 1.25rem; }
  h1, h2 { overflow-wrap: anywhere; }
}

/* ── SCROLL INDICATOR ── */
.scroll-chevron { text-align: center; margin-top: 2.5rem; animation: bounce 2s infinite; }
.scroll-chevron i { font-size: 1.5rem; color: rgba(255,255,255,.3); }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ── UTILITIES ── */
.text-green { color: var(--green-500) !important; }
.fw-800 { font-weight: 800; }
.spin { animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
