/* ==========================================================================
   Identité « cinéma » — Rémi Pozzo Films (09/11/2026)
   Chargé après style.css et les styles de page. Deux matières : la salle
   (espresso) et le papier (fond). Le cadre Scope 2,39 ouvre chaque page,
   le générique la ferme. Aucune ombre, rayons 2 px, charte exacte.
   ========================================================================== */
:root{
  --espresso:#1E1410;--sable:#C4A882;--lin:#EDE0CC;--fond:#F7F3EE;--texte:#2C1F14;--sable-dark:#7A6548;
  --encre:#6E5A44;           /* petits libellés sur papier (contraste AA) */
  --encre-sable:#7A6548;     /* liens et italiques sur papier */
  --fond-light:#F2ECE2;--fond-card:#F7F3EE;--border:rgba(44,31,20,.12);
  --texte-soft:rgba(44,31,20,.74);
  --gold:var(--sable);--white:#F7F3EE;--white-off:#F7F3EE;
  --scope:2.39;--ease-cine:cubic-bezier(.16,1,.3,1);
  --header-h:80px;
}
html{scrollbar-color:var(--sable) var(--fond)}
body{background:var(--fond);color:var(--texte)}
::selection{background:var(--espresso);color:var(--lin)}
:focus-visible{outline:2px solid var(--sable);outline-offset:3px;border-radius:2px}
a{text-underline-offset:3px}

/* --- Titres : intertitres, sans étiquette au-dessus ----------------------- */
.section__header .section__tag,.page-hero .section__tag,.page-hero__label,
.intro-statement .section__tag,.manifesto__text .section__tag,
.text-center>.section__tag,.section .container>.section__tag,.section .container>div>.section__tag:first-child{display:none!important}
h1,h2{letter-spacing:.02em;text-wrap:balance}
h2{font-weight:400}
p{text-wrap:pretty}
.container--narrow p,.formule-prose p{max-width:68ch;margin-left:auto;margin-right:auto}
.red-line,.red-line--center{background:var(--sable);opacity:1;width:48px}

/* --- Lisibilité : plus aucun texte sous 12 px ----------------------------- */
.header__nav a{font-size:.72rem;letter-spacing:.14em;color:var(--texte)}
.btn-line{font-size:.75rem;letter-spacing:.16em;color:var(--encre)}
.btn-line::after{background:var(--encre)}
.footer__bottom p,.footer__col a,.footer__col p{font-size:.85rem}

/* --- Boutons (charte) ------------------------------------------------------ */
.btn{background:var(--sable)!important;color:var(--espresso)!important;font-size:.85rem;letter-spacing:.12em;padding:16px 40px;border-radius:2px;box-shadow:none!important;transition:background .2s ease,color .2s ease}
.btn::before{display:none!important}
.btn:hover{background:var(--espresso)!important;color:var(--sable)!important}
.salle .btn:hover,.footer .btn:hover,.cine-hero .btn:hover{background:var(--lin)!important;color:var(--espresso)!important}

/* --- En-tête : la bande du haut -------------------------------------------- */
.header{background:rgba(247,243,238,.97);border-bottom:1px solid var(--border);backdrop-filter:none;-webkit-backdrop-filter:none}
.header__logo,.header__logo svg{color:var(--espresso)}
.header__espace{border-radius:2px}
body:has(.cine-hero) .header:not(.header--scrolled){background:var(--espresso);border-bottom-color:transparent}
body:has(.cine-hero) .header:not(.header--scrolled) .header__logo,
body:has(.cine-hero) .header:not(.header--scrolled) .header__logo svg,
body:has(.cine-hero) .header:not(.header--scrolled) .header__nav a,
body:has(.cine-hero) .header:not(.header--scrolled) .header__social a{color:var(--lin)}
body:has(.cine-hero) .header:not(.header--scrolled) .header__espace{color:var(--lin);border-color:rgba(237,224,204,.45)}
body:has(.cine-hero) .header:not(.header--scrolled) .burger span{background:var(--lin)}

