/* ENELIFES · V14. Une seule finition pour les pages FR et EN. */
:root{--en-action:#6b2fa0;--en-on-action:#fff;--en-footer-bg:#f5f0f7;--en-hero-wash:247 243 249;--en-hero-edge:255 255 255}
:root[data-theme="dark"]{--en-action:#e0bdf7;--en-on-action:#251436;--en-footer-bg:#17111e;--en-hero-wash:17 12 24;--en-hero-edge:14 10 19}

/* Branding et navigation restent lisibles même à 320 px. */
html body .site-header.institutional-header .brand img{width:auto;max-inline-size:100%;object-fit:contain;transition:height .24s ease}
html body .site-header.institutional-header.is-scrolled .brand img{height:34px!important}
html body .site-header.institutional-header .client-header{background:var(--en-action);color:var(--en-on-action);min-height:44px}
html body .site-header.institutional-header .header-actions{gap:clamp(.22rem,.75vw,.55rem)}
html body .site-header.institutional-header .icon-button{height:44px;min-height:44px;min-width:44px}
@media(max-width:1049px){
  html body .site-header.institutional-header .header-inner{column-gap:.35rem}
  html body .site-header.institutional-header .client-header{padding-inline:clamp(.55rem,2vw,.85rem)}
  html body .site-header.institutional-header.is-scrolled .brand img{height:28px!important}
}
@media(max-width:375px){
  html body .site-header.institutional-header .brand img{height:auto!important;width:100%;max-height:31px}
  html body .site-header.institutional-header.is-scrolled .brand img{height:auto!important;max-height:26px}
  html body .site-header.institutional-header .header-actions{gap:.22rem}
}
@media (min-width:1050px) and (max-width:1200px){
  html body .site-header.institutional-header .nav-group > summary{padding-inline:.62rem}
}

/* Accueil : films derrière le titre ; titre lisible sous chaque image. */
html body.v11-edition .v11-home .en-cinema{position:relative;isolation:isolate;display:grid;align-items:center;grid-template-columns:minmax(0,1fr);min-block-size:clamp(27rem,45vw,38rem);margin-block:clamp(.65rem,2.4vw,2rem) clamp(2rem,5vw,4.75rem);padding:clamp(1.25rem,5vw,4.6rem);border:1px solid var(--p-line);border-radius:clamp(1.25rem,3vw,2rem);overflow:hidden;background:var(--p-soft)}
.en-cinema .en-cinema-media,.en-cinema .v11-film-image{position:absolute;inset:0;border-radius:0;aspect-ratio:auto;margin:0}
.en-cinema .en-cinema-media{z-index:-1}
.en-cinema .v11-film-image::after{inset:0;height:auto;background:linear-gradient(90deg,rgb(var(--en-hero-wash)/.99) 0%,rgb(var(--en-hero-wash)/.94) 33%,rgb(var(--en-hero-wash)/.73) 48%,rgb(var(--en-hero-wash)/.10) 70%,transparent 94%)}
.en-cinema .en-cinema-copy{max-inline-size:min(59%,42rem);padding-block:1rem 3rem;min-inline-size:0}
html body.v11-edition .v11-home .en-cinema h1{font-size:clamp(2.25rem,1.3rem + 4vw,5rem);line-height:1.04;letter-spacing:-.046em;margin-block:.25em .22em;hyphens:manual;text-wrap:balance}
html body.v11-edition .v11-home .en-cinema .v11-lead{color:var(--p-ink)!important;line-height:1.5;max-inline-size:37ch}
.en-cinema .v11-film-info{inset:auto 10.5rem .85rem auto;inline-size:max-content;max-inline-size:min(52%,34ch);padding:.5rem .8rem;border-radius:.78rem;color:var(--p-ink);text-shadow:none;background:var(--p-surface)}
.en-cinema .v11-film-info span{line-height:1.28}
.en-cinema .v11-film-info span:nth-child(2){color:var(--p-muted)}
.en-cinema .v11-film-info span:empty{display:none}
.en-cinema .v11-film-controls{inset:auto .75rem .75rem auto;z-index:3;gap:.25rem}
.en-cinema .v11-film-controls button{color:var(--p-ink);background:var(--p-surface);border-color:var(--p-line-strong)}
.en-cinema .v11-film-controls button:hover{background:var(--en-action);color:var(--en-on-action)}
@media(max-width:767px){
  html body.v11-edition .v11-home .en-cinema{min-block-size:0;padding:0;align-items:stretch;grid-template-rows:auto auto}
  .en-cinema .en-cinema-copy{max-inline-size:none;grid-row:1;padding:clamp(1rem,5vw,1.8rem)}
  .en-cinema .en-cinema-media{z-index:0;position:relative;inset:auto;grid-row:2;min-block-size:12.5rem;aspect-ratio:16 / 9}
  .en-cinema .v11-film-image::after{background:linear-gradient(0deg,rgb(var(--en-hero-wash)/.30),transparent 24%)}
  .en-cinema .v11-film-controls{inset:auto .5rem .5rem auto}
  .en-cinema .v11-film-info{inset:auto auto .5rem .5rem;max-inline-size:calc(100% - 9.65rem);padding:.35rem .55rem}
  .en-cinema .v11-film-info span:first-child{font-size:.875rem}
  .en-cinema .v11-film-info span:nth-child(2){font-size:.8125rem}
  .en-cinema .v11-actions{margin-block-start:1rem}
}

/* Guide : choix accessibles sur une seule largeur, résultat sans prix. */
.en-guide-head{margin-block-end:1.6rem}
.en-guide-head h2{max-inline-size:25ch;margin-block:.15em .28em!important}
.en-step-label{font-size:1rem!important;font-weight:600;letter-spacing:0!important}
.en-guide-controls .j-acts{margin:0;padding:.55rem 0 0;overflow:visible;flex-wrap:wrap;gap:.45rem}
.en-guide-controls .j-acts button{min-height:44px;max-inline-size:100%;text-align:start;white-space:normal}
.en-guide-controls .j-apps label{min-height:44px;align-items:center}
.en-guide-controls .j-apps input{flex:none}
.en-guide-controls .j-seg{flex-wrap:wrap;border-radius:1.15rem}
.en-guide-controls .j-seg button{min-height:44px;font-size:.9rem}
.en-guide-controls .j-day-head > div{min-inline-size:0}
.en-guide-controls .j-big{font-size:clamp(1.48rem,1.12rem + 1.5vw,2.3rem);line-height:1.14}
.en-guide-controls .j-sol{background:var(--p-surface);color:var(--p-ink);border:1px solid var(--p-line-strong);box-shadow:var(--p-shadow-sm)}
.en-guide-controls .j-sol p{color:var(--p-muted)!important;opacity:1}
.en-guide-controls .j-sol .v11-kicker{color:var(--v11-link)!important}
.en-guide-controls .j-sol::after{opacity:.35}
.en-guide-controls .j-row small{font-size:.8125rem;line-height:1.34;letter-spacing:.04em;opacity:1}
.en-guide-controls .j-ticks{font-size:.8125rem}
.en-guide-controls .j-model{grid-template-columns:auto minmax(0,1fr);gap:.75rem}
.en-guide-controls .j-model span.d{font-size:.875rem}
.en-guide-controls .j-model span[aria-hidden]{display:none}
.en-guide-controls .j-day{margin-block-start:1.15rem}
.en-guide-controls .j-ribbon .h,.en-guide-controls .j-ribbon svg{pointer-events:none}
.en-guide-controls .j-family,.j-family{grid-template-columns:repeat(3,minmax(0,1fr))}
.j-family a{min-inline-size:0;display:flex;flex-direction:column;align-items:flex-start}
.j-family a img{max-inline-size:100%;height:42px;object-fit:contain;object-position:left}
@media(max-width:920px){.j-family{grid-template-columns:1fr}}
@media(max-width:480px){
 .en-guide-controls .j-acts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .en-guide-controls .j-acts button{border-radius:16px;padding:.6rem .7rem}
 .j-next{padding:16px}
}

/* Le contenu des cartes complémentaires utilise toute la largeur disponible. */
html body.v11-edition #main .enl-complement-grid > .enl-complement > div:only-child{
  grid-column:1 / -1;inline-size:100%;min-inline-size:0;max-inline-size:none}
html body.v11-edition #main .enl-complement-grid > .enl-complement :is(h3,p,a,.enl-status){
  overflow-wrap:break-word;word-break:normal;min-inline-size:0}
