/* =========================================================
   NAIFOS WEB — Verre et profondeur
   Reconstruit à partir de naifos-verre-2.html (langage visuel :
   couleurs, calques de fond, matière du verre, typographie).
   Noms de classes, structure et logique JS : ceux du site,
   jamais ceux de la maquette. Voir BRIEF-BASCULE.md et
   ADDENDUM-PHASE0.md.
   ========================================================= */

:root{
  --vide:#04070C;
  --lueur:#7FA8D9;
  --texte:#EAEEF5;
  --texte-2:#A8B6C8;
  --texte-3:#8091A6;
  --chrome:linear-gradient(101deg,#FFF 0%,#AFBCCC 22%,#F4F7FA 42%,#7E8FA5 62%,#E6EBF1 80%,#93A2B5 100%);
  --fd:'Archivo',system-ui,sans-serif;
  --fc:'Instrument Sans',system-ui,sans-serif;
  --fm:'Martian Mono','SF Mono',ui-monospace,monospace;
  --marge:clamp(20px,5vw,72px);
}

/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body{
  margin: 0;
  background: var(--vide);
  color: var(--texte);
  font-family: var(--fc);
  font-size: clamp(15px, .55vw + 13.6px, 17px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked{ overflow: hidden; }

img{ max-width: 100%; display: block; }
a{ color: inherit; }
button{ font: inherit; }

::selection{ background: var(--lueur); color: var(--vide); }

/* ---------------------------------------------------------
   Calques de fond — verre et profondeur
   --------------------------------------------------------- */
.fond{ position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.halo{ position: absolute; border-radius: 50%; will-change: transform; }
.halo--1{
  width: 70vw; height: 70vw; left: -14vw; top: -24vw;
  background: radial-gradient(circle, rgba(127,168,217,.30), transparent 66%);
  animation: derive1 46s ease-in-out infinite alternate;
}
.halo--2{
  width: 58vw; height: 58vw; right: -16vw; top: 24vh;
  background: radial-gradient(circle, rgba(88,132,190,.26), transparent 66%);
  animation: derive2 58s ease-in-out infinite alternate;
}
.halo--3{
  width: 52vw; height: 52vw; left: 26vw; bottom: -22vw;
  background: radial-gradient(circle, rgba(150,124,196,.20), transparent 66%);
  animation: derive3 52s ease-in-out infinite alternate;
}
@keyframes derive1{ to{ transform: translate3d(9vw, 7vh, 0); } }
@keyframes derive2{ to{ transform: translate3d(-11vw, -9vh, 0); } }
@keyframes derive3{ to{ transform: translate3d(7vw, -8vh, 0); } }

.grille{
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 130% 90% at 50% 26%, #000 8%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 130% 90% at 50% 26%, #000 8%, transparent 74%);
}

.grain{
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

main, header, footer{ position: relative; z-index: 2; }

/* ---------------------------------------------------------
   La plaque de verre
   --------------------------------------------------------- */
.verre{
  position: relative; border-radius: 16px; isolation: isolate;
  -webkit-backdrop-filter: blur(16px) saturate(200%);
  backdrop-filter: blur(16px) saturate(200%);
  border: 1px solid transparent;
  background:
    linear-gradient(178deg, rgba(255,255,255,.12), rgba(255,255,255,.022)) padding-box,
    linear-gradient(146deg, rgba(255,255,255,.65), rgba(255,255,255,.08) 26%, rgba(255,255,255,.05) 58%, rgba(127,168,217,.45)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(0,0,0,.30),
    0 24px 54px -22px rgba(0,0,0,.82),
    0 3px 10px -4px rgba(0,0,0,.5);
  transition: box-shadow .3s ease, transform .3s ease;
}
/* Reflet fixe en haut à gauche, révélé au survol : pas de suivi du
   curseur ici (--mx/--my de la maquette), aucune addition à main.js
   n'étant prévue pour l'instant. Voir ADDENDUM-PHASE0.md. */
.verre::before{
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(340px circle at 12% 0%, rgba(255,255,255,.16), transparent 62%);
  opacity: .4; transition: opacity .4s ease;
}
.verre:hover::before{ opacity: 1; }
.verre:hover{
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(0,0,0,.30),
    0 32px 64px -22px rgba(0,0,0,.86), 0 3px 10px -4px rgba(0,0,0,.5);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .verre{
    background:
      linear-gradient(178deg, rgba(18,28,44,.92), rgba(10,16,28,.94)) padding-box,
      linear-gradient(146deg, rgba(255,255,255,.4), rgba(127,168,217,.3)) border-box;
  }
}

:focus-visible{
  outline: 2px solid var(--lueur);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip{
  position: fixed; top: -100px; left: 12px; z-index: 200;
  background: var(--lueur); color: var(--vide); padding: 10px 16px;
  text-decoration: none; font-size: 14px; font-weight: 600;
  border-radius: 8px; transition: top .25s ease;
}
.skip:focus{ top: 12px; }

.wrap{
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--marge);
}

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
}

/* ---------------------------------------------------------
   Bandes
   La maquette n'alterne pas fond clair / fond sombre : tout repose
   sur le calque .fond fixe derrière la page. .band--paper et
   .band--ink restent comme points d'ancrage HTML mais ne posent
   plus de fond propre — c'est voulu, pas un oubli.
   --------------------------------------------------------- */
.band{ padding-block: clamp(72px, 10vw, 132px); position: relative; }

/* ---------------------------------------------------------
   Typographie partagée
   --------------------------------------------------------- */
.eyebrow{
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lueur);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before{
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .6;
  flex: none;
}

.h2{
  font-family: var(--fd);
  font-variation-settings: "wdth" 108, "wght" 620;
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

.sec-head{ margin-bottom: clamp(36px, 5vw, 64px); max-width: 34ch; }
.sec-head--row{
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.sec-head__note{
  font-family: var(--fm);
  font-size: 11px;
  color: var(--texte-2);
  margin: 0;
  letter-spacing: .04em;
}
.sec-head--wide{ max-width: 60ch; }
.sec-head__lead{
  margin: 14px 0 0;
  color: var(--texte-2);
  font-size: 15px;
  max-width: 56ch;
}

/* ---------------------------------------------------------
   En-tête
   --------------------------------------------------------- */
.head{
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  background: color-mix(in srgb, var(--vide) 42%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.head.is-stuck{ border-bottom-color: rgba(255,255,255,.07); }

.head__bar{
  max-width: 1240px;
  margin-inline: auto;
  padding: 14px var(--marge);
  display: flex;
  align-items: center;
  gap: 28px;
}

.head__progress{
  height: 2px;
  background: var(--lueur);
  width: 0%;
  transition: width .1s linear;
}

.logo{
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-right: auto;
}
.logo__mark{ display: flex; opacity: .9; }
.logo__mark img{ height: 22px; width: auto; display: block; }
.logo__type{
  font-family: var(--fd);
  font-variation-settings: "wdth" 112, "wght" 700;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--texte);
}
.logo__type em{
  font-style: normal;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--texte-3);
  margin-left: 6px;
  text-transform: uppercase;
}

.nav{ display: flex; gap: 26px; }
.nav a{
  text-decoration: none;
  font-size: 14px;
  color: var(--texte-2);
  position: relative;
  padding-block: 4px;
  transition: color .25s ease;
}
.nav a::after{
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--texte);
  transition: width .3s ease;
}
.nav a:hover, .nav a:focus-visible{ color: var(--texte); }
.nav a:hover::after, .nav a:focus-visible::after{ width: 100%; }

.burger{
  display: none;
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  width: 40px; height: 34px;
  color: var(--texte);
  border-radius: 8px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.burger span{ display: block; width: 16px; height: 1px; background: currentColor; transition: transform .3s ease; }
.burger[aria-expanded="true"] span:first-child{ transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child{ transform: translateY(-3px) rotate(-45deg); }

.drawer{
  position: fixed; top: 63px; left: 0; right: 0; z-index: 89;
  background: rgba(4,7,12,.94);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.09);
  padding: 8px var(--marge) 20px;
  display: flex; flex-direction: column;
}
.drawer[hidden]{ display: none; }
.drawer a{
  text-decoration: none;
  color: var(--texte);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-family: var(--fd);
  font-variation-settings: "wdth" 105, "wght" 600;
  font-size: 20px;
}

/* ---------------------------------------------------------
   Boutons
   --------------------------------------------------------- */
.btn{
  --btn-bg: transparent;
  --btn-fg: var(--texte);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border: 1px solid rgba(255,255,255,.2);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  font-family: var(--fc);
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease, color .3s ease, transform .3s ease, background .3s ease;
}
.btn span{ position: relative; z-index: 1; }
.btn__icon{ position: relative; z-index: 1; flex: none; }
.btn .dot{
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--lueur);
  position: relative; z-index: 1;
  transition: transform .35s ease;
}
/* Balayage lumineux au survol : rappel du chrome */
.btn::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.16) 50%, transparent 80%);
  transform: translateX(-110%);
  transition: transform .6s ease;
}
.btn:hover::before{ transform: translateX(110%); }
.btn:hover{ border-color: rgba(255,255,255,.4); }
.btn:hover .dot{ transform: scale(1.9); }

.btn--primary{
  --btn-bg: #EEF1F6;
  --btn-fg: #04070C;
  border-color: transparent;
}
.btn--primary .dot{ background: var(--lueur); }
.btn--primary:hover{
  --btn-bg: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(127,168,217,.3);
}
.btn--sm{ padding: 9px 16px; font-size: 13px; }
.btn--ghost{
  background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--ghost:hover{ background: rgba(255,255,255,.12); box-shadow: none; }
.btn--full{ width: 100%; justify-content: center; }

/* ---------------------------------------------------------
   Hero
   L'atmosphère vient du calque .fond global : pas de grille ni de
   halo propres à cette section.
   --------------------------------------------------------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 90px;
  overflow: hidden;
}

.hero__inner{ position: relative; }

.hero__title{ margin: 0 0 30px; }
.hero__title .line{ display: block; overflow: hidden; }

/* Séquence d'ouverture : le mot-marque monte, la ligne d'appui suit */
@keyframes rise{ from{ transform: translateY(102%); } }
@keyframes fadeUp{ from{ opacity: 0; transform: translateY(14px); } }
.hero__title .chrome{ animation: rise 1.1s ease .05s both; }
.hero__sub{ animation: fadeUp .8s ease .5s both; }

/* --- Le mot-marque chromé : signature du site, conserve
   --sheen-x/--sheen-y posés par main.js sur #chrome --- */
.chrome{
  display: block;
  font-family: var(--fd);
  font-variation-settings: "wdth" 118, "wght" 800;
  font-size: clamp(66px, 17.5vw, 236px);
  line-height: .84;
  letter-spacing: -.035em;
  background: var(--chrome);
  background-size: 260% 260%;
  background-position: var(--sheen-x, 50%) var(--sheen-y, 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position .35s ease;
  padding-bottom: .06em;
}

.hero__sub{
  font-family: var(--fm);
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--texte-2);
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px;
}
.hero__sub i{ flex: 1; max-width: 220px; height: 1px; background: rgba(255,255,255,.14); }

.hero__lead{
  max-width: 46ch;
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--texte-2);
  margin: 0 0 34px;
}

.hero__cta{ display: flex; gap: 14px; flex-wrap: wrap; }

/* Bandeau défilant */
.ticker{
  position: absolute; bottom: 0; left: 0; right: 0;
  border-top: 1px solid rgba(255,255,255,.09);
  border-bottom: 1px solid rgba(255,255,255,.09);
  padding: 14px 0;
  overflow: hidden;
  background: rgba(4,7,12,.4);
}
.ticker__run{
  display: flex; align-items: center; gap: 26px;
  width: max-content;
  animation: run 38s linear infinite;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-2);
}
.ticker__run i{ width: 4px; height: 4px; background: var(--lueur); border-radius: 50%; opacity: .8; }
@keyframes run{ to{ transform: translateX(-50%); } }

/* ---------------------------------------------------------
   Positionnement
   --------------------------------------------------------- */
.statement__body p{ margin: 0 0 18px; color: var(--texte-2); max-width: 52ch; }
.statement__body p:last-child{ margin-bottom: 0; }

/* ---------------------------------------------------------
   Services
   --------------------------------------------------------- */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card{
  padding: clamp(26px, 3vw, 40px);
}
.card__title{
  font-family: var(--fd);
  font-variation-settings: "wdth" 100, "wght" 640;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.card__text{ margin: 0 0 22px; color: var(--texte-2); font-size: 14.5px; }
.card__list{ list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.09); }
.card__list li{
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: 14px;
  color: var(--texte-2);
  position: relative;
}
.card__list li::before{
  content: "";
  position: absolute; left: 0; top: 19px;
  width: 8px; height: 1px;
  background: var(--lueur);
}

/* ---------------------------------------------------------
   Tarifs
   --------------------------------------------------------- */
.tarifs{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.tarif{
  color: var(--texte);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
}
.tarif__nom{
  font-family: var(--fd);
  font-variation-settings: "wdth" 100, "wght" 640;
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.tarif__prix{
  font-family: var(--fd);
  font-variation-settings: "wdth" 112, "wght" 700;
  font-size: clamp(17px, 1.5vw, 22px);
  margin: 0 0 14px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.tarif__desc{ margin: 0 0 20px; color: var(--texte-2); font-size: 14.5px; }
.tarif--phare .tarif__desc{ color: var(--texte); }
.tarif__liste{ list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid rgba(255,255,255,.09); }
.tarif__liste li{
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: 14.5px;
  color: var(--texte-2);
  position: relative;
}
.tarif__liste li::before{
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 8px; height: 1px;
  background: var(--lueur);
}
.tarif__cta{ margin-top: auto; align-self: flex-start; }

/* Mise en avant d'une seule formule : bordure et remplissage teintés,
   pas d'animation ni d'agrandissement — un seul niveau de mise en avant. */
.tarif--phare{
  background:
    linear-gradient(178deg, rgba(127,168,217,.16), rgba(255,255,255,.03)) padding-box,
    linear-gradient(146deg, rgba(255,255,255,.6), rgba(127,168,217,.5) 60%, rgba(127,168,217,.4)) border-box;
}
.tarif__badge{
  position: absolute; top: 14px; right: 14px;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,.4);
  padding: 3px 9px;
  border-radius: 20px;
}

.tarifs__bandeau{
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.09);
  margin-bottom: 14px;
}
.tarifs__bandeau p{ margin: 0; font-size: 14px; color: var(--texte-2); }
.tarifs__bandeau strong{ color: var(--texte); font-weight: 600; }
.tarifs__mentions{
  margin: 0;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--texte-3);
}

/* ---------------------------------------------------------
   Réalisations
   --------------------------------------------------------- */
.filters{
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 34px;
}
.filter{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--texte-2);
  padding: 8px 16px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.filter:hover{ color: var(--texte); border-color: rgba(255,255,255,.4); }
.filter[aria-pressed="true"]{
  background: var(--texte);
  border-color: var(--texte);
  color: var(--vide);
}

.work{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
}

.proj{
  position: relative;
  text-align: left;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  color: inherit;
  display: block;
  width: 100%;
  transition: transform .5s ease;
  animation: pop .5s ease both;
}
@keyframes pop{ from{ opacity: 0; transform: translateY(14px); } }

/* Carte vedette : première réalisation, pleine largeur */
.proj--featured{ grid-column: 1 / -1; }
.proj--featured .proj__visual{ aspect-ratio: 21 / 9; }
.proj--featured .proj__title{ font-size: clamp(22px, 2.6vw, 30px); }

.proj__visual{
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #1B2230 0%, #0B0E15 70%);
  display: flex; align-items: center; justify-content: center;
}
.proj__visual img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease, opacity .4s ease;
}
.proj:hover .proj__visual img{ transform: scale(1.045); }

/* Visuel de repli quand aucune image n'est fournie */
.proj__initials{
  font-family: var(--fd);
  font-variation-settings: "wdth" 118, "wght" 800;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -.03em;
  background: var(--chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .5;
}
.proj__scan{
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.10) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform .9s ease;
  pointer-events: none;
}
.proj:hover .proj__scan{ transform: translateX(100%); }

/* Aperçu vivant : iframe créée par main.js au survol / à l'entrée à
   l'écran. Le JS pose width/height/transform en style inline sur
   l'iframe : ce CSS ne doit ni les redéfinir ni les contrarier. */
.proj__live{
  position: absolute; inset: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .5s ease, transform .6s ease;
  pointer-events: none;
}
.proj__live.is-pret{ opacity: 1; transform: scale(1); }
.proj__live iframe{
  position: absolute; top: 0; left: 0;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
}

.proj__info{
  padding: 20px 22px 22px;
  display: flex; align-items: flex-start; gap: 16px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.proj__title{
  display: block;
  font-family: var(--fd);
  font-variation-settings: "wdth" 100, "wght" 620;
  font-size: 19px;
  margin: 0 0 4px;
  letter-spacing: -.01em;
}
.proj__meta{
  display: block;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texte-2);
  margin: 0;
}
.proj__resume{
  display: block;
  margin-top: 10px;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--texte-2);
}
.proj__go{
  margin-left: auto;
  flex: none;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--texte-2);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.proj:hover .proj__go{ background: var(--texte); color: var(--vide); border-color: var(--texte); }