/* --- Accueil : la projection ----------------------------------------------- */
.hero.hero--minimal.cine-hero{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;min-height:0;height:auto;padding-top:var(--header-h);background:var(--espresso)}
.cine-hero .cine-cadre{position:relative;width:100%;aspect-ratio:var(--scope)/1;max-height:calc(100svh - var(--header-h) - 200px);min-height:200px;overflow:hidden;background:#000;clip-path:inset(0)}
.cine-hero .hero__video{position:absolute;top:50%;left:50%;width:100%;height:auto;aspect-ratio:16/9;min-width:0;min-height:100%;transform:translate(-50%,-50%)}
.cine-hero .hero__fallback{position:absolute;inset:0}
.cine-hero .hero__scroll{display:none}
.cine-generique{background:var(--espresso);color:var(--lin);text-align:center;padding:clamp(1.3rem,2.2vw,2rem) var(--gutter) clamp(1.5rem,2.6vw,2.4rem)}
.cine-generique h1{font-family:var(--font-display);font-weight:400;font-size:clamp(1.45rem,2.3vw,2.15rem);line-height:1.25;color:var(--lin);margin:0 auto 1.2rem;max-width:44ch}
.cine-generique .btn{margin:0}
@media (prefers-reduced-motion:no-preference){
  .cine-hero .cine-cadre{animation:cineOuverture 1.6s var(--ease-cine) .15s both}
  .cine-generique>.btn{animation:cineTitre 1s var(--ease-cine) 1.2s both}
}
@keyframes cineOuverture{from{clip-path:inset(49.5% 0 49.5% 0)}to{clip-path:inset(0)}}
@keyframes cineTitre{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* L'ancien h1 de l'introduction devient un texte d'ouverture sur papier */
.intro-statement h2{font-weight:400;font-size:clamp(1.6rem,2.6vw,2.3rem);max-width:28ch;margin:0 auto 1.6rem;text-align:center}
.intro-statement p{text-align:center}

/* --- Bannières de page : même cadre, titre dans la bande du bas ----------- */
.page-hero.page-hero--image{display:block;min-height:0;padding:var(--header-h) 0 0;background:var(--espresso);overflow:hidden}
.page-hero.page-hero--image::after{display:none}
.page-hero--image .page-hero__media{position:relative;inset:auto;display:block;width:100%;aspect-ratio:var(--scope)/1;max-height:calc(100svh - var(--header-h) - 280px);min-height:180px;overflow:hidden}
.page-hero--image .page-hero__media img{width:100%;height:100%;object-fit:cover}
.page-hero--image .page-hero__veil{display:none}
.page-hero--image>.container,.page-hero--image>.container--narrow{padding-top:clamp(1.8rem,3.4vw,3rem);padding-bottom:clamp(2rem,3.6vw,3.2rem);text-align:center}
.page-hero--image h1,.page-hero--image .page-hero__title,.page-hero--image .photo-hero-title,.page-hero--image .article__title{color:var(--lin)!important;font-weight:400;font-size:clamp(1.9rem,3.6vw,3.2rem);line-height:1.15;margin-left:auto;margin-right:auto;text-align:center;opacity:1}
.page-hero--image p,.page-hero--image .page-hero__subtitle,.page-hero--image .article__meta,.page-hero--image .article__byline,.page-hero--image .article__tag{color:rgba(237,224,204,.78)!important;text-align:center}
.page-hero--image p em,.page-hero--image .article__byline a{color:var(--sable)!important}
@media (prefers-reduced-motion:no-preference){
  .page-hero--image .page-hero__media{animation:cineOuverture 1.2s var(--ease-cine) .1s both}
}
@media (max-width:768px){
  :root{--header-h:64px}
  .cine-hero .cine-cadre,.page-hero--image .page-hero__media{aspect-ratio:1.85/1;max-height:none}
}

/* --- Matières : salle et papier -------------------------------------------- */
.section--dark,.section--darker,.section--alt{background:var(--fond)}
.section--alt,.section--darker{background:var(--fond-light)}
.salle{background:var(--espresso)!important;color:var(--lin)}
.salle h2,.salle h3,.salle .brand-quote p{color:var(--lin)}
.salle p,.salle li{color:rgba(237,224,204,.8)}
.salle .btn-line{color:var(--sable)}
.salle .btn-line::after{background:var(--sable)}
.salle .brand-quote span{color:var(--sable)}
.salle a:not(.btn):not(.btn-line):not(.film-poster){color:var(--sable)}

/* --- Images : le cadre net, sans voile ni assombrissement ----------------- */
.image-break{height:auto!important;aspect-ratio:var(--scope)/1;max-height:none;background:var(--espresso)}
.image-break img{filter:none!important;clip-path:none!important}
.image-break__overlay{display:none}
@media (max-width:768px){.image-break{aspect-ratio:1.85/1}}
.cta-band__overlay{background:rgba(30,20,16,.62)}

/* --- Cartes d'options et de formules : papier, filet fin ------------------ */
.formule-price__value{font-size:clamp(1.5rem,2.4vw,2rem)!important}
.formule-price__hint{font-size:.8rem!important;color:var(--encre)!important}

/* --- Pied de page : le générique de fin ------------------------------------ */
.footer{background:var(--espresso);color:var(--lin)}
.cine-fin{text-align:center;padding:0 0 clamp(3rem,6vw,5rem);margin:0 auto clamp(3rem,6vw,4.5rem);max-width:640px;border-bottom:1px solid rgba(196,168,130,.25)}
.cine-fin__role{display:block;font-family:var(--font-body);font-size:.75rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--sable);margin:0 0 .5rem}
.cine-fin__nom{display:block;font-family:var(--font-display);font-size:clamp(1.5rem,2.4vw,2rem);color:var(--lin);margin:0 0 2rem;line-height:1.2}
.cine-fin__nom:last-child{margin-bottom:0}
.footer__col h4{color:var(--sable);font-size:.75rem;letter-spacing:.2em}
.footer__col a{color:rgba(237,224,204,.8)}
.footer__col a:hover{color:var(--lin)}
.footer__brand p{color:rgba(237,224,204,.72)}

/* L'ancien thème appelait « ivoire » sa couleur de texte foncé : ne jamais redéfinir --ivoire */
.trust-bar__item strong{color:var(--sable-dark)}
/* Héritage de l'ancien thème sombre : sur papier, les titres reprennent l'encre */
.section:not(.salle) :is(h1,h2,h3,h4):not(.rpf-formule--phare *){color:var(--texte)}
.section:not(.salle) .brand-quote p{color:var(--texte)}

/* Plancher de lisibilité : aucun texte sous 12 px (styles en ligne hérités compris) */
[style*="font-size:0.5rem"],[style*="font-size: 0.5rem"],[style*="font-size:0.55rem"],[style*="font-size: 0.55rem"],
[style*="font-size:0.58rem"],[style*="font-size: 0.58rem"],[style*="font-size:0.6rem"],[style*="font-size: 0.6rem"],
[style*="font-size:0.62rem"],[style*="font-size: 0.62rem"],[style*="font-size:0.65rem"],[style*="font-size: 0.65rem"],
[style*="font-size:0.7rem"],[style*="font-size: 0.7rem"],[style*="font-size:0.68rem"],[style*="font-size: 0.68rem"]{font-size:.75rem!important}
.header__nav a,.header__espace,.mobile-menu a{font-size:.75rem!important}
.footer__sitemap a,.footer__sitemap p,.footer__sitemap h4,.footer__bottom span,.article__meta,.article__tag,.page-hero__label,
.formule-price__hint,.options-footer p,.faq-item__answer p,.related__title+*,.cookie-banner p,.film-cinema-credits *{font-size:max(.75rem,1em)}
#contact-form label:not(.choix),#contact-form legend{font-size:.8rem!important;letter-spacing:.12em;color:var(--encre)!important}
#contact-form .choix span{font-size:.95rem}
#contact-form input,#contact-form select,#contact-form textarea{font-size:16px}
.contact-details-bar h4,.trust-bar__item span,.rpf-avis cite,.brand-quote span{font-size:.78rem!important}

/* --- Corrections de la relecture finale (09/11/2026) ---------------------- */
.cine-hero h1,.page-hero--image h1{visibility:visible!important}
body:has(.page-hero--image) .header:not(.header--scrolled){background:var(--espresso);border-bottom-color:transparent}
body:has(.page-hero--image) .header:not(.header--scrolled) .header__logo,
body:has(.page-hero--image) .header:not(.header--scrolled) .header__logo svg,
body:has(.page-hero--image) .header:not(.header--scrolled) .header__nav a{color:var(--lin)}
body:has(.page-hero--image) .header:not(.header--scrolled) .header__espace{color:var(--lin);border-color:rgba(237,224,204,.45)}
body:has(.page-hero--image) .header:not(.header--scrolled) .burger span{background:var(--lin)}
.header__social{display:none!important}
.footer__brand h3 span{color:var(--sable)!important}
@media (min-width:900px){.rpf-avis-grille{grid-template-columns:repeat(2,1fr)!important;max-width:900px}}
/* L'appel final : l'image en cadre, le titre et le bouton dans la bande du bas */
.cta-band{padding:0!important;background:var(--espresso);text-align:center}
.cta-band__bg{position:relative!important;inset:auto!important;display:block;width:100%;aspect-ratio:var(--scope)/1;height:auto!important;filter:none!important;background-attachment:scroll!important}
.cta-band__overlay{display:none!important}
.cta-band__content{position:relative;padding:clamp(2rem,3.6vw,3.2rem) var(--gutter) clamp(2.4rem,4vw,3.6rem)}
.cta-band__content h2{color:var(--lin)!important}
@media (max-width:768px){.cta-band__bg{aspect-ratio:1.85/1}}
/* Le titre d'une page est dans la bande : visible tout de suite, sans fondu */
.page-hero--image .reveal,.cine-generique .reveal{opacity:1!important;transform:none!important;visibility:visible!important}

/* --- Relecture sur téléphone (09/11/2026, après-midi) ---------------------- */
/* Cadrage : chaque image d'ouverture garde son point d'intérêt (visages), sur tous les écrans */
.page-hero--image .page-hero__media img{object-position:var(--pos,50% 40%)!important}
/* Interlignes : plus aucun paragraphe à double interligne (styles en ligne hérités compris) */
main p:not(.brand-quote p),main li{line-height:1.7!important}
main p[style*="line-height"],main li[style*="line-height"]{line-height:1.7!important}
main .page-hero--image p,main .page-hero--image p em{line-height:1.45!important}
.page-hero--image p{margin-top:.6rem!important}
.rpf-formule p,.rpf-option p,.rpf-commun{line-height:1.7}
/* Expériences : une image par famille d'options, au format du site */
.rpf-options__image{display:block;width:100%;aspect-ratio:var(--scope)/1;object-fit:cover;border-radius:2px;margin:0 0 clamp(1.6rem,3vw,2.4rem)}
@media (max-width:768px){.rpf-options__image{aspect-ratio:1.85/1}}
.rpf-option__recu span{display:block;margin:0 0 .25rem}
.rpf-option h4{font-size:.85rem!important;letter-spacing:.14em!important;text-transform:uppercase}
/* Expériences : le prix, les déplacements, les heures — trois repères alignés */
.options-footer{max-width:980px!important;margin:clamp(3.5rem,6vw,5rem) auto 0!important;padding:0!important;border:0!important;display:grid;grid-template-columns:1fr;gap:1.6rem;text-align:left!important}
@media (min-width:820px){.options-footer{grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,3vw,2.5rem)}}
.options-footer p{margin:0!important;padding-top:1.1rem;border-top:1px solid var(--sable);font-size:.92rem!important;line-height:1.7;color:var(--texte-soft);text-align:left!important}
.options-footer p strong{display:block;font-family:var(--font-display);font-weight:400;font-size:1.35rem;letter-spacing:.01em;text-transform:none;color:var(--texte);margin:0 0 .4rem}
/* Liens vers le journal : de l'air au-dessus du titre */
.related{padding-top:clamp(3.5rem,6vw,5rem)!important}
.related__title{text-align:center}
/* L'appel final : les petites lignes lisibles sur la bande */
.cta-band__content p{color:rgba(237,224,204,.75)!important;opacity:1!important}
.cta-band__content .section__tag,.cta-band__content span{color:var(--sable)!important;opacity:1!important}
/* Contact : les trois formules en cartes à choisir */
.choix-formules{display:grid;grid-template-columns:1fr;gap:.8rem}
@media (min-width:600px){.choix-formules{grid-template-columns:repeat(3,1fr)}}
#contact-form .choix--formule{display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:0 0 1rem!important;position:relative;overflow:hidden;background:var(--fond)}
.choix--formule input{position:absolute;top:.8rem;left:.8rem;margin:0;width:18px!important;height:18px;accent-color:var(--espresso);z-index:1}
.choix--formule img{display:block;width:100%;aspect-ratio:2.39/1;object-fit:cover;margin:0 0 .9rem}
#contact-form .choix--formule .choix__nom{font-family:var(--font-display);font-size:1.35rem;line-height:1.2;color:var(--texte);padding:0 1rem}
#contact-form .choix--formule .choix__ligne{font-family:var(--font-display);font-style:italic;font-size:1rem;color:var(--encre);padding:.2rem 1rem 0}
.choix--formule:has(input:checked){border-color:var(--espresso);background:var(--espresso)}
.choix--formule:has(input:checked) .choix__nom{color:var(--lin)!important}
.choix--formule:has(input:checked) .choix__ligne{color:var(--sable)!important}
#contact-form .choix--incertain{margin-top:.8rem;width:100%;grid-column:1/-1}
.form-aide a{color:var(--encre);text-decoration:underline;text-underline-offset:3px}

