/* ALG Production - couche visuelle premium (additive). Pour revenir en arriere : retirer le <link> de app/views/_layout.php. */
/* 1. Expertises : tuiles photographiques asymetriques */
body:has(.hero+.mq) .grid:has(a[href="/drone"]){display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;border:0;background:transparent;margin-top:56px}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell{position:relative;isolation:isolate;overflow:hidden;min-height:440px;padding:40px 38px;display:flex;flex-direction:column;justify-content:flex-end;background:#12100d;border:0;grid-column:span 4}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell:nth-child(1){grid-column:span 7}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell:nth-child(2){grid-column:span 5}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell:nth-child(3){grid-column:span 5}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell:nth-child(4){grid-column:span 7}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell:nth-child(8){grid-column:span 12;min-height:380px}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--img,radial-gradient(120% 120% at 100% 0,rgba(200,164,106,.16),transparent 60%)) center/cover no-repeat;transition:transform 1.6s cubic-bezier(.2,.7,.2,1)}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(11,9,7,.94) 0%,rgba(11,9,7,.6) 42%,rgba(11,9,7,.2) 100%)}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell:hover::before{transform:scale(1.05)}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell .n{font-size:1rem;letter-spacing:.2em;margin-bottom:auto;color:var(--acc)}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell h3{font-size:clamp(1.9rem,2.7vw,2.8rem);line-height:1.05;margin:0 0 12px;max-width:16ch}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell p{max-width:36ch;color:#d9d1c2;font-size:.95rem;margin:0 0 22px}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell[href="/contenu-mensuel"]{--img:url(/assets/img/expertise-contenu-mensuel.webp)}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell[href="/corporate"]{--img:url(/assets/img/expertises-hero.webp)}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell[href="/publicitaire"]{--img:url(/assets/img/expertise-publicitaire.webp)}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell[href="/drone"]{--img:url(/assets/img/expertise-drone.webp)}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell[href="/creation-web"]{--img:url(/assets/img/creation-web/hero-banner.webp)}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell[href="/marketing-digital"]{--img:url(/assets/img/expertise-marketing.webp)}
@media(max-width:900px){body:has(.hero+.mq) .grid:has(a[href="/drone"]){grid-template-columns:1fr}body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell,body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell:nth-child(n){grid-column:auto;min-height:340px;padding:30px 24px}}
/* Lisibilite renforcee */
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell::after{background:linear-gradient(to top,rgba(11,9,7,.96) 0%,rgba(11,9,7,.74) 46%,rgba(11,9,7,.32) 100%)}
/* Tuile 08 : visuel a droite, texte a gauche */
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell:nth-child(8)::before{background-color:#000;background-size:auto 100%;background-position:right 8% center}
body:has(.hero+.mq) .grid:has(a[href="/drone"]) .cell:nth-child(8)::after{background:linear-gradient(90deg,rgba(11,9,7,.97) 0%,rgba(11,9,7,.8) 40%,rgba(11,9,7,.1) 100%)}
/* 2. Chiffres cles : composition ouverte, sans cases */
body:has(.hero+.mq) .facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;margin-top:80px;border:0;background:none}
body:has(.hero+.mq) .facts>div{border:0;background:none;padding:0}
body:has(.hero+.mq) .facts b{display:block;font-family:var(--serif);font-weight:400;font-size:clamp(3.4rem,6.5vw,6rem);line-height:1;color:var(--acc)}
body:has(.hero+.mq) .facts span{display:block;margin-top:16px;max-width:22ch;color:#a29a8b}
/* 3. Offres et methode : colonnes ouvertes, filet fin */
body:has(.hero+.mq) .grid:not(:has(a[href="/drone"])){display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 48px;margin-top:56px;border:0;background:transparent}
body:has(.hero+.mq) .grid:not(:has(a[href="/drone"])) .cell{background:transparent;border:0;border-top:1px solid #3a332a;padding:30px 0 12px;transition:border-color .5s,opacity .9s,transform .9s}
body:has(.hero+.mq) .grid:not(:has(a[href="/drone"])) .cell:hover{border-top-color:var(--acc)}
body:has(.hero+.mq) .grid:not(:has(a[href="/drone"])) .cell .n{display:block;margin-bottom:22px}
/* 4. Hero : plus de presence typographique et lisibilite */
body:has(.hero+.mq) .hero h1{font-size:clamp(2.3rem,4.1vw,4rem);line-height:1.05;letter-spacing:-.01em}
body:has(.hero+.mq) .hero .shade{background:linear-gradient(90deg,rgba(11,9,7,.8) 0%,rgba(11,9,7,.4) 55%,rgba(11,9,7,.15) 100%),linear-gradient(to top,rgba(11,9,7,.85) 0%,transparent 42%)}
/* 5. Respiration */
body:has(.hero+.mq) section{padding-top:clamp(90px,11vw,150px);padding-bottom:clamp(90px,11vw,150px)}
@media(max-width:900px){body:has(.hero+.mq) .facts{grid-template-columns:1fr;gap:36px;margin-top:56px}}
/*portfolio-realisations*/section:has(>.wrap.home-gallery){padding:0;overflow:hidden;background:#0b0907}.wrap.home-gallery{--g:clamp(8px,1.1vw,20px);max-width:none;width:100%;margin:0;padding:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);row-gap:clamp(56px,8vw,150px);align-items:start}.wrap.home-gallery .gal-grid{display:contents}.wrap.home-gallery>.eyebrow{grid-column:2/10;grid-row:1;align-self:start;margin:clamp(110px,17vh,170px) 0 0;position:relative;z-index:3}.wrap.home-gallery>h2{grid-column:2/12;grid-row:1;align-self:end;margin:0 0 clamp(64px,12vh,140px);position:relative;z-index:3;font-size:clamp(2.8rem,7vw,7.4rem);line-height:.96;font-weight:300;letter-spacing:-.02em;text-shadow:0 2px 40px rgba(0,0,0,.45)}.wrap.home-gallery .gal-item{display:block;position:relative;overflow:hidden;width:100%;height:auto;margin:0;padding:0;border:0;border-radius:0;background:#12100d;box-shadow:none}.wrap.home-gallery .gal-item .gal-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%;filter:saturate(.94);transition:transform 1.8s cubic-bezier(.2,.7,.2,1),filter 1s}.wrap.home-gallery .gal-item:hover .gal-media{transform:scale(1.035);filter:saturate(1.05)}.wrap.home-gallery .gal-item:first-child{grid-column:1/-1;grid-row:1;align-self:stretch;height:clamp(560px,96vh,1000px);aspect-ratio:auto}.wrap.home-gallery .gal-item:first-child .gal-media{object-position:50% 20%}.wrap.home-gallery .gal-item:first-child::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(11,9,7,.66) 0%,rgba(11,9,7,.06) 26%,rgba(11,9,7,.05) 46%,rgba(11,9,7,.95) 100%),linear-gradient(90deg,rgba(11,9,7,.6) 0%,rgba(11,9,7,0) 58%)}.wrap.home-gallery .gal-item:first-child::before{content:"Projet \2022\20 S\e9 ance photo caftans";position:absolute;left:8.4%;bottom:clamp(26px,5vh,54px);z-index:3;padding-left:54px;font:500 .7rem/1 Inter,sans-serif;letter-spacing:.3em;text-transform:uppercase;color:#c8a46a;background:linear-gradient(#c8a46a,#c8a46a) left center/38px 1px no-repeat}.wrap.home-gallery .gal-item:nth-child(5n+2){grid-column:2/7;aspect-ratio:4/5;margin-top:clamp(20px,5vw,90px)}.wrap.home-gallery .gal-item:nth-child(5n+3){grid-column:8/12;aspect-ratio:2/3;margin-top:clamp(70px,13vw,230px)}.wrap.home-gallery .gal-item:nth-child(5n+4){grid-column:1/5;aspect-ratio:3/4;margin-top:clamp(30px,7vw,120px)}.wrap.home-gallery .gal-item:nth-child(5n+5){grid-column:6/9;aspect-ratio:2/3;margin-top:clamp(110px,17vw,280px)}.wrap.home-gallery .gal-item:nth-child(5n+6){grid-column:10/13;aspect-ratio:1/1;margin-top:clamp(20px,4vw,70px)}.wrap.home-gallery>div:last-child{grid-column:2/12;padding:clamp(70px,11vw,170px) 0 clamp(90px,12vw,170px)}.wrap.home-gallery>div:last-child a{display:inline-flex;align-items:center;gap:clamp(18px,2.4vw,36px);font-family:"Cormorant Garamond",serif;font-weight:400;font-size:clamp(2rem,4.8vw,4.6rem);line-height:1;letter-spacing:-.01em;text-transform:none;color:#f1ece3;background:none;border:0;border-radius:0;border-bottom:1px solid #3a332a;padding:0 0 .35em;transition:border-color .6s,color .6s}.wrap.home-gallery>div:last-child a::after{content:"\2192";font-family:Inter,sans-serif;font-size:.55em;color:#c8a46a;transition:transform .6s}.wrap.home-gallery>div:last-child a:hover{color:#c8a46a;border-color:#c8a46a}.wrap.home-gallery>div:last-child a:hover::after{transform:translateX(10px)}@supports(animation-timeline:view()){.wrap.home-gallery .gal-item:not(:first-child){animation:galin linear both;animation-timeline:view();animation-range:entry 0% entry 50%}@keyframes galin{from{opacity:0;transform:translateY(36px)}to{opacity:1;transform:none}}}@media(prefers-reduced-motion:reduce){.wrap.home-gallery .gal-item{animation:none!important}.wrap.home-gallery .gal-item .gal-media{transition:none}}@media(max-width:900px){.wrap.home-gallery{grid-template-columns:repeat(6,minmax(0,1fr));row-gap:34px}.wrap.home-gallery .gal-item:first-child{height:clamp(520px,88vh,780px)}.wrap.home-gallery .gal-item:first-child::before{left:20px}.wrap.home-gallery>.eyebrow{grid-column:1/-1;padding-left:20px;margin-top:92px}.wrap.home-gallery>h2{grid-column:1/-1;padding:0 20px;font-size:clamp(2.5rem,11.5vw,4rem);margin-bottom:84px}.wrap.home-gallery .gal-item:nth-child(5n+2){grid-column:1/6;aspect-ratio:4/5;margin-top:30px}.wrap.home-gallery .gal-item:nth-child(5n+3){grid-column:3/7;aspect-ratio:2/3;margin-top:0}.wrap.home-gallery .gal-item:nth-child(5n+4){grid-column:1/5;aspect-ratio:3/4;margin-top:0}.wrap.home-gallery .gal-item:nth-child(5n+5){grid-column:2/6;aspect-ratio:2/3;margin-top:0}.wrap.home-gallery .gal-item:nth-child(5n+6){grid-column:1/7;aspect-ratio:1/1;margin-top:0}.wrap.home-gallery>div:last-child{grid-column:1/-1;padding-inline:20px}}/*retrait-realisations-mannequins : masque la section en attendant les videos. Pour la reafficher, supprimer cette regle*/section:has(>.wrap.home-gallery){display:none!important}
/*video-publicitaire*/
.pub-film{position:relative;padding:clamp(72px,10vw,140px) 0;background:radial-gradient(ellipse at 50% 0,#1a150f 0,#0b0907 70%);border-top:1px solid #2a251f;border-bottom:1px solid #2a251f}
.pub-in{max-width:1280px;margin:0 auto;padding:0 clamp(16px,4vw,40px)}
.pub-head{display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(24px,5vw,80px);align-items:end;margin-bottom:clamp(32px,5vw,56px)}
.pub-head h2{margin:0;font-family:"Cormorant Garamond",serif;font-weight:500;font-size:clamp(30px,4.2vw,56px);line-height:1.08;color:#f1ece3}
.pub-head p{margin:0;color:#b9b0a2;font-size:clamp(15px,1.3vw,17px);line-height:1.7;padding-left:24px;border-left:1px solid #c8a46a}
.pub-stage{position:relative;margin:0;aspect-ratio:16/9;background:#000;box-shadow:0 40px 90px -30px rgba(0,0,0,.8);outline:1px solid #3a332a;outline-offset:10px}
.pub-video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.pub-play{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;border:1px solid #c8a46a;background:rgba(11,9,7,.55);cursor:pointer;transition:transform .3s,background .3s}
.pub-play span{position:absolute;left:50%;top:50%;margin:-10px 0 0 -6px;border-left:18px solid #f1ece3;border-top:11px solid transparent;border-bottom:11px solid transparent}
.pub-play:hover,.pub-play:focus-visible{background:rgba(200,164,106,.25);transform:scale(1.06)}
.pub-stage.is-playing .pub-play{display:none}
.pub-cta{margin-top:clamp(28px,4vw,48px);text-align:center}
@media(max-width:900px){.pub-head{grid-template-columns:1fr;gap:20px}.pub-stage{outline-offset:6px}.pub-play{width:64px;height:64px;margin:-32px 0 0 -32px}.pub-play span{margin:-8px 0 0 -5px;border-left-width:14px;border-top-width:9px;border-bottom-width:9px}}

/*realisations-hub*/
.gal-tab[data-gal-tab="photos"]{display:none!important}
.rh{color:#f1ece3}
.rh-nav{position:sticky;top:64px;z-index:20;display:flex;gap:34px;justify-content:center;padding:14px 10px;margin:0 0 8px;background:rgba(11,9,7,.93);backdrop-filter:blur(8px);border-bottom:1px solid #2a251f}
.rh-nav a{font:500 12px/1 Inter,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#a29a8b;text-decoration:none;padding:6px 0;border-bottom:1px solid transparent;transition:.25s}
.rh-nav a:hover{color:#c8a46a;border-color:#c8a46a}
.rh-sec{padding:64px 0 8px;scroll-margin-top:110px}
.rh-h{font:500 clamp(32px,4vw,52px)/1.05 "Cormorant Garamond",serif;margin:0 0 26px;color:#f1ece3}
.rh-grid{display:grid;gap:4px;margin-bottom:4px}
.rh-gv{grid-template-columns:repeat(4,1fr)}
.rh-gh{grid-template-columns:repeat(2,1fr)}
.rh-t{position:relative;margin:0;overflow:hidden;background:#15110d;cursor:pointer}
.rh-t.v{aspect-ratio:9/16}.rh-t.h{aspect-ratio:16/9}
.rh-t video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.rh-t:hover video{transform:scale(1.03)}
.rh-t figcaption{position:absolute;left:0;right:0;bottom:0;padding:46px 16px 14px;background:linear-gradient(transparent,rgba(8,6,4,.88));pointer-events:none;transition:opacity .3s}
.rh-t figcaption span{display:block;font:500 10px/1 Inter,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#c8a46a;margin-bottom:6px}
.rh-t figcaption b{font:500 17px/1.2 "Cormorant Garamond",serif;color:#f1ece3}
.rh-p{position:absolute;top:50%;left:50%;width:54px;height:54px;margin:-27px 0 0 -27px;border-radius:50%;border:1px solid rgba(241,236,227,.7);background:rgba(11,9,7,.45);cursor:pointer;pointer-events:none}
.rh-p:after{content:"";position:absolute;left:21px;top:16px;border-left:15px solid #f1ece3;border-top:11px solid transparent;border-bottom:11px solid transparent}
.rh-t.is-on .rh-p,.rh-t.is-on figcaption{opacity:0}
.rh-ph{columns:3;column-gap:4px}
.rh-ph figure{margin:0 0 4px;break-inside:avoid;cursor:zoom-in;overflow:hidden;background:#15110d}
.rh-ph img{width:100%;display:block;transition:transform .6s}
.rh-ph figure:hover img{transform:scale(1.03)}
.rh-lb{position:fixed;inset:0;z-index:100;background:rgba(6,5,4,.95);display:flex;align-items:center;justify-content:center;cursor:zoom-out}
.rh-lb[hidden]{display:none}
.rh-lb img{max-width:94vw;max-height:92vh}
@media(max-width:900px){.rh-gv{grid-template-columns:repeat(2,1fr)}.rh-gh{grid-template-columns:1fr}.rh-ph{columns:2}.rh-nav{gap:18px;top:56px}.rh-nav a{font-size:11px;letter-spacing:.1em}.rh-sec{padding-top:44px}}
