/* Version d'essai de l'accueil (apercu.html). N'est chargée que par cette page. */

/* 1. Vidéo plein écran, titre posé dessus */
.v2 .reel{height:calc(100svh - 52px);min-height:520px;clip-path:none!important}
.v2 .reel::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,.08) 55%,rgba(0,0,0,.62) 100%)}
.v2 .reel .hero{position:absolute;z-index:2;left:0;right:0;bottom:0;text-align:left;color:#fff;padding:0 clamp(20px,4.5vw,72px) clamp(34px,5.5vw,76px);pointer-events:none}
.v2 .reel .hero a{pointer-events:auto}
.v2 .hero h1{font-size:clamp(48px,8.6vw,132px);letter-spacing:-.05em;line-height:.96;text-shadow:0 2px 30px rgba(0,0,0,.25)}
.v2 .hero h1 .hero-k{color:#fff;opacity:.86;font-size:clamp(14px,1.3vw,17px);margin-bottom:16px;text-shadow:0 1px 14px rgba(0,0,0,.4)}
.v2 .hero .sub{margin:20px 0 0;color:#fff;max-width:26em;font-weight:500;text-shadow:0 1px 16px rgba(0,0,0,.4)}
.v2 .hero .ctas{justify-content:flex-start;margin-top:28px}
.v2 .hero .pill{background:#fff;color:var(--ink)}
.v2 .hero .more-link{color:#fff}
.v2 .reel .toggle{z-index:3;transform:none!important}

/* 2. Logos en bandeau défilant, juste sous la vidéo */
.v2 #clients{padding-block:clamp(26px,3vw,40px);max-width:none;padding-inline:0;overflow:hidden;border-bottom:1px solid var(--hair);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.v2 #clients .head{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.v2 .refs{--lh:34px;flex-wrap:nowrap;justify-content:flex-start;max-width:none;width:max-content;animation:v2defile 46s linear infinite}
.v2 .refs li{flex:none;width:clamp(140px,13vw,190px);height:64px;padding:8px 22px}
.v2 #clients:hover .refs{animation-play-state:paused}
@keyframes v2defile{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.v2 .refs{animation:none;flex-wrap:wrap;width:auto;justify-content:center}}

/* 3. Films sur une bande gris clair (le gris des fonds de tuiles), d'un bord à l'autre de l'écran */
.v2 #films,.v2 #autres-films{--cloud:#fff;background:#f5f5f7}
.v2 #films{box-shadow:0 0 0 100vmax #f5f5f7;clip-path:inset(0 -100vmax);padding-top:clamp(72px,9vw,120px)}
.v2 #autres-films{padding-bottom:clamp(72px,9vw,120px);margin-top:-1px}
.v2 #films .seg button[aria-pressed="true"],.v2 #autres-films .seg button[aria-pressed="true"]{background:var(--ink);color:#fff;box-shadow:none}
.v2 #films .seg-in.cs button[aria-pressed="true"]{background:transparent;color:#fff}
.v2 #films .seg-in.cs .seg-ind{background:var(--ink);box-shadow:none}
.v2 #clients{border-bottom:0}

/* 4. Projets racontés : l'image, une phrase, le lien (le détail est sur la page du projet) */
.v2 .case dl{display:none}
.v2 .case-body{grid-template-columns:minmax(0,1fr);padding-block:clamp(26px,3vw,40px) clamp(8px,1vw,14px);max-width:900px}
.v2 #films .case-strip{display:none}

/* 5. Textes secondaires plus lisibles */
.v2 .film .cat{font-size:14px}
.v2 .film small{font-size:15px}
.v2 .pcard span.t{font-size:16px}
.v2 .case-cover small{font-size:15px}
.v2 .seg button{font-size:15px}
.v2 .fa-card small{font-size:15px}
.v2 .why p{color:#55555b}

/* 6. Séries photo : formats mélangés */
@media (min-width:900px){
  .v2 .pgrid{grid-auto-flow:dense}
  .v2 .pgrid .pcard{grid-template-rows:minmax(0,1fr) auto}
  .v2 .pgrid .pcard:nth-child(1){grid-column:span 2;grid-row:span 2}
  .v2 .pgrid .pcard:nth-child(8){grid-column:span 2}
  .v2 .pgrid .pcard:nth-child(1) .img,.v2 .pgrid .pcard:nth-child(8) .img{aspect-ratio:auto;height:100%;min-height:0}
}

/* 7. Fondu enchaîné entre les pages (navigateurs récents) */
@view-transition{navigation:auto}

/* Ajustements */
.v2 .reel{aspect-ratio:auto;width:100%}
@media (max-width:760px){
  .v2 .reel{height:calc(100svh - 52px);min-height:480px}
  .v2 .hero h1{font-size:clamp(44px,13vw,64px)}
  .v2 .refs li{width:120px;height:54px;padding:6px 16px}
  .v2 .refs{--lh:28px;animation-duration:38s}
}

/* En quelques chiffres : trois grands nombres sur une ligne (les autres tuiles répétaient « Pourquoi travailler avec moi ») */
.v2 #bento{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:0;max-width:1040px;margin-inline:auto}
.v2 #bento .t-d,.v2 #bento .t-e,.v2 #bento .t-f,.v2 #bento .t-a img{display:none}
.v2 #bento .tile{background:none;border-radius:0;color:var(--ink);padding:6px clamp(20px,3.4vw,52px);gap:clamp(18px,2vw,26px);justify-content:flex-start;border-left:1px solid var(--hair)}
.v2 #bento .tile:first-child{border-left:0;padding-left:0}
.v2 #bento .tile::after{display:none}
.v2 #bento .tile .lbl{color:var(--tide);text-shadow:none;font-size:15px}
.v2 #bento .tile .k{font-size:clamp(72px,9vw,136px);text-shadow:none;background:linear-gradient(115deg,#1d1d1f 15%,#0a66d8 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.v2 #bento .tile .k .unit{-webkit-text-fill-color:var(--ink);color:var(--ink)}
.v2 #bento .tile p{color:var(--graphite);text-shadow:none;font-size:17px;max-width:17em}
@media (max-width:760px){
  .v2 #bento{grid-template-columns:1fr}
  .v2 #bento .tile{border-left:0;border-top:1px solid var(--hair);padding:26px 0}
  .v2 #bento .tile:first-child{border-top:0;padding-top:0}
}

/* À propos : une seule photo, grande, et une première phrase mise en avant */
.v2 .about{grid-template-columns:minmax(0,6fr) minmax(0,6fr);align-items:stretch;gap:clamp(32px,5vw,84px)}
.v2 .about .pic .face{display:none}
.v2 .about .pic{min-height:100%}
.v2 .about .pic #aboutPhoto{height:100%;min-height:clamp(420px,46vw,680px);aspect-ratio:auto}
.v2 .about .copy{align-self:center}
.v2 .about .copy h2{font-size:clamp(36px,4.6vw,68px);margin-bottom:24px}
.v2 .about #aboutCopy p:first-of-type{font-size:clamp(22px,2.2vw,30px);line-height:1.22;letter-spacing:-.025em;margin-bottom:22px;max-width:22em}
.v2 .about #aboutCopy p:first-of-type b{font-weight:600}
.v2 .about #aboutCopy p{font-size:18px;line-height:1.55}
@media (max-width:760px){.v2 .about{grid-template-columns:1fr}.v2 .about .pic #aboutPhoto{min-height:0;aspect-ratio:4/5;height:auto}}
.v2 #bento .tile{grid-column:auto!important;grid-row:auto!important;min-height:0}
.v2 #bento .tile .k sup{-webkit-text-fill-color:var(--tide-l);color:var(--tide-l)}

/* ---------- Animations (v2.js) ---------- */
/* 1. Titre mot par mot */
.v2mo #heroBig .w{display:inline-block;overflow:hidden;vertical-align:bottom;padding:.06em .04em .1em 0;margin:-.06em -.04em -.1em 0}
.v2mo #heroBig .w>span{display:inline-block;transform:translateY(108%);animation:v2mot .9s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--i) * 130ms + 250ms)}
@keyframes v2mot{to{transform:none}}
.v2mo .hero .hero-k,.v2mo .hero .sub,.v2mo .hero .ctas{opacity:0;animation:v2monte .8s cubic-bezier(.2,.8,.2,1) forwards}
.v2mo .hero .hero-k{animation-delay:.1s}.v2mo .hero .sub{animation-delay:.75s}.v2mo .hero .ctas{animation-delay:.9s}
@keyframes v2monte{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* 2. Vidéo qui se resserre en carte */
.v2mo .reel{clip-path:inset(calc(var(--p,0) * 14px) calc(var(--p,0) * clamp(14px,3.2vw,48px)) calc(var(--p,0) * 14px) round calc(var(--p,0) * 30px))!important}
.v2mo .reel .hero{opacity:calc(1 - var(--p,0) * 1.5);transform:translateY(calc(var(--p,0) * -28px))}
/* 4. Les six étapes : la ligne se trace et les pastilles s'allument l'une après l'autre */
.v2mo .steps.rv li::after{transform:scaleX(0);transform-origin:0 50%;transition:transform .55s cubic-bezier(.4,0,.2,1);transition-delay:calc(var(--i) * 240ms + 450ms);background:var(--ink)}
.v2mo .steps.rv.rv-in li::after{transform:scaleX(1)}
.v2mo .steps.rv li::before{background:var(--hair);transition:background .35s ease;transition-delay:calc(var(--i) * 240ms + 250ms)}
.v2mo .steps.rv.rv-in li::before{background:var(--ink)}
/* 6. Relief des cartes de films */
.v2mo .film .shot{transition:transform .25s cubic-bezier(.2,.7,.2,1);will-change:transform}

/* Accueil : la vidéo garde sa proportion (toute la largeur de l'image reste visible) */
.v2 .reel{height:min(calc(100svh - 52px),56.25vw);min-height:0}
.v2 .hero-loc{position:absolute;right:clamp(64px,6vw,96px);bottom:clamp(40px,5.8vw,82px);margin:0;color:#fff;font-size:15px;font-weight:500;opacity:.9;text-shadow:0 1px 14px rgba(0,0,0,.45)}
.v2mo .hero .hero-loc{opacity:0;animation:v2monte .8s cubic-bezier(.2,.8,.2,1) 1.05s forwards}
@media (max-width:760px){
  .v2 .reel{height:auto;aspect-ratio:4/5;min-height:0}
  .v2 .hero-loc{position:static;margin-top:18px;font-size:14px}
  .v2 .reel .hero{padding-bottom:26px}
  .v2 .hero .ctas{margin-top:20px}
}

/* Autres séries : titres sur une ligne, pour que toutes les photos d'une rangée aient la même hauteur */
.v2 .pcard span.t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}

/* « Un regard. Tous les terrains. » retiré de l'essai (reprend les filtres des films et les liens du pied de page) */
.v2 #savoir-faire{display:none}

/* À propos : pastilles en bleu */
.v2 .about .chips li{background:#eef3f9;color:#1d4469;font-size:14px;font-weight:600;padding:7px 15px}
.v2 .about .kicker{color:var(--tide)}

/* Pourquoi travailler avec moi : six arguments en grand, reliés par un fil bleu */
.v2 .why-wrap{grid-template-columns:1fr;gap:clamp(28px,3.4vw,48px)}
.v2 .why-wrap .head{position:static}
.v2 .why-wrap .head p{display:none}
.v2 .why{display:block;position:relative;border:0;padding-left:clamp(34px,4vw,56px);max-width:980px}
.v2 .why::before,.v2 .why::after{content:"";position:absolute;left:6px;top:18px;width:2px;border-radius:2px}
.v2 .why::before{bottom:18px;background:var(--hair)}
.v2 .why::after{height:calc(var(--wp,1) * (100% - 36px));background:#1d4469;transition:height .15s linear}
.v2 .why article{display:block;position:relative;border:0;padding:clamp(14px,1.6vw,22px) 0}
.v2 .why article::before{content:"";position:absolute;left:calc(clamp(34px,4vw,56px) * -1 + 0px);top:calc(clamp(14px,1.6vw,22px) + .55em);width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--hair);padding:0;box-sizing:border-box;z-index:1;font-size:clamp(26px,3.4vw,48px);transition:border-color .3s,background .3s,transform .3s}
.v2 .why h3{font-size:clamp(26px,3.4vw,48px);font-weight:700;letter-spacing:-.04em;line-height:1.08;margin:0 0 8px}
.v2 .why p{font-size:clamp(16px,1.4vw,19px);max-width:36em;color:var(--graphite)}
.v2mo .why article{opacity:.28;transition:opacity .45s ease,transform .45s cubic-bezier(.2,.7,.2,1)}
.v2mo .why article.vu{opacity:.5}
.v2mo .why article.on{opacity:1;transform:translateX(6px)}
.v2mo .why article.on h3{color:#1d4469}
.v2 .why article.on::before,.v2 .why article.vu::before{border-color:#1d4469;background:#1d4469}
.v2 .why article.on::before{transform:scale(1.25)}
@media (min-width:900px){.v2 .why{display:block}.v2 .why article{grid-template-columns:none}}
@media (min-width:900px){.v2 .pgrid .pcard:nth-child(1) .img,.v2 .pgrid .pcard:nth-child(8) .img{contain:size}}

/* ---------- En quelques chiffres : bande bleue, compteurs mécaniques ---------- */
.v2 section:has(> #bento){margin-top:clamp(64px,8vw,110px);padding-block:clamp(64px,8vw,112px);background:#1d4469;color:#fff;box-shadow:0 0 0 100vmax #1d4469;clip-path:inset(0 -100vmax)}
.v2 section:has(> #bento) .head h2{color:#fff}
.v2 #bento .tile{color:#fff;border-left-color:rgba(255,255,255,.22)}
.v2 #bento .tile .lbl{color:#9dc0ea}
.v2 #bento .tile .k{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:#fff;-webkit-text-fill-color:#fff;position:relative;padding-bottom:.16em}
.v2 #bento .tile .k .unit{-webkit-text-fill-color:#fff;color:#fff}
.v2 #bento .tile .k sup{-webkit-text-fill-color:#9dc0ea;color:#9dc0ea}
.v2 #bento .tile p{color:rgba(255,255,255,.82)}
.v2 #bento .tile .k::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:100%;border-radius:3px;background:#9dc0ea;transform:scaleX(0);transform-origin:0 50%;transition:transform 1.1s cubic-bezier(.2,.7,.2,1) 1.5s}
.v2 #bento.go .tile .k::after{transform:scaleX(.62)}
html:not(.v2mo).v2 #bento .tile .k::after{transform:scaleX(.62)}
.v2 #bento .tile:nth-child(2) .k::after{transition-delay:1.75s}.v2 #bento .tile:nth-child(3) .k::after{transition-delay:2s}
.v2mo .odo{display:inline-flex;overflow:hidden;height:.92em;line-height:.92}
.v2mo .odo .col{display:block;height:.92em}
.v2mo .odo .strip{display:flex;flex-direction:column;transform:translateY(0);transition:transform calc(1.5s + var(--i) * .35s) cubic-bezier(.16,.84,.24,1)}
.v2mo .odo .strip b{display:block;height:.92em;font-weight:inherit}
.v2mo #bento.go .odo .strip{transform:translateY(calc(var(--d) * -.92em))}
@media (max-width:760px){.v2 #bento .tile{border-top-color:rgba(255,255,255,.22)}}

/* Pourquoi travailler avec moi : plus petit */
.v2 .why h3{font-size:clamp(21px,2.3vw,31px);letter-spacing:-.03em;margin-bottom:6px}
.v2 .why p{font-size:clamp(15px,1.25vw,17px)}
.v2 .why article{padding:clamp(11px,1.2vw,16px) 0}
.v2 .why article::before{font-size:clamp(21px,2.3vw,31px);top:calc(clamp(11px,1.2vw,16px) + .5em);width:12px;height:12px;left:calc(clamp(34px,4vw,56px) * -1 + 1px)}
.v2 .why{max-width:820px}
/* Du premier appel à la livraison : fixe (une seule section animée au défilement, pour ne pas faire doublon) */
.v2mo .steps.rv li::after{transform:none;transition:none;background:var(--hair)}
.v2mo .steps.rv li::before{background:var(--ink);transition:none}
@media (min-width:900px){.v2 .why-wrap{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,6vw,100px);align-items:start}.v2 .why-wrap .head{position:sticky;top:110px}}

/* Compteurs : le dernier chiffre n'est plus rogné */
.v2mo .odo{padding-right:.09em;margin-right:-.03em}
/* Bandeau de logos : un titre discret pour dire de quoi il s'agit */
.v2 #clients .head{position:static;width:auto;height:auto;overflow:visible;clip-path:none;margin:0 auto clamp(10px,1.4vw,18px);max-width:none;text-align:center}
.v2 #clients .head h2{font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--graphite);line-height:1.3}
.v2 #clients{-webkit-mask-image:none;mask-image:none;padding-top:clamp(24px,2.6vw,36px)}
.v2 .refs{-webkit-mask-image:none}
.v2 #clients::before,.v2 #clients::after{content:"";position:absolute;top:0;bottom:0;width:8%;z-index:1;pointer-events:none}
.v2 #clients{position:relative}
.v2 #clients::before{left:0;background:linear-gradient(90deg,#fff,rgba(255,255,255,0))}
.v2 #clients::after{right:0;background:linear-gradient(270deg,#fff,rgba(255,255,255,0))}
/* Compteurs : on ne masque que le haut et le bas (le défilement), jamais les côtés des chiffres */
.v2mo .odo{overflow:visible;clip-path:inset(0 -.6em);padding-right:0;margin-right:0}

/* Bandeau clients (nov. 2026) : titre fixe à gauche, logos en couleur qui défilent et passent dessous */
.v2 #clients{display:flex;align-items:center;height:clamp(104px,9.4vw,128px);padding:0;border-bottom:0}
.v2 #clients .head{position:absolute;left:0;top:0;bottom:0;z-index:2;display:flex;align-items:center;margin:0;padding:0 clamp(60px,7vw,110px) 0 var(--g);text-align:left;background:linear-gradient(90deg,#fff 74%,rgba(255,255,255,0))}
.v2 #clients .head h2{font-size:clamp(19px,1.65vw,23px);font-weight:700;letter-spacing:-.025em;text-transform:none;color:var(--ink);line-height:1.12}
.v2 #clients::before{display:none}
.v2 #clients::after{width:9%}
.v2 .refs{--lh:44px;animation-duration:64s;gap:0;margin:0}
.v2 .refs li{width:clamp(170px,15.5vw,224px);height:84px;padding:10px 30px}
.v2 .refs a{display:grid;place-items:center;width:100%;height:100%;border-radius:12px}
.v2 .refs a:focus-visible{outline:2px solid var(--tide);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.v2 .refs li img{transition:transform .35s,opacity .35s}.v2 .refs:hover li img{opacity:.45}.v2 .refs li:hover img{opacity:1;transform:scale(1.07)}}
@media (max-width:760px){
  .v2 #clients{display:block;height:auto;padding:22px 0 14px}
  .v2 #clients .head{position:static;display:block;padding:0 var(--g);margin:0 0 6px;background:none}
  .v2 #clients .head h2{font-size:18px}.v2 #clients .head h2 br{display:none}
  .v2 #clients::before{display:block}
  .v2 #clients::before,.v2 #clients::after{top:auto;bottom:14px;height:62px;width:12%}
  .v2 .refs{--lh:34px;animation-duration:44s}
  .v2 .refs li{width:132px;height:62px;padding:6px 16px}
}
@media (prefers-reduced-motion:reduce){.v2 #clients{height:auto;display:block;padding:24px 0}.v2 #clients .head{position:static;background:none;padding:0 var(--g);margin-bottom:10px}}

.player video{width:100%;height:100%;display:block;background:#000}
