/* ═══════════════════════════════════════════════════════
   LYKY LABEL FRANCE - Aides et Subventions
   Theme sombre - Rouge #E8131A - Or #C8A44E - Noir #1a1a1a
   ═══════════════════════════════════════════════════════ */

:root {
    --red: #E8131A;
    --red-hover: #ff2930;
    --red-soft: rgba(232, 19, 26, 0.12);
    --gold: #C8A44E;
    --gold-hover: #d4b460;
    --gold-soft: rgba(200, 164, 78, 0.12);
    --black: #1a1a1a;
    --surface: #222222;
    --surface-hover: #2a2a2a;
    --border: #333333;
    --border-light: #444444;
    --text: #f0f0f0;
    --text-muted: #999999;
    --text-dim: #666666;
    --white: #ffffff;
    --danger: #DC3545;
    --success: #28A745;
    --warning: #F59E0B;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.2s ease;
    --navbar-height: 64px;
}

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

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--black);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-hover);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navbar ──────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}

.navbar__brand:hover {
    color: var(--white);
}

.brand__lyky {
    color: var(--red);
    font-weight: 900;
    letter-spacing: 1px;
}

.brand__label {
    color: var(--white);
    font-weight: 600;
}

.brand__section {
    background: var(--gold);
    color: var(--black);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar__link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.navbar__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.navbar__link--active {
    color: var(--gold);
    background: var(--gold-soft);
}

.navbar__link--site {
    color: var(--text-dim);
    font-size: 13px;
}

.navbar__link--site:hover {
    color: var(--gold);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface) 0%, var(--black) 100%);
    border-bottom: 1px solid var(--border);
}

.hero__title {
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.hero__title span {
    color: var(--gold);
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.hero__nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--gold {
    background: var(--gold);
    color: var(--black);
}

.btn--gold:hover {
    background: var(--gold-hover);
    color: var(--black);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn--outline:hover {
    background: var(--gold-soft);
    color: var(--gold-hover);
    transform: translateY(-1px);
}

.btn--red {
    background: var(--red);
    color: var(--white);
}

.btn--red:hover {
    background: var(--red-hover);
    color: var(--white);
    transform: translateY(-1px);
}

.btn--lg {
    padding: 14px 36px;
    font-size: 15px;
}

/* ── Section ─────────────────────────────────────────── */
.section {
    padding: 80px 0;
}

.section__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.section__subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

/* ── Cards Grid ──────────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.aide-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.aide-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.aide-card__header {
    padding: 24px 24px 20px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

.aide-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.aide-card__icon--red {
    background: var(--red-soft);
    color: var(--red);
}

.aide-card__icon--gold {
    background: var(--gold-soft);
    color: var(--gold);
}

.aide-card__info {
    flex: 1;
}

.aide-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.3;
}

.aide-card__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.aide-card__toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
    color: var(--text-muted);
    margin-top: 4px;
}

.aide-card__toggle svg {
    transition: transform 0.3s ease;
}

.aide-card.is-open .aide-card__toggle svg {
    transform: rotate(180deg);
}

.aide-card.is-open .aide-card__toggle {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold);
}

.aide-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.aide-card.is-open .aide-card__body {
    max-height: 800px;
}

.aide-card__content {
    padding: 0 24px 24px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.aide-card__content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
    margin-top: 16px;
}

.aide-card__content h4:first-child {
    margin-top: 0;
}

.aide-card__content p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.6;
}

.aide-card__content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.aide-card__content li {
    font-size: 14px;
    color: var(--text);
    padding: 6px 0 6px 20px;
    position: relative;
    line-height: 1.5;
}

.aide-card__content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.aide-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aide-card__tag--credit {
    background: var(--red-soft);
    color: var(--red);
}

.aide-card__tag--subvention {
    background: var(--gold-soft);
    color: var(--gold);
}

.aide-card__tag--accompagnement {
    background: rgba(40, 167, 69, 0.12);
    color: var(--success);
}

.aide-card__cta {
    margin-top: 16px;
}

/* ── Simulateur ──────────────────────────────────────── */
.simulateur {
    max-width: 720px;
    margin: 0 auto;
}

.simulateur__form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.form-label small {
    font-weight: 400;
    color: var(--text-muted);
}

.form-select,
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color var(--transition);
    appearance: none;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-select option {
    background: var(--black);
    color: var(--text);
}

.form-actions {
    margin-top: 32px;
    text-align: center;
}

/* ── Résultats simulateur ────────────────────────────── */
.resultats {
    margin-top: 48px;
}

.resultats__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.resultats__subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.resultat-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.resultat-item__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    background: var(--gold-soft);
    color: var(--gold);
}

.resultat-item__info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.resultat-item__info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.resultat-cta {
    margin-top: 32px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
    text-align: center;
}

.resultat-cta p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 16px;
}

.resultat-cta strong {
    color: var(--gold);
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.no-results p {
    margin-bottom: 16px;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.8;
}

.site-footer a {
    color: var(--text-muted);
}

.site-footer a:hover {
    color: var(--gold);
}

.footer__brand {
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer__brand .brand-red {
    color: var(--red);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .hero {
        padding: 110px 0 60px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 15px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 48px 0;
    }

    .section__title {
        font-size: 22px;
    }

    .navbar__nav {
        display: none;
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
    }

    .navbar__nav.is-open {
        display: flex;
    }

    .navbar__toggle {
        display: flex;
    }

    .simulateur__form {
        padding: 20px;
    }

    .resultat-item {
        flex-direction: column;
        gap: 12px;
    }

    .hero__nav {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 24px;
    }

    .aide-card__header {
        padding: 16px;
    }

    .aide-card__content {
        padding: 0 16px 16px;
        padding-top: 16px;
    }
}
