/* ============================================================
   LOUIS FRIMAUDEAU — V3 « Salle de projection »
   Compositions du canvas Claude Design (structure validée),
   identité chromatique propre : neutres encre / blanc cassé /
   pierre, bleu électrique réservé aux actions, aux détails
   graphiques et aux états interactifs.
   Les couleurs passent toutes par les variables ci-dessous.
   ============================================================ */

:root {
  /* Palette */
  --ink: #121316;          /* Noir encre : fonds sombres, texte sur clair (16,5:1) */
  --night: #0C0D0F;        /* Nuit : pied de page, fonds des lecteurs */
  --paper: #F4F1EB;        /* Blanc cassé : fond principal, texte sur sombre */
  --linen: #EAE6DE;        /* Lin : cartes et blocs sur blanc cassé */
  --stone-lt: #DDD8CE;     /* Pierre claire : zones de formulaire, encadrés */
  --stone: #B8B4AC;        /* Gris pierre : texte secondaire sur sombre (9:1), contours */
  --rule-lt: #CFC9BD;      /* Filets sur clair (décoratifs) */
  --field-line: #75706A;   /* Trait des champs : 3,5:1 au moins sur toutes les surfaces claires */
  --taupe: #5C5952;        /* Texte secondaire sur clair (5,6:1 sur lin) */
  --umber: #3A3833;        /* Texte courant atténué sur clair (9,4:1) */
  --mist: #DAD6CD;         /* Texte courant atténué sur sombre (12,8:1) */
  --blue: #3550EC;         /* Bleu électrique : actions, liens, focus (5,3:1 sur blanc cassé ; blanc dessus 6:1) */
  --blue-deep: #2A40C8;    /* Bleu profond : survol et appui des actions bleues */
  --blue-light: #A3B0FF;   /* Bleu lumière : liens et repères sur sombre (9:1 sur encre) */
  --blue-glow: 64, 92, 255;/* #405CFF, la teinte d'origine, gardée pour la lumière du hero */
  --on-acc: #FFFFFF;       /* Texte sur bleu électrique */
  --ink-lift: #17181C;     /* Haut du dégradé de la scène */
  --flare-core: 195, 205, 255; /* Cœur du reflet anamorphique */
  --tungsten: 214, 196, 168;   /* Lumière chaude d'appoint, reprise des ors des films */
  --err: #9C1F17;
  --err-bg: #F6E3DE;
  --err-tx: #7A1A13;

  /* Rôles (contexte clair par défaut ; redéfinis par .scene et les blocs sombres) */
  --bg: var(--paper);
  --surface: var(--linen);
  --fg: var(--ink);
  --fg-2: var(--taupe);
  --fg-3: var(--umber);
  --rule: var(--rule-lt);
  --acc: var(--blue);
  --acc-hover: var(--blue-deep);
  --acc-tx: var(--blue);
  --focus-c: var(--blue);
  --glass: rgba(18, 19, 22, .8);     /* Verre sur médias : 4,9:1 au moins pour le bleu lumière, même sur une image blanche */
  --glass-line: rgba(244, 241, 235, .28);
  --veil: rgba(244, 241, 235, .12);
  --veil-2: rgba(244, 241, 235, .22);
  --line-inv: rgba(244, 241, 235, .2);
  --scrim: rgba(12, 13, 15, .6);       /* Voile sur médias */
  --scrim-soft: rgba(12, 13, 15, .4);
  --chip-line: rgba(244, 241, 235, .6);
  --bar: rgba(18, 19, 22, .9);         /* En-tête au défilement */
  --bar-panel: rgba(12, 13, 15, .5);   /* Panneau de navigation */
  --opt-bg: rgba(244, 241, 235, .7);
  --play-bg: rgba(18, 19, 22, .38);
  --play-line: rgba(244, 241, 235, .55);

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --m: 40px;               /* marges de texte */
  --mm: 20px;              /* marges des médias */
  --sec: clamp(72px, 9.7vw, 140px);
  --hd: 96px;

  /* Mouvement : un seul langage pour tout le site.
     Durées courtes pour les retours d'interaction, plus longues pour
     les apparitions ; une seule courbe de sortie, une d'aller-retour. */
  --ease: cubic-bezier(.22, 1, .36, 1);      /* sortie : rapide puis posée */
  --ease-io: cubic-bezier(.65, 0, .35, 1);   /* aller-retour : volets, accordéons */
  --t-fast: 160ms;     /* survol, couleur, pression */
  --t-base: 240ms;     /* focus, flèches, menus */
  --t-slow: 520ms;     /* apparitions */
  --t-media: 700ms;    /* zoom des images */
  --rise: 18px;        /* amplitude des apparitions */
  --nudge: 4px;        /* déplacement des flèches */
  --zoom: 1.035;       /* zoom des médias au survol */
  --stagger: 70ms;     /* décalage entre éléments d'un même groupe */
}
/* Contextes sombres : mêmes rôles, valeurs inversées */
.scene, .cine, .immo, .offer--dark, .tile--dark, .fmt--dark, .ft, .glass, .gcard__p, .demos__cap, .hd {
  --fg: var(--paper);
  --fg-2: var(--stone);
  --fg-3: var(--mist);
  --rule: var(--line-inv);
  --acc-tx: var(--blue-light);
  --focus-c: var(--blue-light);
}
/* Pierre claire : liens en bleu profond pour garder 5:1 */
.tone { --acc-tx: var(--blue-deep); --focus-c: var(--blue-deep); }
@media (max-width: 900px) { :root { --m: 24px; --mm: 12px; --hd: 76px; } }
@media (max-width: 560px) { :root { --m: 20px; --mm: 12px; --sec: 72px; } }

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p, h1, h2, h3, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--hd) + 8px); }
:focus-visible { outline: 2px solid var(--focus-c); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--paper); color: var(--ink); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

.w { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--m); }

