/* tools : le modele « Cinéma » (lot G v6, 10/11/2026), les deux vues. Le socle : garde-commun.css. */
:root { --accent: #ffb26b; --gd-fond-fenetre: rgba(14, 15, 22, .82); --gd-bouton-texte: #1a1108; --gd-police-titre: 'Inter Tight', sans-serif; }
body { background: #0a0b10; color: #fff; font-family: 'Manrope', system-ui, sans-serif; }
.cn { --m: clamp(22px, 5vw, 96px); --h: 66px; position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }

/* le fond : le diaporama, et une ombre qui garde le texte lisible sur toutes les photos */
.cn .gd-diapo { z-index: -2; background: #101218; }
.cn-ombre { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 9, 14, .55) 0%, rgba(8, 9, 14, 0) 22%),
    linear-gradient(90deg, rgba(8, 9, 14, .78) 0%, rgba(8, 9, 14, .42) 42%, rgba(8, 9, 14, 0) 70%),
    linear-gradient(0deg, rgba(8, 9, 14, .82) 0%, rgba(8, 9, 14, 0) 46%); }

/* l en-tete */
.cn-tete { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 4vh, 40px) var(--m) 0; }
.cn-logo { width: auto; height: clamp(30px, 2.8vw, 40px); display: block; }

/* le bloc du texte */
.cn-bloc { margin-top: auto; padding: 0 var(--m); max-width: calc(760px + 2 * var(--m)); display: flex; flex-direction: column; align-items: flex-start; }
.cn-etat { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(18px, 3vh, 28px); padding: 9px 16px 9px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.cn-point { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: cn-pouls 2.4s ease-out infinite; }
@keyframes cn-pouls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.cn-titre { margin: 0; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: clamp(38px, 4.7vw, 78px); line-height: 1.02; letter-spacing: -.034em; text-wrap: balance; max-width: 13.5em; }
.cn-titre em { font-style: normal; color: var(--accent); }
.cn-texte { margin: clamp(16px, 2.4vh, 22px) 0 0; max-width: 31em; font-size: clamp(15px, 1.12vw, 18.5px); line-height: 1.62; color: rgba(255, 255, 255, .8); }
.cn-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: clamp(24px, 4vh, 36px); }

/* le verre des cases et du retour prevu */
.cn-verre { background: rgba(255, 255, 255, .085); border: 1px solid rgba(255, 255, 255, .17); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-radius: 16px; }
.cn .gd-compte { gap: 8px; }
.cn .gd-case { width: clamp(64px, 5.4vw, 80px); height: var(--h); gap: 5px; transition: transform .35s var(--gd-ease), background .3s; }
.cn .gd-case:hover { background: rgba(255, 255, 255, .13); }
.cn .gd-chiffre { font-family: 'Inter Tight', sans-serif; font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; }
.cn .gd-chiffre.bascule { animation: cn-bascule .5s var(--gd-ease); }
@keyframes cn-bascule { from { opacity: .2; transform: translateY(-6px); } }
.cn .gd-unite { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.cn-retour { height: var(--h); display: flex; flex-direction: column; justify-content: center; padding: 0 22px; gap: 3px; }
.cn-retour-l { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.cn-retour strong { font-family: 'Inter Tight', sans-serif; font-size: 19px; }

/* le bouton : la meme hauteur que les cases */
.cn-cta { height: var(--h); padding: 0 28px 0 30px; border-radius: 16px; font-weight: 700; font-size: 16px; color: #1a1108; background: var(--accent); box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 30%, transparent); }
.cn-cta:hover { box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 45%, transparent); }

/* le pied : le domaine, le numero de l image et ses barres */
.cn-pied { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(26px, 4.5vh, 44px) var(--m) clamp(22px, 4vh, 38px); font-size: 13px; letter-spacing: .06em; color: rgba(255, 255, 255, .62); }
.cn-progres { margin-left: auto; display: flex; align-items: center; gap: 16px; color: #fff; }
.cn-numero { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.cn-sur { color: rgba(255, 255, 255, .5); }
.cn .gd-barre { width: clamp(30px, 3.4vw, 52px); color: var(--accent); }
.cn .gd-barre:hover { background: rgba(255, 255, 255, .4); }

/* l entree : le texte en cascade */
.cn-i1 { --i: 1; } .cn-i2 { --i: 2; } .cn-i3 { --i: 3; } .cn-i4 { --i: 4; } .cn-i5 { --i: 5; }
/* la page recule un peu quand la fenetre s ouvre */
.cn-tete, .cn-bloc, .cn-pied { transition: transform .7s var(--gd-ease), opacity .5s var(--gd-ease-doux), filter .5s; }
.gd-modale-ouverte .cn-bloc, .gd-modale-ouverte .cn-tete, .gd-modale-ouverte .cn-pied { transform: scale(.985); opacity: .55; }

@media (max-width: 720px) {
  .cn { --h: 58px; }
  .cn-ombre { background: linear-gradient(180deg, rgba(8, 9, 14, .5) 0%, rgba(8, 9, 14, .15) 30%, rgba(8, 9, 14, .88) 72%); }
  .cn .gd-case { width: calc((100vw - 2 * var(--m) - 24px) / 4); }
  .cn-actions { width: 100%; }
  .cn-cta { flex: 1 1 100%; }
  .cn-pied { flex-wrap: wrap; }
}
