/* ==========================================================================
   ACCUEIL V2 : le dessous de la page, refait.
   Trois idées : une SALLE D'EXPOSITION pour la communauté, des sections
   alignées à gauche avec de grands titres, et un appel final en panneau.
   Chargé uniquement par index.html, après da2026.css.
   ========================================================================== */

/* ── Sections : titres à gauche, grands, sans icône décorative ── */
body .ac-section { max-width: 1240px; padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 3vw, 2.5rem) 0; }
body .ac-tete { margin-bottom: 2.4rem; }
body .ac-tete h2,
body #acAvisSection .ac-avis-tete h2 {
    font-size: clamp(2.2rem, 5vw, 4rem) !important;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
body .ac-tete h2 .material-symbols-outlined { display: none; }
body .gradient-text { background: none; -webkit-text-fill-color: currentColor; color: var(--text-tertiary); }
body .ac-tete p { font-size: 1.1rem; max-width: 52ch; }

/* ── Exposition ── */
.expo {
    position: relative;
    margin: clamp(4rem, 9vw, 8rem) 14px 0;
    padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 4vw, 4rem) clamp(2rem, 4vw, 3.5rem);
    border-radius: 40px;
    overflow: hidden;
    /* Mur de galerie : un fond mat, un projecteur au plafond, un sol plus clair. */
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(255, 255, 255, 0.10), transparent 70%),
        linear-gradient(180deg, #17171c 0%, #111115 78%, #0c0c0f 78%, #0c0c0f 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-lg);
}
[data-theme="light"] .expo {
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(255, 255, 255, 0.9), transparent 70%),
        linear-gradient(180deg, #e9e7e2 0%, #dedbd4 78%, #cfcbc2 78%, #cfcbc2 100%);
}
.expo-tete { max-width: 1100px; margin: 0 auto 2.5rem; }
.expo-sur {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--primary-color); margin-bottom: 1rem;
}
.expo-titre {
    font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02;
}
.expo-intro { color: var(--text-secondary); margin-top: 1.1rem; max-width: 46ch; font-size: 1.05rem; line-height: 1.65; }

.expo-salle { max-width: 1100px; margin: 0 auto; }
.expo-mur { position: relative; display: flex; justify-content: center; padding: 0 clamp(0rem, 4vw, 3.5rem); }

.expo-oeuvre { margin: 0; width: min(100%, 880px); transition: opacity 0.22s ease, transform 0.35s var(--ease-out); }
.expo-oeuvre.change { opacity: 0; transform: scale(0.985); }

/* Cadre : passe-partout clair, liseré, ombre portée sur le mur. */
.expo-cadre {
    padding: clamp(10px, 2.2vw, 26px);
    background: #f2efe8;
    border-radius: 3px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 0 0 clamp(5px, 1vw, 10px) #1f1f24,
        0 0 0 clamp(6px, 1.1vw, 11px) rgba(255, 255, 255, 0.10),
        0 40px 70px -20px rgba(0, 0, 0, 0.75),
        0 14px 24px -10px rgba(0, 0, 0, 0.5);
}
.expo-toile { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #222; }
.expo-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
    will-change: transform;
}

/* Filigrane : « VOGARIA RP » collé au centre de l'image, il défile sans fin
   de droite à gauche. La piste contient deux fois la même suite : à -50 %
   elle retombe exactement sur son point de départ, d'où la boucle sans saut. */
