/*
 * La page de présentation de la Sucrerie (/decouvrir/).
 *
 * Elle reprend l'en-tête, le pied de page et les couleurs de l'application
 * (themes/default.css, components/header.css, components/footer.css) ; ce fichier
 * ne pose que la mise en page des sections.
 *
 * Même sobriété que la page sœur de Caramel (retour de Gauthier, sept. 2026 : « ça
 * fait trop IA ») : ni dégradé, ni halo, ni texte en dégradé, ni élément incliné, ni
 * surtitre en capitales espacées, ni animation. Les sections alternent seulement le
 * blanc et le fond de l'application ; le rose poudré de la marque est la seule touche
 * de couleur, à plat. tests/decouvrir/ le vérifie.
 */
:root {
    --encre: var(--color-on-surface);
    --encre-2: var(--color-on-surface-variant);
    --encre-3: var(--color-text-muted);
    --fond: var(--color-background);
    --surface: #ffffff;
    --trait: #ebe7e6;
    --trait-fort: #d7d1d0;

    --berry: var(--color-primary);
    --berry-fonce: var(--color-primary-dim);
    --rose: var(--color-primary-container);
    --rose-clair: #fdeef1;
    --rose-trait: #f3d5dc;
    --prune: #5d2a52;
    --mauve: #9a4f7e;

    --ombre: 0 4px 14px rgba(49, 51, 50, .06);
    --ombre-survol: 0 8px 22px rgba(127, 83, 92, .1);
    --ombre-forte: 0 12px 32px rgba(49, 51, 50, .12);
    --rayon: 20px;
    --largeur: 1180px;
}

html { scroll-padding-top: var(--hauteur-entete, 96px); }
body { font-size: 17px; }
img { max-width: 100%; height: auto; }
code { font: .88em ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(0, 0, 0, .05); padding: .1em .35em; border-radius: 6px; color: var(--encre); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
/* `hidden` l'emporte toujours, même sur un bouton en inline-flex (le pli « … », « Ouvrir sa fiche »). */
[hidden] { display: none !important; }

.evitement { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--surface); padding: 10px 16px; border-radius: 10px; box-shadow: var(--ombre); }
.evitement:focus { top: 12px; }

