:root {
    --bg: #f7f9f4;
    --surface: #ffffff;
    --text: #1f271f;
    --muted: #66705f;
    --primary: #a9c934;
    --primary-dark: #719010;
    --border: #e5eadc;
    --shadow: 0 20px 50px rgba(31, 39, 31, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6vw;
    background: rgba(247, 249, 244, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--primary-dark); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.8rem; }

.section { padding: 70px 6vw; max-width: 1180px; margin: 0 auto; }
.hero {
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 36px;
    align-items: center;
}
.badge, .pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecf5c7;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: .85rem;
}
.badge.light { background: rgba(255,255,255,.25); color: #fff; }
h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1.05; margin: 18px 0; letter-spacing: -2px; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; margin: 8px 0 12px; letter-spacing: -1px; }
h3 { margin: 18px 0 8px; font-size: 1.3rem; }
.hero-text p, .section-title p { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    padding: 13px 20px;
    border: 1px solid var(--border);
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}
.btn.primary, .btn.small { background: var(--primary); border-color: var(--primary); color: #172006; }
.btn.ghost { background: var(--surface); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.small { padding: 10px 14px; margin-top: 12px; }
.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 34px;
    box-shadow: var(--shadow);
    text-align: center;
}
.hero-card img { width: min(240px, 80%); margin-bottom: 18px; }
.hero-card p { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 0; }
.stats div, .card, .promo-item, details, .validation {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(31, 39, 31, .04);
}
.stats div { padding: 24px; }
.stats strong { display: block; font-size: 1.8rem; }
.stats span { color: var(--muted); }
.section-title { margin-bottom: 28px; }
.section-title span { color: var(--primary-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 24px; }
.card p { color: var(--muted); }
.stars { color: #d19a00; letter-spacing: 2px; font-size: 1.2rem; }
.review-card small { display: block; color: var(--muted); margin-top: 4px; }
.course-card { display: flex; flex-direction: column; align-items: flex-start; }
.price { margin-top: auto; font-size: 1.4rem; font-weight: 900; color: var(--primary-dark); }

.promo {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #779614, #a9c934);
    color: #fff;
    border-radius: 34px;
    margin-top: 40px;
}
.promo p { color: rgba(255,255,255,.86); }
.promo-list { display: grid; gap: 14px; }
.promo-item { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.22); padding: 20px; box-shadow: none; }
.promo-item span { font-weight: 800; }

.validation { padding: 44px 6vw; }
.validate-form { display: flex; gap: 12px; }
.validate-form input {
    flex: 1;
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
}
.result { margin-top: 18px; padding: 18px; border-radius: 14px; display: none; }
.result.ok { display: block; background: #edf8df; color: #324d05; }
.result.error { display: block; background: #fff1f1; color: #7a1c1c; }
.faq-list { display: grid; gap: 12px; }
details { padding: 18px 22px; }
summary { cursor: pointer; font-weight: 800; }
details p { color: var(--muted); margin-bottom: 0; }
.footer { text-align: center; padding: 40px 6vw; color: var(--muted); }
.footer img { width: 70px; display: block; margin: 0 auto 10px; }

@media (max-width: 900px) {
    .hero, .promo { grid-template-columns: 1fr; }
    .stats, .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .menu-btn { display: block; }
    .nav {
        position: absolute;
        top: 72px;
        left: 5vw;
        right: 5vw;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }
    .nav.open { display: flex; }
    .section { padding: 52px 5vw; }
    .stats, .cards { grid-template-columns: 1fr; }
    .validate-form { flex-direction: column; }
}