/* Aucun écran de chargement : la page s'ouvre tout de suite */
.site-loader{display:none!important}

/* Journal : les photos dans les articles, plus larges que le texte, avec légende */
.journal-figure{margin:clamp(2.4rem,5vw,3.6rem) auto;max-width:980px;width:min(980px,calc(100vw - 2*var(--gutter,20px)));position:relative;left:50%;transform:translateX(-50%)}
.journal-figure img{display:block;width:100%;height:auto;border-radius:2px;background:var(--fond-light)}
.journal-figure figcaption{font-family:var(--font-accent,'Cormorant Garamond',serif);font-style:italic;font-size:1.05rem;line-height:1.5;color:var(--encre);text-align:center;max-width:60ch;margin:.9rem auto 0;padding:0 1rem}
@media (max-width:768px){.journal-figure{width:calc(100% + 2*var(--gutter,20px));left:auto;transform:none;margin-left:calc(-1*var(--gutter,20px));margin-right:0}.journal-figure img{border-radius:0}}

/* --- Pied de page compact (Rémi 09/11 : « il prend toute la place ») ---------- */
.footer{padding:clamp(2.2rem,3.5vw,3rem) 0 1.2rem!important}
.cine-fin{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.3rem 1rem;max-width:none;padding:0 0 1.4rem;margin:0 0 1.4rem}
.cine-fin__role{display:inline;margin:0;font-size:.7rem;letter-spacing:.18em}
.cine-fin__nom{display:inline;margin:0 1.2rem 0 0;font-size:clamp(1.1rem,1.4vw,1.3rem)}
.cine-fin__nom:last-child{margin-right:0}
.footer__top{display:grid!important;grid-template-columns:1.2fr 2fr 1.4fr;gap:1.2rem 3rem;align-items:start;padding:0!important;margin:0!important}
.footer__top>.footer__col:last-child{display:none}
.footer__brand h3{font-size:1.05rem;margin:0 0 .35rem!important}
.footer__brand p{font-size:.85rem!important;margin:0!important;line-height:1.5}
.footer__col{display:flex;flex-wrap:wrap;gap:.25rem 1.1rem;align-content:flex-start}
.footer__col h4{flex-basis:100%;margin:0 0 .4rem!important}
.footer__col a,.footer__col p{margin:0!important;padding:0!important;line-height:1.6}
.footer__sitemap{padding:1.1rem 0 .9rem!important;margin-top:1.3rem!important}
.footer__sitemap>div{grid-template-columns:repeat(5,auto)!important;gap:.8rem 2rem!important;justify-content:space-between;opacity:1!important}
.footer__sitemap>div>div{display:flex;flex-wrap:wrap;gap:0 .9rem;align-content:flex-start}
.footer__sitemap>div>div>p{flex-basis:100%;margin:0 0 .25rem!important}
.footer__sitemap a{display:inline!important;padding:0!important;line-height:1.75;color:rgba(237,224,204,.72)!important}
.footer__sitemap a:hover{color:var(--lin)!important}
.footer__bottom{padding-top:.9rem!important;margin-top:.4rem!important}
@media (max-width:900px){
  .footer__top{grid-template-columns:1fr;gap:1.1rem}
  .footer__sitemap>div{grid-template-columns:1fr 1fr!important}
}

