/* EnseigneToiBien — lot 34. Fils d'Ariane visuels retirés ; FAQ/schema SEO conservés. */
body.etb34-compact-hero .etb-managed-hero:not(.etb34-gallery-hero):not(.etb33-hero) > .container .about_content{
    padding:clamp(54px,6.4vw,84px) 0!important;
}
body.etb34-compact-hero .etb-managed-hero:not(.etb34-gallery-hero):not(.etb33-hero) .about_heading{
    font-size:clamp(42px,5.3vw,67px)!important;
    line-height:1.1!important;
    padding:0!important;
    letter-spacing:-.038em;
}
body.etb34-compact-hero .etb33-hero{min-height:468px!important}
body.etb34-compact-hero .etb33-hero-content{margin-top:35px;margin-bottom:30px}
@media(max-width:600px){
    body.etb34-compact-hero .etb-managed-hero:not(.etb34-gallery-hero):not(.etb33-hero) > .container .about_content{padding:54px 0!important}
    body.etb34-compact-hero .etb33-hero{min-height:435px!important}
}

/* Galerie : le HTML des photos/filtres reste géré par RealisationPageRenderer.php. */
body.etb34-gallery-page .etb34-gallery-hero,
body.etb34-gallery-page .etb34-gallery-intro,
body.etb34-gallery-page [data-etb-realisations],
body.etb34-gallery-page .etb34-gallery-cta{font-family:Outfit,Arial,sans-serif}
body.etb34-gallery-page .etb34-gallery-hero{isolation:isolate;display:flex;min-height:510px;background:#14171a!important;color:#fff}
body.etb34-gallery-page .etb34-gallery-hero::before{content:"";z-index:1;position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,12,15,.93) 0%,rgba(9,12,15,.83) 42%,rgba(9,12,15,.30) 100%),linear-gradient(0deg,rgba(9,12,15,.44),transparent 55%)}
body.etb34-gallery-page .etb34-gallery-hero::after{content:"";position:absolute;z-index:1;right:-100px;bottom:-180px;width:320px;height:320px;border-radius:50%;border:1px solid rgba(255,255,255,.2);pointer-events:none}
body.etb34-gallery-page .etb34-gallery-hero>.etb-hero-image{object-position:center 46%}
body.etb34-gallery-page .etb34-gallery-hero>.container{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding-top:62px;padding-bottom:49px}
body.etb34-gallery-page .etb34-kicker{color:#b52130;display:inline-flex;align-items:center;gap:12px;font-size:11px;font-weight:800;letter-spacing:.19em;text-transform:uppercase;line-height:1.4}
body.etb34-gallery-page .etb34-kicker i{display:inline-block;flex:0 0 8px;height:8px;width:8px;border-radius:50%;background:#d12b3d;box-shadow:0 0 0 5px rgba(195,30,47,.18)}
body.etb34-gallery-page .etb34-kicker-light{color:#f5f5f5}
body.etb34-gallery-page .etb34-hero-inner{max-width:780px}
body.etb34-gallery-page .etb34-hero-inner h1{font-size:clamp(53px,7.2vw,102px);font-weight:800;color:#fff;letter-spacing:-.06em;line-height:1.02;margin:23px 0 22px}
body.etb34-gallery-page .etb34-hero-inner h1 em{font-style:normal;color:#f0f0f0}
body.etb34-gallery-page .etb34-hero-inner>p{max-width:565px;color:#dfe1e3;font-size:clamp(16px,1.7vw,19px);line-height:1.7;margin:0}
body.etb34-gallery-page .etb34-hero-cta{display:inline-flex;align-items:center;gap:24px;margin-top:32px;padding:0 0 10px;border-bottom:2px solid #db3544;color:#fff!important;font-weight:700;font-size:15px;text-decoration:none;transition:gap .2s}
body.etb34-gallery-page .etb34-hero-cta:hover{gap:32px}
body.etb34-gallery-page .etb34-hero-cta span{font-weight:400;font-size:22px}
body.etb34-gallery-page .etb34-hero-corner{position:absolute;right:14px;bottom:24px;color:rgba(255,255,255,.68);font-size:10px;font-weight:700;letter-spacing:.16em}
body.etb34-gallery-page .etb34-gallery-intro{background:#fff;padding:94px 0 50px}
body.etb34-gallery-page .etb34-intro-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:50px;align-items:end}
body.etb34-gallery-page .etb34-intro-grid h2{color:#1e2125;max-width:680px;font-size:clamp(38px,4.4vw,61px);line-height:1.1;letter-spacing:-.048em;font-weight:800;margin:22px 0 0}
body.etb34-gallery-page .etb34-intro-grid h2 em{font-style:normal;color:#c12836}
body.etb34-gallery-page .etb34-intro-grid>p{color:#5e666d;font-size:16px;line-height:1.85;max-width:450px;margin:0 0 4px;justify-self:end}
body.etb34-gallery-page .etb34-gallery-anchor{height:0;scroll-margin-top:90px}
body.etb34-gallery-page [data-etb-realisations]{padding:6px 0 70px;background:#fff}
body.etb34-gallery-page [data-etb-realisations] .filters{display:flex!important;justify-content:flex-start!important;align-items:center;flex-wrap:wrap;gap:9px!important;padding:15px 0 22px;margin:0!important}
body.etb34-gallery-page [data-etb-realisations] .filter_link{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:750;letter-spacing:.01em;line-height:1.25;text-transform:none;border:1px solid #e6e7e9;border-radius:50px;padding:11px 19px;background:#f8f8f9;color:#353a3f;text-decoration:none;transition:background .16s,color .16s,border-color .16s}
body.etb34-gallery-page [data-etb-realisations] .filter_link:hover{border-color:#c52b3b;color:#b6212f}
body.etb34-gallery-page [data-etb-realisations] .filter_link.active{background:#b91d2b;color:#fff;border-color:#b91d2b;box-shadow:0 6px 18px rgba(185,29,43,.13)}
body.etb34-gallery-page [data-etb-realisations] .project{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:280px;grid-auto-flow:row dense;gap:18px!important;margin-top:20px!important}
body.etb34-gallery-page [data-etb-realisations] .cd-item{min-width:0;height:100%;min-height:0;margin:0;opacity:1;transform:none}
body.etb34-gallery-page [data-etb-realisations].etb34-ready .cd-item[hidden]{display:none!important}
body.etb34-gallery-page [data-etb-realisations]:not(.etb34-ready) .cd-item:nth-child(n+13){display:none!important}
body.etb34-gallery-page [data-etb-realisations].etb34-ready .cd-item.extra-team:not([hidden]){display:block!important;opacity:1!important;transform:none!important}
body.etb34-gallery-page [data-etb-realisations] .cd-item:first-child:not([hidden]){grid-column:span 2;grid-row:span 2}
body.etb34-gallery-page [data-etb-realisations] .work_box{height:100%;width:100%;position:relative;overflow:hidden;border-radius:15px;background:#202428;box-shadow:0 8px 30px rgba(20,24,28,.08);cursor:zoom-in}
body.etb34-gallery-page [data-etb-realisations] .work_box .work_img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0;transition:transform .55s ease,filter .35s ease;cursor:zoom-in}
body.etb34-gallery-page [data-etb-realisations] .work_box:hover .work_img{transform:scale(1.055);filter:brightness(.91)}
body.etb34-gallery-page [data-etb-realisations] .work_overlay{position:absolute;inset:auto 0 0;width:100%;margin:0;border-radius:0;padding:58px 24px 22px;background:linear-gradient(0deg,rgba(8,11,13,.89) 0%,rgba(8,11,13,.62) 54%,transparent 100%);opacity:1;transform:none;pointer-events:none;transition:background .3s}
body.etb34-gallery-page [data-etb-realisations] .work_box:hover .work_overlay{opacity:1;transform:none}
body.etb34-gallery-page [data-etb-realisations] .work_h3{color:#fff;font-size:clamp(16px,1.7vw,21px);font-weight:800;line-height:1.25;letter-spacing:-.015em;margin:0}
body.etb34-gallery-page [data-etb-realisations] .work_ptxt{color:rgba(255,255,255,.78);font-size:13px;line-height:1.5;margin:5px 0 0}
body.etb34-gallery-page [data-etb-realisations] .work_ptxt:empty{display:none}
body.etb34-gallery-page [data-etb-realisations] .work_box:after{content:"↗";position:absolute;right:17px;top:17px;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#a31e2c;font-family:Arial,sans-serif;font-size:21px;line-height:1;opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s;pointer-events:none}
body.etb34-gallery-page [data-etb-realisations] .work_box:hover:after,body.etb34-gallery-page [data-etb-realisations] .work_box:focus-within:after{opacity:1;transform:translateY(0)}
body.etb34-gallery-page [data-etb-realisations] .work_img:focus-visible{outline:4px solid #df2c40;outline-offset:-5px}
body.etb34-gallery-page [data-etb-realisations] #showMoreBtn{display:flex;align-items:center;justify-content:center;gap:20px;min-height:50px;padding:12px 22px;width:fit-content;margin:40px auto 0!important;border:1px solid #c32b39;background:#fff;border-radius:999px;cursor:pointer;box-shadow:none;transition:background .16s,color .16s}
body.etb34-gallery-page [data-etb-realisations] #showMoreBtn:hover{background:#b91d2b;color:#fff}
body.etb34-gallery-page [data-etb-realisations] #showMoreBtn .text{font-size:14px;font-weight:750;line-height:1.3;color:#b91d2b;margin:0}
body.etb34-gallery-page [data-etb-realisations] #showMoreBtn:hover .text{color:#fff}
body.etb34-gallery-page [data-etb-realisations] #showMoreBtn img{width:23px;height:23px;object-fit:contain}
body.etb34-gallery-page [data-etb-realisations] #showMoreBtn[hidden]{display:none!important}
body.etb34-gallery-page [data-etb-realisations] #showMoreBtn:focus-visible{outline:3px solid #222;outline-offset:4px}
body.etb34-gallery-page .etb34-gallery-cta{padding:38px 0 35px;background:#fff}
body.etb34-gallery-page .etb34-cta-panel{display:flex;align-items:center;justify-content:space-between;gap:42px;background:#1e2226;border-radius:22px;padding:clamp(34px,5vw,72px);position:relative;overflow:hidden}
body.etb34-gallery-page .etb34-cta-panel:after{content:"";position:absolute;width:300px;height:300px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-100px;bottom:-200px;pointer-events:none}
body.etb34-gallery-page .etb34-cta-panel>div{position:relative;z-index:1}
body.etb34-gallery-page .etb34-cta-panel h2{font-size:clamp(34px,4vw,54px);color:#fff;font-weight:800;letter-spacing:-.045em;line-height:1.12;margin:19px 0 14px;max-width:650px}
body.etb34-gallery-page .etb34-cta-panel h2 em{font-style:normal;color:#ef737d}
body.etb34-gallery-page .etb34-cta-panel p{font-size:15px;line-height:1.75;color:#c0c4c6;margin:0;max-width:585px}
body.etb34-gallery-page .etb34-cta-button{display:inline-flex;align-items:center;justify-content:space-between;gap:34px;flex:0 0 auto;min-height:55px;padding:12px 14px 12px 23px;border-radius:10px;background:#c12636;color:#fff!important;text-decoration:none;font-size:14px;font-weight:800;z-index:1;transition:background .2s}
body.etb34-gallery-page .etb34-cta-button:hover{background:#a11929}
body.etb34-gallery-page .etb34-cta-button span{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:rgba(255,255,255,.16);font-size:22px;font-weight:400}
body.etb34-gallery-page footer.mt-100{margin-top:75px!important}
@media(max-width:991px){
    body.etb34-gallery-page .etb34-intro-grid{grid-template-columns:1fr;gap:19px}
    body.etb34-gallery-page .etb34-intro-grid>p{justify-self:start}
    body.etb34-gallery-page [data-etb-realisations] .project{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:255px}
    body.etb34-gallery-page .etb34-cta-panel{flex-direction:column;align-items:flex-start;gap:26px}
}
@media(max-width:620px){
    body.etb34-gallery-page .etb34-gallery-hero{min-height:450px}
    body.etb34-gallery-page .etb34-gallery-hero>.container{padding:46px 22px 40px}
    body.etb34-gallery-page .etb34-hero-inner h1{font-size:clamp(49px,10vw,66px)}
    body.etb34-gallery-page .etb34-hero-corner{display:none}
    body.etb34-gallery-page .etb34-gallery-intro{padding:65px 0 29px}
    body.etb34-gallery-page .etb34-intro-grid h2{font-size:39px}
    body.etb34-gallery-page [data-etb-realisations] .filters{gap:7px!important;padding-bottom:12px}
    body.etb34-gallery-page [data-etb-realisations] .filter_link{padding:10px 14px;font-size:12px}
    body.etb34-gallery-page [data-etb-realisations] .project{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:190px;gap:10px!important;margin-top:12px!important}
    body.etb34-gallery-page [data-etb-realisations] .cd-item:first-child:not([hidden]){grid-column:span 2;grid-row:span 1}
    body.etb34-gallery-page [data-etb-realisations] .work_overlay{padding:45px 12px 12px}
    body.etb34-gallery-page [data-etb-realisations] .work_h3{font-size:14px}
    body.etb34-gallery-page [data-etb-realisations] .work_ptxt{font-size:11px}
    body.etb34-gallery-page [data-etb-realisations] .work_box:after{display:none}
    body.etb34-gallery-page [data-etb-realisations]{padding-bottom:45px}
    body.etb34-gallery-page .etb34-cta-panel{padding:34px 24px;border-radius:17px}
    body.etb34-gallery-page .etb34-cta-panel h2{font-size:37px}
    body.etb34-gallery-page .etb34-cta-button{width:100%}
    body.etb34-gallery-page footer.mt-100{margin-top:55px!important}
}
@media(prefers-reduced-motion:reduce){
    body.etb34-gallery-page .etb34-hero-cta,
    body.etb34-gallery-page [data-etb-realisations] .work_img,
    body.etb34-gallery-page [data-etb-realisations] .filter_link,
    body.etb34-gallery-page .etb34-cta-button{transition:none!important}
}
