/* =========================================================
   Artefact — Thème "Noir & Blanc + Accent Fluo" (WCAG AA)
   Direction éditoriale, contrastée, inspirée awwwards.
   Surcharge des variables CSS de Bootstrap 5.3 (CDN)
   ========================================================= */

:root {
    /* Palette de marque */
    --af-ink: #0d0d0f;          /* noir profond quasi-pur */
    --af-ink-soft: #48484d;
    --af-paper: #ffffff;
    --af-paper-soft: #f4f4f2;
    --af-line: rgba(13, 13, 15, 0.12);
    --af-line-on-dark: rgba(255, 255, 255, 0.16);

    /* TODO (client) : couleur accent finale à définir — placeholder "fluo prisme" */
    --af-accent: #d6ff3f;
    --af-accent-ink: #0d0d0f; /* texte sur fond accent : toujours l'encre sombre pour le contraste */
    --af-prism: linear-gradient(115deg, #21e6ff 0%, #b26bff 33%, #ff3dbb 66%, #d6ff3f 100%);

    /* Surcharge Bootstrap */
    --bs-primary: var(--af-ink);
    --bs-primary-rgb: 13, 13, 15;
    --bs-body-color: var(--af-ink);
    --bs-body-bg: var(--af-paper);
    --bs-link-color: var(--af-ink);
    --bs-link-hover-color: var(--af-ink);
    --bs-border-color: var(--af-line);
    --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

    /* Police d'affichage (titres) — Didone élégant proche de « The Seasons » */
    --af-font-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
}

html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    background-color: var(--af-paper);
}

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--af-accent);
    color: var(--af-accent-ink);
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 0.5rem 0;
    font-weight: 700;
}
.skip-link:focus {
    left: 0;
}

/* ---------- Navbar : transparente sur le hero, solide au scroll ---------- */
.af-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.af-navbar.is-scrolled {
    background-color: var(--af-paper);
    border-bottom: 1px solid var(--af-line);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.af-logo {
    height: 3.25rem;
    width: auto;
    display: block;
}
/* Logo blanc sur le hero : léger halo pour le détacher du fond clair de la vidéo */
.af-navbar:not(.is-scrolled) .af-logo-light {
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}
.af-logo-dark {
    display: none;
}
.af-navbar.is-scrolled .af-logo-light {
    display: none;
}
.af-navbar.is-scrolled .af-logo-dark {
    display: block;
}
.af-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.af-navbar.is-scrolled .nav-link {
    color: var(--af-ink-soft);
}
.af-navbar .nav-link:hover,
.af-navbar .nav-link:focus {
    color: var(--af-paper);
}
.af-navbar.is-scrolled .nav-link:hover,
.af-navbar.is-scrolled .nav-link:focus {
    color: var(--af-ink);
}
.af-toggler {
    font-size: 1.9rem;
    line-height: 1;
    color: var(--af-paper);
    padding: 0.25rem 0.5rem;
    box-shadow: none !important;
}
.af-navbar.is-scrolled .af-toggler {
    color: var(--af-ink);
}
/* L'overlay mobile est sombre : le toggler reste blanc quand le menu est ouvert */
.af-navbar .navbar-collapse.show ~ .af-toggler,
.af-toggler[aria-expanded="true"] {
    color: var(--af-paper);
}
.af-toggler__close {
    display: none;
}
.af-toggler[aria-expanded="true"] .af-toggler__open {
    display: none;
}
.af-toggler[aria-expanded="true"] .af-toggler__close {
    display: inline-block;
}
/* ---------- Menu mobile plein écran ---------- */
@media (max-width: 991.98px) {
    .af-navbar .navbar-collapse {
        position: fixed;
        inset: 0;
        z-index: 1050;
        background-color: var(--af-ink);
        padding: 6rem 2rem 2rem;
        margin: 0;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        transform: translateY(-100%);
        transition: transform 0.35s ease, opacity 0.35s ease;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
    .af-navbar .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    .af-navbar .navbar-collapse .navbar-nav {
        gap: 0.5rem !important;
        width: 100%;
    }
    .af-navbar .navbar-collapse .nav-link {
        color: var(--af-paper);
        font-family: var(--af-font-display);
        font-size: 2rem;
        font-weight: 500;
        padding: 0.5rem 0;
    }
    .af-navbar .navbar-collapse .nav-link:hover,
    .af-navbar .navbar-collapse .nav-link:focus {
        color: var(--af-accent);
    }
    .af-navbar .navbar-collapse .btn {
        align-self: flex-start;
        font-size: 1.1rem;
        margin-top: 1rem;
    }
    .af-navbar .navbar-toggler {
        position: relative;
        z-index: 1060;
    }
    body.af-menu-open {
        overflow: hidden;
    }
}

/* ---------- Boutons ---------- */
.btn-accent {
    background-color: var(--af-accent);
    border: 2px solid var(--af-accent);
    color: var(--af-accent-ink);
    font-weight: 700;
}
.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--af-paper);
    border-color: var(--af-accent);
    color: var(--af-accent-ink);
}
.btn-outline-paper {
    color: var(--af-paper);
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-weight: 700;
}
.btn-outline-paper:hover,
.btn-outline-paper:focus {
    background-color: var(--af-paper);
    border-color: var(--af-paper);
    color: var(--af-ink);
}
.btn-outline-dark {
    color: var(--af-ink);
    border: 2px solid var(--af-ink);
    font-weight: 700;
}
.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background-color: var(--af-ink);
    border-color: var(--af-ink);
    color: var(--af-paper);
}

