/* Page d'accueil — charte Trega : bleu #0A58CA, bleu nuit #141F2E, beige #E0CCAF, Bebas Neue + Montserrat. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.ac-h2 { font-family: var(--titre); font-weight: 400; font-size: clamp(38px, 4.6vw, 58px); line-height: .98; letter-spacing: .01em; max-width: 16ch; }
.ac-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ac-lien { font-weight: 600; font-size: 15px; }

/* ===== En-tête ===== */
.ac-hero { background: var(--gris-fond); padding: 72px 0 88px; overflow: hidden; }
.ac-hero-grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.ac-hero-texte { display: flex; flex-direction: column; gap: 28px; }
.ac-titre { font-family: var(--titre); font-weight: 400; font-size: clamp(54px, 7.4vw, 104px); line-height: .9; letter-spacing: .005em; color: var(--nuit); }
.ac-ligne { display: block; }
.ac-ligne:last-child { color: var(--bleu); }
.ac-lead { font-size: 18px; line-height: 1.65; max-width: 56ch; color: var(--texte-doux); }

/* Le badge : objet central de l'en-tête */
.ac-badge-scene { display: flex; justify-content: center; perspective: 1100px; }
.ac-badge {
    position: relative; width: min(100%, 320px); aspect-ratio: 5 / 8; padding: 46px 28px 26px;
    display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
    background: #fff; border-top: 14px solid var(--bleu);
    box-shadow: 0 30px 60px -20px rgba(20, 31, 46, .35), 0 0 0 1px rgba(20, 31, 46, .06);
    transform: rotate(-4deg) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
    transition: transform .25s ease-out;
    transform-style: preserve-3d;
}
.ac-badge::before { content: ''; position: absolute; left: 50%; top: -230px; width: 28px; height: 220px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, var(--nuit) 0 18px, var(--bleu) 18px 36px); }
.ac-badge-trou { position: absolute; top: 14px; left: 50%; width: 54px; height: 10px; transform: translateX(-50%); background: var(--gris-fond); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); }
.ac-badge-logo { height: 38px; width: auto; }
.ac-badge-photo { display: grid; place-items: center; width: 132px; height: 132px; margin-top: 8px; background: var(--beige); font-family: var(--titre); font-size: 76px; color: var(--nuit); }
.ac-badge-nom { font-size: 21px; font-weight: 700; color: var(--nuit); }
.ac-badge-role { font-size: 13px; color: var(--texte-doux); margin-top: -6px; }
.ac-badge-statut { position: relative; display: grid; width: 100%; margin-top: auto; font-family: var(--titre); font-size: 26px; letter-spacing: .03em; color: #fff; }
.ac-badge-statut > span { grid-area: 1 / 1; padding: 12px 10px; transition: opacity .45s ease, transform .45s ease; }
.ac-scan { background: #5B6676; }
.ac-ok { background: #1E7F4F; opacity: 0; transform: translateY(8px); }
.ac-badge-statut.scanne .ac-scan { opacity: 0; transform: translateY(-8px); }
.ac-badge-statut.scanne .ac-ok { opacity: 1; transform: none; }
.ac-badge-nfc { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--bleu); }

/* Arrivée du titre et du badge (une seule séquence, au chargement) */
.ac-pret .ac-ligne, .ac-pret .ac-lead, .ac-pret .ac-hero-texte .ac-actions { animation: ac-monte .8s cubic-bezier(.2, .7, .2, 1) both; }
.ac-pret .ac-ligne:nth-child(2) { animation-delay: .08s; }
.ac-pret .ac-ligne:nth-child(3) { animation-delay: .16s; }
.ac-pret .ac-lead { animation-delay: .28s; }
.ac-pret .ac-hero-texte .ac-actions { animation-delay: .36s; }
.ac-pret .ac-badge-scene { animation: ac-badge 1.1s cubic-bezier(.2, .8, .2, 1) .15s both; }
@keyframes ac-monte { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes ac-badge { from { opacity: 0; transform: translateY(-60px) rotate(6deg); } to { opacity: 1; transform: none; } }

/* ===== Univers ===== */
.ac-univers { background: var(--nuit); color: var(--beige); overflow: hidden; padding: 22px 0; }
.ac-univers-piste { display: flex; width: max-content; animation: ac-defile 60s linear infinite; }
.ac-univers ul { list-style: none; margin: 0; padding: 0; display: flex; }
.ac-univers li { font-family: var(--titre); font-size: clamp(30px, 4vw, 46px); line-height: 1; padding: 0 28px; white-space: nowrap; }
.ac-univers li::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 56px; background: var(--bleu); vertical-align: middle; transform: translateY(-4px); }
@keyframes ac-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Fonctionnalités : téléphone fixe ===== */
.ac-fonctions { padding: 112px 0 64px; }
.ac-fonctions-grille { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; margin-top: 56px; }
.ac-fonctions-liste { list-style: none; margin: 0; padding: 0; counter-reset: fonction; }
.ac-fonction { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-left: 28px; border-left: 3px solid var(--gris-bord); transition: border-color .4s ease; }
.ac-fonction h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.15; max-width: 22ch; color: var(--texte-doux); transition: color .4s ease; }
.ac-fonction p { font-size: 17px; line-height: 1.7; max-width: 52ch; color: var(--texte-doux); }
.ac-fonction.actif { border-left-color: var(--bleu); }
.ac-fonction.actif h3 { color: var(--nuit); }
.ac-tel-colonne { position: relative; }
.ac-tel-colonne { align-self: stretch; }
.ac-tel-sticky { position: sticky; top: max(24px, calc(50vh - 345px)); }
.ac-tel { width: 100%; max-width: 330px; margin: 0 auto; padding: 12px; background: var(--nuit); border-radius: 44px; box-shadow: 0 40px 80px -30px rgba(20, 31, 46, .5); }
.ac-tel-ecran { position: relative; height: 620px; border-radius: 33px; overflow: hidden; background: #fff; }
.ac-tel-mobile { display: none; }
.ac-ecran { position: absolute; inset: 0; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.ac-ecran[data-actif] { opacity: 1; transform: none; }
.ac-progression { list-style: none; margin: 20px 0 0; padding: 0; display: flex; justify-content: center; gap: 8px; }
.ac-progression li { width: 22px; height: 4px; background: var(--gris-chip); transition: background .3s, width .3s; }
.ac-progression li[data-actif] { width: 40px; background: var(--bleu); }

/* Écrans illustrés */
.ec { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 44px 18px 18px; text-align: center; font-size: 13px; color: var(--nuit); }
.ec-clair { background: #F4F5F7; }
.ec-nuit { background: var(--nuit); color: #fff; }
.ec-pass { background: var(--gris-fond); }
.ec-avatar { display: grid; place-items: center; width: 76px; height: 76px; background: var(--beige); border: 3px solid var(--bleu); font-family: var(--titre); font-size: 40px; color: var(--nuit); }
.ec-avatar-rond { border-radius: 50%; border-color: #E0457B; }
.ec-nom { font-size: 17px; }
.ec-nom-affiche { font-family: var(--titre); font-weight: 400; font-size: 34px; line-height: 1; }
.ec-bio { color: var(--texte-doux); margin-bottom: 4px; }
.ec-btn { display: flex; flex-direction: column; justify-content: center; width: 100%; min-height: 46px; padding: 8px; background: #fff; border: 2px solid var(--gris-bord); font-weight: 700; font-size: 13px; }
.ec-btn small { font-weight: 500; font-size: 11px; opacity: .75; }
.ec-btn-plein { background: var(--bleu); border-color: var(--bleu); color: #fff; min-height: 54px; }
.ec-nuit .ec-btn { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.ec-nuit .ec-btn-plein { background: #E0457B; border-color: #E0457B; }
.ec-pilule { border-radius: 999px; }
.ec-pastilles { display: flex; gap: 8px; margin: 2px 0 6px; }
.ec-pastilles i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px var(--nuit), 0 0 0 3px rgba(255, 255, 255, .5); }
.ec-pastilles i:first-child { box-shadow: 0 0 0 2px var(--nuit), 0 0 0 4px #fff; }
.ec-titre { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); }
.ec-promo { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 12px 10px; background: #fff; border: 2px dashed var(--bleu); font-weight: 600; }
.ec-promo b { padding: 4px 12px; background: var(--bleu); color: #fff; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; letter-spacing: .12em; }
.ec-promo small { font-size: 11px; color: var(--texte-doux); }
.ec-promo:first-of-type small { color: #1E7F4F; font-weight: 700; }
.ec-pass-tete { display: flex; align-items: center; gap: 10px; }
.ec-qr { width: 70px; height: 70px; background:
    conic-gradient(var(--nuit) 25%, #fff 0 50%, var(--nuit) 0 75%, #fff 0) 0 0 / 14px 14px,
    #fff; border: 6px solid #fff; outline: 1px solid var(--gris-bord); }
.ec-statut { display: flex; flex-direction: column; width: 100%; padding: 12px 8px; background: #1E7F4F; color: #fff; font-family: var(--titre); font-size: 28px; line-height: 1; }
.ec-statut small { font-family: var(--corps); font-size: 12px; font-weight: 600; margin-top: 4px; }
.ec-jours { display: flex; gap: 6px; }
.ec-jours i { font-style: normal; font-weight: 700; font-size: 11px; padding: 6px 8px; border: 2px solid var(--gris-chip); background: #fff; }
.ec-jours i.ok { background: #1E7F4F; border-color: #1E7F4F; color: #fff; }
.ec-acces { font-weight: 600; background: #fff; padding: 10px; width: 100%; }
.ec-heure { font-size: 11px; font-weight: 600; color: var(--texte-doux); }
.ec-direct { width: 8px; height: 8px; border-radius: 50%; background: #1E9E5A; }
.ec-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ec-logos i { font-style: normal; font-weight: 700; font-size: 11px; padding: 8px 10px; background: #fff; border: 1px solid var(--gris-bord); color: var(--texte-doux); filter: grayscale(1); }
.ec-logos i.couleur { background: #D62E3C; border-color: #D62E3C; color: #fff; filter: none; }
.ec-note { font-size: 13px; font-weight: 600; }
.ec-note b { color: #F2B01E; font-size: 18px; letter-spacing: 2px; }

/* ===== Parcours ===== */
.ac-parcours { padding: 48px 0 112px; }
.ac-parcours-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.ac-parcours-bloc { display: flex; flex-direction: column; gap: 28px; padding: 48px; background: var(--gris-fond); }
.ac-parcours-commercant { background: var(--bleu); color: #fff; }
.ac-etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: flex; flex-direction: column; gap: 22px; }
.ac-etapes li { counter-increment: etape; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; font-size: 16px; line-height: 1.6; }
.ac-etapes li::before { content: counter(etape); font-family: var(--titre); font-size: 46px; line-height: .9; color: var(--bleu); }
.ac-parcours-commercant .ac-etapes li::before { color: var(--beige); }
.ac-parcours-commercant .ac-lien, .ac-parcours-commercant a:not(.btn) { color: #fff; }

/* ===== Chiffres, événements, partenaires ===== */
.ac-chiffres { background: var(--nuit); color: #fff; padding: 56px 0; }
.ac-chiffres-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ac-chiffres p { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: #C9D1DC; }
.ac-chiffres strong { font-family: var(--titre); font-weight: 400; font-size: clamp(56px, 7vw, 88px); line-height: .9; color: #fff; }
.ac-evenements { padding: 96px 0 24px; }
.ac-logos { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.ac-logos img { max-height: 64px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.ac-logos li:hover img { filter: none; opacity: 1; }
.ac-confiance { padding: 96px 0; }
.ac-confiance .partenaires { margin-top: 40px; }

/* ===== Fin ===== */
.ac-final { background: var(--beige); padding: 96px 0; }
.ac-final-grille { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.ac-final-titre { font-family: var(--titre); font-weight: 400; font-size: clamp(44px, 6vw, 80px); line-height: .92; max-width: 14ch; color: var(--nuit); }

/* ===== Tablette et téléphone ===== */
@media (max-width: 960px) {
    .ac-hero-grille { grid-template-columns: 1fr; gap: 40px; }
    .ac-badge { width: 240px; padding: 36px 20px 20px; transform: rotate(-3deg); }
    .ac-badge::before { display: none; }
    .ac-badge-photo { width: 96px; height: 96px; font-size: 56px; }
    .ac-hero { padding: 48px 0 64px; }
    .ac-fonctions-grille { grid-template-columns: 1fr; gap: 0; }
    .ac-tel-colonne { display: none; }
    .ac-fonction { min-height: 0; padding: 40px 0 40px 20px; }
    .ac-fonction h3 { color: var(--nuit); }
    .ac-tel-mobile { display: block; max-width: 280px; margin: 8px 0 0; }
    .ac-tel-mobile .ac-tel-ecran { height: 500px; }
    .ac-parcours-grille { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .ac-hero { padding-bottom: 48px; }
    .ac-lead { font-size: 16px; }
    .ac-fonctions { padding: 72px 0 32px; }
    .ac-parcours { padding: 24px 0 72px; }
    .ac-parcours-bloc { padding: 32px 20px; }
    .ac-chiffres-grille { grid-template-columns: 1fr; }
    .ac-hero-texte .ac-actions .btn, .ac-final .btn { width: 100%; }
    .ac-evenements, .ac-confiance, .ac-final { padding: 64px 0; }
}

/* Mouvement réduit : tout est affiché d'emblée, sans défilement automatique. */
@media (prefers-reduced-motion: reduce) {
    .ac-pret .ac-ligne, .ac-pret .ac-lead, .ac-pret .ac-hero-texte .ac-actions, .ac-pret .ac-badge-scene { animation: none; }
    .ac-univers-piste { animation: none; flex-wrap: wrap; width: auto; }
    .ac-univers ul[aria-hidden] { display: none; }
    .ac-univers ul { flex-wrap: wrap; }
    .ac-ecran, .ac-badge, .ac-badge-statut > span { transition: none; }
}
.ac-pour-qui { font-size: 17px; line-height: 1.6; max-width: 46ch; opacity: .92; }

/* ===== Sur le terrain : vidéo plein écran en parallax ===== */
.ac-terrain { position: relative; height: min(82vh, 760px); min-height: 460px; overflow: hidden; background: var(--nuit); color: #fff; display: flex; align-items: flex-end; }
.ac-terrain-media { position: absolute; inset: -12% 0; will-change: transform; }
.ac-terrain-media img, .ac-terrain-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 45%; transform: scaleX(-1); }
.ac-terrain-video { opacity: 0; transition: opacity 1.2s ease; }
.ac-terrain-video.lecture { opacity: 1; }
.ac-terrain::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(20, 31, 46, .82) 0%, rgba(20, 31, 46, .45) 38%, rgba(20, 31, 46, 0) 62%),
                linear-gradient(180deg, rgba(20, 31, 46, 0) 50%, rgba(20, 31, 46, .6) 100%); }
.ac-terrain-texte { position: relative; z-index: 1; padding-bottom: 72px; display: flex; flex-direction: column; gap: 14px; }
.ac-terrain-titre { font-family: var(--titre); font-size: clamp(52px, 6.6vw, 100px); line-height: .88; max-width: 10ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.ac-terrain-sous { font-size: 18px; line-height: 1.55; max-width: 44ch; color: #E8ECF2; }

/* ===== Un créateur pour chaque projet ===== */
.ac-publics { padding: 112px 0 40px; overflow: hidden; }
.ac-publics-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; align-items: start; }
.ac-public { position: relative; margin: 0; overflow: hidden; background: var(--nuit); will-change: transform; }
.ac-public-decale { margin-top: 72px; }
.ac-public img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ac-public:hover img { transform: scale(1.04); }
.ac-public figcaption { position: absolute; inset: auto 0 0 0; padding: 64px 22px 22px; display: flex; flex-direction: column; gap: 6px; color: #fff; background: linear-gradient(180deg, rgba(20, 31, 46, 0), rgba(20, 31, 46, .88)); }
.ac-public figcaption strong { font-family: var(--titre); font-weight: 400; font-size: 34px; line-height: 1; }
.ac-public figcaption span { font-size: 14px; line-height: 1.5; color: #E8ECF2; }

/* ===== Fin de page sur la photo du festival ===== */
.ac-final { position: relative; overflow: hidden; background: var(--nuit); padding: 140px 0 120px; }
.ac-final-media { position: absolute; inset: -14% 0; will-change: transform; }
.ac-final-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.ac-final::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 31, 46, .88) 0%, rgba(20, 31, 46, .55) 55%, rgba(20, 31, 46, .25) 100%); }
.ac-final-grille { position: relative; z-index: 2; }
.ac-final-titre { color: #fff; }

@media (max-width: 760px) {
    .ac-terrain { height: 78vh; min-height: 460px; }
    .ac-terrain-media img, .ac-terrain-media video { object-position: 52% 35%; }
    .ac-terrain::after { background: linear-gradient(180deg, rgba(20, 31, 46, 0) 30%, rgba(20, 31, 46, .85) 100%); }
    .ac-terrain-texte { padding-bottom: 40px; }
    .ac-terrain-sous { font-size: 16px; }
    .ac-publics { padding: 72px 0 24px; }
    .ac-publics-grille { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .ac-public-decale { margin-top: 0; }
    .ac-public img { aspect-ratio: 4 / 3; }
    .ac-final { padding: 96px 0 80px; }
    .ac-final::before { background: rgba(20, 31, 46, .7); }
}
@media (prefers-reduced-motion: reduce) {
    .ac-terrain-media, .ac-final-media, .ac-public { transform: none !important; }
    .ac-public img { transition: none; }
}

/* ===== Fonctionnalités en « scènes » (activé par js/accueil.js, sauf mouvement réduit) =====
   La section mesure n écrans de haut ; son contenu reste figé (sticky) pendant ce défilement. */
.ac-scenes-compteur { display: none; }
[data-scenes].ac-scenes { padding: 0; height: calc(var(--n) * 80vh + 100vh); overflow: visible; }
.ac-scenes-fonds { display: none; }
.ac-scenes .ac-scenes-cadre { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ac-scenes .ac-scenes-contenu { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 32px; padding-bottom: 24px; }
/* Photos d'ambiance : fondu enchaîné et léger zoom ; voile clair pour garder le texte lisible. */
.ac-scenes .ac-scenes-fonds { display: block; position: absolute; inset: 0; background: var(--nuit); }
.ac-scenes .ac-scenes-fonds img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s ease, transform 6s ease-out; }
.ac-scenes .ac-scenes-fonds img[data-actif] { opacity: 1; transform: scale(1); }
.ac-scenes .ac-scenes-fonds::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244, 245, 247, .9) 0%, rgba(244, 245, 247, .55) 30%, rgba(244, 245, 247, .35) 60%, rgba(244, 245, 247, .6) 100%); }
.ac-scenes .ac-scenes-compteur { display: block; margin: 8px 0 0; font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--texte-doux); }
.ac-scenes .ac-scenes-compteur span { color: var(--bleu); }
.ac-scenes .ac-fonctions-grille { margin-top: 32px; align-items: center; }
.ac-scenes .ac-fonctions-liste { position: relative; }
.ac-scenes .ac-scene {
    position: absolute; inset: 0 0 auto 0; min-height: 0; padding: 28px 32px; border-left: 5px solid var(--bleu);
    background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px -30px rgba(20, 31, 46, .45);
    opacity: 0; visibility: hidden; transform: translateY(32px);
    transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .45s;
}
.ac-scenes .ac-fonction h3 { color: var(--nuit); }
.ac-scenes .ac-scene.passe { transform: translateY(-32px); }
/* Le texte suivant n'apparaît qu'une fois le précédent effacé. */
.ac-scenes .ac-scene.actif { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .32s, transform .6s cubic-bezier(.2, .7, .2, 1) .32s, visibility 0s; }
.ac-scenes .ac-tel-mobile { display: none; }
.ac-scenes .ac-tel-sticky { position: static; transform-origin: top center; }
.ac-scenes .ac-ecran { transition: opacity .45s ease .2s, transform .6s cubic-bezier(.2, .7, .2, 1) .2s; }
.ac-progression button { display: block; width: 100%; height: 16px; margin-top: -6px; padding: 0; border: 0; background: none; cursor: pointer; }
.ac-progression li { height: 4px; }

@media (max-width: 960px) {
    .ac-scenes .ac-scenes-contenu { justify-content: flex-start; padding-top: 20px; }
    .ac-scenes .ac-h2 { font-size: clamp(26px, 7vw, 36px); }
    .ac-scenes .ac-fonctions-grille { margin-top: 16px; gap: 16px; align-items: start; }
    .ac-scenes .ac-tel-colonne { display: block; }
    .ac-scenes .ac-scene { padding: 18px 18px; gap: 8px; }
    .ac-scenes .ac-fonction h3 { font-size: 22px; }
    .ac-scenes .ac-fonction p { font-size: 15px; line-height: 1.55; }
}

.ac-scenes .ac-h2 { text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.ac-scenes .ac-tel { box-shadow: 0 40px 90px -30px rgba(20, 31, 46, .7); }
@media (prefers-reduced-motion: reduce) { .ac-scenes .ac-scenes-fonds img { transition: opacity .3s ease; transform: none; } }
.ac-scenes li.ac-scene p { color: #2B3646; }

/* Contenus propres à un mode */
.ac-scenes-seul { display: none; }
.ac-scenes .ac-scenes-seul { display: grid; }
.ac-scenes .ac-sans-scenes { display: none; }

/* « Un créateur pour chaque projet » : cartes de texte + photo encadrée fixe */
.ac-scenes li.ac-scene { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ac-scenes .ac-publics li.ac-scene h3, .ac-publics.ac-scenes li.ac-scene h3 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: clamp(36px, 4vw, 52px); line-height: .95; color: var(--nuit); }
.ac-publics.ac-scenes li.ac-scene p { margin: 0; font-size: 17px; line-height: 1.65; max-width: 48ch; }
.ac-photo-visuel { transform-origin: top center; }
.ac-photo-cadre { position: relative; width: 100%; max-width: 330px; aspect-ratio: 3 / 4; margin: 0 auto; overflow: hidden; background: var(--nuit); border: 10px solid #fff; transform: rotate(2deg); box-shadow: 0 40px 90px -30px rgba(20, 31, 46, .7); }
.ac-photo-cadre img { width: 100%; height: 100%; object-fit: cover; }

/* Parcours : une carte par parcours, translucide, sur sa photo */
.ac-scenes .ac-parcours-grille { display: block; position: relative; max-width: 720px; }
.ac-scenes .ac-parcours-bloc { padding: 40px; border-left: 0; }
.ac-scenes .ac-parcours-commercant { background: rgba(10, 88, 202, .9); }
.ac-scenes .ac-parcours-bloc:not(.ac-parcours-commercant) { background: rgba(255, 255, 255, .88); }

/* Chiffres, événements, partenaires : photo de fond qui glisse doucement, voile pour la lisibilité */
.ac-fond-photo { position: relative; overflow: hidden; isolation: isolate; }
.ac-fond-media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.ac-fond-media img { width: 100%; height: 100%; object-fit: cover; }
.ac-fond-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(244, 245, 247, .86); }
.ac-chiffres.ac-fond-photo { padding: 88px 0; }
.ac-chiffres.ac-fond-photo::before { background: linear-gradient(90deg, rgba(20, 31, 46, .9), rgba(20, 31, 46, .7)); }
.ac-evenements.ac-fond-photo { padding-bottom: 88px; }
.ac-evenements.ac-fond-photo .ac-logos li { background: rgba(255, 255, 255, .9); padding: 14px 20px; }
.ac-confiance.ac-fond-photo .partenaire { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 20px 50px -30px rgba(20, 31, 46, .5); }

@media (max-width: 960px) {
    .ac-scenes .ac-parcours-bloc { padding: 24px 20px; gap: 18px; }
    .ac-scenes .ac-parcours-bloc .ac-h2 { font-size: 34px; }
    .ac-scenes .ac-etapes { gap: 14px; }
    .ac-scenes .ac-etapes li { font-size: 15px; line-height: 1.5; grid-template-columns: 36px minmax(0, 1fr); }
    .ac-publics.ac-scenes li.ac-scene h3 { font-size: 34px; }
    .ac-publics.ac-scenes li.ac-scene p { font-size: 15px; line-height: 1.55; }
    .ac-photo-cadre { max-width: 300px; border-width: 8px; }
}
@media (prefers-reduced-motion: reduce) { .ac-fond-media { transform: none !important; } }
/* « Réduire les animations » : les scènes restent, mais sans glissement ni zoom (simple fondu). */
@media (prefers-reduced-motion: reduce) {
    .ac-scenes .ac-scene, .ac-scenes .ac-scene.passe, .ac-scenes .ac-scene.actif { transform: none; }
    .ac-scenes .ac-ecran { transition: opacity .3s ease; transform: none; }
}
