/* ══════════════════════════════════
   Computere — Design System
   ══════════════════════════════════ */

:root {
    --azul: #202A45;
    --laranja: #FF4E00;
    --azul2: #3949AB;
    --laranja2: #E64A19;
    --branco: #ffffff;
    --cinza-50: #f8f9fa;
    --cinza-100: #f4f6f9;
    --cinza-200: #e9ecef;
    --cinza-500: #6c757d;
    --cinza-800: #333333;
    --verde-wa: #25D366;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--cinza-800);
    background: var(--branco);
    line-height: 1.6;
    font-size: 15px;
}

a { color: var(--azul2); text-decoration: none; }
a:hover { color: var(--laranja); }
img { max-width: 100%; height: auto; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Topbar ── */
.topbar { background: var(--azul); color: rgba(255,255,255,0.7); font-size: 0.8rem; padding: 6px 0; }
.topbar__inner { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }

/* ── Header ── */
.header { background: var(--branco); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.header__logo img { height: 40px; }
.header__cta { display: none; }

/* ── Nav ── */
.nav { display: none; }
.nav__link { color: var(--cinza-800); font-weight: 500; font-size: 0.9rem; padding: 8px 12px; border-radius: var(--radius); transition: var(--transition); }
.nav__link:hover { color: var(--laranja); background: var(--cinza-50); }

/* ── Hamburger ── */
.hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--azul); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ── */
.btn { display: inline-block; padding: 10px 24px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; cursor: pointer; border: none; transition: var(--transition); text-align: center; }
.btn--primary { background: var(--laranja); color: var(--branco); }
.btn--primary:hover { background: var(--laranja2); color: var(--branco); }
.btn--secondary { background: var(--azul); color: var(--branco); }
.btn--secondary:hover { background: var(--azul2); color: var(--branco); }
.btn--wa { background: var(--verde-wa); color: var(--branco); }
.btn--wa:hover { background: #1DA851; color: var(--branco); }
.btn--outline { background: transparent; color: var(--branco); border: 2px solid var(--branco); }
.btn--outline:hover { background: var(--branco); color: var(--azul); }
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--sm { padding: 6px 14px; font-size: 0.8rem; }
.btn--disabled { background: var(--cinza-200); color: var(--cinza-500); cursor: default; }

/* ── Hero ── */
.hero { background: linear-gradient(135deg, var(--azul) 0%, #1a2238 100%); color: var(--branco); padding: 80px 0 60px; text-align: center; }
.hero__title { font-size: 2rem; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.hero__subtitle { font-size: 1.1rem; opacity: 0.85; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ── */
.section { padding: 60px 0; }
.section--alt { background: var(--cinza-100); }
.section__title { font-size: 1.5rem; color: var(--azul); text-align: center; margin-bottom: 8px; }
.section__subtitle { text-align: center; color: var(--cinza-500); margin-bottom: 40px; font-size: 0.95rem; }

/* ── Grid ── */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* ── Card Home ── */
.card-home { background: var(--branco); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.card-home:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-home--link { text-decoration: none; color: var(--cinza-800); display: block; }
.card-home--disabled { opacity: 0.5; }
.card-home__icon { font-size: 2.5rem; margin-bottom: 12px; }
.card-home h3 { font-size: 1.05rem; color: var(--azul); margin-bottom: 8px; }
.card-home p { font-size: 0.85rem; color: var(--cinza-500); margin-bottom: 16px; line-height: 1.5; }
.card-home__badge { background: var(--laranja); color: var(--branco); padding: 2px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }

/* ── Stats ── */
.stats-bar { text-align: center; }
.stat { padding: 20px; }
.stat__num { display: block; font-size: 2.5rem; font-weight: 700; color: var(--azul); }
.stat__label { font-size: 0.85rem; color: var(--cinza-500); }

/* ── Steps ── */
.step { text-align: center; padding: 24px; }
.step__num { width: 48px; height: 48px; background: var(--laranja); color: var(--branco); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.step h3 { color: var(--azul); margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--cinza-500); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--branco); border-radius: var(--radius); margin-bottom: 8px; box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { padding: 16px 20px; font-weight: 600; cursor: pointer; color: var(--azul); font-size: 0.95rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--laranja); transition: var(--transition); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 16px; color: var(--cinza-500); font-size: 0.9rem; line-height: 1.7; }

/* ── CTA Section ── */
.cta-section { background: linear-gradient(135deg, var(--azul) 0%, #1a2238 100%); color: var(--branco); padding: 60px 0; text-align: center; }
.cta-section h2 { font-size: 1.6rem; margin-bottom: 12px; }
.cta-section p { opacity: 0.85; margin-bottom: 28px; font-size: 1rem; }

/* ── Footer ── */
.footer { background: var(--azul); color: rgba(255,255,255,0.7); padding: 48px 0 24px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer__logo { height: 36px; margin-bottom: 12px; }
.footer__desc { font-size: 0.85rem; line-height: 1.6; }
.footer__col h4 { color: var(--branco); font-size: 0.95rem; margin-bottom: 12px; }
.footer__col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.85rem; padding: 4px 0; transition: var(--transition); }
.footer__col a:hover { color: var(--laranja); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.8rem; }
.footer__bottom p { margin-bottom: 4px; }

/* ── WhatsApp Float ── */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: var(--verde-wa); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.25); z-index: 999; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); } 50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } }

/* ── Pages ── */
.page-hero { background: var(--azul); color: var(--branco); padding: 48px 0; text-align: center; }
.page-hero h1 { font-size: 1.8rem; margin-bottom: 8px; }
.page-hero p { opacity: 0.8; font-size: 1rem; }

.page-card { background: var(--branco); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }

/* ── Alert ── */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.9rem; }
.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 0.9rem; color: var(--azul); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--cinza-200); border-radius: var(--radius); font-size: 0.95rem; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--azul2); box-shadow: 0 0 0 3px rgba(57,73,171,0.1); }

/* ── Responsive ── */
@media (min-width: 768px) {
    .nav { display: flex; gap: 4px; }
    .hamburger { display: none; }
    .header__cta { display: inline-block; }
    .hero__title { font-size: 2.8rem; }
}

/* Mobile nav open */
.nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--branco); box-shadow: var(--shadow-lg); padding: 16px; z-index: 999; }
