/* EFCVO Charte v1.0.0 (30 nov. 2026) : réglages du thème Extra autour des gabarits. Règles ciblées, jamais sur body ni h1-h6. */
/* Icône X (Twitter) retirée des icônes sociales de l'en-tête et du pied de page */
.et-extra-icon-twitter{display:none!important}
li:has(> a.et-extra-icon-twitter){display:none!important}
/* Gabarits rubrique et article : pleine largeur, sans marge d'Extra */
#main-content:has(> .efc-tpl){padding:0!important;background:#f2efe8}
.efc-tpl{width:100%}
/* Modules Texte qui portent un shortcode EFCVO : sans marge ni fond */
.et_pb_text:has(.efcl),.et_pb_text:has(.efclm){margin:0!important;padding:0!important}
.et_pb_row:has(.efcl),.et_pb_row:has(.efclm){width:100%!important;max-width:100%!important;padding:0!important}
.et_pb_section:has(.efcl),.et_pb_section:has(.efclm){padding:0!important}
/* Menu or : sous-menus déroulants lisibles */
#et-menu .sub-menu{border-top:3px solid #1a1a1a}
#et-menu .sub-menu a{font-family:'Barlow Condensed',sans-serif;font-weight:600;letter-spacing:.06em;text-transform:uppercase}