/* ------------------------------------------------------------------ Boutons */
.bouton {
    display: inline-flex; align-items: center; gap: .55em;
    padding: .8em 1.25em; border-radius: var(--radius-full); border: 1px solid transparent;
    font: 600 1rem/1.2 var(--font-base); text-decoration: none; cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.bouton:hover, .bouton:focus-visible { text-decoration: none; }
.bouton--plein { background: var(--berry); color: var(--color-on-primary); }
.bouton--plein:hover, .bouton--plein:focus-visible { background: var(--berry-fonce); color: var(--color-on-primary); }
.bouton--clair { background: var(--surface); color: var(--encre); border-color: var(--trait-fort); }
.bouton--clair:hover, .bouton--clair:focus-visible { border-color: var(--berry); color: var(--berry); }
.bouton--petit { padding: .55em 1em; font-size: .9rem; }
[dir="rtl"] .bouton .fa-arrow-right, [dir="rtl"] .ouvrir .fa-arrow-right, [dir="rtl"] .lien-fleche .fa-arrow-right { transform: scaleX(-1); }

/* ------------------------------------------------------------------ Barre du haut */
/* La barre de l'application (header.css) : marque à gauche, sections au centre, outils à droite. */
.barre__navigation { position: relative; flex: 0 1 auto; min-width: 0; }
.navigation { display: flex; justify-content: center; gap: 2px; }
.navigation a {
    flex-shrink: 0; display: inline-flex; align-items: center; min-height: 40px;
    color: var(--encre-2); text-decoration: none; font-weight: 600; font-size: .86rem;
    padding: 8px 10px; border-radius: 10px; white-space: nowrap;
    transition: background-color .2s, color .2s;
}
.navigation a:hover, .navigation a:focus-visible { color: var(--berry); background: var(--rose-clair); text-decoration: none; }
.navigation a.actif { color: var(--berry); background: var(--rose-clair); }
.navigation-bouton {
    display: none; align-items: center; justify-content: center; gap: 8px;
    height: 40px; padding: 0 14px; border: 1px solid var(--color-outline-variant); border-radius: var(--radius-full);
    background: var(--surface); color: var(--encre-2); font: 600 .86rem var(--font-base); cursor: pointer; white-space: nowrap;
}
.navigation-bouton:hover, .navigation-bouton:focus-visible { border-color: var(--berry); color: var(--berry); }
.navigation-bouton .fa-chevron-down { font-size: .65rem; }
.navigation-bouton[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
.ouvrir {
    display: inline-flex; align-items: center; gap: .5em; height: 40px; padding: 0 1.2rem;
    border-radius: var(--radius-full); background: var(--berry); color: var(--color-on-primary);
    font-size: var(--font-size-sm); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.ouvrir:hover, .ouvrir:focus-visible { background: var(--berry-fonce); color: var(--color-on-primary); text-decoration: none; }
.lang-switcher__menu button[aria-selected="true"] { color: var(--berry); }

@media (max-width: 1280px) {
    .navigation-bouton { display: inline-flex; }
    .navigation {
        display: none; position: absolute; inset-inline-start: 50%; transform: translateX(-50%); top: calc(100% + 14px);
        width: max-content; min-width: 220px; max-width: calc(100vw - 32px); padding: 8px;
        flex-direction: column; align-items: stretch; gap: 2px; background: var(--surface);
        border: 1px solid var(--trait); border-radius: 14px; box-shadow: var(--ombre-forte);
    }
    [dir="rtl"] .navigation { transform: translateX(50%); }
    .barre__navigation.ouverte .navigation { display: flex; }
    .navigation a { white-space: normal; }
}
@media (max-width: 768px) {
    .site-header__inner { padding-inline: 1rem; gap: .6rem; }
    .brand__baseline { display: none; }
    .ouvrir span { display: none; }
    .ouvrir { width: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 480px) {
    .navigation-bouton { padding: 0 10px; gap: 6px; font-size: .8rem; }
    .navigation-bouton span {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
    }
    .navigation { inset-inline-start: auto; inset-inline-end: -60px; transform: none; }
    [dir="rtl"] .navigation { transform: none; }
    .brand__wordmark { display: none; }
}

/* ------------------------------------------------------------------ Ouverture */
/* La seule touche de couleur : le rose poudré de la marque, à plat. */
.ouverture {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center;
    padding: 64px max(20px, calc((100vw - var(--largeur)) / 2));
    background: var(--rose-clair); border-bottom: 1px solid var(--rose-trait);
}
.ouverture h1 { font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 800; line-height: 1.15; color: var(--encre); }
.nuance { color: var(--berry); }
.chapeau { font-size: 1.1rem; color: var(--encre-2); max-width: 34em; margin: 20px 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.capture { overflow: hidden; border: 1px solid var(--rose-trait); border-radius: var(--rayon); background: #fff; box-shadow: 0 6px 20px rgba(127, 83, 92, .1); }
.capture img { display: block; width: 100%; }

/* ------------------------------------------------------------------ Sections */
.section { padding: 80px max(16px, calc((100vw - var(--largeur)) / 2)); }
.section--blanc { background: var(--surface); border-block: 1px solid var(--trait); }
.section__tete { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section__tete h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 800; }
.section__tete p { color: var(--encre-2); font-size: 1.08rem; margin-top: 14px; }
.note { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--encre-3); font-size: .95rem; }

/* ------------------------------------------------------------------ Vidéo */
.cinema { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.lecteur { position: relative; aspect-ratio: 16 / 9; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--trait); background: #000; }
.lecteur iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.affiche {
    position: absolute; inset: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    border: 0; cursor: pointer; font-family: var(--font-base); text-align: center;
    color: var(--prune); background: var(--rose-clair);
}
.affiche img { width: 84px; height: 84px; border-radius: 18px; }
.affiche strong { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.15; margin-top: 8px; }
.affiche span { font-weight: 500; color: var(--encre-2); }
.lecture {
    display: grid; place-items: center; width: 62px; height: 62px; margin-top: 14px;
    border-radius: 50%; background: #fff; color: var(--berry); font-size: 1.3rem;
    box-shadow: var(--ombre); transition: background-color .2s ease, color .2s ease;
}
.lecture i { margin-inline-start: 4px; }
.affiche:hover .lecture, .affiche:focus-visible .lecture { background: var(--berry); color: #fff; }
.video-presentation { min-width: 0; }

.en-bref { list-style: none; margin: 0; padding: 6px 24px; display: grid; grid-auto-rows: 1fr; border-radius: var(--rayon); background: var(--fond); }
.en-bref li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-content: center; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.en-bref li:last-child { border-bottom: 0; }
.en-bref i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); color: var(--berry); font-size: .9rem; }
.en-bref b { display: block; font-size: 1.02rem; font-weight: 700; color: var(--encre); }
.en-bref span { display: block; color: var(--encre-2); font-size: .94rem; line-height: 1.45; }

/* ------------------------------------------------------------------ Étapes et chiffres */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.etape { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px; }
.etape__numero {
    display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px;
    border-radius: 50%; color: #fff; font-weight: 700; background: var(--berry);
}
.etape h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.etape p { color: var(--encre-2); }

.chiffres { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 56px 0 0; }
.chiffres[data-sans-total] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chiffre { padding: 6px 20px; border-inline-start: 1px solid var(--trait-fort); }
.chiffre:first-child, .chiffres[data-sans-total] .chiffre:nth-child(2) { border-inline-start: 0; }
.chiffre b { display: block; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.15; color: var(--berry); font-variant-numeric: tabular-nums; }
.chiffre > span { display: block; font-weight: 600; line-height: 1.35; margin-top: 4px; color: var(--encre); }
.chiffre small { font-weight: 500; color: var(--encre-3); font-size: .85rem; }

/* ------------------------------------------------------------------ Collections */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.carte { background: var(--fond); border-radius: var(--rayon); padding: 28px; }
.carte h3 { font-size: 1.2rem; font-weight: 800; margin: 16px 0 8px; }
.carte p { color: var(--encre-2); font-size: .98rem; }
.carte__icone, .carte-kit__icone { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--rose-clair); color: var(--berry); font-size: 1.2rem; }

/* ------------------------------------------------------------------ Rendez-vous */
.mecanique { list-style: none; margin: 0 auto 36px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1000px; }
.mecanique li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.mecanique i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--trait); color: var(--berry); }
.mecanique b { display: block; color: var(--encre); font-weight: 700; }
.mecanique span { display: block; color: var(--encre-2); font-size: .95rem; line-height: 1.5; }

.rendez-vous { display: grid; gap: 22px; }
.rdv {
    display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 32px; align-items: start;
    padding: 28px; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon);
}
.rdv--termine { grid-template-columns: minmax(0, 1fr); padding: 18px 24px; background: transparent; }
.rdv--termine .rdv__visuel { display: none; }
.rdv__visuel { margin: 0; }
.rdv__visuel a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--trait); box-shadow: var(--ombre); }
.rdv__visuel img { display: block; width: 100%; height: auto; }
.rdv__statut { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--encre-3); font-size: .92rem; }
.statut { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--fond); color: var(--encre-2); }
.statut--en-cours { background: #e3f3e8; color: #1f6a3a; }
.statut--en-cours::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.statut--a-venir { background: var(--rose-clair); color: var(--berry); }
.rdv h3 { font-size: 1.45rem; font-weight: 800; margin: 10px 0 10px; }
.rdv p.rdv__texte { color: var(--encre-2); max-width: 46em; }
.rdv .actions { margin-top: 20px; }
.rdv__video { margin-top: 22px; max-width: 720px; }

/* ------------------------------------------------------------------ Essayer */
.atelier { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 28px; align-items: start; }
.tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tuile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-height: 140px; padding: 16px 12px; border-radius: var(--rayon);
    background: var(--fond); border: 1px solid var(--trait);
    font: 700 .92rem/1.25 var(--font-base); color: var(--encre); text-align: center; cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.tuile img { width: 52px; height: 52px; object-fit: contain; }
.tuile small { color: var(--encre-3); font-weight: 500; font-size: .78rem; }
.tuile:hover { border-color: var(--trait-fort); box-shadow: var(--ombre-survol); }
.tuile[aria-selected="true"] { border-color: var(--berry); background: var(--surface); box-shadow: 0 8px 22px rgba(127, 83, 92, .16); }
.scene { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; min-height: 520px; display: flex; flex-direction: column; }
.scene__tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; border-bottom: 1px solid var(--trait); }
.scene__tete h3 { font-size: 1.25rem; font-weight: 800; }
.scene__tete p { margin-top: 4px; color: var(--encre-3); font-size: .95rem; }
.scene__tete .bouton { white-space: nowrap; flex: none; }
.scene__jeu { position: relative; flex: 1; display: flex; }
.scene__jeu iframe { flex: 1; width: 100%; min-height: 560px; border: 0; }
.scene__attente { color: var(--encre-3); text-align: center; margin: 80px auto; }