/* ── Typographie ──────────────────────────────────────────── */
.d { font-weight: 300; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }
.h1  { font-size: clamp(46px, 7vw, 100px); }
.h1p { font-size: clamp(42px, 5.8vw, 84px); max-width: 16ch; }
.h2  { font-size: clamp(38px, 4.9vw, 70px); }
.h2s { font-size: clamp(30px, 3vw, 44px); line-height: 1.04; }
.h3  { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.08; letter-spacing: -0.035em; }
.h4  { font-size: 18px; font-weight: 500; }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; max-width: 62ch; }
.lead--dark { color: var(--fg-3); }
.s { font-size: 15px; line-height: 1.55; }
.lab { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: var(--fg-2); }
.lab--hi, .hi { color: var(--acc-tx); }
.tag { display: inline-block; align-self: flex-start; padding: 7px 10px; background: var(--surface); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.sq { display: inline-block; width: 6px; height: 6px; background: var(--acc); flex: 0 0 auto; }
.scene .sq, .immo .sq, .cine .sq { background: rgb(var(--blue-glow)); }
.arr { display: inline-block; text-decoration: none; }

/* ── Boutons et liens ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border: 0; border-radius: 0; cursor: pointer;
  font: 500 15px/1.2 var(--sans); text-decoration: none; text-align: center;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .arr, .lk .arr, .gcard .arr, .uni__l .arr, .next .arr, .hero__u .arr { transition: transform var(--t-base) var(--ease); }
.btn:hover .arr, .btn:focus-visible .arr, .lk:hover .arr, .lk:focus-visible .arr, .gcard:hover .gcard__go .arr, .gcard:focus-visible .gcard__go .arr,
.uni__l a:hover .arr, .uni__l a:focus-visible .arr, .next:hover .arr, .next:focus-visible .arr, .hero__u a:hover .arr, .hero__u a:focus-visible .arr { transform: translateX(var(--nudge)); }
.lk[target="_blank"]:hover .arr, .btn[target="_blank"]:hover .arr { transform: translate(2px, -2px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--blue); color: var(--on-acc); }
.btn--light:hover .sq { background: var(--on-acc); }
.btn--glass { background: var(--veil); color: var(--paper); box-shadow: inset 0 0 0 1px var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: var(--veil-2); box-shadow: inset 0 0 0 1px var(--blue-light); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--acc); color: var(--on-acc); }
.btn--light:active, .btn--dark:active, .vp__play:active { background: var(--acc-hover); }
.btn--dark .sq { background: rgb(var(--blue-glow)); }
.btn--dark:hover .sq { background: var(--on-acc); }
.btn--line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px currentColor; }
.btn--line:hover { color: var(--acc-tx); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.lk { padding: 0; border: 0; background: none; cursor: pointer; font-weight: 500; color: var(--acc-tx); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.lk:hover { text-decoration-thickness: 2px; }
.lk--sm { font-size: 14px; }
.lk--inv { color: var(--blue-light); }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.act--center { justify-content: center; }
.more { margin-top: 32px; }

.chip { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 8px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.chip--client { background: var(--paper); color: var(--ink); }
.chip--concept { color: var(--paper); background: var(--scrim); box-shadow: inset 0 0 0 1px var(--chip-line); }
.chip--dark { background: var(--scrim-soft); }
.chip--over { position: absolute; left: 10px; bottom: 10px; z-index: 2; }
.glass { background: var(--glass); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); }

/* ── Scène : la salle de projection ─────────────────────────
   Fond encre, faisceau de projecteur tombant du haut, lumière
   tungstène d'appoint, et un reflet d'objectif anamorphique :
   une ligne de lumière bleue horizontale, décentrée, qui dérive
   lentement au pied de la section. Grain de pellicule par-dessus. */
.scene { position: relative; isolation: isolate; color: var(--fg); background-color: var(--ink); background-image:
  radial-gradient(44% 70% at 50% -18%, var(--veil), transparent 72%),
  radial-gradient(36% 44% at 92% 4%, rgba(var(--tungsten), .09), transparent 70%),
  radial-gradient(46% 38% at 26% 104%, rgba(var(--blue-glow), .16), transparent 70%),
  linear-gradient(180deg, var(--ink-lift) 0%, var(--ink) 55%, var(--night) 100%); }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.scene::after { content: ""; position: absolute; left: -12%; right: -12%; bottom: 0; height: 160px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(64% 1.5px at 30% 80%, rgba(var(--flare-core), .9), transparent 100%),
    radial-gradient(52% 9px at 30% 80%, rgba(var(--blue-glow), .5), transparent 100%),
    radial-gradient(90px 26px at 30% 80%, rgba(var(--flare-core), .5), transparent 100%),
    radial-gradient(22% 60% at 30% 80%, rgba(var(--blue-glow), .14), transparent 100%);
  animation: flare 18s ease-in-out infinite alternate; }
@keyframes flare { from { transform: translateX(-5%); opacity: .75; } to { transform: translateX(6%); opacity: 1; } }
.scene:not(.menu) { overflow: hidden; }
.menu.scene::after { display: none; }
.tone { background: var(--stone-lt); color: var(--ink); }

/* ── En-tête ──────────────────────────────────────────────── */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px var(--m); color: var(--paper); transition: background-color .3s var(--ease), padding .3s var(--ease); }
.hd.is-solid { background: var(--bar); box-shadow: 0 1px 0 var(--line-inv); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 10px; }
.no-js .hd { position: absolute; }
.hd__brand { color: var(--paper); text-decoration: none; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.hd__panel { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 18px; background: var(--bar-panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hd__nav { display: flex; }
.hd__nav a { color: var(--mist); text-decoration: none; font-size: 14px; padding: 12px 10px; }
.hd__nav a:hover, .hd__nav a[aria-current] { color: var(--paper); text-decoration: underline; text-decoration-color: var(--blue-light); text-underline-offset: 6px; }
.lang { display: flex; align-items: center; gap: 4px; padding: 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.lang span { opacity: .55; }
.lang a { color: var(--mist); text-decoration: none; padding: 12px 3px; }
.lang a[aria-current] { color: var(--paper); text-decoration: underline; text-decoration-color: var(--blue-light); text-underline-offset: 5px; }
.hd__burger, .menu__close { display: none; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; background: var(--veil); color: var(--paper); cursor: pointer; }
.hd__burger:hover, .menu__close:hover { background: var(--veil-2); }
.hd__burger svg { width: 18px; height: 18px; }
.menu__close { display: grid; }
.menu__close svg { width: 16px; height: 16px; }
@media (max-width: 1100px) {
  .hd__nav, .hd__cta { display: none; }
  .js .hd__burger { display: grid; }
  .hd__panel { padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; gap: 8px; }
  .no-js .hd { flex-wrap: wrap; }
  .no-js .hd__nav { display: flex; flex-wrap: wrap; }
  .no-js .hd__panel { flex-wrap: wrap; }
}
@media (max-width: 560px) { .hd__brand { font-size: 17px; } .hd { padding-block: 14px; } }

.menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.menu__top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--m); }
.menu__end { display: flex; align-items: center; gap: 8px; }
.menu__nav { flex: 1 0 auto; display: flex; flex-direction: column; padding: 24px var(--m) 0; }
.menu__big { font-size: 44px; font-weight: 300; letter-spacing: -0.045em; line-height: 1; color: var(--paper); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-inv); }
.menu__big:hover { color: var(--blue-light); }
.menu__sub { display: flex; flex-direction: column; padding: 8px 0 14px; border-bottom: 1px solid var(--line-inv); }
.menu__sub a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--blue-light); text-underline-offset: 5px; }
.menu__sub a { color: var(--mist); text-decoration: none; padding: 7px 0; font-size: 16px; }
.menu__foot { display: flex; flex-direction: column; gap: 12px; padding: 24px var(--m) 32px; }
.menu__mail { color: var(--fg-3); text-align: center; text-decoration: none; font-size: 14px; padding: 8px; }
body.menu-open { overflow: hidden; }

/* ── Accueil : première vue ───────────────────────────────── */
.hero { padding: calc(var(--hd) + 28px) 0 clamp(36px, 4vw, 56px); }
.hero__in { max-width: 1440px; margin-inline: auto; padding-inline: var(--m); display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__t { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero .h1 { font-size: clamp(40px, 4.9vw, 74px); max-width: 13ch; }
.hero .lead { max-width: 52ch; opacity: .94; }
.hero__u { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin-top: 6px; border-top: 1px solid var(--rule); }
.hero__u li + li { border-left: 1px solid var(--rule); }
.hero__u a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 14px 4px 0; text-decoration: none; color: var(--fg); }
.hero__u li + li a { padding-left: 14px; }
.hero__u .lab { font-size: 10px; }
.hero__un { font-size: 15px; font-weight: 500; transition: color var(--t-fast) var(--ease); }
.hero__u a:hover .hero__un, .hero__u a:focus-visible .hero__un { color: var(--acc-tx); }
/* Bande de film : boucle muette, affiche d'abord */
.reel { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.reel__f { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); box-shadow: 0 0 0 1px var(--line-inv), 0 40px 80px -40px rgba(var(--blue-glow), .35); }
.reel__f img, .reel__f video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__f video { opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.reel.is-playing .reel__f video { opacity: 1; }
.reel__pp { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; color: var(--paper); background: var(--play-bg); box-shadow: inset 0 0 0 1px var(--play-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color var(--t-fast) var(--ease); }
.reel__pp svg { width: 14px; height: 14px; }
.reel__pp .i-play { display: none; }
.reel__pp[aria-pressed="true"] .i-pause { display: none; }
.reel__pp[aria-pressed="true"] .i-play { display: inline; }
.reel__pp:hover { background: var(--blue); }
.reel__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: 13px; color: var(--fg-2); }
/* Tablette et mobile : le film remonte juste après la promesse */
@media (max-width: 1000px) {
  .hero__in { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .hero__t { display: contents; }
  .hero__t > * { align-self: flex-start; }
  .hero__t > .hero__u { align-self: stretch; }
  .hero .kick { order: 0; } .hero .h1 { order: 1; } .hero .lead { order: 2; } .reel { order: 3; } .hero .act { order: 4; } .hero__u { order: 5; }
}
@media (max-width: 640px) {
  .hero__in { gap: 16px; }
  .hero .h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .hero__u { grid-template-columns: 1fr; margin-top: 0; }
  .hero__u .lab { display: none; }
  .hero__u li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .hero__u a, .hero__u li + li a { padding: 12px 0; }
  .reel__cap { font-size: 12px; }
}

/* Sélection : six panneaux verticaux, comme un mur de projection */
.sel { padding: 22px var(--mm) 0; }
.sel__h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 0 calc(var(--m) - var(--mm)) 14px; }
.sel__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; height: clamp(360px, 38vw, 560px); }
.sel__i { position: relative; overflow: hidden; background: var(--night); }
.sel__i img, .sel__i video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-media) var(--ease), opacity var(--t-slow) var(--ease); }
.sel__i:hover img, .sel__i:focus-visible img { transform: scale(var(--zoom)); }
.sel__i::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--blue-light); transition: box-shadow var(--t-base) var(--ease); pointer-events: none; }
.sel__i:hover::after { box-shadow: inset 0 0 0 1px var(--line-inv); }
.sel__i video { opacity: 0; }
.sel__i.is-playing video { opacity: 1; }
@media (max-width: 900px) {
  .sel__row { display: flex; overflow-x: auto; height: 340px; scroll-snap-type: x proximity; scroll-padding-inline: var(--mm); }
  .sel__i { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ── Sections ─────────────────────────────────────────────── */
.sec { padding-top: var(--sec); }
.sec--first { padding-top: clamp(56px, 6vw, 96px); }
.sec--tight { padding-top: 40px; }
.shead { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-bottom: clamp(32px, 4vw, 56px); }
.shead .h2 { max-width: 16ch; }
.shead--left { align-items: flex-start; text-align: left; }
.shead--left .h2 { max-width: 18ch; }
.shead--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; text-align: left; }
.shead--split .s { max-width: 420px; color: var(--fg-2); }
.shead .s { color: var(--fg-2); }

/* Grandes cartes image + panneau de verre */
.gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-inline: calc(var(--mm) - var(--m)); }
.gcard { position: relative; display: block; min-height: clamp(440px, 42vw, 600px); overflow: hidden; color: var(--paper); text-decoration: none; background: var(--night); }
.gcard img, .gcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-media) var(--ease), opacity var(--t-slow) var(--ease); }
.gcard:hover img, .gcard:focus-visible img, .gcard:focus-within img { transform: scale(var(--zoom)); }
.gcard video { opacity: 0; }
.gcard.is-playing video { opacity: 1; }
.gcard__p { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 0 transparent; transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
a.gcard:hover .gcard__p, a.gcard:focus-visible .gcard__p { box-shadow: inset 0 2px 0 rgb(var(--blue-glow)); transform: translateY(-4px); }
.gcard__go { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--acc-tx); }
a.gcard:focus-visible { outline-offset: 4px; }
.gcard__t { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.05; }
.gcard__row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.gcard__d { opacity: .9; }
.gcard--l { min-height: clamp(460px, 52vw, 760px); }
@media (max-width: 1000px) { .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gcards { grid-template-columns: 1fr; gap: 12px; } .gcard { min-height: 440px; } .gcard__p { left: 12px; right: 12px; bottom: 12px; padding: 16px; } }

