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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f0f2f5;
    color: #1a1a2e;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0f4c75 0%, #1b262c 100%);
    color: white;
    padding: 40px 0 30px;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 24px;
}

.progress-bar {
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    height: 12px;
    max-width: 400px;
    margin: 0 auto 8px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #00b894, #00cec9);
    height: 100%;
    width: 0%;
    border-radius: 12px;
    transition: width 0.4s ease;
}

.progress-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Intro card */
.intro-card {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
}

.intro-card h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #856404;
}

.intro-card p {
    font-size: 0.95rem;
    color: #664d03;
    margin-bottom: 6px;
}

.intro-card p:last-child {
    margin-bottom: 0;
}

/* Checklist groups */
.checklist-group {
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.checklist-group h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.group-number {
    background: #0f4c75;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.group-tip {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-bottom: 12px;
    padding-left: 38px;
}

/* Check items */
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.15s;
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
}

.check-item:last-child {
    border-bottom: none;
}

.check-item:hover {
    background: #f8f9fa;
}

.check-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.2s ease;
    position: relative;
}

.check-item input:checked ~ .checkmark {
    background: #00b894;
    border-color: #00b894;
}

.check-item input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.check-item input:checked ~ .text {
    color: #888;
    text-decoration: line-through;
}

.text {
    font-size: 0.95rem;
    transition: color 0.2s;
}

/* Completed group */
.checklist-group.completed {
    opacity: 0.7;
    border-left: 3px solid #00b894;
}

.checklist-group.completed h3::after {
    content: ' \2713';
    color: #00b894;
    font-size: 1rem;
}

/* Promo section */
.promo-section {
    margin: 48px 0 32px;
    text-align: center;
}

.promo-section.promo-top {
    margin: 24px 0 8px;
}

.promo-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

/* Energy Brasil layout: left (logo + btn) | right (text) */
.energy-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.energy-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex-shrink: 0;
}

.energy-right {
    flex: 1;
}

.wa-btn {
    background: #25D366;
    color: white !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    white-space: nowrap;
}

.wa-btn:hover {
    background: #1ebe5d;
}

.wa-icon {
    width: 18px;
    height: 18px;
    fill: white;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .promo-grid {
        grid-template-columns: 1fr 1fr;
    }
    .promo-grid .promo-energy {
        grid-column: 1 / -1;
    }
}

.promo-card {
    background: white;
    border-radius: 12px;
    padding: 20px 18px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.promo-top .promo-card {
    padding: 16px 14px;
}

.promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.promo-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.promo-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.promo-card p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 6px;
}

.promo-card ul {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.promo-card ul li {
    font-size: 0.8rem;
    color: #444;
    padding: 2px 0;
    padding-left: 16px;
    position: relative;
}

.promo-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #00b894;
    font-weight: 700;
    font-size: 0.8rem;
}

.promo-cta {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0f4c75;
}

.promo-cta-disabled {
    color: #999;
}

.promo-energy {
    border: 2px solid #0f4c75;
}

.promo-soon {
    border: 2px dashed #ddd;
}

.promo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffc107;
    color: #664d03;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.promo-desc {
    font-size: 0.85rem;
    color: #777;
}

/* FAQ */
.faq-section {
    margin: 40px auto 0;
}

.faq-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.faq-section details {
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.faq-section summary {
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
}

.faq-section summary::before {
    content: '+';
    margin-right: 10px;
    font-weight: 700;
    color: #0f4c75;
}

.faq-section details[open] summary::before {
    content: '−';
}

.faq-section details p {
    padding: 0 18px 14px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

body.dark .faq-section details { background: #252540; }
body.dark .faq-section details p { color: #aaa; }
body.dark .faq-section summary::before { color: #4da6d9; }

/* Footer */
footer {
    background: #1b262c;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
    font-size: 0.85rem;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: #00cec9;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    .subtitle {
        font-size: 0.95rem;
    }
    .checklist-group {
        padding: 16px;
    }
    .promo-card {
        padding: 20px 16px;
    }
    .energy-layout {
        flex-direction: column;
    }
    .promo-logo {
        height: 32px;
    }
}

/* Theme toggle button */
.theme-toggle {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.25);
}

.hero {
    position: relative;
}

/* ===== DARK MODE ===== */
body.dark { background: #1a1a2e; color: #e0e0e0; }
body.dark .hero { background: linear-gradient(135deg, #0a2d4d 0%, #0f1923 100%); }
body.dark .intro-card { background: #3d2e00; border-left-color: #ffc107; }
body.dark .intro-card h2 { color: #ffd54f; }
body.dark .intro-card p { color: #e0c068; }
body.dark .checklist-group { background: #252540; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
body.dark .checklist-group h3 { color: #e0e0e0; }
body.dark .group-tip { color: #999; }
body.dark .check-item { border-bottom-color: #333355; }
body.dark .check-item:hover { background: #2e2e50; }
body.dark .checkmark { border-color: #555; }
body.dark .text { color: #d0d0d0; }
body.dark .check-item input:checked ~ .text { color: #777; }
body.dark .promo-card { background: #252540; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
body.dark .promo-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
body.dark .promo-card p { color: #aaa; }
body.dark .promo-card ul li { color: #bbb; }
body.dark .promo-energy { border-color: #1a6ea0; }
body.dark .promo-soon { border-color: #444; }
body.dark .promo-badge { background: #5c4a00; color: #ffd54f; }
body.dark .promo-desc { color: #999; }
body.dark .promo-cta { color: #4da6d9; }
body.dark .promo-cta-disabled { color: #666; }
body.dark footer { background: #0f1923; }
body.dark .progress-bar { background: rgba(255,255,255,0.1); }
body.dark .theme-toggle { background: rgba(255,255,255,0.15); }