.expo-marque {
    position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
    overflow: hidden; pointer-events: none; z-index: 3;
    padding: 0.35em 0;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.32) 12%, rgba(0, 0, 0, 0.32) 88%, transparent);
    font-size: clamp(0.9rem, 2.4vw, 2rem);
}
.expo-marque-piste {
    display: flex; width: max-content;
    animation: expoDefile 26s linear infinite;
}
.expo-marque-piste b {
    flex: none; padding-right: 1.6em;
    font-weight: 800; letter-spacing: 0.32em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
@keyframes expoDefile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.expo-marque.petit { font-size: 0.5rem; padding: 0.25em 0; }
.expo-marque.petit .expo-marque-piste { animation-duration: 16s; }
.expo-toile-mini { position: relative; display: block; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .expo-marque-piste { animation: none; } }


/* Cartel : la petite plaquette à côté de l'œuvre. */
.expo-cartel {
    display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: 0.15rem;
    width: max-content; max-width: 100%;
    margin: clamp(1.6rem, 3vw, 2.6rem) 0 0 clamp(0rem, 1vw, 1rem);
    padding: 0.8rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}
.expo-cartel-num { grid-row: 1 / 3; align-self: center; font-size: 1.7rem; font-weight: 300; font-variant-numeric: tabular-nums; color: var(--text-tertiary); }
.expo-cartel-titre { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.expo-cartel-meta { font-size: 0.78rem; color: var(--text-tertiary); }

.expo-fleche {
    position: absolute; top: 40%; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--glass-bg); color: var(--text-primary);
    border: 1px solid var(--border-strong);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    cursor: pointer; transition: transform 0.2s var(--ease-out), background 0.2s ease;
}
.expo-fleche:hover { background: var(--primary-color); color: #fff; transform: translateY(-50%) scale(1.06); }
.expo-fleche:active { transform: translateY(-50%) scale(0.95); }
.expo-fleche.gauche { left: 0; }
.expo-fleche.droite { right: 0; }

/* Sol : la rangée de petites œuvres, comme un couloir d'accrochage. */
.expo-sol { margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 1.4rem; border-top: 1px solid var(--border-color); }
.expo-rail {
    display: flex; gap: clamp(0.8rem, 1.6vw, 1.4rem); overflow-x: auto; padding: 0.6rem 0.4rem 1rem;
    scroll-snap-type: x proximity; scrollbar-width: none;
}
.expo-rail::-webkit-scrollbar { display: none; }
.expo-vignette {
    flex: 0 0 auto; position: relative; cursor: pointer; scroll-snap-align: center;
    background: none; border: 0; padding: 0; color: var(--text-tertiary);
    opacity: 0.55; transition: opacity 0.25s ease, transform 0.35s var(--ease-out);
}
.expo-vignette:hover { opacity: 0.9; transform: translateY(-3px); }
.expo-vignette.actif { opacity: 1; transform: translateY(-6px); color: var(--text-primary); }
.expo-cadre-mini {
    display: block; padding: 5px; background: #f2efe8; border-radius: 2px;
    box-shadow: 0 0 0 2px #1f1f24, 0 14px 22px -10px rgba(0, 0, 0, 0.7);
}
.expo-toile-mini img { display: block; width: clamp(96px, 11vw, 150px); aspect-ratio: 4 / 3; object-fit: cover; }
.expo-num { display: block; margin-top: 0.7rem; font-size: 0.72rem; font-variant-numeric: tabular-nums; letter-spacing: 0.1em; }
.expo-vignette.actif .expo-num::before { content: '- '; color: var(--primary-color); }

@media (max-width: 700px) {
    .expo { border-radius: 28px; margin-inline: 10px; }
    .expo-fleche { top: auto; bottom: -3.4rem; transform: none; }
    .expo-fleche:hover, .expo-fleche:active { transform: none; }
    .expo-cartel { width: 100%; }
}

/* ── Premiers pas : un parcours, pas quatre cartes ── */
body .ac-etapes { grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border-strong); }
body .ac-etape {
    background: none; border: 0; border-radius: 0; box-shadow: none;
    padding: 1.8rem 1.6rem 2rem 0;
    border-right: 1px solid var(--border-color);
    padding-left: 1.6rem;
    transition: background 0.25s ease;
}
body .ac-etape:first-child { padding-left: 0; }
body .ac-etape:last-child { border-right: 0; }
body .ac-etape:hover { background: none; transform: none; box-shadow: none; }
body .ac-etape:hover .ac-etape-num { color: var(--primary-color); -webkit-text-stroke-color: var(--primary-color); }
body .ac-etape-num {
    width: auto; height: auto; background: none; border-radius: 0; box-shadow: none;
    font-size: clamp(3rem, 6vw, 5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px var(--border-strong);
    transition: color 0.25s ease, -webkit-text-stroke-color 0.25s ease;
}
body .ac-etape h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 1rem; }
body .ac-etape p { font-size: 0.93rem; }
@media (max-width: 900px) {
    body .ac-etapes { grid-template-columns: 1fr 1fr; }
    body .ac-etape { border-right: 0; border-bottom: 1px solid var(--border-color); padding-left: 0; }
}
@media (max-width: 560px) { body .ac-etapes { grid-template-columns: 1fr; } }

/* ── Nous rejoindre : grand panneau d'appel ── */
body .join-section {
    margin: clamp(4rem, 9vw, 8rem) 14px 0;
    border-radius: 40px;
    padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 6rem);
    text-align: left;
    background:
        radial-gradient(800px 420px at 100% 100%, rgba(76, 141, 255, 0.28), transparent 65%),
        var(--background-secondary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-lg);
    overflow: hidden;
}
body .join-section::before { display: none; }
body .join-content { max-width: 760px; margin: 0; text-align: left; align-items: flex-start; }
body .join-icon { display: none; }
body .join-title { font-size: clamp(2.6rem, 6.5vw, 5.2rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
body .join-description { margin-left: 0; font-size: 1.12rem; }
body .join-points { justify-content: flex-start; }
body .discord-join-btn {
    border-radius: 16px;
    background: #5865f2;
    box-shadow: 0 3px 0 #3d47b8, 0 14px 30px rgba(88, 101, 242, 0.35);
}
body .discord-join-btn:active { transform: translateY(3px); box-shadow: 0 0 0 #3d47b8; }
body .join-note { text-align: left; }


/* ── Avis : mur de citations, bord à bord ──
   Les rubans occupent toute la largeur de la fenêtre : plus de bandes
   mortes sur les grands écrans, et les cartes sont assez grandes pour se lire. */
body #acAvisSection {
    max-width: none;
    padding-inline: 0;
    padding-top: clamp(4rem, 9vw, 8rem);
}
body #acAvisSection .ac-avis-tete {
    max-width: 1680px; margin: 0 auto 2.6rem; padding: 0 clamp(1rem, 3vw, 2.5rem);
    text-align: left;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
body #acAvisSection .ac-avis-tete h2 { margin: 0; }
body .ac-note-moyenne {
    display: inline-flex; align-items: center; gap: 0.9rem; margin: 0;
    padding: 0.7rem 1.2rem; border-radius: 18px; background: var(--background-secondary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body .ac-etoiles { font-size: 1.15rem; color: #ffb340; }

body .ac-rubans { padding: 0.5rem 0 1rem; }
body .ac-rubans::before, body .ac-rubans::after { width: clamp(24px, 5vw, 120px); }
body .ac-ruban { gap: 1.1rem; }

body .ac-avis {
    width: clamp(280px, 24vw, 420px);
    min-height: 230px;
    display: flex; flex-direction: column;
    padding: 1.5rem 1.6rem 1.3rem;
    border: 0; border-radius: 28px;
    background: var(--background-secondary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-md);
    text-align: left;
}
body .ac-avis:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--shadow-lg); }
body .ac-avis::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem; line-height: 0.55; font-weight: 700;
    color: var(--primary-color); opacity: 0.9; height: 1.9rem; margin-bottom: 0.4rem;
}
body .ac-avis-etoiles { order: -1; position: absolute; top: 1.3rem; right: 1.5rem; margin: 0; font-size: 0.8rem; color: #ffb340; }
body .ac-avis { position: relative; }
body .ac-avis-texte {
    font-size: 1.05rem; line-height: 1.55; letter-spacing: -0.005em; color: var(--text-primary);
    -webkit-line-clamp: 5; flex: 1;
}
body .ac-avis-pied { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border-color); }
body .ac-avis-pied img { width: 34px; height: 34px; }
body .ac-avis-nom { font-size: 0.86rem; color: var(--text-primary); }

/* ── Responsive : on utilise la largeur disponible au lieu de la plafonner ── */
body .ac-section { max-width: min(1680px, 100%); }
body .page-wrap { max-width: min(1680px, 100%); }
body .nav-container { max-width: none; }
body .expo-tete, body .expo-salle { max-width: min(1400px, 100%); }
body .expo-oeuvre { width: min(100%, 1100px); }
body .ac-actu { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
body .ac-etapes { max-width: 100%; }
@media (min-width: 1800px) {
    body { font-size: 1.05rem; }
    body .expo-oeuvre { width: min(100%, 1280px); }
}
@media (max-width: 640px) {
    body .hero-section { padding: 2rem 1.4rem; min-height: auto; }
    body .ac-avis { width: 78vw; }
    body #acAvisSection .ac-avis-tete { align-items: flex-start; }
}


/* ── Exposition : la toile est un canvas (filigrane dessiné dans l'image) ── */
.expo-toile canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.expo-marque-piste b { padding-right: 0.55em; letter-spacing: 0.2em; }

/* ── Avis : la note ne doit pas passer sous la croix du panneau ── */
body .ac-avis-modal .ac-avis-etoiles { position: static; order: 0; }
body .ac-avis-modal-tete { padding-right: 2.6rem; }
body .ac-avis-modal-fond { animation-duration: 0.32s; }
body .ac-avis-modal { animation-duration: 0.46s; }
body .ac-avis-modal-fermeture, body .ac-avis-modal-fermeture .ac-avis-modal { animation-duration: 0.26s; }

/* ── Premiers pas : scène à onglets ── */
.pp { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.6fr; gap: clamp(1rem, 3vw, 3rem); align-items: stretch; }
.pp-liste { display: flex; flex-direction: column; gap: 0.4rem; }
.pp-onglet {
    position: relative; display: flex; align-items: baseline; gap: 1rem; text-align: left;
    padding: 1.25rem 1.3rem 1.35rem; border: 0; border-radius: 22px; cursor: pointer;
    background: transparent; color: var(--text-tertiary);
    font: inherit; transition: background 0.35s ease, color 0.35s ease, transform 0.4s var(--ease-out);
}
.pp-onglet:hover { color: var(--text-primary); }
.pp-onglet.actif { background: var(--background-secondary); color: var(--text-primary); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-sm); }
.pp-n { font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.pp-t { font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -0.02em; }
.pp-barre { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 0.7rem; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.pp-onglet.actif .pp-barre { background: var(--border-color); }
.pp-barre i { display: block; height: 100%; width: 0; background: var(--primary-color); }
.pp.auto .pp-onglet.actif .pp-barre i { animation: ppProgres 7s linear forwards; }
.pp:not(.auto) .pp-onglet.actif .pp-barre i { width: 100%; }
@keyframes ppProgres { from { width: 0; } to { width: 100%; } }

.pp-scene {
    position: relative; min-height: 340px; border-radius: 32px; overflow: hidden;
    background:
        radial-gradient(520px 320px at 100% 0%, rgba(76, 141, 255, 0.22), transparent 70%),
        var(--background-secondary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-md);
}
.pp-panneau {
    position: absolute; inset: 0; padding: clamp(1.6rem, 4vw, 3.2rem);
    display: flex; flex-direction: column; justify-content: flex-end; gap: 0.9rem;
    opacity: 0; visibility: hidden; transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.65s var(--ease-out), visibility 0.5s;
}
.pp-panneau.actif { opacity: 1; visibility: visible; transform: none; }
.pp-grand {
    position: absolute; right: clamp(1rem, 3vw, 2.4rem); top: 0.4rem;
    font-size: clamp(7rem, 16vw, 14rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px var(--border-strong); pointer-events: none;
}
.pp-icone {
    font-size: 2.2rem; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px;
    background: rgba(76, 141, 255, 0.16); color: var(--primary-color); margin-bottom: auto;
}
.pp-panneau h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.pp-panneau p { color: var(--text-secondary); max-width: 46ch; font-size: 1.05rem; line-height: 1.6; }
.pp-lien {
    display: inline-flex; align-items: center; gap: 0.5rem; width: max-content; margin-top: 0.4rem;
    padding: 0.7rem 1.2rem; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 0.92rem;
    background: var(--text-primary); color: var(--background-primary);
    transition: transform 0.3s var(--ease-out), background 0.2s ease, color 0.2s ease;
}
.pp-lien:hover { background: var(--primary-color); color: #fff; transform: translateX(3px); }
.pp-lien .material-symbols-outlined { font-size: 1.1rem; }
@media (max-width: 860px) {
    .pp { grid-template-columns: 1fr; }
    .pp-liste { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .pp-onglet { flex: 0 0 auto; padding: 0.9rem 1.1rem 1.1rem; }
    .pp-t { font-size: 1rem; }
    .pp-scene { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) { .pp-panneau { transition: opacity 0.2s; transform: none; } .pp.auto .pp-onglet.actif .pp-barre i { animation: none; width: 100%; } }

/* ── Nous rejoindre : image à droite (assets/rejoindre.png) ── */
body .join-section { position: relative; }
body .join-section::after {
    content: '';
    position: absolute; inset: 8% clamp(1rem, 5vw, 5rem) 8% auto; width: min(38vw, 560px);
    background: url('../rejoindre.png') center / contain no-repeat;
    pointer-events: none;
}
body .join-content { position: relative; z-index: 1; }
@media (max-width: 860px) { body .join-section::after { opacity: 0.2; width: 80vw; } }


/* ==========================================================================
   Retouches : icône Discord, parcours, avis, footer
   ========================================================================== */

/* Logo Discord : masque SVG, prend la couleur du texte et la taille de la police. */
.ico-discord {
    display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419-.0189 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419-.0189 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pp-icone .ico-discord { width: 1.7rem; height: 1.7rem; vertical-align: 0; }

/* Avis : la croix reste au coin, la note ne la recouvre plus. */
body .ac-avis-etoiles { position: static; order: 0; }
body .ac-avis .ac-avis-etoiles { position: absolute; top: 1.3rem; right: 1.5rem; margin: 0; font-size: 0.8rem; color: #ffb340; }
body .ac-avis-modal-tete { padding-right: 0; }
body .ac-avis-modal { position: relative; }
.ac-avis-modal-charge { min-height: 52px; padding: 0; }
body .ac-rubans:hover .ac-ruban { animation-play-state: running; }

/* Premiers pas : le fond actif glisse. */
.pp-liste { position: relative; }
.pp-indic {
    position: absolute; left: 0; top: 0; z-index: 0; border-radius: 22px; pointer-events: none;
    background: var(--background-secondary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-sm);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), width 0.6s cubic-bezier(0.22, 1, 0.36, 1), height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.pp-onglet { z-index: 1; }
.pp-onglet.actif { background: transparent; box-shadow: none; }

/* Panneaux : image (assets/etape-1.png … etape-4.png) + dégradé noir
   par-dessus l'image ET les grands numéros. */
.pp-panneau::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
}
.pp-panneau:nth-child(1)::before { background-image: url('../etape-1.png'); }
.pp-panneau:nth-child(2)::before { background-image: url('../etape-2.png'); }
.pp-panneau:nth-child(3)::before { background-image: url('../etape-3.png'); }
.pp-panneau:nth-child(4)::before { background-image: url('../etape-4.png'); }
.pp-panneau::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
        linear-gradient(0deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.6) 45%, rgba(5, 5, 8, 0.25) 100%),
        linear-gradient(90deg, rgba(5, 5, 8, 0.55), transparent 70%);
}
.pp-grand { z-index: 1; -webkit-text-stroke-color: rgba(255, 255, 255, 0.35); }
.pp-icone, .pp-panneau h3, .pp-panneau p, .pp-lien { position: relative; z-index: 3; }
.pp-icone { margin-bottom: auto; }

/* Bouton « Se connecter » : les couleurs fondent au survol. */
body .nav-login-btn, body .mobile-login-btn {
    transition: background-color 0.45s ease, color 0.45s ease, box-shadow 0.45s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Pied de page : « VOGARIA » EST le fond du bloc, contenu par-dessus. */
body .site-footer, body .pf2 { min-height: clamp(240px, 17vw, 440px); }
body .site-footer::after, body .pf2::after {
    top: 50%; bottom: auto; left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 21.5vw, 24rem);
    line-height: 0.8;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.025);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.10);
    z-index: 0;
}
body .site-footer { display: flex; align-items: flex-end; padding-bottom: 1.6rem; }
body .site-footer .footer-inner { width: 100%; }
body .pf2 { padding-bottom: 1.6rem; }
body .pf2-haut, body .pf2-bas, body .footer-inner { position: relative; z-index: 1; }


/* ── Barre de progression : portée par l'indicateur, elle glisse avec lui ── */
.pp-barre { display: none; }
.pp-indic-barre {
    position: absolute; left: 1.3rem; right: 1.3rem; bottom: 0.7rem; height: 2px; border-radius: 2px;
    background: var(--primary-color); transform-origin: left center; transform: scaleX(0);
}
.pp.auto .pp-indic-barre { animation: ppBarre 7s linear forwards; }
.pp:not(.auto) .pp-indic-barre { transform: scaleX(1); }
@keyframes ppBarre { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .pp.auto .pp-indic-barre { animation: none; transform: scaleX(1); } }

/* ── Emplacements d'images (retirés automatiquement quand le fichier existe) ── */
.img-slot {
    position: absolute; inset: 0.9rem; z-index: 5; pointer-events: none;
    border: 2px dashed rgba(255, 255, 255, 0.35); border-radius: 22px;
    display: grid; place-items: center;
}
.img-slot span {
    padding: 0.35rem 0.8rem; border-radius: 8px;
    background: rgba(0, 0, 0, 0.55); color: #fff;
    font: 600 0.78rem/1.2 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.02em;
}


/* ── Étapes : l'image est un carré sous le grand numéro, pas toute la carte ── */
.pp-scene { min-height: 400px; }
.pp-grand { font-size: clamp(5rem, 10vw, 8.5rem); top: 0.6rem; -webkit-text-stroke-color: rgba(255, 255, 255, 0.28); }
.pp-panneau::before,
.pp-panneau::after,
.pp-panneau .img-slot {
    inset: auto clamp(1.2rem, 3vw, 2.4rem) 1.6rem auto;
    width: 220px; height: 220px;
    border-radius: 24px;
}
.pp-panneau::before { box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08); background-color: rgba(255, 255, 255, 0.03); }
/* Dégradé noir sur le carré : le bas de l'image s'assombrit. */
.pp-panneau::after {
    background: linear-gradient(180deg, rgba(5, 5, 8, 0) 30%, rgba(5, 5, 8, 0.78) 100%);
}
.pp-panneau .img-slot { border-radius: 24px; inset: auto clamp(1.2rem, 3vw, 2.4rem) 1.6rem auto; }
.pp-panneau .img-slot span { font-size: 0.68rem; padding: 0.3rem 0.5rem; text-align: center; }
.pp-panneau h3, .pp-panneau p { max-width: calc(100% - 260px); }
@media (max-width: 700px) {
    .pp-panneau::before, .pp-panneau::after, .pp-panneau .img-slot { width: 130px; height: 130px; }
    .pp-panneau h3, .pp-panneau p { max-width: 100%; }
    .pp-scene { min-height: 460px; }
}

/* Étape 1 : l'image est au format 676 x 500 px (affichée à moitié taille,
   donc nette sur écran rétina). Les autres étapes restent carrées. */
.pp-panneau:nth-child(1)::before,
.pp-panneau:nth-child(1)::after,
.pp-panneau:nth-child(1) .img-slot {
    width: 338px; height: 250px;
}
.pp-panneau:nth-child(1) h3, .pp-panneau:nth-child(1) p { max-width: calc(100% - 380px); }
@media (max-width: 700px) {
    .pp-panneau:nth-child(1)::before, .pp-panneau:nth-child(1)::after, .pp-panneau:nth-child(1) .img-slot { width: 169px; height: 125px; }
    .pp-panneau:nth-child(1) h3, .pp-panneau:nth-child(1) p { max-width: 100%; }
}

/* Images d'étapes : aucun fond, aucune bordure, aucune ombre autour. */
.pp-panneau::before {
    background-color: transparent;
    box-shadow: none;
    border: 0;
}


/* ==========================================================================
   Exposition 3D : un anneau de cartes qui tourne autour de l'axe vertical.
   ========================================================================== */
.expo-scene {
    position: relative; width: 100%;
    perspective: 1500px; perspective-origin: 50% 45%;
    cursor: grab; touch-action: pan-y;
    --w: 560px; --h: 315px; --r: 800px;
}
.expo-scene.prise { cursor: grabbing; }
.expo-anneau {
    position: absolute; left: 50%; top: 50%;
    width: var(--w); height: var(--h);
    margin-left: calc(var(--w) / -2); margin-top: calc(var(--h) / -2);
    transform-style: preserve-3d;
    transform: translateZ(calc(var(--r) * -1));
}
.expo-carte {
    position: absolute; inset: 0;
    padding: clamp(6px, 1vw, 12px);
    background: #f2efe8; border-radius: 4px;
    box-shadow: 0 0 0 clamp(3px, 0.5vw, 6px) #1f1f24, 0 30px 50px -18px rgba(0, 0, 0, 0.8);
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    will-change: opacity, filter;
}
.expo-carte canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Reflet au sol sous l'anneau. */
.expo-scene::after {
    content: ''; position: absolute; left: 10%; right: 10%; bottom: 6px; height: 34px;
    background: radial-gradient(50% 100% at 50% 0%, rgba(0, 0, 0, 0.55), transparent 70%);
    pointer-events: none;
}
.expo-oeuvre { width: 100%; }
.expo-mur { padding: 0; }
.expo-fleche { top: 42%; z-index: 4; }


/* Cartes : plus de cadre blanc, seulement des bords arrondis. */
.expo-carte {
    padding: 0; background: none; overflow: hidden;
    border-radius: clamp(14px, 2vw, 26px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
}
.expo-carte canvas { border-radius: inherit; }
.expo-oeuvre { width: min(100%, 1400px); }


/* ── Anneau plus rond : on voit le cercle entier, le fond en transparence ── */
.expo-scene { perspective: 1250px; perspective-origin: 50% 28%; }
.expo-carte { backface-visibility: visible; -webkit-backface-visibility: visible; }
/* Piste elliptique au sol : elle matérialise le cercle sur lequel les photos tournent. */
.expo-scene::before {
    content: ''; position: absolute; left: 50%; bottom: 4px; width: min(86%, 980px); height: 70px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: radial-gradient(50% 50% at 50% 50%, rgba(76, 141, 255, 0.10), transparent 70%);
    pointer-events: none;
}
.expo-scene::after { height: 28px; bottom: 18px; }

/* ── Légende : un anneau de progression et un titre, sans boîte ── */
.expo-cartel {
    display: flex; align-items: center; justify-content: center; gap: 1.1rem; flex-wrap: wrap;
    width: auto; margin: clamp(1.4rem, 3vw, 2.2rem) auto 0; padding: 0;
    background: none; border: 0; border-radius: 0; text-align: left;
}
.expo-bague { position: relative; width: 58px; height: 58px; flex: none; display: grid; place-items: center; }
.expo-bague svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.expo-bague circle { fill: none; stroke-width: 2.5; }
.expo-bague-fond { stroke: var(--border-strong); }
.expo-bague-prog { stroke: var(--primary-color); stroke-linecap: round; transition: stroke-dashoffset 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.expo-bague b { font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.expo-cartel-texte { display: flex; flex-direction: column; gap: 0.15rem; }
.expo-cartel-titre { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.025em; }
.expo-cartel-meta { font-size: 0.8rem; color: var(--text-tertiary); letter-spacing: 0.02em; }
.expo-cartel-num { display: none; }

/* Vue en arc : le dos des cartes reste caché, on lit un demi-cercle propre. */
.expo-carte { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.expo-scene { perspective: 1050px; }


/* ── Plaque de légende : collée sous la photo, elle tourne avec elle ── */
.expo-scene { perspective: 1400px; perspective-origin: 50% 50%; --ht: 390px; }
.expo-anneau { height: var(--ht); margin-top: calc(var(--ht) / -2); }
.expo-carte { display: flex; flex-direction: column; background: #15151b; }
.expo-carte canvas { flex: none; width: 100%; height: var(--h); }
.expo-plaque {
    flex: 1; display: flex; align-items: center; gap: 0.9rem;
    padding: 0 clamp(0.8rem, 1.6vw, 1.4rem);
    background: linear-gradient(180deg, #1b1b22, #121217);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    pointer-events: none;
}
.expo-plaque .expo-bague { width: 46px; height: 46px; }
.expo-plaque .expo-bague b { font-size: 0.8rem; }
.expo-plaque-texte { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.expo-plaque .expo-cartel-titre { font-size: clamp(0.95rem, 1.5vw, 1.2rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.expo-plaque .expo-cartel-meta { font-size: 0.72rem; }
/* La légende séparée sous le carrousel est remplacée par ces plaques. */
.expo-cartel { display: none; }


/* ── Plaque : elle sort de derrière la photo, seulement quand celle-ci est de face ── */
.expo-carte { overflow: visible; background: none; box-shadow: none; }
.expo-carte canvas {
    position: relative; z-index: 2;
    border-radius: clamp(14px, 2vw, 26px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
}
.expo-plaque {
    position: absolute; left: 4%; right: 4%; top: 100%; height: 76px; flex: none; z-index: 1;
    border: 0; border-radius: 0 0 18px 18px;
    transform: translateY(-100%); opacity: 0;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.expo-carte.devant .expo-plaque { transform: translateY(0); opacity: 1; transition-delay: 0.12s; }
/* Les vignettes du bas sont retirées : l'anneau suffit à naviguer. */
.expo-sol { display: none; }

/* Pied de page : la marque, en grand. */
body .pf2-marque .logo-container img { width: 68px; height: 68px; }
body .pf2-marque .logo-text { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; }
body .pf2-marque .logo-container { gap: 1rem; margin-bottom: 1.2rem; }

/* Hero : l'image est centrée verticalement, et reste à droite. */
body .hero-section::after {
    top: 50%; bottom: auto; height: min(78%, 720px);
    transform: translateY(-50%);
}
body .join-section::after {
    top: 50%; bottom: auto; height: min(78%, 560px);
    transform: translateY(-50%);
}

/* Exposition : plus de piste ni d'ombre elliptique au sol. */
.expo-scene::before, .expo-scene::after { display: none; }


/* ── Compteur d'images par seconde (apparaît après 20 images en 3 s) ── */
.expo-fps {
    position: absolute; top: clamp(1rem, 2.5vw, 2rem); right: clamp(1rem, 2.5vw, 2rem); z-index: 6;
    display: flex; align-items: baseline; gap: 0.4rem;
    padding: 0.55rem 0.95rem; border-radius: 16px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-strong);
    font-variant-numeric: tabular-nums;
    opacity: 0; transform: translateY(-10px) scale(0.92);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}
.expo-fps.visible { opacity: 1; transform: none; }
.expo-fps.chaud { border-color: var(--primary-color); box-shadow: 0 0 24px rgba(76, 141, 255, 0.35); }
.expo-fps-val { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; min-width: 2.6ch; text-align: right; }
.expo-fps-u { font-size: 0.78rem; color: var(--text-tertiary); font-weight: 600; letter-spacing: 0.06em; }
.expo-fps-rec { margin-left: 0.5rem; padding-left: 0.7rem; border-left: 1px solid var(--border-color); font-size: 0.72rem; color: var(--text-tertiary); }
.expo-fps-rec b { color: var(--text-primary); font-weight: 600; }


/* Compteur : en haut à gauche, il part quand on arrête de tourner. */
.expo-fps { right: auto; left: clamp(1rem, 2.5vw, 2rem); transform: translateY(-10px) translateX(-6px) scale(0.92); }
.expo-fps.visible { transform: none; }


/* Compteur : simple texte, juste sous « Dix instants… », sans cadre ni fond. */
.expo-tete { position: relative; }
.expo-fps,
.expo-fps.chaud {
    position: absolute; top: calc(100% + 0.7rem); left: 0; right: auto;
    padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    transform: translateY(-6px);
}
.expo-fps.visible { transform: none; }
.expo-fps-val { font-size: 1.15rem; min-width: 0; }
.expo-fps-u, .expo-fps-rec { font-size: 0.8rem; }
.expo-fps-rec { border: 0; margin-left: 0.6rem; padding-left: 0; }
.expo-fps.chaud .expo-fps-val { color: var(--primary-color); }

/* Avis : pas de guillemet décoratif. */
body .ac-avis::before { content: none; display: none; }

/* Avis : les étoiles reprennent leur place dans le flux, au-dessus du texte
   (elles n'ont plus le guillemet pour leur réserver la place). */
body .ac-avis .ac-avis-etoiles {
    position: static; order: -1;
    margin: 0 0 0.75rem; font-size: 0.85rem;
}


/* Avis : étoiles en images, petites et alignées. */
.ac-etoile { width: 15px; height: 15px; display: inline-block; vertical-align: middle; object-fit: contain; }
.ac-avis-etoiles, .ac-etoiles { display: inline-flex; align-items: center; gap: 3px; letter-spacing: 0; line-height: 1; }
body .ac-avis .ac-avis-etoiles .ac-etoile { width: 14px; height: 14px; }
body .ac-etoiles .ac-etoile { width: 18px; height: 18px; }
body .ac-avis-modal .ac-etoile { width: 17px; height: 17px; }

/* Premiers pas : la barre attend que la section soit à l'écran. */
.pp.attente .pp-indic-barre { transform: scaleX(0) !important; animation: none !important; }

/* Étapes : plus de dégradé sombre sur les images, elles se posent à nu sur le fond. */
.pp-panneau::after { display: none !important; }