/* Mur de réalisations : rangées de 3 puis de 2 */
.wall { display: flex; flex-direction: column; gap: 20px; margin-inline: calc(var(--mm) - var(--m)); }
.wrow { display: grid; gap: 20px; }
.wrow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wrow--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wrow--1 { grid-template-columns: 1fr; }
.wall.is-filtered .wrow { display: contents; }
.wall.is-filtered { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .wrow--3, .wrow--2, .wall.is-filtered { grid-template-columns: 1fr; gap: 12px; } .wall { gap: 12px; } }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 44px; padding: 0 16px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 500; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.filters button:active { transform: translateY(1px); }
.filters [data-count] { min-width: 10ch; font-variant-numeric: tabular-nums; }
.filters button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: inset 0 -2px 0 rgb(var(--blue-glow)); }
.filters .lab { margin-left: 8px; }

/* Section sombre plein cadre (ORBEL) */
.cine { position: relative; min-height: clamp(620px, 62vw, 900px); margin-top: var(--sec); overflow: hidden; color: var(--paper); background: var(--night); display: flex; }
.cine__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.cine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--scrim), transparent 50%, var(--scrim)); }
.cine__in { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--m); }
.cine__w { font-size: clamp(40px, 4.9vw, 70px); }
.cine__card { width: min(400px, 100%); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) {
  .cine__in { flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 48px var(--m); }
  .cine__w:last-child { display: none; }
}

/* Bénéfices : bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); gap: 20px; margin-inline: calc(var(--mm) - var(--m)); }
.bento__i { min-width: 0; background: var(--surface); padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.bento__i .s { color: var(--fg-3); }
.bento__i--tall { grid-row: span 2; }
.bento__i--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; }
.bento__imgs { display: flex; gap: 10px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.bento__i--wide > div:last-child { flex: 0 1 300px; min-width: 220px; display: flex; flex-direction: column; gap: 12px; }
.bento__imgs img { height: 190px; width: auto; max-width: none; object-fit: cover; flex: 0 0 auto; }
.bento__big { font-size: clamp(36px, 3.4vw, 48px); line-height: 1; margin-bottom: auto; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__i--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bento__i--tall, .bento__i--wide { grid-row: auto; grid-column: auto; }
  .bento__i--wide { flex-direction: column; align-items: flex-start; }
  .bento__imgs { width: 100%; }
  .bento__i--wide > div:last-child { flex: none; min-width: 0; }
  .bento__imgs img { height: 130px; }
  .bento__i { padding: 24px; min-height: 220px; }
}

/* Module immobilier */
.immo { margin-top: var(--sec); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--ink); color: var(--paper); max-width: calc(1440px - 2 * var(--mm)); padding: 0; }
.immo__m { position: relative; min-height: 560px; }
.immo__m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.immo__t { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.immo__t .lead { color: var(--fg-3); }
.immo__l { border-top: 1px solid var(--rule); }
.immo__l li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 900px) { .immo { grid-template-columns: 1fr; } .immo__m { min-height: 300px; } }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.steps .s { color: var(--fg-2); }

/* Offres sur mot-symbole en contour */
.offers { position: relative; overflow-x: clip; padding-bottom: clamp(120px, 14vw, 220px); }
.offers__mark { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); z-index: -1; font-size: clamp(90px, 18vw, 270px); font-weight: 300; letter-spacing: -0.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--stone); white-space: nowrap; pointer-events: none; user-select: none; }
.offers__g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1320px; margin-inline: auto; }
@media (max-width: 1180px) { .offers__g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer { background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 18px; min-height: 420px; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer > .s:not(.offer__k):not(.hi) { color: var(--fg-3); }
.offer__k { color: var(--fg-2); }
.offer__p { font-size: clamp(44px, 4.2vw, 60px); }
.offer--dark { background: var(--ink); color: var(--paper); }
.offer__l { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--fg-3); }
.offer__l li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: rgb(var(--blue-glow)); margin-right: 10px; vertical-align: middle; }
.offer--dark .btn { margin-top: 0; }
@media (max-width: 900px) { .offers__g { grid-template-columns: 1fr; } .offer { min-height: 0; } }

/* À propos */
.about { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.about__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__t { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about__img { max-width: 260px; } }

/* FAQ : titre à gauche, accordéon à droite */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__sub { color: var(--fg-2); margin-top: 16px; }
.faq__l { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; transition: color var(--t-fast) var(--ease); }
.faq details[open] summary { color: var(--acc-tx); }
.faq__b { overflow: hidden; }
.faq summary:hover { color: var(--acc-tx); }
.faq summary::-webkit-details-marker { display: none; }
.faq__x { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.faq__x::before, .faq__x::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform var(--t-base) var(--ease-io); }
.faq__x::after { transform: rotate(90deg); }
.faq details[open] .faq__x::after { transform: rotate(0); }
.faq details .s { padding: 0 0 22px; color: var(--fg-3); max-width: 62ch; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* Contact : texte à gauche, formulaire sur écume à droite */
.csec { margin-top: var(--sec); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.csec__a { padding: clamp(40px, 6vw, 88px) var(--m); display: flex; flex-direction: column; gap: 20px; max-width: 680px; justify-self: end; width: 100%; }
.csec__f { padding: clamp(32px, 6vw, 88px) clamp(20px, 5vw, 80px); display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 900px) { .csec { grid-template-columns: 1fr; } .csec__a { justify-self: stretch; } }
.direct { display: flex; flex-direction: column; border-top: 1px solid var(--rule); margin-top: 8px; }
.direct li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.direct .lab { flex: 0 0 96px; }
.direct a:not(.lk) { color: var(--acc-tx); font-weight: 500; text-decoration: none; }
.direct a:not(.lk):hover { text-decoration: underline; text-underline-offset: 5px; }
.copy[data-state="done"] { text-decoration: none; }

/* Formulaire */
.fm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 24px; }
.fm__full { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lbl { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--ink); }
.opt-l { font-weight: 400; color: var(--fg-3); }
.in { width: 100%; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0; background: transparent; font-size: 16px; color: var(--ink); transition: border-color .2s var(--ease); }
.in:hover { border-bottom-color: var(--ink); }
select.in { appearance: none; -webkit-appearance: none; padding-right: 28px; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 12px) 50% / 6px 6px no-repeat, linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 6px) 50% / 6px 6px no-repeat; cursor: pointer; }
.in--area { resize: vertical; min-height: 96px; line-height: 1.5; }
.in:focus-visible { outline: 2px solid var(--focus-c); outline-offset: 4px; border-bottom-color: var(--focus-c); }
.in[aria-invalid="true"] { border-bottom: 2px solid var(--err); }
.in::placeholder { color: var(--taupe); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: var(--opt-bg); box-shadow: inset 0 0 0 1px transparent; cursor: pointer; font-size: 14px; transition: box-shadow .2s var(--ease); }
.opt:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.opt:has(input:checked) { background: var(--ink); color: var(--paper); }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus-c); outline-offset: 2px; }
.em { display: flex; gap: 6px; align-items: center; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--err); }
.alert { grid-column: 1 / -1; padding: 14px 16px; background: var(--err-bg); box-shadow: inset 3px 0 0 var(--err); font-size: 14px; font-weight: 500; color: var(--err-tx); }
.alert a { color: inherit; font-weight: 600; }
.fm__note { font-size: 13px; color: var(--fg-3); max-width: 46ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; background: var(--paper); box-shadow: inset 3px 0 0 var(--blue); }
.js .cond__if { display: none; }
.js .cond.is-off { display: none; }
@media (max-width: 560px) { .fm { grid-template-columns: 1fr; gap: 20px; } .fm > div, .fm > fieldset { grid-column: 1 / -1; } .opts { flex-direction: column; } .opt { width: 100%; } }

