/* Concept : un tableau de départs d'aéroport annonce l'entreprise, puis ses
   palettes s'ouvrent sur le reste du site. Noir de boîtier, blanc de page,
   un seul jaune de tableau. Coins francs partout. */
:root {
  --boitier: #0C0D0F;
  --encre: #101114;
  --papier: #FFFFFF;
  --jaune: #FFD21F;
  --gris: #5C5E66;
  --ligne: #D8D9DD;
  --lien: #0000EE;
  --titre: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, Menlo, monospace;
  --vif: cubic-bezier(.16, 1, .3, 1);
  --nav: 44px;
  --marge: max(clamp(16px, 4vw, 72px), env(safe-area-inset-left, 0px));
  --marge-d: max(clamp(16px, 4vw, 72px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav); }
body {
  margin: 0;
  background: var(--boitier);
  color: var(--encre);
  font-family: var(--titre);
  font-size: 18px;
  line-height: 1.45;
  overflow-x: clip;
}
p, h1, h2, h3, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; border-radius: 0; }
:focus-visible { outline: 3px solid var(--lien); outline-offset: 2px; }

.pour-lecteur {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.etiquette { font: 500 13px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.bouton {
  display: inline-block;
  padding: 16px 26px;
  background: var(--encre);
  color: #fff;
  border: 0;
  font: 700 17px/1 var(--titre);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--vif);
}
.bouton:hover { transform: translateY(-2px); }
.bouton:active { transform: none; }

/* ---------- Barre du haut ---------- */
.nav {
  position: fixed;
  z-index: 20;
  top: 0; left: 0; right: 0;
  height: calc(var(--nav) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--marge-d) 0 var(--marge);
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--boitier);
  color: #fff;
  font: 400 13px/1 var(--mono);
}
.nav-marque { font-weight: 600; text-decoration: none; margin-right: auto; }
.nav-marque span, .pied-marque span { color: var(--jaune); }
.nav-liens { display: flex; gap: 22px; }
.nav-liens a { text-decoration: none; color: #C9CACE; transition: color .15s; }
.nav-liens a:hover { color: #fff; }
.nav-son { background: none; border: 0; padding: 6px 0; font: inherit; color: #8D8F96; cursor: pointer; }
.nav-son[aria-pressed="true"] { color: var(--jaune); }
.nav-cta { background: var(--jaune); color: var(--encre); padding: 7px 12px; font-weight: 600; text-decoration: none; }

/* ---------- Accueil : le tableau s'ouvre sur le manifeste ---------- */
.accueil { position: relative; height: 340svh; background: #fff; }
.colle { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #fff; }
.mur { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.barre {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  padding: 16px var(--marge-d) calc(16px + env(safe-area-inset-bottom, 0px)) var(--marge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  background: var(--jaune);
}
.barre h1 { font: 700 clamp(19px, 1.9vw, 30px)/1.15 var(--titre); }
.manifeste {
  position: absolute;
  inset: 0;
  padding: calc(var(--nav) + 16px) var(--marge-d) 24px var(--marge);
  display: flex;
  align-items: center;
}
#mots {
  max-width: 21em;
  font: 800 clamp(32px, 5.1vw, 92px)/1.04 var(--titre);
  font-stretch: 78%;
  letter-spacing: -.012em;
}
#mots span { opacity: .1; }
#mots span.fort { background: var(--jaune); box-shadow: .08em 0 0 var(--jaune), -.08em 0 0 var(--jaune); }

/* ---------- Avec et sans design ---------- */
.difference { background: var(--boitier); color: #fff; padding-top: clamp(72px, 9vw, 130px); }
.difference-tete { padding: 0 var(--marge-d) clamp(24px, 3.4vw, 48px) var(--marge); }
.compare-piste { height: 235svh; }
.compare-colle { position: sticky; top: var(--nav); height: calc(100svh - var(--nav)); }
.difference-tete .etiquette { color: var(--jaune); }
.difference-tete h2 { margin-top: 8px; font: 900 clamp(38px, 7vw, 124px)/.98 var(--titre); font-stretch: 66%; text-transform: uppercase; }
.compare {
  position: relative;
  --x: 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  color: #000;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.brut { position: absolute; inset: 0; background: #fff; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.compare-mot {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 12px;
  padding: 7px 11px;
  background: var(--encre);
  color: #fff;
  font: 600 13px/1 var(--mono);
}
.compare-mot--apres { left: auto; right: 12px; background: var(--jaune); color: var(--encre); }
.poignee { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--encre); pointer-events: none; }
.poignee span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 12px;
  background: var(--jaune);
  color: var(--encre);
  font: 600 13px/1 var(--mono);
}
.glissiere { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.glissiere:focus-visible + * { outline: none; }

/* ---------- Services ---------- */
.services { background: #fff; padding: clamp(72px, 9vw, 130px) var(--marge-d) clamp(56px, 7vw, 110px) var(--marge); }
.services-tete h2 { margin-top: 8px; font: 900 clamp(38px, 7vw, 124px)/.98 var(--titre); font-stretch: 66%; text-transform: uppercase; }
.services-liste { margin-top: clamp(24px, 3.4vw, 48px); border-bottom: 2px solid var(--encre); }
.services-liste li {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 8px 40px;
  align-items: baseline;
  padding: clamp(16px, 2vw, 28px) 0;
  border-top: 2px solid var(--encre);
}
.services-liste li::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 calc(var(--marge-d) * -1) 0 calc(var(--marge) * -1);
  background: var(--jaune);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--vif);
}
.services-liste li:hover::before { transform: scaleX(1); }
.services-liste h3 { font: 800 clamp(30px, 4.4vw, 76px)/1.02 var(--titre); font-stretch: 80%; letter-spacing: -.01em; transition: transform .45s var(--vif); }
.services-liste li:hover h3 { transform: translateX(14px); }
.services-liste p { max-width: 30em; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.36; }

/* ---------- Prix ---------- */
.prix { position: relative; background: var(--jaune); height: 245vh; }
.prix-colle {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: var(--nav) var(--marge-d) 0 var(--marge);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 96px);
  overflow: hidden;
}
.prix-texte { align-self: center; min-width: 0; padding-bottom: 24px; }
.prix-montant {
  margin: 10px 0 18px;
  font: 900 clamp(58px, 9.4vw, 176px)/.92 var(--titre);
  font-stretch: 62%;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.prix-phrase { max-width: 27em; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.32; font-weight: 500; }
.prix-note { margin: 12px 0 22px; font: 500 14px/1.4 var(--mono); }
.imprimante { position: relative; min-width: 0; justify-self: center; width: min(540px, 100%); align-self: start; padding-top: 22px; }
.fente { position: relative; z-index: 2; height: 14px; margin: 0 -14px; background: var(--encre); }
.papier { position: relative; overflow: hidden; height: calc(100svh - 80px); padding-bottom: 12px; }
.recu {
  position: relative;
  padding: 1.5em 1.5em 1.3em;
  background: #fff;
  color: var(--encre);
  font: 400 clamp(11.5px, 1.75vh, 19px)/1.5 var(--mono);
  transform: translateY(-101%);
  will-change: transform;
}
.recu::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 8px;
  background: conic-gradient(from -45deg at bottom, #fff 90deg, transparent 0) 0 0 / 14px 8px repeat-x;
}
.recu p { margin: 0; }
.recu hr { margin: .9em 0; border: 0; border-top: 1px dashed var(--encre); }
.recu-tete { font-weight: 600; font-size: 1.22em; text-align: center; }
.recu .recu-info { display: flex; justify-content: space-between; margin-top: .6em; font-size: .92em; }
.l { display: flex; align-items: baseline; gap: .4em; }
.l span { min-width: 0; }
.l i { flex: 1; min-width: 1em; border-bottom: 1px dotted var(--encre); transform: translateY(-.25em); }
.l b { font-weight: 500; white-space: nowrap; }
.recu .recu-total { margin-top: .25em; font-size: 1.55em; font-weight: 600; }
.recu-total b { font-weight: 600; }
.recu .recu-note { margin-top: .3em; text-align: right; font-size: .92em; }
.code { height: 3.6em; margin-top: .2em; }
.recu .recu-pied { margin-top: .6em; text-align: center; font-size: .86em; color: var(--gris); }

/* ---------- Comment ça marche ---------- */
.etapes {
  position: relative;
  background: #fff;
  padding: clamp(72px, 10vw, 150px) var(--marge-d) clamp(64px, 9vw, 140px) var(--marge);
  overflow: hidden;
}
.etapes-titre {
  font: 900 8vw/.92 var(--titre);
  font-variation-settings: 'wdth' 62, 'wght' 900;
  white-space: nowrap;
  text-transform: uppercase;
  margin-bottom: clamp(32px, 4.4vw, 64px);
}
.etapes-liste { counter-reset: etape; }
.etape {
  counter-increment: etape;
  display: grid;
  grid-template-columns: clamp(30px, 5vw, 96px) minmax(0, 1fr);
  padding: clamp(16px, 2.2vw, 32px) 0;
  border-top: 2px solid var(--encre);
  font: 700 clamp(26px, 4.1vw, 72px)/1.08 var(--titre);
  font-stretch: 80%;
  letter-spacing: -.01em;
}
.etape::before { content: counter(etape); font: 500 clamp(13px, 1.1vw, 16px)/1.6 var(--mono); }
.etape span { min-width: 0; }
.etape mark {
  background: linear-gradient(var(--jaune), var(--jaune)) 0 88% / calc(var(--s, 0) * 100%) 78% no-repeat;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Qui je suis ---------- */
.moi {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 100svh;
  background: var(--boitier);
}
.moi-texte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 72px 56px;
  padding-left: clamp(24px, 4vw, 80px);
  padding-right: var(--marge-d);
  background: #fff;
  color: var(--encre);
  container-type: inline-size;
}
.moi-texte h2 {
  margin-top: 12px;
  font: 900 15cqi/.94 var(--titre);
  font-stretch: 62%;
  text-transform: uppercase;
}
.moi-ligne { display: block; overflow: hidden; padding-top: .03em; }
.moi-ligne > span { display: block; transition: transform .8s var(--vif); }
.moi-ligne + .moi-ligne > span { transition-delay: .08s; }
.moi-texte mark {
  padding: 0 .08em;
  margin-left: -.08em;
  background: linear-gradient(var(--jaune), var(--jaune)) 0 0 / 100% 100% no-repeat;
  color: inherit;
  transition: background-size .65s var(--vif) .4s;
}
.moi-filet {
  display: block;
  height: 3px;
  margin: clamp(18px, 2.4vw, 36px) 0;
  background: var(--encre);
  transform-origin: left;
  transition: transform .8s var(--vif) .2s;
}
.moi-debut, .moi-fin { transition: opacity .5s, transform .7s var(--vif); }
.moi-debut { max-width: 32em; font-size: clamp(19px, 1.5vw, 26px); line-height: 1.36; color: var(--gris); transition-delay: .3s; }
.moi-fin {
  margin-top: 16px;
  font: 800 clamp(26px, 2.9vw, 52px)/1.08 var(--titre);
  font-stretch: 80%;
  letter-spacing: -.01em;
  transition-delay: .42s;
}
.moi-texte.attend .moi-ligne > span { transform: translateY(104%); }
.moi-texte.attend mark { background-size: 0 100%; }
.moi-texte.attend .moi-filet { transform: scaleX(0); }
.moi-texte.attend .moi-debut, .moi-texte.attend .moi-fin { opacity: 0; transform: translateY(18px); }

/* ---------- Contact ---------- */
.go {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
  min-height: 100svh;
  background: var(--boitier);
}
.go-mur { position: relative; min-height: 340px; }
.go-mur canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.go-panneau {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-block: 72px 40px;
  padding-left: clamp(20px, 3vw, 56px);
  padding-right: var(--marge-d);
  background: var(--jaune);
  color: var(--encre);
}
#demande { display: grid; gap: 16px; }
.piege { position: absolute; left: -9999px; }
.champ { display: grid; gap: 5px; }
.champ label { font: 500 13px/1.3 var(--mono); }
.champ input, .champ textarea {
  width: 100%;
  border: 2px solid var(--encre);
  background: #fff;
  padding: 11px 12px;
  font: 500 17px/1.3 var(--titre);
  resize: vertical;
}
.champ input:focus, .champ textarea:focus { outline: 3px solid var(--encre); outline-offset: 0; }
#demande .bouton { justify-self: start; }
.form-etat { font: 500 14px/1.35 var(--mono); }
.form-etat:empty { display: none; }
.go-direct { font: 400 14px/1.4 var(--mono); }
.go-direct a { font-weight: 600; }

.pied { background: var(--boitier); color: #fff; padding: 28px var(--marge-d) 16px var(--marge); overflow: hidden; }
.pied-marque { font: 900 11vw/.95 var(--titre); font-variation-settings: 'wdth' 62, 'wght' 900; white-space: nowrap; }
.pied-note { margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; font: 400 13px/1.3 var(--mono); color: #C9CACE; }
.pied-liens { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; font: 500 14px/1.3 var(--mono); }
.pied-liens a { text-underline-offset: 3px; }
.pied-marque--petit { font-size: clamp(30px, 5vw, 72px); }
.form-note { font: 400 13px/1.4 var(--mono); }

/* ---------- Page légale ---------- */
.legal { background: #fff; padding: calc(var(--nav) + clamp(40px, 6vw, 88px)) var(--marge-d) clamp(56px, 8vw, 120px) var(--marge); }
.legal-tete h1 {
  margin-top: .16em;
  font: 900 clamp(64px, 13vw, 220px)/1 var(--titre);
  font-stretch: 62%;
  text-transform: uppercase;
}
.legal-corps {
  margin-top: clamp(32px, 5vw, 72px);
  padding-top: 24px;
  border-top: 2px solid var(--encre);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 24px clamp(32px, 6vw, 112px);
}
.legal-index {
  position: sticky;
  top: calc(var(--nav) + 24px);
  align-self: start;
  display: grid;
  gap: 10px;
  font: 500 15px/1.3 var(--mono);
}
.legal-index a { text-underline-offset: 3px; }
.legal-texte { min-width: 0; max-width: 42em; }
.legal-texte section + section { margin-top: clamp(56px, 7vw, 96px); }
.legal-texte section { scroll-margin-top: calc(var(--nav) + 24px); }
.legal-texte h2 { font: 800 clamp(32px, 4.2vw, 60px)/1.04 var(--titre); font-stretch: 80%; letter-spacing: -.01em; }
.legal-texte h3 { margin-top: 28px; font: 700 21px/1.2 var(--titre); }
.legal-texte p, .legal-texte ul { margin-top: 8px; }
.legal-texte ul { padding-left: 1.2em; list-style: disc; }
.legal-fiche { margin: 10px 0 0; display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 0 16px; }
.legal-fiche dt, .legal-fiche dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--ligne); }
.legal-fiche dt { font: 500 14px/1.5 var(--mono); }
.legal-texte a { overflow-wrap: anywhere; }

/* ---------- Petites fenêtres ---------- */
@media (max-width: 1080px) {
  .nav-liens { display: none; }
}
@media (max-width: 860px) {
  .nav-son { display: none; }
  .prix { height: auto; }
  .prix-colle { position: relative; height: auto; grid-template-columns: minmax(0, 1fr); padding-top: 72px; padding-bottom: 56px; }
  .papier { height: auto; }
  .recu { font-size: 13px; }
  .go, .moi { grid-template-columns: minmax(0, 1fr); }
  .moi-texte { padding-left: var(--marge); }
  .go-mur { min-height: 52svh; }
  .go-panneau { padding-left: var(--marge); }
  .services-liste li { grid-template-columns: minmax(0, 1fr); }
  .legal-corps { grid-template-columns: minmax(0, 1fr); }
  .legal-index { position: static; }
  .legal-fiche { grid-template-columns: minmax(0, 1fr); }
  .legal-fiche dt { padding-bottom: 0; }
  .legal-fiche dd { border-top: 0; padding-top: 2px; }
}
@media (max-width: 640px) {
  .barre { align-items: stretch; flex-direction: column; }
  .barre .bouton { text-align: center; }
  .compare img { object-position: center top; }
}

/* ---------- Mouvement réduit : tout est là, rien ne bouge ---------- */
.calme .accueil { height: auto; }
.calme .colle { position: relative; height: auto; overflow: visible; display: flex; flex-direction: column; }
.calme .mur { position: relative; height: 80svh; }
.calme .barre { position: relative; }
.calme .manifeste { position: relative; padding-block: 72px; }
.calme #mots span { opacity: 1; }
.calme .compare-piste { height: auto; }
.calme .compare-colle { position: relative; top: 0; height: 80svh; }
.calme .prix { height: auto; }
.calme .prix-colle { position: relative; height: auto; padding-block: 88px 56px; }
.calme .papier { height: auto; }
.calme .recu { transform: none; }
.calme .etape mark { background-size: 100% 78%; }
