/* FO ETZ2 — finitions pro : boutons arrondis, effets au survol et au défilement */
:root{--r-pill:999px;--r-card:18px;--r-small:12px;--soft-shadow:0 10px 30px rgba(23,23,23,.08);--lift-shadow:0 22px 48px rgba(23,23,23,.16);--ease-pro:cubic-bezier(.22,.72,.22,1)}
::selection{background:var(--red,#c8102e);color:#fff}

/* Boutons arrondis */
.button,.social-button,button,input[type=submit],.navigation-bar .header-search,.navigation-bar .menu-toggle,.navigation-bar .nav a,.navigation-bar .nav a.nav-contact{border-radius:var(--r-pill)!important}
.button,.social-button{position:relative;overflow:hidden;isolation:isolate;transition:transform .3s var(--ease-pro),box-shadow .3s var(--ease-pro),background .2s,color .2s}
.button:before,.social-button:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);transform:translateX(-120%);transition:transform .7s var(--ease-pro);pointer-events:none}
input:not([type=checkbox]):not([type=radio]),textarea,select{border-radius:var(--r-small)!important}

/* Cartes et images arrondies */
.news-card .card-image,.poster-thumb,.portrait-mini img,.article-image,.article-image img,.journal-cover,.paper-stage,.lead-story img,.compact-story img,.document-item,.contact-form,.email-box,.stat,.action-teaser,.team-person img{border-radius:var(--r-card);overflow:hidden}
.site-header.editorial-header .brand{border-radius:var(--r-card)}

@media(hover:hover) and (pointer:fine){
 .button:hover,.social-button:hover{transform:translateY(-3px)!important;box-shadow:var(--lift-shadow)!important}
 .button:hover:before,.social-button:hover:before{transform:translateX(120%)}
 .news-card,.poster-card,.portrait-mini,.action-teaser,.document-item,.team-person,.lead-story,.compact-story{transition:transform .4s var(--ease-pro)}
 .news-card:hover,.poster-card:hover,.action-teaser:hover,.document-item:hover,.team-person:hover,.lead-story:hover,.compact-story:hover{transform:translateY(-6px)}
 .portrait-mini:hover{transform:translateY(-6px) rotate(-1deg)}
 .news-card img,.poster-thumb img,.portrait-mini img,.article-image img,.lead-story img,.compact-story img,.team-person img,.journal-cover img{transition:transform .8s var(--ease-pro),filter .5s}
 .news-card:hover img,.poster-card:hover .poster-thumb img,.portrait-mini:hover img,.article-image:hover img,.lead-story:hover img,.compact-story:hover img,.team-person:hover img,.journal-cover:hover img{transform:scale(1.07);filter:saturate(1.12) contrast(1.03)}
 .news-card .card-image,.poster-thumb,.portrait-mini img,.team-person img{transition:box-shadow .4s var(--ease-pro)}
 .news-card:hover .card-image,.poster-card:hover .poster-thumb,.portrait-mini:hover img{box-shadow:var(--lift-shadow)}
 .glow-host{position:relative}
 .glow-host:after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .3s;background:radial-gradient(260px circle at var(--gx,50%) var(--gy,50%),rgba(200,16,46,.14),transparent 65%)}
 .glow-host:hover:after{opacity:1}
}

/* Apparition au défilement, plus vivante */
.motion-enabled [data-reveal]{filter:blur(6px)}
.motion-enabled [data-reveal].is-visible{filter:none}
.motion-enabled [data-reveal].from-left{transform:translate3d(-34px,18px,0)}
.motion-enabled [data-reveal].from-right{transform:translate3d(34px,18px,0)}
.motion-enabled [data-reveal].is-visible.from-left,.motion-enabled [data-reveal].is-visible.from-right{transform:none}
.motion-enabled .curtain{clip-path:inset(0 0 100% 0 round var(--r-card));transition:clip-path 1.1s var(--ease-pro)}
.motion-enabled .curtain.is-visible{clip-path:inset(0 0 0 0 round var(--r-card))}

/* Barre de menu vitrée */
.navigation-bar.has-scrolled{background:rgba(255,255,255,.82)!important;backdrop-filter:saturate(1.6) blur(14px);-webkit-backdrop-filter:saturate(1.6) blur(14px)}