/* ── Pages intérieures : première vue ─────────────────────── */
.phero { padding: calc(var(--hd) + 48px) 0 clamp(56px, 7vw, 100px); }
.phero--compact { padding-bottom: clamp(48px, 5vw, 80px); }
.phero__in { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--m); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.phero__in--solo { grid-template-columns: minmax(0, 1fr); }
.phero__t { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.phero__t .lead { opacity: .94; }
.phero__in--solo .h1p { max-width: 20ch; }
.phero__img { position: relative; }
.phero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.phero__img--portrait img { aspect-ratio: 4 / 5; max-height: 560px; }
@media (max-width: 900px) { .phero__in { grid-template-columns: 1fr; } }
.crumbs { font-size: 13px; color: var(--stone); }
.crumbs a { color: var(--stone); text-decoration: none; }
.crumbs a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--blue-light); }
.crumbs [aria-current] { color: var(--paper); }

/* Carte de prix UGC dans la première vue */
.pk { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 460px; justify-self: end; width: 100%; }
.pk__price { font-size: clamp(64px, 7vw, 100px); }
.pk .s { color: var(--fg-3); }
.pk .btn { margin-top: 10px; }

/* Lecteur vidéo */
.vp { min-width: 0; }
.vp__f { position: relative; aspect-ratio: var(--ar); overflow: hidden; background: var(--night); }
.vp__f video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.vp__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t-base) var(--ease); }
.vp.is-playing .vp__poster { opacity: 0; }
.vp__play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; display: none; place-items: center; padding: 0; border: 0; cursor: pointer; color: var(--paper); background: var(--play-bg); box-shadow: inset 0 0 0 1px var(--play-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.vp__play:active { transform: translate(-50%, -50%) scale(.96); }
.vp__play svg { width: 20px; height: 20px; margin-left: 2px; }
.vp--js .vp__play { display: grid; }
.vp--js.is-on .vp__play { display: none; }
.vp__play:hover, .vp__play:focus-visible { background: var(--blue); color: var(--on-acc); box-shadow: none; }
.vp__play:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.vp__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 12px; font-size: 15px; font-weight: 500; }
.vp__cap--txt { align-items: flex-start; }
.vp__cap--txt .s { max-width: 62ch; font-weight: 400; color: var(--fg-3); }
.vp--xl { max-width: 1200px; }
.vp--hero .vp__play { width: 84px; height: 84px; }

.ugc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .ugc3 { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x proximity; margin-inline: calc(-1 * var(--m)); padding-inline: var(--m); scroll-padding-inline: var(--m); } .ugc3 .vp { flex: 0 0 62%; scroll-snap-align: start; } }

.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
@media (max-width: 900px) { .cols2, .cols3 { grid-template-columns: 1fr; } }
.list { margin-top: 20px; border-top: 1px solid var(--rule); }
.list li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.45; }
.list--n li { display: flex; gap: 16px; }
.list--n .lab { padding-top: 3px; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid3 figcaption { margin-top: 10px; color: var(--fg-3); }
.fr { position: relative; aspect-ratio: var(--ar); overflow: hidden; background: var(--surface); }
.fr img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

.side { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; }
.side--end { align-items: flex-end; }
.side__t { flex: 1 1 280px; max-width: 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.side > .vp { flex: 999 1 560px; max-width: 960px; }
.side > .ugc3 { flex: 999 1 600px; max-width: 820px; }
.fh { display: flex; gap: 20px; align-items: baseline; margin-bottom: 22px; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.tile .s { color: var(--fg-3); }
.tile--dark { background: var(--ink); color: var(--paper); }
.tile--dark .tile__l li { color: var(--fg-3); }
.tile__l { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.tile__l li::before { content: "— "; }
.tile__n { font-size: 13px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }

.quote { margin-top: var(--sec); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 32px 56px; align-items: center; padding: clamp(40px, 5vw, 72px) var(--m); max-width: calc(1440px - 2 * var(--mm)); }
.quote__l { display: flex; flex-direction: column; gap: 10px; color: var(--fg-3); }
.quote__l li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: rgb(var(--blue-glow)); margin-right: 12px; vertical-align: middle; }
.quote .lead { color: var(--fg-3); }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } .quote .btn { justify-self: start; } }

/* Immobilier : formats, démonstrations, limites */
.fmts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fmt { background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 400px; }
.fmt .s { color: var(--fg-3); }
.fmt__use { margin-top: auto; }
.fmt--dark { background: var(--ink); color: var(--paper); }
@media (max-width: 1100px) { .fmts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fmts { grid-template-columns: 1fr; } .fmt { min-height: 0; } }
.demos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; height: clamp(420px, 44vw, 620px); }
.demos figure { position: relative; overflow: hidden; }
.demos img { width: 100%; height: 100%; object-fit: cover; }
.demos__a { grid-row: span 2; }
@media (max-width: 700px) { .demos { grid-template-columns: 1fr; grid-template-rows: none; height: auto; } .demos__a { grid-row: auto; } .demos figure { aspect-ratio: 3 / 2; } }
.limits { margin-top: var(--sec); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 56px; padding: clamp(40px, 5vw, 64px) var(--m); max-width: calc(1440px - 2 * var(--mm)); }
.limits__l { display: flex; flex-direction: column; gap: 12px; padding-left: 20px; list-style: disc; font-size: 17px; color: var(--fg-3); }
.limits__l li::marker { color: var(--blue-deep); }
@media (max-width: 800px) { .limits { grid-template-columns: 1fr; } }
.xlink { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding: 32px; border: 1px solid var(--rule); margin-top: var(--sec); }
.xlink > div { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.xlink .s { color: var(--fg-3); }
.audit { text-align: left; display: flex; flex-direction: column; gap: 18px; }
.audit .h2s { max-width: 30ch; }

/* Sites : secteurs */
.sectors { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 80px); }
.sector { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sector:nth-child(even) .sector__m { order: 2; }
.sector__m { position: relative; }
.sector__m img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sector__t { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 800px) { .sector { grid-template-columns: 1fr; } .sector:nth-child(even) .sector__m { order: 0; } }

/* Index des expertises */
.xlist { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 96px); }
.xrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.xrow:nth-child(even) .xrow__m { order: 2; }
.xrow__m { position: relative; display: block; overflow: hidden; }
.xrow__m img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--t-media) var(--ease); }
.xrow:hover .xrow__m img { transform: scale(var(--zoom)); }
.xrow__t { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.xrow__t h2 a { text-decoration: none; }
.xrow__t h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.xrow__dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; padding-top: 14px; border-top: 1px solid var(--rule); width: 100%; font-size: 15px; }
@media (max-width: 800px) { .xrow { grid-template-columns: 1fr; } .xrow:nth-child(even) .xrow__m { order: 0; } }

