/* ── Layout principal ── */
body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    margin: 0;
    padding-top: var(--header-height);
    background: #f5f7f8;
    color: #1f2937;
    line-height: 1.65;
    min-height: 100vh;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.5em 4em;
}

/* ── Bandeau hero ── */
.hero {
    margin: 0 0 3em;
    padding: 4em 1.5em 3.5em;
    background: var(--brand);
    color: #fff;
    text-align: center;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-logo {
    height: 56px;
    width: auto;
    margin-bottom: 1.6em;
}

.hero .eyebrow {
    display: inline-block;
    background: var(--brand-dark);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.4em 1em;
    border-radius: 3px;
    margin-bottom: 1.2em;
}

.hero h1 {
    font-size: 2.3rem;
    margin: 0 0 0.5em;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.08em;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto;
    max-width: 560px;
    line-height: 1.6;
}

/* ── Sections ── */
section {
    background: #fff;
    border-radius: 8px;
    padding: 2em 2.2em;
    margin-bottom: 1.2em;
    border: 1px solid #e5e7eb;
}

section h2 {
    margin: 0 0 1.2em;
    font-size: 0.78em;
    color: var(--brand-dark);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-bottom: 0.9em;
    border-bottom: 2px solid #f0faf9;
    position: relative;
}

section h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--brand);
}

section p {
    margin: 0 0 0.9em;
    color: #4b5563;
}

section p:last-child {
    margin-bottom: 0;
}

/* ── Pills de langues ── */
.lang-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: 0 0 1.5em;
}

.lang-pill {
    background: var(--brand);
    color: #fff;
    padding: 0.35em 0.95em;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Liste des flux ── */
ul.feeds {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.feeds li {
    display: flex;
    align-items: center;
    padding: 1em 1.1em;
    margin-bottom: 0.5em;
    background: #f8fdfc;
    border: 1px solid #d9efec;
    border-left: 3px solid var(--brand);
    border-radius: 5px;
}

ul.feeds li:last-child {
    margin-bottom: 0;
}

ul.feeds .feed-lang {
    display: inline-block;
    min-width: 2.5em;
    font-size: 0.72em;
    font-weight: 700;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-right: 1em;
    padding-right: 1em;
    border-right: 1px solid #cbe9e6;
}

ul.feeds .feed-link {
    font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
    font-size: 0.88em;
    color: var(--brand-dark);
    text-decoration: none;
    word-break: break-all;
    flex: 1;
    font-weight: 500;
}

ul.feeds .feed-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── CTA principal ── */
.cta-section {
    text-align: center;
    background: var(--brand);
    color: #fff;
    border: none;
}

.cta-section h2 {
    color: rgba(255, 255, 255, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.cta-section h2::after {
    background: #fff;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.5em;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.9em 1.9em;
    background: #fff;
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    letter-spacing: 0.02em;
}

.cta-button:hover {
    background: #f0faf9;
}

/* ── Empty state ── */
.empty {
    color: #94a3b8;
    font-style: italic;
    text-align: center;
    padding: 1.5em 0;
}

/* ── Footer ── */
.footer {
    text-align: center;
    color: #94a3b8;
    font-size: 0.85em;
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1px solid #e5e7eb;
}

.footer a {
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 500;
}

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

.footer code {
    background: #fff;
    padding: 0.2em 0.5em;
    border-radius: 3px;
    border: 1px solid #d9efec;
    font-size: 0.95em;
    color: var(--brand-dark);
}

/* ── Responsive ── */
@media (max-width: 700px) {
    .hero {
        padding: 3em 1.5em 2.5em;
    }

    .hero-logo {
        height: 44px;
        margin-bottom: 1.2em;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero .subtitle {
        font-size: 1em;
    }

    .container {
        padding: 0 1em 3em;
    }

    section {
        padding: 1.5em 1.4em;
    }

    ul.feeds li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5em;
    }

    ul.feeds .feed-lang {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
    }
}

/* ── Flux thématiques (tech / news) ──────────────────────────────── */
ul.feeds-special li {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5em;
    background: #fff;
    border-left-color: var(--brand-dark);
}

.feed-special-head {
    display: flex;
    align-items: center;
    gap: 0.8em;
}

ul.feeds .feed-lang--special {
    background: var(--brand-dark);
    color: #fff;
    padding: 0.2em 0.6em;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-right: none;
    margin-right: 0;
    padding-right: 0.6em;
    min-width: auto;
}


.feed-special-label {
    color: #1f2937;
    font-size: 0.95em;
}

.feed-special-desc {
    margin: 0;
    color: #4b5563;
    font-size: 0.92em;
    line-height: 1.5;
}