/* ---------- Hero plein cadre (format vertical) ---------- */
.af-hero {
    position: relative;
    min-height: 100svh;
    background-color: var(--af-ink);
    color: var(--af-paper);
    overflow: hidden;
}

/* CORRECTION DU HERO MEDIA (Conteneur de la miniature & vidéo) */
.af-hero-media,
#af-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 0;
    border: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.af-hero-media__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.af-hero-media__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    backdrop-filter: blur(4px);
    cursor: pointer;
}

/* Vidéo locale : object-fit cover suffit puisque le conteneur est inset:0 overflow:hidden */
.af-hero-media__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* CORRECTION DE L'IFRAME POUR COUVRIR L'ÉCRAN EN 16/9 SANS BANDES */
.af-hero-media__iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    #af-hero-media { display: none; }
}

.af-hero-prism {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--af-prism);
    opacity: 0.16;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.af-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Haut sombre (logo lisible) → clair au milieu (scène visible) → sombre en bas (boutons lisibles) */
    background: linear-gradient(
        180deg,
        rgba(13, 13, 15, 0.55) 0%,
        rgba(13, 13, 15, 0.15) 28%,
        rgba(13, 13, 15, 0.05) 45%,
        rgba(13, 13, 15, 0.25) 62%,
        rgba(13, 13, 15, 0.88) 100%
    );
    pointer-events: none;
}

/* --- Layout 3 zones du hero --- */
.af-hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem 3.5rem;
}
.af-hero__top {
    padding-top: 7rem;
    padding-bottom: 2rem;
}
.af-hero__middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* --- justify-content: flex-end;o --- */

    width: 100%;
    gap: 1.5rem;
    padding-bottom: clamp(10rem, 26vh, 20rem);
}
.af-hero__bottom {
    width: 100%;
    max-width: 46rem;
}