/* Projet */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 18px 32px; width: 100%; max-width: 1100px; padding-top: 18px; border-top: 1px solid var(--rule); }
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts dd { font-size: 15px; color: var(--fg-3); }
.pside { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 800px) { .pside { grid-template-columns: 1fr; } }
.ptext { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.pnote { color: var(--fg-2); }
.band { margin-top: var(--sec); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding: clamp(40px, 5vw, 72px) var(--m); max-width: calc(1440px - 2 * var(--mm)); }
.svc-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; }
.next { display: flex; flex-direction: column; gap: 12px; padding-block: 56px; text-decoration: none; }
.next__t { font-size: clamp(40px, 4.9vw, 70px); }
.next:hover .next__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 10px; }

/* Méthode */
.msteps { display: flex; flex-direction: column; }
.mstep { display: grid; grid-template-columns: minmax(80px, 200px) minmax(0, 1fr); gap: 24px 56px; padding: 36px 0; border-top: 1px solid var(--rule); }
.mstep:last-child { border-bottom: 1px solid var(--rule); }
.mstep__n { font-size: clamp(56px, 7vw, 100px); color: var(--field-line); }
.mstep > div { display: flex; flex-direction: column; gap: 14px; }
.mstep__you { color: var(--acc-tx); }
@media (max-width: 640px) { .mstep { grid-template-columns: 1fr; gap: 8px; } }

/* Ressources */
.rlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rcard { display: flex; flex-direction: column; gap: 18px; text-decoration: none; }
.rcard__m { display: block; overflow: hidden; }
.rcard__m img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform var(--t-media) var(--ease); }
.rcard:hover img, .rcard:focus-visible img { transform: scale(var(--zoom)); }
.rcard__t { display: flex; flex-direction: column; gap: 10px; }
.rcard .s { color: var(--fg-3); }
.rcard:hover .h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (max-width: 900px) { .rlist { grid-template-columns: 1fr; } }
.article { max-width: 880px; }
.article__img { margin: 24px 0 40px; }
.article__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article__img figcaption { margin-top: 8px; color: var(--fg-2); font-size: 13px; }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 70ch; }
.prose p { font-size: 17px; line-height: 1.65; color: var(--fg-3); }
.prose h2 { margin-top: 22px; }
.prose .list { margin-top: 0; }
.prose a:not(.btn) { color: var(--acc-tx); }
.prose .btn { align-self: flex-start; margin-top: 10px; }
.doc__dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; font-size: 15px; }
.doc__dl dt { color: var(--fg-2); }
@media (max-width: 560px) { .doc__dl { grid-template-columns: 1fr; gap: 2px; } .doc__dl dd { margin-bottom: 10px; } }