/* Bandeau des cookies discret (10/11/2026) : petite carte en bas à gauche, Accepter et Refuser à égalité (CNIL) */
.cookie-banner{left:16px!important;right:auto!important;bottom:16px!important;max-width:min(340px,calc(100% - 32px));padding:12px 14px!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;font-size:12px!important;line-height:1.5;text-align:left!important;border:1px solid rgba(196,168,130,.35);border-radius:2px}
.cookie-banner__actions{gap:8px!important}
.cookie-banner__btn,.cookie-banner__btn--refuse{font-size:12px!important;padding:7px 16px!important;background:transparent!important;border:1px solid rgba(196,168,130,.6)!important;color:#EDE0CC!important;letter-spacing:.12em}
.cookie-banner__btn:hover{background:var(--sable)!important;color:var(--espresso)!important}
.cookie-banner:not(.visible){transform:translateY(calc(100% + 40px))!important}

/* Bloc « Le film et les photos, le même jour » (page Photographie, 10/11/2026) */
.savoir{background:var(--fond)!important;padding:clamp(72px,9vw,128px) 0!important}
.savoir__inner{max-width:980px;margin:0 auto}
.savoir__titre{text-align:center;margin:0 0 1rem}
.savoir__intro{text-align:center;max-width:620px;margin:0 auto 2.5rem;color:var(--texte)}
.savoir__grille{display:grid;grid-template-columns:1fr;gap:20px}
@media (min-width:768px){.savoir__grille{grid-template-columns:1fr 1fr;gap:28px}}
.savoir__carte{border:1px solid var(--ivoire,#EDE0CC);border-radius:2px;padding:clamp(24px,3vw,40px);background:var(--fond)}
.savoir__carte h3{font-family:var(--font-display,'Cormorant Garamond',serif);font-size:1.5rem;font-weight:600;margin:0 0 1rem;color:var(--espresso,#1E1410)}
.savoir__carte p{margin:0 0 .8rem}
.savoir__choix{text-align:center;max-width:680px;margin:2.5rem auto 0}
.savoir__choix a{color:#7A6548;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.savoir__note{text-align:center;max-width:620px;margin:1.5rem auto 0;font-size:13px;line-height:1.7;color:#6E5A44;border-top:1px solid #EDE0CC;padding-top:1.2rem}