.af-hero-logo {
    height: clamp(7rem, 10vw, 9rem);
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.6));
    margin: 0 auto;
}
.af-hero h1 {
    color: var(--af-paper);
    font-family: var(--af-font-display);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.08;
}
.af-hero h1 .af-prism-text {
    background: var(--af-prism);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.af-hero .lead {
    color: rgba(255, 255, 255, 0.78);
    max-width: 34rem;
}
.af-hero__nonprofit-badge {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.25rem;
}
.af-hero__nonprofit-badge .bi {
    color: var(--af-accent);
}
.af-hero-youtube {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--af-paper);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.35rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.af-hero-youtube:hover,
.af-hero-youtube:focus {
    color: var(--af-accent);
    border-color: var(--af-accent);
}
.af-hero-youtube__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #ffffff;
    color: #ff0000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* ---------- Emplacements médias (photo / vidéo à venir) ---------- */
.af-media-slot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 1rem;
    border: 1.5px dashed var(--af-line);
    background: repeating-linear-gradient(
            135deg,
            var(--af-paper-soft),
            var(--af-paper-soft) 10px,
            #ececea 10px,
            #ececea 20px
    );
    color: var(--af-ink-soft);
    overflow: hidden;
}
.af-media-slot--dark {
    border-color: var(--af-line-on-dark);
    background: repeating-linear-gradient(
            135deg,
            #18181b,
            #18181b 10px,
            #1f1f23 10px,
            #1f1f23 20px
    );
    color: rgba(255, 255, 255, 0.65);
}
.af-media-slot__inner {
    padding: 1.5rem;
}
.af-media-slot__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    opacity: 0.75;
}
.af-media-slot__label {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}
.af-media-slot__hint {
    font-size: 0.8rem;
    opacity: 0.75;
}
.af-media-slot--card {
    aspect-ratio: 16 / 10;
    border-radius: 0.75rem 0.75rem 0 0;
}
.af-media-slot--video {
    aspect-ratio: 16 / 9;
    position: relative;
}
.af-ticket__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 0.75rem 0.75rem 0 0;
}
.af-media-slot--video .af-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: var(--af-accent);
    color: var(--af-accent-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    pointer-events: none;
}

/* ---------- Section titles ---------- */
.af-eyebrow {
    color: var(--af-ink);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    position: relative;
    padding-left: 1.6rem;
}
.af-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.15rem;
    height: 0.2rem;
    background: var(--af-prism);
    border-radius: 1rem;
}
.af-eyebrow--on-dark {
    color: var(--af-paper);
}
.af-section-title {
    color: var(--af-ink);
    font-family: var(--af-font-display);
    font-weight: 500;
    letter-spacing: 0;
}

/* ---------- Titre géant (Didone élégant, façon éditorial) ---------- */
.af-giant-title {
    font-family: var(--af-font-display);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1;
    font-size: clamp(1rem, 7vw, 3.5rem);
}