/* ── Pied de page ─────────────────────────────────────────── */
.ft { margin-top: var(--sec); background: var(--night); color: var(--fg-3); box-shadow: inset 0 1px 0 rgba(var(--blue-glow), .5); }
.ft__in { max-width: 1440px; margin-inline: auto; padding: 72px var(--m) 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.ft__name { color: var(--paper); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.ft__ai { margin-top: 16px; color: var(--fg-2); font-size: 13px; max-width: 46ch; }
.ft nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ft nav .lab { color: var(--fg-2); margin-bottom: 4px; }
.ft nav a { color: var(--fg-3); text-decoration: none; }
.ft nav a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--blue-light); text-underline-offset: 4px; }
.ft__base { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--fg-2); }
.ft__base a { color: inherit; }
@media (max-width: 900px) { .ft__in { grid-template-columns: 1fr 1fr; } .ft__id { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft__in { grid-template-columns: 1fr; } }

/* ── Apparitions ──────────────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(var(--rise)); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.js .rv.is-in { opacity: 1; transform: none; }
/* Ouverture : le titre, le texte et les actions arrivent l'un après
   l'autre. Animation CSS pure, sans attendre le script : le contenu
   est visible même si le JavaScript échoue. */
.enter { animation: rise var(--t-slow) var(--ease) both; animation-delay: calc(80ms + var(--i, 0) * var(--stagger)); }
@keyframes rise { from { opacity: 0; transform: translateY(calc(var(--rise) * .8)); } }
/* Le titre, le texte et le média principal montent sans fondu : ils sont
   peints dès la première image (pas de retard sur FCP / LCP). */
.h1.enter, .h1p.enter, .lead.enter, .reel.enter, .phero__m.enter { animation-name: slide; }
@keyframes slide { from { transform: translateY(calc(var(--rise) * .8)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .sel__i:hover img, .gcard:hover img, .gcard:focus-within img, .xrow:hover .xrow__m img, .rcard:hover img, .sel__i:focus-visible img, .gcard:focus-visible img, .rcard:focus-visible img { transform: none; }
  a.gcard:hover .gcard__p, a.gcard:focus-visible .gcard__p, .btn:active, .btn:hover .arr, .lk:hover .arr { transform: none; }
  .reel__f video { display: none; }
  .enter { animation: none; }
}

/* ── L'essentiel (haut des pages d'expertise) ─────────────── */
.ess { margin-top: -1px; }
.ess__dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.ess__dl > div { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px 28px 0; }
.ess__dl > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.ess__dl dd { font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 900px) {
  .ess__dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ess__dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ess__dl > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .ess__dl { grid-template-columns: 1fr; }
  .ess__dl > div, .ess__dl > div + div { padding: 18px 0; border-left: 0; }
  .ess__dl > div + div { border-top: 1px solid var(--rule); }
}

/* Légendes des démonstrations, posées sur l'image */
.demos figure { position: relative; }
.demos__cap { position: absolute; left: 10px; right: 10px; bottom: 40px; z-index: 2; padding: 8px 10px; font-size: 13px; line-height: 1.35; color: var(--paper); background: var(--glass); }
.demos .chip--over { bottom: 10px; }

/* Étude de cas */
.case { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); border-top: 1px solid var(--rule); }
.case > div { padding: 24px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.case p:not(.lab) { font-size: 17px; line-height: 1.55; color: var(--fg-3); }
.case__specs { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; }
@media (max-width: 800px) { .case { grid-template-columns: 1fr; } }
.seealso { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.case--one { grid-template-columns: 1fr; align-self: start; }
.seealso-w { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

/* ── Passe « professionnalisation » (30/10/2026) ──────────────── */

/* Trois univers sur l'accueil : la création publicitaire occupe la
   hauteur, l'immobilier et les sites se partagent la colonne droite. */
.uni { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(300px, auto)); gap: 20px; margin-inline: calc(var(--mm) - var(--m)); }
.uni__c { min-height: 0; }
.uni__c--brands { grid-row: span 2; min-height: clamp(560px, 52vw, 760px); }
.uni__c--immo, .uni__c--sites { min-height: clamp(360px, 30vw, 420px); }
/* La carte « Sites » montre une capture : posée comme un écran, pas en fond */
.uni__c--sites { background: var(--ink); }
.uni__c--sites img { inset: 20px 20px auto 20px; width: calc(100% - 40px); height: 58%; object-position: top center; box-shadow: 0 0 0 1px var(--line-inv); }
.uni__l { display: flex; flex-direction: column; margin-top: 6px; border-top: 1px solid var(--rule); }
.uni__l a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 15px; font-weight: 500; color: var(--fg); transition: color var(--t-fast) var(--ease), padding var(--t-base) var(--ease); }
.uni__l a > span:first-child { flex: 1 1 auto; }
.uni__k { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.uni__l a:hover, .uni__l a:focus-visible { color: var(--acc-tx); padding-left: 6px; }
@media (max-width: 900px) {
  .uni { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .uni__c--brands { grid-row: auto; min-height: 600px; }
  .uni__c--immo, .uni__c--sites { min-height: 420px; }
}

/* Sites internet sur l'accueil : captures réelles ordinateur + téléphone */
.webm { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.webm__t { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.webm__t .h2 { font-size: clamp(36px, 3.7vw, 54px); max-width: 14ch; }
.shots { position: relative; padding: 0 0 48px; }
.shots__d { box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -30px rgba(18, 19, 22, .45); background: var(--ink); }
.shots__d img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shots__p { position: absolute; right: clamp(-8px, -1vw, 0px); bottom: 0; width: 26%; min-width: 120px; border: 6px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: 0 20px 40px -20px rgba(18, 19, 22, .6); }
.shots__p img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.shots figcaption { margin-top: 14px; color: var(--fg-2); }
@media (max-width: 900px) { .webm { grid-template-columns: 1fr; } }

/* Index des expertises : univers */
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.grp__h { display: flex; flex-direction: column; gap: 14px; padding-bottom: clamp(32px, 4vw, 56px); max-width: 860px; }
.grp + .grp { border-top: 1px solid var(--rule); margin-top: var(--sec); }

/* Sites : besoins, réalisations, exemple, parcours, audit, activités */
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.need { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 32px 0; border-bottom: 1px solid var(--rule); }
.need:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--rule); }
.need .s { color: var(--fg-3); }
@media (max-width: 900px) { .needs { grid-template-columns: 1fr 1fr; } .need:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; } .need:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); } }
@media (max-width: 560px) { .needs { grid-template-columns: 1fr; } .need:nth-child(even) { padding-left: 0; border-left: 0; } .need { padding: 22px 0; } }
.build { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.build > div { background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.build dd { color: var(--fg-3); }
@media (max-width: 900px) { .build { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .build { grid-template-columns: 1fr; } }
.proofweb { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; align-items: start; }
.pw { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pw figcaption { color: var(--fg-3); max-width: 52ch; }
.pw__f { overflow: hidden; background: var(--ink); box-shadow: 0 0 0 1px var(--rule); }
.pw__f img { width: 100%; height: auto; }
.pw--wide { grid-column: span 4; }
.pw--phone { grid-column: span 1; }
.pw--phone .pw__f { border: 5px solid var(--ink); border-radius: 16px; }
.pw:nth-child(4) { grid-column: span 2; }
.pw:nth-child(5) { grid-column: span 4; }
@media (max-width: 900px) { .proofweb { grid-template-columns: 1fr 1fr; } .pw--wide, .pw:nth-child(4), .pw:nth-child(5) { grid-column: 1 / -1; } .pw--phone { grid-column: span 1; } }
.journey { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; }
.journey ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.journey li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--ink); }
.journey .s { color: var(--fg-3); }
@media (max-width: 800px) { .journey ol { grid-template-columns: 1fr; } }
.audit2 { margin-top: var(--sec); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 64px; padding: clamp(40px, 5vw, 72px) var(--m); max-width: calc(1440px - 2 * var(--mm)); }
.audit2 > div { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.audit2 .lead { color: var(--fg-3); }
.audit2__after { color: var(--fg-3); }
@media (max-width: 900px) { .audit2 { grid-template-columns: 1fr; } }
.sectors__txt { margin-top: 18px; }
.sectors2 { border-top: 1px solid var(--rule); }
.sectors2 li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.sectors2 .s { color: var(--fg-3); }
.phero__shot { display: flex; flex-direction: column; gap: 10px; }
.phero__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; box-shadow: 0 0 0 1px var(--line-inv); }
.phero__shot figcaption { color: var(--fg-2); }

/* Immobilier : preuves en mouvement (affichées quand les fichiers existent) */
.proofs { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.proof { display: flex; flex-direction: column; gap: 16px; }
.proof__cap { display: flex; flex-direction: column; gap: 8px; max-width: 70ch; }
.proof__cap .s { color: var(--fg-3); }
.proof__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .proof__pair { grid-template-columns: 1fr; } }
.cmp { position: relative; aspect-ratio: var(--ar); overflow: hidden; background: var(--night); --pos: 50%; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__b { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 0 1px rgba(18, 19, 22, .25); pointer-events: none; }
.cmp__t { position: absolute; top: 12px; z-index: 2; padding: 4px 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); background: var(--scrim); }
.cmp__t--b { left: 12px; } .cmp__t--a { right: 12px; }
.cmp__r { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp:has(.cmp__r:focus-visible) { outline: 2px solid var(--focus-c); outline-offset: 3px; }

/* Projet : statut et nature en une ligne */
.pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pmeta .lab { color: var(--fg-2); }

/* Lecteurs : chargement, lecture, erreur */
.vp__f::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 3; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--line-inv); border-top-color: var(--paper); opacity: 0; pointer-events: none; transition: opacity var(--t-base) var(--ease); }
.vp.is-loading .vp__f::before { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vp__err { position: absolute; inset: auto 12px 12px 12px; z-index: 3; padding: 10px 12px; font-size: 14px; color: var(--paper); background: var(--glass); }
.vp__err a { color: var(--blue-light); }

/* Carte de réalisation : action révélée au survol, toujours lisible au toucher */
.gcard__cta { display: inline-flex; gap: 6px; font-size: 14px; font-weight: 500; color: var(--acc-tx); }
@media (hover: hover) and (pointer: fine) {
  .gcard--work .gcard__cta { opacity: .75; transition: opacity var(--t-base) var(--ease); }
  .gcard--work:hover .gcard__cta, .gcard--work:focus-visible .gcard__cta { opacity: 1; }
}

/* Menu mobile : ouverture et fermeture animées (le script pose is-open) */
.menu__g { margin: 14px 0 2px; color: var(--fg-2); }
.menu__g:first-child { margin-top: 4px; }
.menu__big[aria-current], .menu__sub a[aria-current] { color: var(--blue-light); }
.js .menu { opacity: 0; transition: opacity var(--t-base) var(--ease); }
.js .menu.is-open { opacity: 1; }
.js .menu .menu__nav > *, .js .menu .menu__foot { opacity: 0; transform: translateY(12px); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.js .menu.is-open .menu__nav > *, .js .menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: calc(60ms + var(--i, 0) * 40ms); }

/* Filtres : transition des résultats */
.wall [data-kind] { transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.wall [data-kind].is-leaving { opacity: 0; transform: scale(.98); }

/* ── V4 « Portfolio de réalisateur » (maquette A, 6/11/2026) ──────────
   Ouverture plein cadre, travaux clients rapprochés, ORBEL en séquence,
   légendes sous les images. Valeurs : docs/refonte-v4/DESIGN.md. */
.op { position: relative; isolation: isolate; height: min(92svh, 860px); min-height: 620px; overflow: hidden; background: var(--night); color: var(--paper);
  --fg: var(--paper); --fg-2: var(--stone); --fg-3: var(--mist); --acc-tx: var(--blue-light); --focus-c: var(--blue-light); --rule: var(--line-inv); }
.op__img, .op__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.op__vid { opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.op.is-playing .op__vid { opacity: 1; }
.op::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(12,13,15,.6) 0, transparent 28%, transparent 42%, rgba(12,13,15,.92) 100%); }
.op__cap { position: absolute; top: calc(var(--hd) + 12px); right: var(--m); z-index: 2; display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--stone); }
.op__cap a { text-decoration: none; } .op__cap a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.op__pp { position: absolute; right: var(--m); bottom: 24px; z-index: 3; }
.op__t { position: absolute; left: var(--m); right: var(--m); bottom: 48px; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; max-width: 1360px; margin-inline: auto; }
.op__h { font-size: clamp(44px, 6.2vw, 92px); max-width: 12ch; }
.op .lead { color: var(--mist); max-width: 46ch; }
.op .act { margin-top: 22px; }
.sh { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.fr2 { position: relative; display: block; overflow: hidden; background: var(--surface); }
.fr2 img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-media) var(--ease); }
a:hover > .fr2 img, a:focus-visible > .fr2 img, .seq:hover .fr2 img { transform: scale(var(--zoom)); }
.leg { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding-top: 12px; font-size: 14px; color: var(--fg-2); }
.leg > span:first-child { color: var(--fg); }
.tab { font-variant-numeric: tabular-nums; color: var(--fg-2); }
.duo { display: flex; gap: 16px; height: clamp(360px, 40vw, 600px); }
.duo__i { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.duo__i .fr2 { flex: 1 1 auto; }
.duo__i--w { aspect-ratio: 16 / 10.4; } .duo__i--v { aspect-ratio: 9 / 18.4; }
.seq { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; text-decoration: none; max-width: 1100px; }
.seq__film { grid-column: 1 / -1; aspect-ratio: 21 / 9; } .seq__film img { object-position: 50% 40%; }
.seq__v { aspect-ratio: 9 / 16; } .seq__p { grid-column: span 2; aspect-ratio: auto; }
.seq__p img { position: absolute; inset: 0; }
.chip--line { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ex { display: grid; grid-template-columns: 2fr 1fr 1fr; border-top: 1px solid var(--rule); }
.ex__i { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 28px 36px 0; }
.ex__i + .ex__i { padding-left: 28px; border-left: 1px solid var(--rule); }
.ex__i h3 a { text-decoration: none; } .ex__i h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.ex__i .s { color: var(--fg-3); max-width: 46ch; }
.ex__i .lab--hi { color: var(--blue-deep); }
.ex__l { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
@media (max-width: 700px) {
  .op { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .op__img, .op__vid { position: relative; inset: auto; aspect-ratio: 1 / 1; height: auto; }
  .op__vid { position: absolute; top: 0; }
  .op::after { bottom: auto; height: 110px; background: linear-gradient(180deg, rgba(12,13,15,.75), transparent); }
  .op__cap { top: calc(100vw - 40px); left: var(--m); right: auto; }
  .op__pp { top: calc(100vw - 52px); bottom: auto; }
  .op__t { position: static; display: block; padding: 24px var(--m) 40px; }
  .op__h { font-size: clamp(36px, 10.4vw, 44px); }
  .op .lead { margin-top: 14px; }
  .duo { height: auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
  .duo__i--w, .duo__i--v { aspect-ratio: auto; } .duo__i .fr2 { aspect-ratio: 9 / 16; }
  .duo__i--w .fr2 img { object-position: 36% 50%; }
  .seq { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .seq__film { aspect-ratio: 16 / 9; } .seq__p { grid-column: span 2; }
  .ex { grid-template-columns: 1fr; } .ex__i + .ex__i { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}
@media (prefers-reduced-motion: reduce) { .op__vid { display: none; } a:hover > .fr2 img, .seq:hover .fr2 img { transform: none; } }

/* Réalisations : légende sous l'image au lieu du panneau de verre */
.gcard--work { min-height: 0; display: flex; flex-direction: column; background: none; color: var(--fg); }
.gcard--work > picture, .gcard--work > img { display: contents; }
.gcard--work img { position: relative; inset: auto; aspect-ratio: 4 / 3; height: auto; }
.wrow--3 .gcard--work img { aspect-ratio: 4 / 5; }
.gcard--work video { aspect-ratio: inherit; top: 0; height: auto; bottom: auto; }
.gcard--work .gcard__p { position: static; padding: 14px 0 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; --fg: var(--ink); --fg-2: var(--taupe); --fg-3: var(--umber); --acc-tx: var(--blue); }
a.gcard--work:hover .gcard__p, a.gcard--work:focus-visible .gcard__p { box-shadow: none; transform: none; }
.gcard--work .chip--concept { color: var(--ink); background: none; box-shadow: inset 0 0 0 1px var(--ink); }
.gcard--work .chip--client { background: var(--ink); color: var(--paper); }
.gcard--work .lab--hi { color: var(--blue-deep); }
.gcard--work { overflow: hidden; }

/* Fiche projet : le film remonte */
.phero--proj { padding-bottom: clamp(32px, 4vw, 56px); }
.phero--proj .h1p { font-size: clamp(40px, 5vw, 72px); }
.phero--proj + .sec--first { padding-top: 32px; }

/* Contact : sur mobile, le formulaire avant les coordonnées */
@media (max-width: 900px) { .contact-page .csec__f { order: -1; } }

/* ── V4 suite : prix d'appel, UGC vertical, formulaire ─────────────── */
.pv-banner { position: relative; z-index: 70; margin: 0; padding: 8px var(--m); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink); background: #F2D94E; }
.entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; align-items: start; }
.entry { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--surface); }
.entry__p { font-size: clamp(32px, 3vw, 44px); }
.entry__l { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--fg-3); }
.entry__l li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; vertical-align: middle; background: var(--blue); }
.entries__cta { align-self: end; justify-self: start; }
.offer__p--from { font-size: clamp(30px, 2.6vw, 40px); }
.pkv { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 16px; align-items: end; }
.pkv .pk { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0 0 4px; }
.pkv .pk .s:last-child { font-size: 13px; color: var(--fg-2); }
.pkv__v { max-width: 300px; }
@media (max-width: 900px) { .pkv { grid-template-columns: 150px minmax(0, 1fr); } .pkv .pk__price { font-size: 64px; } }
.fm__intro { color: var(--fg-3); margin-top: -12px; max-width: 52ch; }
/* Démonstrations immobilières : légende sous l'image, plus sur l'image */
.demos { height: auto; grid-template-rows: none; }
.demos figure { display: flex; flex-direction: column; }
.demos img { aspect-ratio: 3 / 2; height: auto; }
.demos__a img { aspect-ratio: 4 / 3; }
.demos__cap { position: static; padding: 10px 0 0; background: none; color: var(--fg-3); --fg: var(--ink); }
.demos .chip--over { bottom: auto; top: 10px; }
.pv-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; text-align: center; }
.xrow__t h3 a { text-decoration: none; }
.xrow__t h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* ── V4.2 : bandeau clients, carrousel en profondeur, besoins ───────────
   Référence observée : darbyon.com (#carousel, rangée 9:16 au glisser,
   inertie, alignement sur la carte). La profondeur 3D est une proposition. */
.trust { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 6vw, 96px); flex-wrap: wrap; padding: 26px var(--m); background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-inv); }
.trust__t { color: var(--stone); }
.trust__l { display: flex; gap: clamp(32px, 7vw, 112px); align-items: center; }
.trust__m { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; color: var(--paper); text-decoration: none; opacity: .92; transition: opacity var(--t-fast) var(--ease); }
.trust__m:hover, .trust__m:focus-visible { opacity: 1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.js .trust__l li { animation: rise var(--t-slow) var(--ease) both; animation-delay: calc(200ms + var(--i) * 140ms); }
.trust :focus-visible { outline-color: var(--blue-light); }

.r3 { padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 6vw, 88px); overflow: hidden; }
.r3__h { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.r3__ctl { display: flex; align-items: center; gap: 8px; }
.r3__n { min-width: 6ch; text-align: right; font-variant-numeric: tabular-nums; margin-right: 10px; }
.r3__b { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; font-size: 18px; color: var(--paper); background: var(--veil); box-shadow: inset 0 0 0 1px var(--glass-line); transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.r3__b:hover { background: var(--blue); } .r3__b:active { transform: scale(.96); }
.r3__f { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; }
/* Base stable (sans script, mouvement réduit) : défilement horizontal */
.r3__v { outline: none; }
.r3__v:focus-visible { outline: 2px solid var(--blue-light); outline-offset: -2px; }
.r3__t { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--m) 8px; }
.r3__c { flex: 0 0 min(72vw, 380px); scroll-snap-align: center; display: flex; flex-direction: column; gap: 14px; }
.r3__m { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); }
.r3__m img, .r3__m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r3__m video { opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.r3__c.is-playing .r3__m video { opacity: 1; }
.r3__cap { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.r3__cap h3 a { text-decoration: none; } .r3__cap h3 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.r3__cap .s { color: var(--fg-2); }
/* Profondeur (script actif) */
.r3.is-3d .r3__v { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.r3.is-3d .r3__v.is-drag { cursor: grabbing; }
.r3.is-3d .r3__t { display: block; position: relative; overflow: visible; padding: 0; height: calc(min(30vw, 430px) * 1.25 + 150px); perspective: 1600px; perspective-origin: 50% 40%; }
.r3.is-3d .r3__c { position: absolute; top: 0; left: 50%; width: min(30vw, 430px); margin-left: calc(min(30vw, 430px) / -2);
  transform: translateX(calc(var(--d) * 64% + var(--dx, 0px))) translateZ(calc(var(--ad) * -280px)) rotateY(calc(var(--d) * -26deg));
  opacity: calc(1 - max(0, var(--ad) - 2)); z-index: calc(10 - var(--ad)); transition: transform 720ms cubic-bezier(.22,1,.36,1), opacity 400ms var(--ease); will-change: transform; }
.r3.is-3d .r3__v.is-drag .r3__c { transition: none; }
.r3.is-3d .r3__c:not(.is-active) .r3__m::after { content: ""; position: absolute; inset: 0; background: rgba(12,13,15,.42); transition: opacity 400ms var(--ease); }
.r3.is-3d .r3__c:not(.is-active) { cursor: pointer; }
.r3.is-3d .r3__cap { opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.r3.is-3d .r3__c.is-active .r3__cap { opacity: 1; transform: none; transition-delay: 260ms; }
@media (max-width: 700px) {
  .r3.is-3d .r3__t { height: calc(74vw * 1.25 + 160px); perspective: 900px; }
  .r3.is-3d .r3__c { width: 74vw; margin-left: -37vw; transform: translateX(calc(var(--d) * 88% + var(--dx, 0px))) translateZ(calc(var(--ad) * -160px)) rotateY(calc(var(--d) * -14deg)); }
  .r3__b { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .js .trust__l li { animation: none; } }

/* Besoins : grandes rangées image / texte, cadrage selon le média */
.needs2 { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 120px); }
.need2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.need2:nth-child(even) .need2__m { order: 2; }
.need2__m { display: block; }
.need2--ugc .need2__m { max-width: 340px; justify-self: center; width: 100%; }
.need2--product .need2__m { max-width: 460px; justify-self: center; width: 100%; }
.need2__t { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.need2__t .act { margin-top: 6px; }
.need2--sites .fr2 img { object-position: top center; box-shadow: 0 0 0 1px var(--rule); }
@media (max-width: 800px) { .need2 { grid-template-columns: 1fr; } .need2:nth-child(even) .need2__m { order: 0; } .need2--ugc .need2__m { max-width: 220px; justify-self: start; } .need2--product .need2__m { max-width: 300px; justify-self: start; } }
.r3.is-3d .r3__v img, .r3.is-3d .r3__v a { -webkit-user-drag: none; }
p, .lead, .s { text-wrap: pretty; }

/* ── V4.3 : pages de prestation ─────────────────────────────────────
   Même système que l'accueil : légendes .leg sous les médias, cadres
   .fr2, statuts en puce, sections à 140 px, une seule action par bloc. */
.ph { padding: calc(var(--hd) + 32px) 0 clamp(48px, 6vw, 88px); }
.ph__in { max-width: 1440px; margin-inline: auto; padding-inline: var(--m); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.ph__t { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ph__h { font-size: clamp(38px, 4.6vw, 68px); max-width: 15ch; }
.ph .lead { color: var(--mist); max-width: 52ch; }
.ph__price { display: flex; align-items: baseline; gap: 12px; font-size: 18px; font-weight: 500; padding-top: 14px; border-top: 1px solid var(--line-inv); }
.ph__price .lab { color: var(--stone); }
.ph__m { min-width: 0; }
/* Films : le film prend toute la largeur sous le texte */
.ph--wide .ph__in { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: end; }
.ph--wide .ph__m { grid-column: 1 / -1; }
.ph--wide .ph__t { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: clamp(32px, 5vw, 72px); row-gap: 18px; align-items: end; }
.ph--wide .ph__t > .crumbs, .ph--wide .ph__t > .ph__h { grid-column: 1; }
.ph--wide .ph__t > .lead, .ph--wide .ph__t > .ph__price, .ph--wide .ph__t > .act { grid-column: 2; }
.ph--wide .ph__h { grid-row: 2 / span 3; align-self: end; }
.vp--cine .vp__f { box-shadow: 0 0 0 1px var(--line-inv); }
.vp--cine .vp__play { width: 92px; height: 92px; }
.ph .leg { color: var(--stone); } .ph .leg > span:first-child { color: var(--paper); }
.ph .leg .chip { margin-right: 8px; vertical-align: 2px; }
.shots--hero { padding-bottom: 36px; } .shots--hero figcaption { color: var(--stone); }
.hpair { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: end; }
.hpair .fr2:first-child { aspect-ratio: 3 / 4; } .hpair .fr2:nth-child(2) { aspect-ratio: 4 / 5; }
.hpair figcaption { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .ph__in, .ph--wide .ph__in, .ph--wide .ph__t { grid-template-columns: 1fr; display: flex; flex-direction: column; align-items: stretch; }
  .ph--wide .ph__t > * { grid-column: auto; }
  .ph__t > * { align-self: flex-start; }
  .ph .ph__m { order: 0; }
}
@media (max-width: 560px) { .ph__h { font-size: clamp(32px, 9vw, 40px); } .vp--cine .vp__play { width: 72px; height: 72px; } }
.sh__note { max-width: 46ch; color: var(--fg-2); }
.chip--line { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
/* Preuve : deux commandes clients côte à côte (même hauteur) */
.pduo { display: flex; gap: 16px; height: clamp(340px, 36vw, 540px); }
.pcard { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.pcard .fr2 { flex: 1 1 auto; }
.pcard--w { aspect-ratio: 16 / 10.2; } .pcard--v { aspect-ratio: 9 / 18.2; }
@media (max-width: 700px) { .pduo { height: auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; } .pcard--w, .pcard--v { aspect-ratio: auto; } .pcard .fr2 { aspect-ratio: 9 / 16; } .pcard--w .fr2 img { object-position: 36% 50%; } }
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.roles li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--ink); }
.roles .s { color: var(--fg-3); }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }
/* Visuels produit : grands formats, deux par rangée */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pgrid .fr2 { aspect-ratio: 3 / 4; }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; gap: 10px; } }
/* Immobilier : trois livrables séparés */
.dlv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.dlv__i { display: flex; flex-direction: column; gap: 16px; }
.dlv__i .fr2 { aspect-ratio: 4 / 3; }
.dlv__t { display: flex; flex-direction: column; gap: 10px; }
.dlv__t .s { color: var(--fg-3); }
.dlv__use { font-size: 14px; }
.dlv__p { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--rule); font-weight: 500; }
.dlv__i--proj .lab--hi { color: var(--blue-deep); }
@media (max-width: 900px) { .dlv { grid-template-columns: 1fr; gap: 40px; } .dlv__i .fr2 { aspect-ratio: 3 / 2; } }
/* Ce que je réalise */
.mk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.mk .lead { margin-top: 14px; } @media (max-width: 800px) { .mk { grid-template-columns: 1fr; } }
/* Offres */
.ofrs__g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.ofr { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--surface); }
.ofr .btn { margin-top: auto; align-self: flex-start; }
.ofr__p { font-size: clamp(34px, 3.2vw, 48px); }
.ofr__in, .ofr__out { display: flex; flex-direction: column; gap: 8px; }
.ofr__l { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--fg-3); }
.ofr__l li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; vertical-align: middle; background: var(--blue); }
.ofr__l--out li::before { background: none; box-shadow: inset 0 0 0 1px var(--fg-2); }
.ofr--dark { background: var(--ink); color: var(--paper); --fg: var(--paper); --fg-2: var(--stone); --fg-3: var(--mist); --acc-tx: var(--blue-light); }
.ofr--note { background: none; box-shadow: inset 0 0 0 1px var(--rule); }
/* Déroulé + éléments à fournir */
.proc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.proc__s .steps { margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
.proc__p { padding: 32px; } .proc__p .list { margin-top: 14px; }
@media (max-width: 900px) { .proc { grid-template-columns: 1fr; } }
.lim2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 20px 56px; }
.lim2 ul { display: flex; flex-direction: column; gap: 10px; } .lim2 li { color: var(--fg-3); padding-left: 16px; position: relative; }
.lim2 li::before { content: "—"; position: absolute; left: 0; color: var(--fg-2); }
@media (max-width: 800px) { .lim2 { grid-template-columns: 1fr; } }
/* Critique 1 (hiérarchie) : les captures de preuve gardent une hauteur comparable */
.proofweb .pw--wide .pw__f { max-height: 560px; }
.proofweb .pw--wide .pw__f img { height: 100%; object-fit: cover; object-position: top center; }
.proofweb { grid-template-columns: minmax(0, .55fr) minmax(0, 1.2fr) minmax(0, 1.6fr); align-items: start; }
.proofweb .pw, .proofweb .pw:nth-child(n) { grid-column: auto; }
@media (max-width: 900px) { .proofweb { grid-template-columns: .7fr 1.3fr; } .proofweb .pw:last-child { grid-column: 1 / -1; } }
/* Critique 2 (composition mobile) : le média vient juste après le titre */
@media (max-width: 900px) {
  .ph .ph__t, .ph.ph--wide .ph__t { display: contents; }
  .ph__in { gap: 18px; }
  .ph .crumbs { order: 0; } .ph__h { order: 1; } .ph .ph__m { order: 2; } .ph__price { order: 3; } .ph .act { order: 4; } .ph .lead { order: 5; }
  .ph__in > * , .ph__t > * { align-self: stretch; }
  .ph .act, .ph__price, .ph__h, .ph .crumbs { align-self: flex-start; }
}
/* V4.4 · passe éditoriale : le prix vit dans l'ouverture et dans l'offre,
   l'essentiel garde trois repères ; chaque offre dit son livrable */
@media (min-width: 481px) {
  .ess .ess__dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ess .ess__dl > div:nth-child(3) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .ess .ess__dl > div:nth-child(n+3) { border-top: 0; }
}
.ofr__d { font-size: 17px; line-height: 1.45; max-width: 36ch; text-wrap: pretty; }
.ofr--dark .ofr__d { color: var(--paper); }
/* Le déroulé sur téléphone : une étape par ligne, plutôt que deux colonnes de 7 lignes */
@media (max-width: 600px) { .proc__s .steps { grid-template-columns: 1fr; gap: 14px; } .proc__s .steps li { padding-top: 14px; gap: 6px; } }
.ofr--note { align-self: start; }
.list li, .ofr__l li, .lim2 li { text-wrap: pretty; }