/* v1.0.3 (30 nov. 2026) : galeries en mosaïque + visionneuse plein écran au clic. Photos entières sur fond noir (aucun recadrage). */
.efc-tpl .gal.efs-g img{cursor:zoom-in;transition:transform .4s,filter .3s}
.efc-tpl .gal.efs-g div:hover img{transform:scale(1.04);filter:brightness(1.08)}
.efc-tpl .gal.efs-g img:focus-visible{outline:3px solid #c9a84c;outline-offset:-3px}
.efs-lb{position:fixed;inset:0;z-index:999999;background:#0a0a0a}
.efs-lb .efs-tr{position:absolute;inset:0;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.efs-lb .efs-tr::-webkit-scrollbar{display:none}
.efs-lb .efs-s{flex:0 0 100%;height:100%;scroll-snap-align:center;display:flex;align-items:center;justify-content:center;padding:56px 70px}
.efs-lb .efs-s img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.efs-lb .efs-a{position:absolute;top:50%;transform:translateY(-50%);width:50px;height:50px;border:0;border-radius:50%;background:rgba(26,26,26,.8);color:#c9a84c;font:400 36px/48px 'Barlow',sans-serif;cursor:pointer;z-index:2;padding:0;transition:background .2s}
.efs-lb .efs-a:hover{background:#c9a84c;color:#1a1a1a}
.efs-lb .efs-a:disabled{opacity:.2;cursor:default}
.efs-lb .efs-p{left:14px}.efs-lb .efs-n{right:14px}
.efs-lb .efs-c{position:absolute;top:16px;right:18px;color:#f2efe8;font:700 14px 'Barlow Condensed',sans-serif;letter-spacing:.14em;z-index:2}
.efs-lb .efs-x{position:absolute;top:6px;left:14px;background:none;border:0;color:#f2efe8;font:300 46px/1 'Barlow',sans-serif;cursor:pointer;z-index:2;padding:4px 8px}
.efs-lb .efs-x:hover{color:#c9a84c}
@media (max-width:767px){
.efs-lb .efs-s{padding:54px 0}
.efs-lb .efs-a{width:40px;height:40px;font-size:28px;line-height:38px;top:auto;bottom:18px;transform:none}
.efs-lb .efs-p{left:calc(50% - 52px)}.efs-lb .efs-n{right:calc(50% - 52px)}
}

/* v1.0.4 (30 nov. 2026) : pages de rubrique v2 (maquette rubrique-salle.html). Préfixe #main-content .efc-rub2 pour passer devant les règles du gabarit v1. */
#main-content .efc-rub2 .rh2{position:relative;color:#f2efe8;background:#121212;background-image:repeating-linear-gradient(115deg,rgba(255,255,255,.025) 0 1px,transparent 1px 22px),radial-gradient(ellipse at 85% 20%,color-mix(in srgb,var(--c) 35%,transparent) 0,transparent 60%);overflow:hidden}
#main-content .efc-rub2 .rh2 .in2{max-width:1180px;margin:0 auto;padding:58px 24px 46px;display:grid;grid-template-columns:1.15fr 1fr;gap:56px;align-items:center}
#main-content .efc-rub2 .rh2 .crumb{font-size:13px;color:#8a8270;margin-bottom:14px}
#main-content .efc-rub2 .rh2 .crumb a{color:#c9a84c;text-decoration:none}
#main-content .efc-rub2 .rh2 .eb{display:flex;align-items:center;gap:14px;font:600 11px 'Barlow Condensed',sans-serif;letter-spacing:.28em;text-transform:uppercase;color:#a49d8e}
#main-content .efc-rub2 .rh2 .eb:before{content:"";width:36px;height:2px;background:#c9a84c;flex:none}
#main-content .efc-rub2 .rh2 h1{font:800 84px/.92 'Barlow Condensed',sans-serif;text-transform:uppercase;margin:18px 0 0;padding:0;letter-spacing:-.01em;color:#f2efe8}
#main-content .efc-rub2 .rh2 h1 .d{display:block;color:#3b3a36;font-size:.62em}
#main-content .efc-rub2 .rh2 h1 .k{display:block;color:var(--c);filter:brightness(1.9) saturate(.8)}
#main-content .efc-rub2 .rh2.c-elite h1 .k{color:#f2efe8;filter:none}
#main-content .efc-rub2 .rh2 .lead{color:#a49d8e;font:400 16px/1.75 'Barlow',sans-serif;max-width:520px;margin-top:22px}
#main-content .efc-rub2 .rh2 .lead b{color:#f2efe8}
#main-content .efc-rub2 .rh2 .kw{display:flex;flex-wrap:wrap;gap:6px;margin-top:22px}
#main-content .efc-rub2 .rh2 .kw span{font:600 11px 'Barlow Condensed',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#a49d8e;border:1px solid rgba(242,239,232,.16);padding:5px 9px}
#main-content .efc-rub2 .box{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.09);border-radius:16px;padding:26px 28px 18px;backdrop-filter:blur(4px)}
#main-content .efc-rub2 .box h4{font:600 10px 'Barlow Condensed',sans-serif;letter-spacing:.26em;text-transform:uppercase;color:#7d776a;padding:0 0 14px;border-bottom:1px solid rgba(255,255,255,.08);margin:0}
#main-content .efc-rub2 .box a{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.06);color:#c9c3b6;text-decoration:none;font:500 14px 'Barlow',sans-serif}
#main-content .efc-rub2 .box a:last-child{border-bottom:0}
#main-content .efc-rub2 .box a i{display:inline-block;width:9px;height:9px;background:var(--c);margin-right:10px;filter:brightness(1.5)}
#main-content .efc-rub2 .box a.c-elite i{background:#1a1a1a;box-shadow:0 0 0 1px #8a8270;filter:none}
#main-content .efc-rub2 .box a b{font:800 22px 'Barlow Condensed',sans-serif;color:#f2efe8}
#main-content .efc-rub2 .box a:hover{color:#fff}
#main-content .efc-rub2 .box a.cur,#main-content .efc-rub2 .box a.cur b{color:#c9a84c}
#main-content .efc-rub2 .yb{border-top:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.35)}
#main-content .efc-rub2 .yb .in3{max-width:1180px;margin:0 auto;display:flex;overflow-x:auto;scrollbar-width:none}
#main-content .efc-rub2 .yb .in3::-webkit-scrollbar{display:none}
#main-content .efc-rub2 .yb button{flex:1;min-width:96px;background:none;border:0;border-right:1px solid rgba(255,255,255,.07);color:#8a8270;padding:16px 10px 16px 18px;cursor:pointer;text-align:left;border-radius:0}
#main-content .efc-rub2 .yb button:last-child{border-right:0}
#main-content .efc-rub2 .yb button b{display:block;font:800 26px/1 'Barlow Condensed',sans-serif;color:#c9a84c}
#main-content .efc-rub2 .yb button small{font:400 12px 'Barlow',sans-serif;color:#7d776a}
#main-content .efc-rub2 .yb button.on{background:rgba(201,168,76,.12);box-shadow:inset 0 -3px 0 #c9a84c}
#main-content .efc-rub2 .yb button:hover b{color:#e6c766}
#main-content .efc-rub2 .pg4{background:#f2efe8}
#main-content .efc-rub2 .body2{max-width:1180px;margin:0 auto;padding:40px 24px 10px}
#main-content .efc-rub2 .body2 .cgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
#main-content .efc-rub2 .card.off{display:none}
#main-content .efc-rub2 .more{display:block;margin:30px auto 0;font:700 13px 'Barlow Condensed',sans-serif;letter-spacing:.14em;text-transform:uppercase;padding:13px 30px;background:#1a1a1a;color:#f2efe8;border:0;cursor:pointer;position:static}
#main-content .efc-rub2 .feat .im img{transition:transform .5s}
#main-content .efc-rub2 .feat:hover .im img{transform:scale(1.04)}
#main-content .efc-rub2 .secg .rub.cur{outline:3px solid #1a1a1a}
@media (min-width:768px){#main-content .efc-rub2 .rubs{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;overflow:visible}#main-content .efc-rub2 .rub{flex:none}}
@media (max-width:767px){
#main-content .efc-rub2 .rh2 .in2{grid-template-columns:1fr;gap:28px;padding:34px 16px 28px}
#main-content .efc-rub2 .rh2 h1{font-size:58px}
#main-content .efc-rub2 .body2{padding:26px 16px 0}
#main-content .efc-rub2 .body2 .cgrid{grid-template-columns:1fr}
#main-content .efc-rub2 .feat{grid-template-columns:1fr}
#main-content .efc-rub2 .yb button{min-width:84px}
#main-content .efc-rub2 .box{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;padding:20px}
#main-content .efc-rub2 .box h4{grid-column:1/-1;margin-bottom:4px}
#main-content .efc-rub2 .box a{font-size:13px}
#main-content .efc-rub2 .box a b{font-size:18px}
}

/* v1.0.5 (30 nov. 2026) : animations légères des pages de rubrique et de la page Actualité (entrée en douceur du hero, lignes du sommaire en cascade, cartes qui montent). Désactivées si le visiteur a demandé moins d'animations. */
@keyframes efcUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes efcIn{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
#main-content .efc-anim .rh2 .in2 > div:first-child > *{animation:efcUp .7s cubic-bezier(.2,.7,.2,1) both}
#main-content .efc-anim .rh2 .in2 > div:first-child > *:nth-child(2){animation-delay:.08s}
#main-content .efc-anim .rh2 .in2 > div:first-child > *:nth-child(3){animation-delay:.16s}
#main-content .efc-anim .rh2 .in2 > div:first-child > *:nth-child(4){animation-delay:.24s}
#main-content .efc-anim .rh2 .in2 > div:first-child > *:nth-child(5){animation-delay:.32s}
#main-content .efc-anim .rh2 .box{animation:efcUp .7s .15s cubic-bezier(.2,.7,.2,1) both}
#main-content .efc-anim .rh2 .box a{animation:efcIn .5s cubic-bezier(.2,.7,.2,1) both}
#main-content .efc-anim .rh2 .box a:nth-of-type(1){animation-delay:0.36s}
#main-content .efc-anim .rh2 .box a:nth-of-type(2){animation-delay:0.42s}
#main-content .efc-anim .rh2 .box a:nth-of-type(3){animation-delay:0.48s}
#main-content .efc-anim .rh2 .box a:nth-of-type(4){animation-delay:0.54s}
#main-content .efc-anim .rh2 .box a:nth-of-type(5){animation-delay:0.60s}
#main-content .efc-anim .rh2 .box a:nth-of-type(6){animation-delay:0.66s}
#main-content .efc-anim .rh2 .box a:nth-of-type(7){animation-delay:0.72s}
#main-content .efc-anim .rh2 .box a:nth-of-type(8){animation-delay:0.78s}
#main-content .efc-anim .rh2 .box a:nth-of-type(9){animation-delay:0.84s}
#main-content .efc-anim .rh2 .box a:nth-of-type(10){animation-delay:0.90s}
#main-content .efc-anim .rh2 .box a{transition:background .25s,padding-left .25s}
#main-content .efc-anim .rh2 .box a:hover{padding-left:8px}
#main-content .efc-anim .yb button{animation:efcUp .5s .55s both}
#main-content .efc-anim #efc-ftw,#main-content .efc-anim .cgrid .card:not(.off){animation:efcUp .6s cubic-bezier(.2,.7,.2,1) both}
#main-content .efc-anim .cgrid .card:nth-child(3n+2){animation-delay:.07s}
#main-content .efc-anim .cgrid .card:nth-child(3n+3){animation-delay:.14s}
}