/* ---------- Bande vedette (feature band) ---------- */
.af-feature-band {
    background-color: var(--af-accent);
    color: var(--af-accent-ink);
}
.af-feature-band__thumb {
    width: 100%;
    max-width: 8rem;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 0.5rem;
    object-fit: cover;
    display: block;
}
.af-feature-band__eyebrow {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    opacity: 0.75;
}
.af-feature-band__title {
    font-family: var(--af-font-display);
    font-weight: 600;
    letter-spacing: 0;
}
.af-feature-band__links a {
    color: var(--af-accent-ink);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.af-feature-band__links a:hover {
    opacity: 0.7;
}

/* ---------- Mission ---------- */
.af-mission {
    background-color: var(--af-ink);
    color: var(--af-paper);
}
.af-mission__eyebrow {
    font-family: var(--af-font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.45;
    margin-bottom: 2.25rem;
}
.af-mission__items {
    display: flex;
    flex-direction: column;
}
.af-mission__item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.af-mission__item:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.af-mission__num {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--af-accent);
    letter-spacing: 0.1em;
    flex-shrink: 0;
    line-height: 1;
}
.af-mission__label {
    font-family: var(--af-font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1;
}
.af-mission__body {
    padding-left: 2rem;
    border-left: 2px solid var(--af-accent);
}
.af-mission__body .lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    opacity: 0.9;
}
.af-mission__body p {
    opacity: 0.8;
    line-height: 1.7;
}
.af-mission__legal {
    font-size: 0.72rem;
    opacity: 0.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .af-mission__body {
        padding-left: 1.25rem;
    }
}

/* ---------- Prochains événements ---------- */
.af-event-row {
    border-top: 1px solid var(--af-line);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.af-event-row:last-of-type {
    border-bottom: 1px solid var(--af-line);
}
.af-event-date {
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.15;
    min-width: 5rem;
    text-transform: uppercase;
}
.af-event-info {
    font-weight: 700;
    color: var(--af-ink);
}
.af-event-info span {
    display: block;
    font-weight: 600;
    color: var(--af-ink-soft);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---------- Créations : cartes en éventail ---------- */
.af-fan-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 3rem;
}
.af-fan-card {
    width: 11rem;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    flex-shrink: 0;
    margin-left: -2.75rem;
    border-radius: 0.5rem;
    transition: transform 0.25s ease;
}
.af-fan-card:first-child {
    margin-left: 0;
}
.af-fan-card:hover {
    transform: translateY(-12px) scale(1.04);
    z-index: 5;
}
.af-fan-card:nth-child(1) {
    transform: rotate(-9deg) translateY(14px);
    z-index: 1;
}
.af-fan-card:nth-child(2) {
    transform: rotate(-4deg) translateY(4px);
    z-index: 2;
}
.af-fan-card:nth-child(3) {
    transform: rotate(0deg) translateY(-8px);
    z-index: 3;
}
.af-fan-card:nth-child(4) {
    transform: rotate(4deg) translateY(4px);
    z-index: 2;
}
.af-fan-card:nth-child(5) {
    transform: rotate(9deg) translateY(14px);
    z-index: 1;
}
.af-fan-card:hover:nth-child(n) {
    transform: translateY(-12px) scale(1.04);
}
@media (max-width: 767.98px) {
    /* ---- Hero ---- */
    .af-hero-content {
        padding: 4rem 1.25rem 2.5rem;
    }
    .af-hero__middle {
        /* Titre plus haut → au-dessus de la scène (pierre) */
        padding-bottom: min(40vh, 16rem);
    }
    .af-hero h1 {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }
    .af-hero__bottom .btn {
        width: 100%;
        justify-content: center;
    }
    .af-hero__bottom .d-flex {
        flex-direction: column !important;
    }
    .af-hero-youtube {
        font-size: 0.85rem;
    }

    /* ---- Feature band ---- */
    .af-feature-band__thumb {
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }
    .af-feature-band__title {
        font-size: 1.25rem !important;
    }

    /* ---- Event rows : tout sur une ligne, bouton compact ---- */
    .af-event-row {
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .af-event-info {
        min-width: 0;
    }
    .af-event-row .btn {
        flex-shrink: 0;
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .af-event-date {
        font-size: 0.9rem;
        min-width: 3.8rem;
    }

    /* ---- Fan cards : grille 2 colonnes ---- */
    .af-fan-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 1.5rem 0;
        justify-items: center;
    }
    .af-fan-card {
        width: 100%;
        margin-left: 0;
        transform: none !important;
    }
    /* 5e carte centrée seule */
    .af-fan-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
    }

    /* ---- Sections : espacement réduit ---- */
    .af-giant-title {
        font-size: clamp(1.6rem, 8vw, 2.5rem);
    }
}

/* ---------- Artefact Session : carte ticket ---------- */
.af-session {
    position: relative;
    background-color: var(--af-ink);
    color: var(--af-paper);
    overflow: hidden;
}
.af-session-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
    border-radius: 0;
    border: none;
}
.af-session-content {
    position: relative;
    z-index: 1;
}
.af-ticket {
    background-color: var(--af-ink);
    border: 1px solid var(--af-line-on-dark);
    border-radius: 1rem;
    max-width: 26rem;
    margin: 0 auto;
    overflow: hidden;
}
.af-ticket__body {
    padding: 1.5rem;
}
.af-ticket__badge {
    display: inline-block;
    border: 1px solid var(--af-line-on-dark);
    border-radius: 0.35rem;
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.af-ticket__meta {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}
.af-ticket__perforation {
    border-top: 2px dashed var(--af-line-on-dark);
    margin: 1.25rem 0 0;
}
.af-ticket__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--af-paper);
    color: var(--af-ink);
    padding: 1rem 1.5rem;
    font-weight: 800;
    text-decoration: none;
}
.af-ticket__cta:hover {
    background: var(--af-accent);
    color: var(--af-accent-ink);
}

/* ---------- YouTube-style session card ---------- */
.af-yt-card {
    max-width: 54rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.75rem;
    overflow: hidden;
}
.af-yt-card__thumb-wrap {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}
.af-yt-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.af-yt-card__thumb-wrap:hover .af-yt-card__thumb {
    transform: scale(1.03);
}
.af-yt-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--af-accent);
    color: var(--af-ink);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 0.25rem;
}
.af-yt-card__duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 0.2rem;
    letter-spacing: 0.02em;
}
.af-yt-card__info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
}
.af-yt-card__avatar-wrap {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem;
}
.af-yt-card__avatar {
    width: 100%;
    height: auto;
    display: block;
}
.af-yt-card__text {
    flex: 1;
    min-width: 0;
}
.af-yt-card__title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--af-paper);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.af-yt-card__sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}
.af-yt-card__sub-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    background: #ff0000;
    color: #fff;
    border-radius: 0.375rem;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}