.work__empty{
  font-family: var(--fm);
  font-size: 12px;
  color: var(--texte-2);
  padding: 40px 0;
}

/* ---------------------------------------------------------
   Fiche projet
   --------------------------------------------------------- */
.sheet{ position: fixed; inset: 0; z-index: 120; display: flex; justify-content: flex-end; }
.sheet[hidden]{ display: none; }
.sheet__scrim{
  position: absolute; inset: 0;
  background: rgba(4,6,10,.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade .3s ease both;
}
@keyframes fade{ from{ opacity: 0; } }

.sheet__panel{
  position: relative;
  width: min(620px, 100%);
  background: rgba(6,9,14,.96);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border-left: 1px solid rgba(255,255,255,.09);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 52px);
  animation: slide .45s ease both;
}
@keyframes slide{ from{ transform: translateX(40px); opacity: 0; } }

.sheet__close{
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--texte);
  font-size: 22px; line-height: 1;
  cursor: pointer; border-radius: 50%;
  transition: background .25s ease, color .25s ease;
}
.sheet__close:hover{ background: var(--texte); color: var(--vide); }

.sheet__cover{
  aspect-ratio: 16/10;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  margin-bottom: 28px;
  background: radial-gradient(120% 100% at 20% 0%, #1B2230 0%, #0B0E15 70%);
  display: grid; place-items: center; overflow: hidden;
}
.sheet__cover img{ width: 100%; height: 100%; object-fit: cover; }

.sheet h3{
  font-family: var(--fd);
  font-variation-settings: "wdth" 108, "wght" 680;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.sheet__sub{
  font-family: var(--fm);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--texte-2); margin: 0 0 26px;
}
.sheet__text{ color: var(--texte-2); margin: 0 0 26px; }

.sheet__facts{ margin: 0 0 26px; border-top: 1px solid rgba(255,255,255,.09); }
.sheet__facts div{
  display: flex; justify-content: space-between; gap: 20px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: 14px;
}
.sheet__facts dt{ color: var(--texte-2); font-family: var(--fm); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.sheet__facts dd{ margin: 0; text-align: right; }

.tags{ display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 28px; padding: 0; list-style: none; }
.tags li{
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  padding: 5px 12px;
  font-family: var(--fm);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--texte-2);
}

/* ---------------------------------------------------------
   Méthode
   --------------------------------------------------------- */
.steps{
  list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step{ padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.2vw, 30px); }
.step__num{
  font-family: var(--fm);
  font-size: 11px; letter-spacing: .16em;
  color: var(--lueur);
  display: block; margin-bottom: 20px;
}
.step__title{
  font-family: var(--fd);
  font-variation-settings: "wdth" 100, "wght" 640;
  font-size: 20px; margin: 0 0 10px; letter-spacing: -.01em;
}
.step p{ margin: 0; font-size: 14.5px; color: var(--texte-2); }

.pledges{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.pledges li{ border-top: 1px solid rgba(255,255,255,.09); padding-top: 16px; }
.pledges strong{
  display: block;
  font-family: var(--fd);
  font-variation-settings: "wdth" 108, "wght" 700;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -.015em;
  margin-bottom: 6px;
}
.pledges span{ font-size: 13px; color: var(--texte-3); }

/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */
.contact__grid{ align-items: start; }
.contact__lead{ color: var(--texte-2); max-width: 44ch; margin: 20px 0 34px; }

.contact__meta{ margin: 0; border-top: 1px solid rgba(255,255,255,.09); }
.contact__whatsapp{
  margin-top: 24px;
  --btn-bg: #25D366;
  --btn-fg: #FFFFFF;
  border-color: transparent;
}
.contact__whatsapp:hover{
  --btn-bg: #2FE070;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(37,211,102,.35);
}
.contact__meta div{
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.09);
}
.contact__meta dt{
  font-family: var(--fm); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--texte-2);
}
.contact__meta dd{ margin: 0; font-size: 15px; }
.contact__meta a{ text-decoration: none; color: var(--texte); border-bottom: 1px solid rgba(255,255,255,.18); }
.contact__meta a:hover{ border-color: var(--texte); }