/* ------------------------------------------------------------------ Former */
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.carte-kit { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; }
.carte-kit--large { grid-column: 1 / -1; }
.carte-kit h3 { font-size: 1.2rem; font-weight: 800; margin: 16px 0 8px; }
.carte-kit > p { margin: 0 0 16px; color: var(--encre-2); font-size: .98rem; }
.integrations { display: grid; gap: 12px; margin-top: auto; padding: 14px; border: 1px solid var(--trait); border-radius: 16px; background: var(--fond); }
.integration-choix { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 6px; }
.integration-choix legend { padding: 0; margin-bottom: 8px; color: var(--encre-2); font-weight: 600; font-size: .85rem; }
.integration-option { display: grid; grid-template-columns: 20px minmax(0, 1fr) 16px; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--trait); color: var(--encre); cursor: pointer; }
.integration-option input { grid-column: 3; grid-row: 1; width: 15px; height: 15px; margin: 0; accent-color: var(--berry); cursor: pointer; }
.integration-option > i { grid-column: 1; grid-row: 1; color: var(--berry); }
.integration-option > span { grid-column: 2; grid-row: 1; min-width: 0; }
.integration-option b { display: block; font-size: .82rem; line-height: 1.35; font-weight: 700; }
.integration-option small { display: block; margin-top: 2px; font-size: .72rem; line-height: 1.3; color: var(--encre-3); }
.integration-option:has(input:checked) { border-color: var(--berry); background: var(--rose-clair); }
.integration-option:has(input:focus-visible) { outline: 2px solid var(--berry); outline-offset: 2px; }
.copier {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 12px; border-radius: var(--radius-full); border: 1px solid var(--berry); background: var(--surface);
    font: 700 .86rem var(--font-base); color: var(--berry); cursor: pointer;
}
.copier:hover, .copier:focus-visible { background: var(--rose-clair); }
.copier.fait { color: #1f6a3a; border-color: #1f6a3a; }
.telechargements { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
.telechargements a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 12px; background: var(--fond); color: var(--encre); text-decoration: none; font-weight: 700; font-size: .88rem; line-height: 1.25; }
.telechargements a:hover, .telechargements a:focus-visible { background: var(--rose-clair); color: var(--encre); text-decoration: none; }
.telechargements a > span { min-width: 0; }
.telechargements small { display: block; margin-top: 2px; color: var(--encre-3); font-size: .76rem; font-weight: 500; }
.telechargements .vignette { flex: none; width: 34px; height: 48px; object-fit: cover; border-radius: 4px; border: 1px solid var(--trait); }
.telechargements .fa-download { margin-inline-start: auto; color: var(--berry); }
.telechargements .vide { color: var(--encre-3); font-size: .9rem; }
.appuis { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.appuis li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .95rem; color: var(--encre-2); }
.appuis i { color: var(--berry); font-size: 1.05rem; margin-top: 3px; text-align: center; }
.appuis img { width: 22px; height: 22px; object-fit: contain; margin-top: 2px; }
.appuis b { color: var(--encre); }
.lien-fleche { margin-top: auto; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.deroule { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.deroule li { padding-top: 16px; border-top: 1px solid var(--trait); }
.deroule time { display: inline-block; font-weight: 700; color: var(--berry); background: var(--rose-clair); padding: 2px 10px; border-radius: 999px; font-size: .85rem; margin-bottom: 8px; }
.deroule div { color: var(--encre-2); font-size: .96rem; }
.deroule b { color: var(--encre); }

/* ------------------------------------------------------------------ Catalogues */
.filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.filtre {
    padding: 7px 16px; border-radius: 999px; border: 1px solid var(--trait-fort); background: var(--surface);
    font: 600 .92rem var(--font-base); color: var(--encre-2); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s;
}
.filtre:hover { border-color: var(--berry); color: var(--berry); }
.filtre[aria-pressed="true"] { background: var(--berry); border-color: var(--berry); color: #fff; }
.filtre span { opacity: .75; margin-inline-start: 4px; font-weight: 500; }
.ressources { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ressource {
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.section--blanc .ressource { background: var(--fond); }
.ressource[hidden], .ressource--repliee { display: none !important; }
.ressource:hover { border-color: var(--trait-fort); box-shadow: var(--ombre); }
.ressource__corps { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ressource__type { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: .82rem; font-weight: 700; color: var(--teinte, var(--berry)); }
.ressource__type svg { width: 25px; height: 25px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ressource__type > span { display: grid; gap: 1px; }
.ressource__type small { color: var(--encre-3); font-size: .74rem; font-weight: 500; }
.ressource h3 { font-size: 1.08rem; font-weight: 700; }
.ressource h3 a, .ressource__ouvrir { color: var(--encre); text-decoration: none; }
.ressource__ouvrir { padding: 0; border: 0; background: none; font: inherit; text-align: start; cursor: pointer; }
.ressource h3 a::after, .ressource__ouvrir::after { content: ""; position: absolute; inset: 0; }
.ressource--ouverte { grid-column: 1 / -1; }
.ressource--ouverte .ressource__ouvrir::after { content: none; }
.ressource__video { width: 100%; max-width: 980px; margin: 4px auto 0; }
.ressource__video .lecteur { border-radius: 10px; }
.ressource__commandes { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.video-presentation .ressource__commandes, .rdv__video .ressource__commandes { justify-content: flex-start; margin: 12px 0 0; }
.video-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 9px 14px; border: 1px solid var(--trait-fort); border-radius: var(--radius-full);
    font: 600 .86rem/1.2 var(--font-base); color: var(--berry); background: var(--surface);
    cursor: pointer; text-decoration: none;
}
.video-action:hover, .video-action:focus-visible { border-color: var(--berry); background: var(--rose-clair); color: var(--berry); text-decoration: none; }
.video-action:disabled { opacity: .65; cursor: wait; }
.ressource__fermer { color: var(--encre-2); }
.video-lien { flex-basis: 100%; min-width: 0; width: 100%; padding: 10px; border: 1px solid var(--trait); border-radius: 8px; font: .85rem var(--font-base); }
.ressource p { color: var(--encre-2); font-size: .95rem; }
.ressource__meta { margin-top: auto; padding-top: 6px; color: var(--encre-3); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.ressource--video { --teinte: var(--berry); }
.ressource--tutoriel { --teinte: #3c6e9f; }
.ressource--article { --teinte: #9a3e7e; }
.ressource--communaute { --teinte: #1f6a3a; }
.ressource--outil { --teinte: #9a5a14; }
.ressource--conference { --teinte: #6a4087; }
.ressource--publication { --teinte: #2f625e; }
.plus { display: flex; justify-content: center; margin-top: 20px; }
.plus__bouton {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px;
    border: 1px solid var(--trait-fort); border-radius: var(--radius-full); background: var(--surface);
    font: 600 .92rem var(--font-base); color: var(--encre-2); cursor: pointer;
}
.plus__bouton:hover { border-color: var(--berry); color: var(--berry); }
.signaler { text-align: center; color: var(--encre-3); margin: 36px auto 0; max-width: 680px; }
.chargement-rate { color: var(--encre-3); text-align: center; grid-column: 1 / -1; }

/* ------------------------------------------------------------------ Co-créateurs */
.createurs__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.createur { display: flex; align-items: center; gap: 24px; min-width: 0; padding: 26px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--fond); }
.createur__portrait { flex: 0 0 132px; }
.createur__portrait img { display: block; width: 132px; height: 178px; object-fit: cover; border-radius: 14px; }
.createur__texte { min-width: 0; }
.createur h3 { font-size: 1.25rem; font-weight: 800; }
.createur__fonction { margin: 12px 0 8px; color: var(--encre-2); font-size: .93rem; line-height: 1.5; }
.createur__academie { margin: 0 0 14px; color: var(--encre-3); font-size: .86rem; }
.createur__contact { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: .9rem; font-weight: 600; }

/* ------------------------------------------------------------------ Appel final */
.appel { text-align: center; padding: 72px 16px; }
.appel img { margin: 0 auto; border-radius: 14px; }
.appel h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin: 14px 0 10px; }
.appel p { margin: 0 0 26px; font-size: 1.08rem; color: var(--encre-2); }

/* ------------------------------------------------------------------ Pied de page */
.pied .footer__icon { width: auto; height: auto; font-size: 12px; }
.pied .footer__discover[aria-current="page"] { color: var(--berry); }

/* ------------------------------------------------------------------ Écrans moyens et étroits */
@media (max-width: 1024px) {
    .ouverture { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 48px; padding-bottom: 48px; }
    .cinema, .atelier { grid-template-columns: minmax(0, 1fr); }
    .trio, .mecanique { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
    .mecanique { margin-bottom: 32px; }
    .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kit > .carte-kit:nth-child(3) { grid-column: 1 / -1; }
    .deroule { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .chiffres, .chiffres[data-sans-total] { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
    .chiffre:nth-child(4) { border-inline-start: 0; }
    .createurs__liste { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
    .rdv { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .section { padding-top: 60px; padding-bottom: 60px; }
    .ouverture { padding-top: 36px; padding-bottom: 40px; }
    .chiffres, .chiffres[data-sans-total] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chiffre { border-inline-start: 0 !important; padding: 12px 8px; }
    .etapes, .kit, .deroule { grid-template-columns: minmax(0, 1fr); }
    .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tuile { min-height: 120px; }
    .scene__tete { flex-direction: column; padding: 18px; }
    .scene__jeu iframe { min-height: 520px; }
    .en-bref { padding: 4px 16px; }
    .carte, .carte-kit, .etape { padding: 22px 18px; }
    .rdv { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
    .rdv__visuel { max-width: 220px; }
    .lecture { width: 52px; height: 52px; font-size: 1.1rem; margin-top: 8px; }
    .affiche img { width: 56px; height: 56px; }
}
@media (max-width: 480px) {
    .createur { gap: 16px; padding: 20px 16px; }
    .createur__portrait { flex-basis: 80px; }
    .createur__portrait img { width: 80px; height: 108px; }
}
@media (max-width: 360px) {
    .createur { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