/* Bouton retour en haut */
.to-top{position:fixed;right:22px;bottom:108px;z-index:45;width:48px;height:48px;border-radius:50%;border:0;background:var(--ink,#171717);color:#fff;font-size:20px;cursor:pointer;box-shadow:var(--lift-shadow);opacity:0;transform:translateY(16px) scale(.9);pointer-events:none;transition:opacity .3s,transform .3s var(--ease-pro),background .2s}
.to-top.show{opacity:1;transform:none;pointer-events:auto}
.to-top:hover{background:var(--red,#c8102e)}

@media(prefers-reduced-motion:reduce){
 *,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}
 .motion-enabled [data-reveal]{filter:none}
 .motion-enabled .curtain{clip-path:none}
}

/* ===== Thème noir · rouge · blanc ===== */
body{background-color:#ecebe7;background-image:
 radial-gradient(1200px 600px at 100% -10%,rgba(201,30,44,.07),transparent 60%),
 radial-gradient(900px 500px at -10% 40%,rgba(30,33,31,.06),transparent 60%),
 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40L40 0' stroke='%231e211f' stroke-opacity='.035' stroke-width='1'/%3E%3C/svg%3E");background-attachment:fixed}
/* Contenus sur cartes blanches pour rester lisibles */
main.wrap{background:#fff;border-radius:22px;box-shadow:0 18px 50px rgba(30,33,31,.08);padding:28px clamp(18px,3vw,44px) 44px;margin-top:28px;margin-bottom:40px;border-top:4px solid var(--red)}
.section,.rights-section,.poster-section{position:relative}
.site-header.editorial-header{background:transparent}
.navigation-bar{background:rgba(255,255,255,.92)}
/* Bandes sombres alternées */
.rights-section,.team-band{background:#1e211f!important;color:#f5f3ed}
.rights-section a,.team-band a{color:inherit}
.rights-section .muted,.team-band .muted,.rights-section p,.team-band p{color:#d8d6cf}
.rights-section .button:not(.primary),.team-band .button:not(.primary){border-color:#f5f3ed;color:#f5f3ed}
.hero{background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,255,255,.4));border-radius:0 0 28px 28px}
.site-footer{background:#141615!important;color:#e9e7e1;border-top:5px solid var(--red)}
.site-footer a{color:#e9e7e1}
.cta-band{background:linear-gradient(135deg,#c91e2c 0%,#9e1420 100%)!important}

/* Bandeau adhésion compact (accueil) */
.join-strip{padding-block:18px}
.join-strip-inner{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:#1e211f;color:#fff;border-radius:18px;padding:14px 20px;border-left:6px solid var(--red);box-shadow:0 12px 30px rgba(30,33,31,.15)}
.join-strip-inner img{width:46px;height:auto;border-radius:6px;transform:rotate(-4deg);box-shadow:0 4px 10px rgba(0,0,0,.4)}
.join-strip-inner p{margin:0;flex:1 1 260px;font-size:15px}
.join-strip-inner p span{color:#cfcdc6}
.join-strip-inner .button{min-height:42px;padding:10px 18px}
.join-strip-inner .text-link{color:#fff;display:inline-flex;gap:8px;align-items:center;font-weight:700;font-size:14px}
/* Bloc adhésion (Documents) */
.join-block{margin-bottom:26px;padding:18px;border-radius:18px;background:#fbf3f3;border:1px solid rgba(201,30,44,.25)}
.join-title{font:500 clamp(24px,3vw,34px)/1.1 var(--serif);margin:0 0 12px;color:var(--red)}
.join-row{border-bottom:0!important}

/* ===== Correctifs téléphone ===== */
html,body{overflow-x:hidden}
@media(max-width:900px){
 body{background-attachment:scroll!important}
 /* Moins d'effets lourds sur mobile */
 .motion-enabled [data-reveal]{filter:none!important}
 .motion-enabled [data-reveal].from-left,.motion-enabled [data-reveal].from-right{transform:translate3d(0,18px,0)!important}
 .motion-enabled [data-reveal].is-visible{transform:none!important}
 .glow-host:after{display:none}
 /* Cartes de contenu : moins de marges pour garder de la place au texte */
 main.wrap{width:calc(100% - 20px)!important;padding:18px 16px 28px!important;margin-top:14px!important;border-radius:16px!important}
 .hero{border-radius:0 0 18px 18px!important}
 /* Bandes noires : texte bien clair */
 .rights-section,.team-band{color:#fff!important}
 .rights-section *,.team-band *{color:inherit}
 .rights-section h2,.rights-section h3,.team-band h2,.team-band h3,.rights-section strong,.team-band strong{color:#fff!important}
 .rights-section p,.rights-section span,.team-band p,.team-band span,.rights-section li,.team-band li{color:#e4e2dc!important}
 .rights-section .eyebrow,.team-band .eyebrow,.rights-section .section-kicker,.team-band .section-kicker{color:#ff5a66!important}
 .rights-row{border-color:rgba(255,255,255,.2)!important}
 .site-footer,.site-footer *{color:#e9e7e1!important}
 /* Menu déroulant lisible */
 .navigation-bar .nav{background:#fff!important}
 .navigation-bar .nav a{color:#1e211f!important}
 /* Bandeau adhésion et vidéo */
 .join-strip-inner{flex-direction:column;align-items:flex-start;gap:10px;padding:14px 16px}
 .join-strip-inner img{display:none}
 .join-strip-inner .button{width:100%;justify-content:center}

 .to-top{right:14px;bottom:100px;width:44px;height:44px}
}
@media(max-width:560px){
 /* Textes minuscules agrandis */
 .topline .wrap{font-size:11px!important;letter-spacing:.02em!important}
 .site-header .brand-subtitle,.site-header.editorial-header .brand-subtitle{font-size:11px!important;letter-spacing:.02em!important}
 .hero .eyebrow,.eyebrow,.section-kicker,.tag,.scope-label{font-size:11px!important;letter-spacing:.06em!important}
 .hero .actions{flex-wrap:wrap!important}
 .hero .actions .button{flex:1 1 100%!important;font-size:14px!important;min-height:48px}

 .portrait-mini p{font-size:12px!important}.portrait-mini span{font-size:11px!important}
 .poster-reading-image figcaption{font-size:12px!important}
 .stat span{font-size:13px!important}
 .doc-spec,.article-meta,.poster-date{font-size:12px!important}
 p,li{font-size:max(15px,1em)}
}

