/*
Theme Name: Gaia Medias
Theme URI: https://demo.gaia.ma
Author: Gaia Medias
Description: Theme sur mesure pour Gaia Medias, integre depuis le site statique fourni.
Version: 1.0
Text Domain: gaia-medias
*/
/* Gaia Médias — site mobile-first */
:root{
  --red:#D4142B; --red-dark:#A50F21; --red-tint:#FBF4F3; --red-soft:#FBE7E9;
  --ink:#1A1414; --ink-2:#4A423F; --muted:#5E5653; --muted-2:#6B6461;
  --sand:#F5F2EF; --line:#EFEAE5; --white:#FFFFFF;
  --script:'Mrs Saint Delafield',cursive;
  --sans:'Montserrat','Helvetica Neue',Arial,sans-serif;
  --dock-h:84px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:var(--red)}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:12px}
.noscroll{scrollbar-width:none}.noscroll::-webkit-scrollbar{display:none}

/* Layout : colonne appli, centrée sur grand écran */
.app{max-width:560px;margin:0 auto;min-height:100dvh;position:relative;padding-bottom:calc(var(--dock-h) + env(safe-area-inset-bottom) + 24px)}


/* Header */
.topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:calc(14px + env(safe-area-inset-top)) 20px 10px;display:flex;justify-content:space-between;align-items:center}
.topbar .logo{height:34px;width:auto}
.round-btn{width:48px;height:48px;border-radius:999px;background:var(--red);display:flex;align-items:center;justify-content:center;flex:none}
.pill-btn{height:46px;padding:0 18px;border-radius:999px;background:var(--red);color:#fff;text-decoration:none;display:flex;align-items:center;font-size:13px;font-weight:800}

/* Écrans */
.screen{display:none}
.screen.is-active{display:block;animation:screenIn .35s cubic-bezier(.2,.7,.2,1) both}
@keyframes screenIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.section{padding:0 16px 36px}
.pad{padding-left:22px;padding-right:22px}

/* Titres façon plaquette */
.title{display:flex;flex-direction:column;margin:0}
.title .s{font-family:var(--script);font-weight:400;color:var(--red);line-height:.8}
.title .b{font-weight:900;text-transform:uppercase;letter-spacing:-.04em;line-height:1}
.title.xl .s{font-size:52px}.title.xl .b{font-size:42px}
.title.l .s{font-size:44px}.title.l .b{font-size:34px}
.title.m .s{font-size:40px}.title.m .b{font-size:30px}
.title.on-red .s,.title.on-red .b{color:#fff}
.lead{font-size:15px;font-weight:600;line-height:1.5;color:var(--muted);margin:12px 0 0;text-wrap:pretty}
.h3{font-size:24px;font-weight:900;letter-spacing:-.04em;margin:0}

/* Boutons */
.btn{height:68px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;font-size:17px;font-weight:800;transition:transform .18s ease;width:100%}
.btn:active,.tap:active{transform:scale(.97)}
.tap{transition:transform .18s ease}
.btn-red{background:var(--red);color:#fff}
.btn-sand{background:var(--sand);color:var(--ink)}
.btn-white{background:#fff;color:var(--red)}
.btn-outline{border:2px solid var(--ink);color:var(--ink)}
.btn-arrow{justify-content:space-between;padding:0 10px 0 28px}
.btn-arrow span{width:52px;height:52px;border-radius:999px;background:#fff;display:flex;align-items:center;justify-content:center}
.stack{display:flex;flex-direction:column;gap:10px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}

/* Stories */
.stories{display:flex;gap:14px;overflow-x:auto;padding:8px 20px 18px}
.story{flex:none;width:74px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11px;font-weight:700}
.story i{width:70px;height:70px;border-radius:999px;padding:3px;border:2.5px solid var(--red);display:block}
.story img{width:100%!important;height:100%!important;border-radius:999px!important;object-fit:cover}

/* Hero */
.hero{position:relative;height:clamp(420px,118vw,560px);border-radius:34px;overflow:hidden;background:var(--red)}
.hero>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:30% 50%}
.tag{position:absolute;padding:9px 14px;background:var(--red);color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em}
.hero .tag{top:20px;right:20px}
.hero .title{position:absolute;left:22px;right:22px;bottom:24px}
.hero .title .s{color:#fff;font-size:54px}
.hero .title .b{color:#fff;font-size:clamp(52px,15vw,70px)}
.intro{padding:26px 22px 8px;display:flex;flex-direction:column;gap:14px}
.intro p.big{margin:0;font-size:24px;line-height:1.22;font-weight:800;letter-spacing:-.025em;text-wrap:balance}
.quote{display:flex;gap:12px}
.quote:before{content:"";width:3px;border-radius:3px;background:var(--red);flex:none}
.quote p{margin:0;font-size:15px;line-height:1.55;color:var(--ink-2);text-wrap:pretty}

/* Carrousels */
.rail{display:flex;gap:12px;overflow-x:auto;padding:0 16px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.rail>*{scroll-snap-align:center;flex:none}
.refcard{width:min(340px,86vw);border-radius:32px;background:#fff;border:1.5px solid var(--line);text-decoration:none;color:var(--ink);overflow:hidden;display:flex;flex-direction:column}
.refcard-head{padding:18px 22px 14px;background:var(--red);color:#fff;display:flex;flex-direction:column}
.refcard-head b{font-size:28px;font-weight:900;letter-spacing:-.04em;line-height:1;text-transform:uppercase}
.refcard-head em{font-family:var(--script);font-style:normal;font-size:32px;line-height:1}
.refcard-body{height:410px;padding:20px;display:flex;align-items:center;justify-content:center}
.refcard-body img{max-height:100%;object-fit:contain}
.pole{width:250px;height:330px;position:relative;border-radius:28px;overflow:hidden;text-decoration:none;background:#EDEAE6}
.pole>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}
.pole .tag{top:0;left:18px;font-size:12px}
.pole-text{position:absolute;left:12px;right:12px;bottom:12px;padding:14px 16px;border-radius:18px;background:#fff;color:var(--ink);display:flex;flex-direction:column;gap:3px}
.pole-text b{font-size:17px;font-weight:800;line-height:1.2;text-wrap:balance}
.pole-text i{font-size:12px;font-weight:600;color:var(--muted)}
.row-head{display:flex;justify-content:space-between;align-items:baseline;padding:0 22px;margin-bottom:14px}
.row-head a{font-size:13px;font-weight:800;text-decoration:none}

/* Cartes */
.card{border-radius:30px;overflow:hidden;background:#EDEAE6}
.card img{width:100%!important;height:100%!important;object-fit:cover}
.prix{display:flex;gap:16px;align-items:center;padding:14px;border-radius:30px;background:var(--red);color:#fff;text-decoration:none}
.prix img{width:104px;height:128px;object-fit:cover;border-radius:20px!important;flex:none}
.prix .s{font-family:var(--script);font-size:34px;line-height:.7}
.prix .y{font-size:38px;font-weight:900;letter-spacing:-.04em;line-height:.9}
.prix .k{font-size:12px;font-weight:800;margin-top:6px}
.prix .d{font-size:13px;font-weight:500;line-height:1.4}
.prix.light{background:var(--red-tint);color:var(--ink)}
.prix.light .y{color:var(--red)}
.team{position:relative;height:400px;border-radius:30px;overflow:hidden;display:block;background:#EDEAE6}
.team>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}
.team .badge{position:absolute;left:0;bottom:28px;max-width:82%;padding:16px 22px;background:var(--red);color:#fff;display:flex;flex-direction:column}
.team .badge b{font-size:40px;font-weight:900;letter-spacing:-.04em;line-height:1}
.team .badge span{font-size:13px;font-weight:600;line-height:1.4}
.cta-red{padding:32px 24px;border-radius:34px;background:var(--red);color:#fff;display:flex;flex-direction:column;gap:18px}
.cta-red .title .b{font-size:40px;white-space:nowrap}

/* Choix secteur */
.panel{padding:24px 18px;border-radius:34px;background:var(--red-tint);display:flex;flex-direction:column;gap:14px}
.panel h3{margin:0;padding:0 4px;font-size:26px;font-weight:900;letter-spacing:-.04em;line-height:1.1}
.panel .sub{padding:0 4px;margin:-6px 0 0;font-size:14px;font-weight:600;color:var(--muted)}
.chip{height:58px;padding:0 18px;border-radius:20px;background:#fff;font-size:15px;font-weight:800;display:flex;align-items:center;transition:background .2s,color .2s}
.chip.on{background:var(--red);color:#fff}
.reveal{display:none;flex-direction:column;gap:12px;padding-top:6px}
.reveal.on{display:flex;animation:screenIn .4s both}
.reveal .line{padding:0 4px;font-size:18px;font-weight:800;line-height:1.35;text-wrap:pretty;margin:0}
.white-box{border-radius:24px;background:#fff;padding:16px;display:flex;align-items:center;justify-content:center}
.bullets{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
.bullets li{min-height:54px;padding:12px 18px;border-radius:18px;background:#fff;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700;line-height:1.35}
.bullets li:before{content:"";width:8px;height:8px;border-radius:99px;background:var(--red);flex:none}
.bullets.sand li{background:var(--sand);font-size:15px}

/* Brief vocal */
.voice{padding:26px 20px;border-radius:34px;background:var(--red);color:#fff;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.voice h3{margin:0;font-size:26px;font-weight:900;letter-spacing:-.04em;line-height:1.1;max-width:14ch;text-wrap:balance}
.voice p{margin:0;font-size:14px;font-weight:600;line-height:1.45;max-width:30ch}
.mic{position:relative;width:132px;height:132px;border-radius:999px;background:#fff;display:flex;align-items:center;justify-content:center}
.mic:before,.mic:after{content:"";position:absolute;inset:0;border-radius:999px;border:2px solid #fff;animation:pulse 2.4s ease-out infinite}
.mic:after{animation-delay:1.2s}
@keyframes pulse{0%{transform:scale(1);opacity:.5}100%{transform:scale(1.8);opacity:0}}
.wave{display:none;gap:5px;align-items:center}
.wave i{display:block;width:6px;height:44px;border-radius:6px;background:var(--red);animation:wave 1s ease-in-out infinite}
.wave i:nth-child(2){animation-delay:.2s}.wave i:nth-child(3){animation-delay:.4s}.wave i:nth-child(4){animation-delay:.1s}.wave i:nth-child(5){animation-delay:.3s}
@keyframes wave{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
.mic.listening .ic{display:none}.mic.listening .wave{display:flex}
.transcript{width:100%;min-height:90px;border-radius:20px;border:0;padding:16px;font:600 15px/1.45 var(--sans);color:var(--ink);resize:vertical;text-align:left}

/* Carte de visite */
.vcard{display:block;width:100%;aspect-ratio:1.586;border-radius:24px;padding:20px 22px;text-align:left;perspective:1000px;transition:transform .5s}
.vcard-face{display:flex;flex-direction:column;justify-content:space-between;height:100%}
.vcard.front{background:var(--red);color:#fff;box-shadow:0 24px 40px -24px rgba(212,20,43,.6)}
.vcard.back{background:#fff;color:var(--ink);border:1.5px solid var(--line);box-shadow:0 24px 40px -24px rgba(26,20,20,.3)}
.vcard .n{font-size:19px;font-weight:800;letter-spacing:-.01em}
.vcard .r{font-size:12px;font-weight:600;font-style:italic;opacity:.9}
.vcard hr{border:0;height:1px;background:currentColor;opacity:.25;margin:8px 0 6px}
.vcard .c{font-size:12px;font-weight:700;line-height:1.5}
.vcard .ix{font-size:10px;font-weight:800;letter-spacing:.1em;opacity:.8}
.hint{text-align:center;font-size:12px;font-weight:600;color:var(--muted-2);margin:0}

/* Références */
.tabs{position:sticky;top:calc(66px + env(safe-area-inset-top));z-index:15;background:#fff;display:flex;gap:8px;overflow-x:auto;padding:8px 16px 14px}
.tab{flex:none;height:50px;padding:0 20px;border-radius:999px;background:var(--sand);font-size:14px;font-weight:800}
.tab.on{background:var(--red);color:#fff}
.reflist{display:flex;flex-direction:column;gap:12px;padding:0 16px}
.refrow{display:flex;flex-direction:column;border-radius:30px;border:1.5px solid var(--line);overflow:hidden;background:#fff;text-align:left;width:100%}
.refrow-head{padding:16px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1.5px solid var(--line)}
.refrow-head b{display:block;font-size:22px;font-weight:900;letter-spacing:-.04em;color:var(--red);line-height:1}
.refrow-head em{font-family:var(--script);font-style:normal;font-size:28px;line-height:1}
.refrow-body{padding:18px}
.refrow-body img{width:100%;max-height:420px;object-fit:contain}
.sector-hero{border-radius:30px;background:var(--red);color:#fff;padding:22px;display:flex;flex-direction:column}
.sector-hero b{font-size:34px;font-weight:900;letter-spacing:-.04em;line-height:1;text-transform:uppercase}
.sector-hero em{font-family:var(--script);font-style:normal;font-size:40px;line-height:.9}

/* Projets (stories) */
.viewer{position:relative;border-radius:34px;overflow:hidden;background:var(--sand);height:min(70dvh,620px);margin:0 16px}
.viewer img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:contain;background:#EDEAE6}
.viewer img.cover{object-fit:cover}
.bars{position:absolute;top:14px;left:14px;right:14px;display:flex;gap:4px;z-index:3}
.bars i{flex:1;height:4px;border-radius:4px;background:rgba(255,255,255,.55);overflow:hidden;box-shadow:0 0 0 1px rgba(26,20,20,.08)}
.bars i b{display:block;height:100%;width:0;background:var(--red)}
.bars i.done b{width:100%}
.bars i.now b{animation:prog 6s linear forwards}
@keyframes prog{from{width:0}to{width:100%}}
.zone{position:absolute;top:0;bottom:0;width:40%;z-index:2}
.zone.prev{left:0}.zone.next{right:0;width:60%}
.viewer .tag{top:30px;left:16px;z-index:3}
.caption{padding:18px 22px 6px;display:flex;flex-direction:column;gap:4px}
.caption b{font-size:30px;font-weight:900;letter-spacing:-.04em;line-height:1.05}
.caption span{font-size:15px;font-weight:600;color:var(--muted)}
.ctrl{display:flex;gap:14px;align-items:center;justify-content:center;padding:14px 16px 30px}
.ctrl .round{width:72px;height:72px;border-radius:999px;background:var(--sand);display:flex;align-items:center;justify-content:center}
.ctrl .round.red{width:88px;height:88px;background:var(--red)}
.thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 16px}
.thumbs button{aspect-ratio:1;border-radius:18px;overflow:hidden;background:#EDEAE6;outline-offset:2px}
.thumbs button.on{outline:3px solid var(--red)}
.thumbs img{width:100%!important;height:100%!important;object-fit:cover}

/* Expertise */
.services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 16px}
.service{min-height:96px;padding:16px;border-radius:22px;background:var(--sand);display:flex;align-items:flex-end;font-size:15px;font-weight:800;line-height:1.25}
.service.red{background:var(--red);color:#fff}
.polelist{display:flex;flex-direction:column;gap:12px;padding:0 16px}
.polerow{position:relative;height:260px;border-radius:28px;overflow:hidden;background:#EDEAE6}
.polerow>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:75% 30%}
.polerow .tag{top:0;left:18px}
.polerow .pole-text b{font-size:19px}
.polerow .pole-text p{margin:4px 0 0;font-size:13px;font-weight:500;line-height:1.45;color:var(--ink-2)}
.acc{display:flex;flex-direction:column;gap:8px;padding:0 16px}
.acc-item{border-radius:24px;background:var(--sand);overflow:hidden}
.acc-btn{width:100%;min-height:72px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;text-align:left}
.acc-btn b{font-size:20px;font-weight:900;letter-spacing:-.03em}
.acc-btn em{font-family:var(--script);font-style:normal;font-size:26px;color:var(--red);margin-left:6px}
.acc-btn svg{transition:transform .25s}
.acc-item.open .acc-btn svg{transform:rotate(45deg)}
.acc-body{display:none;padding:0 12px 14px}
.acc-item.open .acc-body{display:block}
.acc-body .white-box{margin-bottom:8px}

/* Agence */
.values{display:flex;flex-direction:column;gap:10px;padding:0 16px}
.value{display:flex;gap:16px;align-items:flex-start;padding:18px;border-radius:24px;background:var(--sand)}
.value .l{width:56px;height:56px;flex:none;border-radius:18px;background:#fff;color:var(--red);font-size:30px;font-weight:900;font-style:italic;display:flex;align-items:center;justify-content:center}
.value b{display:block;font-size:17px;font-weight:800;margin-bottom:4px}
.value p{margin:0;font-size:14px;line-height:1.45;color:var(--ink-2)}
.poles2{padding:26px 22px;border-radius:34px;background:var(--red);color:#fff;display:flex;flex-direction:column;gap:20px}
.poles2 .logos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.poles2 .logos div{aspect-ratio:1;border-radius:999px;border:2px solid rgba(255,255,255,.5);display:flex;align-items:center;justify-content:center;padding:26px}
.roles{display:flex;flex-direction:column;margin:0;padding:0 16px;list-style:none}
.roles li{display:flex;align-items:baseline;gap:14px;padding:12px 6px;border-bottom:1px solid var(--line);font-size:15px;font-weight:600}
.roles li b{width:30px;font-size:22px;font-weight:900;font-style:italic;color:var(--red)}

/* Contact */
.person{padding:24px 20px;border-radius:30px;background:var(--sand);display:flex;flex-direction:column;gap:18px}
.person-id{display:flex;align-items:center;gap:16px}
.avatar{width:64px;height:64px;border-radius:999px;background:var(--red);color:#fff;font-size:22px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none}
.person-id b{display:block;font-size:20px;font-weight:800}
.person-id i{font-size:13px;color:var(--muted)}
.actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.actions a{height:68px;border-radius:20px;background:#fff;color:var(--ink);text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:800}
.actions a:first-child{background:var(--red);color:#fff}
.needs{display:flex;flex-wrap:wrap;gap:8px}
.need{height:46px;padding:0 16px;border-radius:999px;background:#fff;font-size:13px;font-weight:700}
.need.on{background:var(--ink);color:#fff}
.field{width:100%;height:58px;border-radius:18px;border:1.5px solid var(--line);padding:0 18px;font:600 15px var(--sans);color:var(--ink);background:#fff}
textarea.field{height:110px;padding:14px 18px;resize:vertical}

/* Dock */
.dock{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:560px;z-index:30;padding:10px 12px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.dock a{text-decoration:none;color:var(--muted-2);display:flex;flex-direction:column;align-items:center;gap:4px;min-height:52px;justify-content:center;font-size:11px;font-weight:600}
.dock a span{width:56px;height:32px;border-radius:999px;display:flex;align-items:center;justify-content:center;transition:background .2s}
.dock a.on{color:var(--red);font-weight:800}
.dock a.on span{background:var(--red-soft)}

@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Réseaux sociaux */
.head-right{display:flex;align-items:center;gap:10px}
.social{display:flex;gap:6px}
.social a{width:36px;height:36px;border-radius:999px;background:var(--sand);color:var(--ink);display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
.social a:hover{background:var(--red);color:#fff}
.social-rail{display:none}
@media (min-width:900px){
  .social-rail{display:flex;flex-direction:column;gap:8px;position:fixed;right:24px;top:50%;transform:translateY(-50%);z-index:25;padding:10px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px var(--line),0 16px 40px -20px rgba(26,20,20,.3)}
  .social-rail a{width:40px;height:40px;border-radius:999px;color:var(--ink);display:flex;align-items:center;justify-content:center}
  .social-rail a:hover{background:var(--red);color:#fff}
  .topbar .social{display:none}
}
@media (max-width:359px){.topbar .social a{width:30px;height:30px}}
.social-big{padding:22px;border-radius:30px;background:var(--sand);display:flex;align-items:center;justify-content:space-between;gap:12px}
.social-big p{margin:0;font-size:17px;font-weight:800}
.social-big .social a{width:44px;height:44px;background:#fff}
.address{display:flex;align-items:center;gap:16px;padding:16px 20px;border-radius:30px;background:var(--red-tint);text-decoration:none;color:var(--ink)}
.address .pin{width:52px;height:52px;border-radius:999px;background:var(--red);display:flex;align-items:center;justify-content:center;flex:none}
.address b{display:block;font-size:17px;font-weight:800}
.address span span{font-size:13px;font-weight:600;color:var(--muted)}

/* Boutons en majuscules */
.btn{text-transform:uppercase;letter-spacing:.06em;font-size:14px;text-align:center;padding-left:18px;padding-right:18px}
.btn-arrow{padding:0 10px 0 26px}

/* Carte de visite : logo à gauche, coordonnées à droite */
.vcard-face{flex-direction:row;justify-content:space-between;align-items:stretch;gap:14px}
.vcard-left{display:flex;flex-direction:column;justify-content:space-between;flex:none;width:34%}
.vcard-right{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;flex:1}
.vcard .n{font-size:16px;line-height:1.2}
.vcard .r{font-size:11px;line-height:1.3}
.vcard .c{font-size:11px;line-height:1.55;overflow-wrap:anywhere}
.vcard hr{margin:6px 0 4px}

/* ===== Pied de page ===== */
.foot{padding:28px 22px 12px;border-top:1px solid var(--line);margin-top:8px}
.foot-in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.foot-brand{grid-column:1/-1}
.foot-brand img{height:40px!important;width:auto}
.foot-brand p{margin:10px 0 0;font-size:14px;font-weight:600;color:var(--muted);line-height:1.5;max-width:36ch}
.foot b{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--red)}
.foot p{margin:8px 0 0;font-size:14px;line-height:1.6}
.foot a{color:var(--ink);text-decoration:none}
.foot-copy{font-size:12px!important;color:var(--muted-2);margin-top:24px!important}

/* ===== Éléments desktop masqués sur mobile ===== */
.topnav,.top-cta{display:none}
.d-hero,.d-hero-text,.d-duo,.d-col{display:contents}

/* ===== VERSION DESKTOP (tablette paysage et ordinateur) ===== */
@media (min-width:1024px){
  :root{--dock-h:0px}
  body{background:#fff}
  .app{max-width:none;padding-bottom:0}
  .dock{display:none}
  .topbar{padding:18px max(40px,calc((100vw - 1240px)/2));gap:32px;border-bottom:1px solid var(--line)}
  .topbar .logo{height:44px}
  .topnav{display:flex;gap:4px;margin:0 auto}
  .topnav a{padding:12px 16px;border-radius:999px;text-decoration:none;color:var(--ink);font-size:14px;font-weight:700;transition:background .2s,color .2s}
  .topnav a:hover{background:var(--sand)}
  .topnav a.on{background:var(--red-soft);color:var(--red)}
  .top-cta{display:flex;align-items:center;height:48px;padding:0 24px;border-radius:999px;background:var(--red);color:#fff;text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
  .top-cta:hover{background:var(--red-dark);color:#fff}
  .topbar .round-btn{display:none}

  .screen{max-width:1240px;margin:0 auto;padding:40px 40px 80px}
  .section{padding:0 0 56px}
  .pad{padding-left:0;padding-right:0}
  .rail{padding:0}
  .row-head{padding:0}
  .title.xl .s{font-size:72px}.title.xl .b{font-size:72px}
  .title.l .s{font-size:60px}.title.l .b{font-size:56px}
  .title.m .s{font-size:52px}.title.m .b{font-size:44px}
  .lead{font-size:18px;max-width:60ch}
  .h3{font-size:36px}

  /* Accueil */
  .stories{justify-content:center;gap:28px;padding:0 0 36px}
  .story{width:96px;font-size:13px}.story i{width:92px;height:92px}
  .d-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center;margin-bottom:72px}
  .d-hero>.section{padding:0}
  .hero{height:620px}
  .hero .title .s{font-size:72px}.hero .title .b{font-size:96px}
  .d-hero-text{display:flex;flex-direction:column;gap:28px}
  .d-hero-text .intro{padding:0}
  .d-hero-text .intro p.big{font-size:38px;line-height:1.15}
  .d-hero-text .quote p{font-size:17px}
  .d-hero-text .section{padding:0;max-width:460px}
  .block{padding-bottom:72px!important}
  #poleRail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;gap:16px}
  #poleRail .pole{width:auto;height:400px}
  #refRail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:16px}
  #refRail .refcard{width:auto}
  #refRail .refcard-body{height:360px}
  .block .section{max-width:420px;margin:0 auto}
  #accueil .panel{padding:36px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);column-gap:36px;align-items:start}
  #accueil .panel>h3,#accueil .panel>.sub,#accueil .panel>#pickGrid{grid-column:1}
  #accueil .panel>h3{font-size:36px}
  #accueil .panel>.reveal{grid-column:2;grid-row:1 / span 4;padding-top:0}
  #contact .panel{padding:32px}
  .d-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch;margin-bottom:56px}
  .d-duo>.section{padding:0}
  .d-duo .voice,.d-duo .prix,.d-duo .team,.d-duo .cta-red,.d-duo .social-big{height:100%}
  .d-duo .prix{padding:28px;gap:28px}
  .d-duo .prix img{width:180px!important;height:220px!important}
  .d-duo .prix .y{font-size:64px}.d-duo .prix .s{font-size:48px}.d-duo .prix .d{font-size:16px}
  .d-col{display:flex;flex-direction:column;gap:20px;min-width:0}
  .d-col>.section{padding:0}
  .d-end .social-big{flex-direction:column;align-items:flex-start;justify-content:center;gap:20px;padding:36px}
  .d-end .social-big p{font-size:28px;font-weight:900}
  .d-end .social-big .social a{width:56px;height:56px}
  .d-end .cta-red{padding:40px;justify-content:center}
  .d-end .cta-red .title .b{font-size:64px}.d-end .cta-red .title .s{font-size:60px!important}
  .d-end .cta-red .btn{max-width:360px}
  .d-concret{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:56px}
  .d-concret>h2{grid-column:1/-1;padding:0!important}
  .d-concret>a.card{height:420px!important}
  .d-concret>.grid2{display:contents}
  .d-concret>.grid2>a{height:420px!important;border-radius:30px!important}
  .d-concret>.btn{grid-column:2;margin-top:12px}
  .team{height:100%;min-height:440px}
  .vcard{max-width:520px}
  .btn{max-width:100%}

  /* Références */
  .tabs{position:sticky;top:85px;justify-content:center;padding:12px 0 24px}
  .reflist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:0}
  #refOne{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;padding:0!important}
  #refOne[style*="none"]{display:none!important}
  #refOne .sector-hero,#refOne>.btn{grid-column:1/-1}
  #refOne>.btn{max-width:420px;justify-self:center}
  #refOne>h2{grid-column:1/-1}
  #refOne .card{height:420px!important}
  #references>.section{max-width:640px;margin:0 auto}

  /* Projets */
  .d-proj{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px;align-items:start}
  .viewer{margin:0;height:640px}
  .caption{padding:20px 0 0}.caption b{font-size:40px}
  .thumbs{grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:12px}
  .zone{cursor:pointer}

  /* Expertise */
  .services{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0}
  .service{min-height:130px;font-size:18px;padding:22px}
  .polelist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0}
  .polerow{height:440px}
  .acc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;align-items:start}
  #expertise>.section{max-width:520px;margin:0 auto}

  /* Agence */
  .values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0;margin-bottom:56px}
  .value{padding:28px}.value b{font-size:20px}.value p{font-size:15px}
  .poles2{display:grid;grid-template-columns:1fr 1.2fr;align-items:center;padding:48px}
  .poles2 .title{grid-column:1}.poles2 .logos{grid-column:2;grid-row:1 / span 2}
  .d-team{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;align-items:center}
  .roles{padding:0}.roles li{font-size:17px;padding:14px 6px}
  #agence>.section:last-child{max-width:420px;margin:0 auto}
  #agence .section .quote{max-width:820px}

  /* Contact */
  #contact .d-duo{align-items:start}
  .person{padding:32px}
  .actions a{height:76px;font-size:13px}

  /* Pied de page */
  .foot{padding:56px max(40px,calc((100vw - 1240px)/2)) 24px;background:var(--sand);border:0}
  .foot-in{grid-template-columns:1.6fr 1fr 1.2fr 1fr;gap:40px}
  .foot-brand{grid-column:auto}
  .social-rail{right:20px}
}
@media (min-width:1024px) and (max-width:1200px){
  #poleRail{grid-template-columns:repeat(3,minmax(0,1fr))}
  #refRail{grid-template-columns:repeat(3,minmax(0,1fr))}
  .services{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ===== Bouton « Sans Gaia » ===== */
.sans-gaia{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px 14px 20px;border-radius:22px;border:1.5px dashed var(--red);background:#fff;text-align:left}
.sg-txt b{display:block;font-size:15px;font-weight:800;color:var(--ink)}
.sg-txt span{font-size:12px;font-weight:600;color:var(--muted)}
.sg-switch{width:56px;height:34px;border-radius:999px;background:var(--line);position:relative;flex:none;transition:background .25s}
.sg-switch:after{content:"";position:absolute;top:4px;left:4px;width:26px;height:26px;border-radius:999px;background:#fff;box-shadow:0 2px 6px rgba(26,20,20,.25);transition:transform .25s}
.sans-gaia[aria-pressed=true] .sg-switch{background:var(--red)}
.sans-gaia[aria-pressed=true] .sg-switch:after{transform:translateX(22px)}
.ugly-banner,.ugly-exit{display:none}
.ugly-exit{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--dock-h) + env(safe-area-inset-bottom) + 18px);z-index:60;height:58px;padding:0 28px;border-radius:999px;background:var(--red)!important;color:#fff!important;font-family:var(--sans)!important;font-size:14px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 18px 40px -14px rgba(212,20,43,.7);border:0!important;text-decoration:none!important;filter:none!important;animation:exitIn .4s cubic-bezier(.3,1.4,.4,1) both}
@keyframes exitIn{from{transform:translate(-50%,30px);opacity:0}}
@media (min-width:1024px){.ugly-exit{bottom:32px}}

/* Le site « sans Gaia » : volontairement raté */
body.ugly .ugly-banner{display:block;overflow:hidden;background:#FF0000;color:#FFFF00;font-weight:900;padding:8px 0;white-space:nowrap;font-size:14px}
body.ugly .ugly-banner span{display:inline-block;padding-left:100%;animation:uglyMarq 9s linear infinite}
@keyframes uglyMarq{to{transform:translateX(-100%)}}
body.ugly .ugly-exit{display:block}
body.ugly{background:#FFFF66!important;cursor:crosshair}
body.ugly .app{background:#FFFF66!important}
body.ugly .app *{font-family:"Comic Sans MS","Comic Sans","Chalkboard SE","Marker Felt",cursive!important;border-radius:0!important;letter-spacing:0!important}
body.ugly .topbar{background:#00FFFF!important}
body.ugly .title .b,body.ugly .h3,body.ugly .intro p.big,body.ugly .panel h3{color:#00A000!important;text-shadow:3px 3px 0 #FF00FF;transform:rotate(-1.5deg)}
body.ugly .title .s{color:#0000FF!important}
body.ugly .app img{filter:saturate(3) hue-rotate(50deg) contrast(1.5) blur(.8px)}
body.ugly .btn,body.ugly .top-cta,body.ugly .round-btn{background:#00FF00!important;color:#FF0000!important;border:4px outset #C0C0C0!important;text-decoration:underline}
body.ugly .refcard,body.ugly .panel,body.ugly .person,body.ugly .social-big,body.ugly .value,body.ugly .service,body.ugly .acc-item,body.ugly .refrow{background:#FFB6C1!important;border:3px dashed #0000FF!important}
body.ugly .refcard-head,body.ugly .tag,body.ugly .cta-red,body.ugly .voice,body.ugly .prix,body.ugly .poles2,body.ugly .team .badge,body.ugly .sector-hero{background:#FF00FF!important;color:#FFFF00!important}
body.ugly .hero,body.ugly .team,body.ugly .pole,body.ugly .card{border:5px ridge #FFD700!important}
body.ugly .dock,body.ugly .foot{background:#00FFFF!important}
body.ugly .dock a.on span{background:#FF00FF!important}
body.ugly .quote:before{background:#00FF00!important;width:10px}
body.ugly .sans-gaia{background:#fff!important;border:2px solid var(--red)!important}
body.ugly .sans-gaia *{font-family:var(--sans)!important}