/* Le formulaire n'a pas son propre fond/bordure : il vit à
   l'intérieur d'un conteneur .verre (posé en phase 2), qui les
   fournit déjà. En ajouter ici les écraserait. */
.form{ padding: clamp(24px, 3vw, 38px); }
.field{ margin-bottom: 18px; }
.field label{
  display: block;
  font-family: var(--fm);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--texte-2); margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--texte);
  padding: 12px 14px;
  font-family: var(--fc);
  font-size: 15px;
  border-radius: 10px;
  transition: border-color .25s ease, background .25s ease;
}
.field textarea{ resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover{ border-color: rgba(255,255,255,.32); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible{
  border-color: var(--lueur);
  background: rgba(255,255,255,.08);
}
.field input::placeholder, .field textarea::placeholder{ color: var(--texte-3); }
.field input:user-invalid, .field textarea:user-invalid{ border-color: #FF6B6B; }

.form__note{
  font-family: var(--fm); font-size: 11px;
  color: var(--texte-2); margin: 14px 0 0; min-height: 1em;
}

/* ---------------------------------------------------------
   Pied de page
   --------------------------------------------------------- */
.foot{ border-top: 1px solid rgba(255,255,255,.07); padding-block: 28px; }
.foot__bar{
  display: flex; justify-content: space-between;
  align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--texte-2);
}
.foot nav{ display: flex; gap: 22px; }
.foot a{ text-decoration: none; }
.foot a:hover{ color: var(--texte); }

/* ---------------------------------------------------------
   Apparitions au défilement
   --------------------------------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.is-in{ opacity: 1; transform: none; }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 980px){
  .nav{ display: none; }
  .head .btn--sm{ display: none; }
  .burger{ display: flex; }
  .grid-2{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .pledges{ grid-template-columns: repeat(2, 1fr); }
  .tarifs{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px){
  .work{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .pledges{ grid-template-columns: 1fr; }
  .tarifs{ grid-template-columns: 1fr; }
  .hero{ min-height: 92svh; }
  .sheet__panel{ width: 100%; border-left: 0; }
  .sec-head--row{ align-items: flex-start; }
  .verre{ -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
}

/* ---------------------------------------------------------
   Mouvement réduit
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal{ opacity: 1; transform: none; }
  .proj__live{ display: none; }
}

/* Impression */
@media print{
  .head, .ticker, .sheet, .drawer, .grain, .fond{ display: none !important; }
  body{ background: #fff; color: #000; }
}