html body.v11-edition #main .enl-complement-grid > .enl-complement h3{hyphens:manual}

/* Le logo de la fondation possède ses propres variantes dans l’en-tête. */
:root:not([data-theme="dark"]) .en-foundation-brand .dark-logo,
:root[data-theme="dark"] .en-foundation-brand .light-logo{display:none!important}

/* Le thème inclut le pied de page et laisse toujours les libellés lisibles. */
:root body .site-footer.v11-footer{background:var(--en-footer-bg)!important;color:var(--p-ink);border-block-start:1px solid var(--p-line-strong);padding-block:clamp(1.5rem,3.4vw,3rem) 1.25rem}
html:root body .site-footer.v11-footer::after{display:block!important;content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  opacity:.075;background:var(--enl-cycle-clair,url("/assets/v11/motifs-mobile-20261127/01-empreinte-clair.webp")) repeat left top / 288px 288px}
html:root[data-theme="dark"] body .site-footer.v11-footer::after{opacity:.10;background-image:var(--enl-cycle-sombre,url("/assets/v11/motifs-mobile-20261127/01-empreinte-sombre.webp"))}
html:root body .site-footer.v11-footer > .v11-wrap{position:relative;z-index:1}
@media(forced-colors:active),(prefers-contrast:more){html:root body .site-footer.v11-footer::after{opacity:0}}
html:root body .site-footer.v11-footer :is(a,span,p,div,h2,strong){color:var(--p-ink)!important}
html:root body .site-footer.v11-footer .v11-footer-end :is(a,span),
html:root body .site-footer.v11-footer .v11-footer-end{color:var(--p-muted)!important;border-color:var(--p-line-strong)}
html:root body .site-footer.v11-footer a:hover{color:var(--v11-link)!important}
html:root body .site-footer.v11-footer .v11-footer-group h2{color:var(--p-muted)!important;font-size:.875rem}
html:root body .site-footer.v11-footer .v11-footer-main{gap:clamp(1rem,3vw,2.25rem)}
html:root body .site-footer.v11-footer .v11-footer-brand{gap:clamp(.65rem,2vw,1.35rem)}
html:root body .site-footer.v11-footer .v11-footer-mark img{height:clamp(56px,7vw,82px)!important}
html:root:not([data-theme="dark"]) body .site-footer.v11-footer .dark-logo{display:none!important}
html:root:not([data-theme="dark"]) body .site-footer.v11-footer .light-logo{display:block!important}
html:root body .site-footer.v11-footer :is(.enl-motif-toggle,.enl-motif-outil button){color:var(--p-ink);border-color:var(--p-line-strong)}

.en-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.75rem,3vw,1.5rem);margin-block:1.55rem}
.en-channel{padding:clamp(1.15rem,3vw,2.25rem);border:1px solid var(--p-line-strong);border-radius:1.4rem;background:var(--p-surface);min-inline-size:0}
.en-channel h2{margin:0}
.en-channel .v11-actions{margin-block:1rem 0}
.en-channel-status{font-size:.9rem;color:var(--p-muted)}
@media(max-width:680px){.en-channels{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html body .site-header.institutional-header .brand img,.en-cinema .v11-film-image video{transition:none!important}}

html body .en-channel .v11-code{margin-bottom:.65rem}.en-channel-help{margin-top:1.75rem}