.af-yt-card__sub-btn:hover {
    opacity: 0.85;
    color: #fff;
}

/* ---------- Actualités ---------- */
.af-news-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
.af-news-card__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
    transition: opacity 0.2s ease;
}
.af-news-card:hover .af-news-card__img {
    opacity: 0.85;
}
.af-news-card__title {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--af-ink);
    margin-top: 1rem;
    letter-spacing: -0.01em;
}
.af-news-card:hover .af-news-card__title {
    color: var(--af-ink-soft);
}
.af-news-card__arrow {
    display: inline-block;
    margin-left: 0.35rem;
}

/* ---------- Spotlight association (dons / bénévolat) ---------- */
.af-spotlight {
    background-color: var(--af-paper-soft);
    text-align: center;
}
.af-spotlight__badge {
    width: 5.5rem;
    height: 3rem;
    border-radius: 3rem 3rem 0 0;
    background-color: var(--af-ink);
    color: var(--af-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    padding: 0 0.5rem;
}

/* ---------- Newsletter (communauté) ---------- */
/* ---------- Partenaires ---------- */
.af-partners {
    background-color: var(--af-ink);
}
.af-partners__eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 2rem;
}
.af-partners__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.af-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 2.75rem;
    background-color: var(--af-paper);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.5rem;
    min-width: 11rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}
.af-partner-item:hover {
    border-color: var(--af-paper);
    box-shadow: 0 2px 24px rgba(0,0,0,0.35);
    text-decoration: none;
}
.af-partner-item img {
    height: 2.75rem;
    width: auto;
    max-width: 9rem;
    object-fit: contain;
    display: block;
    opacity: 0.65;
    transition: opacity 0.25s ease;
}
.af-partner-item:hover img {
    opacity: 1;
}
@media (max-width: 575.98px) {
    .af-partner-item {
        min-width: calc(50% - 0.5rem);
        flex: 1;
    }
}

/* ---------- Footer ---------- */
.af-footer {
    background-color: var(--af-ink);
    color: #d8d3cc;
    overflow: hidden;
}
.af-footer a {
    color: #f1ede6;
    text-decoration: none;
}
.af-footer a:hover,
.af-footer a:focus {
    color: var(--af-accent);
    text-decoration: underline;
}
.af-footer h2,
.af-footer h3 {
    color: #fff;
    font-weight: 700;
}
.af-rna-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.5rem;
    padding: 0.35rem 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Variante du badge RNA pour les pages à fond clair (mentions légales, etc.) */
.af-rna-badge-light {
    display: inline-block;
    background-color: var(--af-paper-soft);
    border: 1px solid var(--af-line);
    color: var(--af-ink);
    border-radius: 0.5rem;
    padding: 0.35rem 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.af-footer hr {
    border-color: rgba(255, 255, 255, 0.15);
}
.af-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    padding: 0;
    margin: 0;
    list-style: none;
}
.af-social-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}
.af-footer a.af-social-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #fff;
    color: var(--af-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.af-footer a.af-social-icon:hover,
.af-footer a.af-social-icon:focus {
    background: var(--af-accent);
    color: var(--af-accent-ink);
    text-decoration: none;
}
.af-footer-logo-big {
    height: clamp(5rem, 18vw, 11rem);
    width: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.9;
}
.af-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    font-size: 0.85rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.af-footer-legal a {
    text-decoration: underline;
}
/* Pages internes (mentions légales, etc.) : nav simple non transparente */
.af-navbar-static {
    position: static;
    background-color: var(--af-paper);
    border-bottom: 1px solid var(--af-line);
}

/* ---------- Bannière cookies ---------- */
.af-cookie-banner {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1080;
    background-color: var(--af-ink);
    color: #f1ede6;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: none;
}
.af-cookie-banner.is-visible {
    display: block;
}
.af-cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

/* ---------- Focus visible (accessibilité) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--af-accent);
    outline-offset: 2px;
}
