/* Colligo — « bleu de travail ».
   Fond bleu de veste d'atelier, coutures en pointillé couleur fil, une seule famille (Archivo, largeur variable).
   Repère : la poche cousue et l'étiquette. Une seule séquence animée, à l'ouverture de la page. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bleu: #2A4B9B;     /* la toile */
  --bleu2: #22407F;    /* l'envers, la poche */
  --bleu3: #1A3263;    /* l'ourlet, le pied de page */
  --fil: #E9D9A6;      /* le fil des coutures */
  --blanc: #FFFFFF;
  --encre: #13234A;    /* texte bleu sur fond clair */
  --doux: #C9D4EE;     /* texte secondaire sur bleu */
  --couture: 2px dashed var(--fil);
  --large: 125%;
  --g: clamp(20px, 4vw, 48px); /* gouttière */
  --toile: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 4px); /* le sergé de la toile */
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--toile) fixed, var(--bleu);
  color: var(--blanc);
  font: 400 18px/1.5 "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* « clip » et non « hidden » : sinon le téléphone et l'en-tête ne restent plus collés à l'écran */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 900; font-stretch: var(--large); letter-spacing: -0.03em; line-height: .95; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--fil); outline-offset: 3px; }
.contact :focus-visible, .echant :focus-visible, .offre :focus-visible { outline-color: var(--bleu); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--g); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--fil); color: var(--encre); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ln { display: block; }
.nowrap { white-space: nowrap; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  font: 800 17px/1.1 "Archivo", sans-serif; font-stretch: 112%;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  outline: 2px dashed transparent; outline-offset: 5px;
  transition: outline-color .2s, outline-offset .2s, background-color .2s, color .2s;
}
.btn--fil { background: var(--fil); color: var(--encre); border-color: var(--fil); outline-color: var(--fil); }
.btn--fil:hover { background: var(--blanc); border-color: var(--blanc); outline-offset: 2px; }
.btn--bleu { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); outline-color: var(--bleu); }
.btn--bleu:hover { background: var(--encre); border-color: var(--encre); outline-offset: 2px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; background: var(--blanc); color: var(--bleu); outline: none; }
.btn--sm:hover { background: var(--fil); color: var(--encre); }
.btn--full { width: 100%; }
.btn:focus-visible { outline-style: solid; }

.lien { font-weight: 700; color: var(--blanc); text-decoration: underline; text-decoration-style: dashed; text-decoration-color: var(--fil); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lien:hover { color: var(--fil); }
.lien--bleu { color: var(--bleu); text-decoration-color: var(--bleu); }
.lien--bleu:hover { color: var(--encre); }

/* La poche cousue : le motif du site */
.poche { position: relative; border: var(--couture); padding: 12px; background: var(--bleu2); }
.poche img { width: 100%; object-fit: cover; }
.etiq {
  position: absolute; top: -18px; right: 24px; z-index: 2;
  background: var(--blanc); color: var(--bleu);
  font-weight: 800; font-stretch: var(--large); font-size: 13px; line-height: 1;
  padding: 9px 12px; transform: rotate(3deg);
  box-shadow: inset 0 0 0 3px var(--blanc), inset 0 0 0 4px rgba(42, 75, 155, .35);
}

.titre { font-size: clamp(38px, 5vw, 72px); }

/* ---------- En-tête ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--toile) fixed, var(--bleu); border-bottom: var(--couture); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { font-weight: 800; font-stretch: var(--large); font-size: 24px; letter-spacing: -0.02em; text-decoration: none; color: var(--blanc); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px dashed transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--fil); }
.burger { display: none; }

/* ---------- Accueil ---------- */
.hero { padding: clamp(32px, 4.5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.hero__in { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero__h1 { font-size: clamp(48px, 5.6vw, 96px); line-height: .88; letter-spacing: -0.035em; }
.hero__h1 .l { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__h1 .l > span { display: inline-block; }
.hero__sub { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; max-width: 34ch; margin: 30px 0 32px; color: #E8EDF8; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.hero__note { margin-top: 22px; font-size: 15px; color: var(--doux); max-width: 38ch; }
.hero__poche img { aspect-ratio: 4 / 5; max-height: min(600px, 68vh); }

@media (prefers-reduced-motion: no-preference) {
  .hero__h1 .l > span { animation: monte .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hero__h1 .l:nth-child(2) > span { animation-delay: .08s; }
  .hero__h1 .l:nth-child(3) > span { animation-delay: .16s; }
  .hero__poche { animation: couture .9s cubic-bezier(.2, .8, .2, 1) .15s both; }
  .hero__poche .etiq { animation: etiq .7s cubic-bezier(.3, 1.5, .5, 1) .75s both; }
}
@keyframes monte { from { transform: translateY(105%); } to { transform: none; } }
@keyframes couture { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(-30px -30px -30px -30px); } }
@keyframes etiq { from { transform: rotate(-14deg) translateY(-14px); opacity: 0; } to { transform: rotate(3deg); opacity: 1; } }

/* ---------- Sites de démonstration (sur la doublure blanche) ---------- */
.echant { background: var(--blanc); color: var(--encre); padding: clamp(56px, 7vw, 96px) 0; }
.echant__tete { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.echant__tete h2 { font-size: clamp(34px, 4.2vw, 60px); color: var(--bleu); }
.echant__tete p { font-size: 18px; max-width: 44ch; }
.echant__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.carte { position: relative; display: block; text-decoration: none; color: var(--encre); }
.carte__img { display: block; border: 2px dashed var(--bleu); padding: 8px; transition: background-color .2s; }
.carte__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.carte:hover .carte__img { background: #E8EDF8; }
.carte__m { position: absolute; top: -13px; left: 18px; z-index: 1; background: var(--bleu); color: var(--blanc); font-weight: 700; font-stretch: 112%; font-size: 13px; line-height: 1; padding: 7px 10px; transform: rotate(-3deg); transition: transform .25s; }
.carte:hover .carte__m { transform: rotate(0); }
.carte strong { display: block; font-weight: 800; font-stretch: 112%; font-size: 19px; line-height: 1.2; margin-top: 16px; }
.echant__plus { margin-top: 40px; }

/* ---------- Les métiers, en bande défilante ---------- */
.metiers { position: relative; z-index: 2; background: var(--bleu3); width: 106%; margin: -28px -3% 0; transform: rotate(-1.6deg); overflow: hidden; padding: 24px 0; box-shadow: 0 10px 24px rgba(10, 20, 50, .25); }
.metiers::before, .metiers::after { content: ""; position: absolute; left: 0; right: 0; border-top: var(--couture); }
.metiers::before { top: 8px; } .metiers::after { bottom: 8px; }
.metiers__track { display: flex; width: max-content; }
.metiers__track > div { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.metiers span { font-weight: 800; font-stretch: var(--large); font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; white-space: nowrap; }
.metiers i { font-style: normal; color: var(--fil); font-size: 26px; font-weight: 400; }
@media (prefers-reduced-motion: no-preference) {
  .metiers__track { animation: defile 48s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .tel__ecran.on img { animation: none; } }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Texte qui s'écrit au défilement ---------- */
.js [data-ecrit] .mot { opacity: .28; transition: opacity .35s; }
.js [data-ecrit] .mot.on { opacity: 1; }

.manif { padding: clamp(80px, 11vw, 160px) 0; }
.manif__t { font-weight: 800; font-stretch: 112%; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.025em; max-width: 20ch; }

/* ---------- Une journée d'artisan ---------- */
.jour { padding: 0 0 clamp(80px, 10vw, 140px); }
.jour__tete h2 { font-size: clamp(36px, 4.6vw, 68px); max-width: 16ch; }
.jour__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 56px; }
.jour__scene { position: sticky; top: 110px; align-self: start; display: grid; place-items: center; }
.tel { height: min(660px, calc(100vh - 150px)); max-width: 100%; aspect-ratio: 9 / 18.5; border: var(--couture); border-radius: 46px; padding: 12px; background: var(--bleu2); }
.tel__vitre { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; container-type: size; }
.tel__ecran { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; overflow: hidden; }
.tel__ecran.on { opacity: 1; }
.tel__ecran img { display: block; width: 100%; height: auto; }
.tel__ecran.on img { animation: defile 18s ease-in-out .8s infinite alternate; }
@keyframes defile { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(100cqh - 460cqw)); } }
.jour__ch { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: .4; transition: opacity .4s; border-top: 2px dashed rgba(233, 217, 166, .5); padding: 32px 0; }
.jour__ch.actif { opacity: 1; }
.jour__h { font-weight: 900; font-stretch: var(--large); font-size: clamp(48px, 5vw, 76px); line-height: 1; color: var(--fil); letter-spacing: -0.03em; }
.jour__t { font-size: clamp(22px, 2vw, 28px); line-height: 1.3; max-width: 26ch; }
.jour__lien { align-self: flex-start; margin-top: 8px; font-weight: 700; font-size: 16px; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: var(--fil); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.jour__lien:hover { color: var(--fil); }
.jour__mob { display: none; }
.jour__fin { font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1; margin-top: 64px; max-width: 22ch; }

/* ---------- Qui sommes-nous ---------- */
.nous { padding: clamp(64px, 8vw, 120px) 0; border-top: var(--couture); }
.nous__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.nous__photo img { aspect-ratio: 3 / 2; }
.nous__txt h2 { font-size: clamp(32px, 3.8vw, 56px); margin-bottom: 24px; }
.nous__txt p { font-size: 19px; max-width: 42ch; }
.nous__tel { margin-top: 28px; }
.nous__tel a { font-weight: 800; font-stretch: 112%; font-size: 22px; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: var(--fil); text-underline-offset: 7px; text-decoration-thickness: 2px; }

/* ---------- Le chiffre ---------- */
.preuve { background: var(--fil); color: var(--encre); padding: clamp(56px, 7vw, 96px) 0; }
.preuve__in { display: grid; grid-template-columns: auto 1fr; gap: 24px 56px; align-items: center; }
.preuve__n { font-weight: 900; font-stretch: var(--large); font-size: clamp(88px, 13vw, 200px); line-height: .85; letter-spacing: -0.05em; color: var(--bleu); font-variant-numeric: tabular-nums; }
.preuve__t { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; max-width: 34ch; font-weight: 500; }
.preuve cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; font-weight: 400; color: #45506E; }
.preuve cite a { color: inherit; }

/* ---------- Comment ça se passe ---------- */
.methode { padding: clamp(72px, 9vw, 128px) 0 0; }
.ruban { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0 0 18px; padding-top: 48px; background: var(--fil); color: var(--encre); transform: rotate(-1deg); box-shadow: 0 14px 30px rgba(10, 20, 50, .3); }
.ruban::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30px;
  background:
    repeating-linear-gradient(90deg, var(--encre) 0 2px, transparent 2px 60px) 0 0 / 100% 26px no-repeat,
    repeating-linear-gradient(90deg, var(--encre) 0 2px, transparent 2px 30px) 0 0 / 100% 18px no-repeat,
    repeating-linear-gradient(90deg, rgba(19, 35, 74, .6) 0 1px, transparent 1px 6px) 0 0 / 100% 10px no-repeat; }
.ruban::after { content: ""; position: absolute; top: -6px; bottom: -6px; left: -18px; width: 18px; background: linear-gradient(90deg, #8D96A8, #D9DEE7 45%, #8D96A8); }
.ruban li { padding: 4px 28px 32px; font-size: 17px; }
.ruban li + li { border-left: 2px dashed rgba(19, 35, 74, .35); }
.ruban__j { display: block; font-weight: 900; font-stretch: var(--large); font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -0.03em; color: var(--bleu); margin-bottom: 14px; }
.ruban b { display: block; font-weight: 800; font-stretch: 112%; font-size: 22px; margin-bottom: 4px; }

/* ---------- L'offre : une étiquette cousue ---------- */
.offres { padding: clamp(72px, 9vw, 128px) 0; }
.offres__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.offres__tete p { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; max-width: 28ch; margin-top: 24px; }
.offre { position: relative; background: var(--blanc); color: var(--encre); padding: clamp(28px, 4vw, 48px); outline: 2px dashed var(--bleu); outline-offset: -12px; transform: rotate(-1deg); }
.offre::before, .offre::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--bleu); transform: translateY(-50%); }
.offre::before { left: -7px; } .offre::after { right: -7px; }
.plan__goal { display: inline-block; background: var(--bleu); color: var(--fil); font-weight: 800; font-stretch: var(--large); font-size: 14px; padding: 6px 10px; }
.plan__name { font-size: clamp(30px, 3.2vw, 44px); color: var(--bleu); margin: 18px 0 12px; }
.offre__lead { font-size: 18px; max-width: 36ch; margin-bottom: 24px; }
.offre__list { margin: 28px 0; border-top: 2px dashed rgba(42, 75, 155, .4); }
.offre__list li { padding: 12px 0; border-bottom: 2px dashed rgba(42, 75, 155, .4); font-size: 17px; }
.offre__list strong { font-weight: 800; }
.certifs { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.certifs li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.certifs svg { width: 22px; height: 22px; fill: none; stroke: var(--bleu); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Appel ---------- */
.appel { background: var(--bleu2); border-top: var(--couture); border-bottom: var(--couture); padding: clamp(64px, 8vw, 112px) 0; }
.appel__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 64px; align-items: end; }
.appel h2 { font-size: clamp(38px, 5vw, 76px); }
.appel__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.appel__tel { font-weight: 700; color: var(--doux); text-decoration: none; }
.appel__tel:hover { color: var(--fil); }

/* ---------- Questions ---------- */
.faq { padding: clamp(72px, 9vw, 128px) 0; }
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px 96px; align-items: start; }
.faq__list { border-top: var(--couture); }
.faq details { border-bottom: var(--couture); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 700; font-stretch: 108%; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 30px; line-height: .8; color: var(--fil); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: #E8EDF8; max-width: 52ch; }

/* ---------- Contact ---------- */
.contact { background: var(--blanc); color: var(--encre); padding: clamp(72px, 9vw, 128px) 0; }
.contact__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px 96px; align-items: start; }
.contact__intro h2 { font-size: clamp(38px, 4.6vw, 68px); color: var(--bleu); margin-bottom: 20px; }
.contact__intro p { font-size: 18px; max-width: 34ch; }
.contact__intro .rdv { margin: 28px 0 22px; }
.muted { color: inherit; opacity: .8; }
.form { display: grid; gap: 20px; border: 2px dashed var(--bleu); padding: clamp(20px, 3vw, 36px); }
.field { display: grid; gap: 8px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 8px; }
.field input { font: inherit; font-size: 17px; color: var(--encre); background: var(--blanc); border: 2px solid #9FB0D6; padding: 13px 14px; width: 100%; border-radius: 0; }
.field input:focus { border-color: var(--bleu); outline: none; box-shadow: 0 0 0 3px rgba(42, 75, 155, .25); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 9px 14px; border: 2px solid #9FB0D6; font-size: 15px; font-weight: 600; }
.seg input:checked + span { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.seg input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 2px; }
.bot { display: grid; gap: 12px; background: #EEF2FA; padding: 18px; }
.bot__titre { font-weight: 700; font-size: 15px; }
.bot__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bot__img { background: var(--blanc); border: 2px solid #9FB0D6; width: 230px; height: 72px; }
.bot__new { font: inherit; font-size: 15px; font-weight: 700; color: var(--bleu); background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 5px; }
.bot--erreur .bot__msg { color: #A3202A; font-weight: 600; }
.micro { font-size: 14px; color: #45506E; }
.micro--c { text-align: center; }
.micro a { color: var(--bleu); }

/* ---------- Pied de page ---------- */
.ftr { background: var(--bleu3); padding: clamp(64px, 8vw, 112px) 0 40px; }
.ftr__big { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 56px; border-bottom: var(--couture); }
.ftr__big p { font-weight: 900; font-stretch: var(--large); font-size: clamp(40px, 6vw, 96px); line-height: .92; letter-spacing: -0.035em; max-width: 13ch; }
.ftr__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 32px; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ftr__nav a { font-size: 15px; text-decoration: none; color: var(--doux); }
.ftr__nav a:hover { color: var(--fil); }
.ftr__copy { font-size: 14px; color: var(--doux); }

/* ---------- Barre d'appel (téléphone) ---------- */
.barre { display: none; }

/* ---------- Voile entre deux pages ---------- */
.voile { position: fixed; inset: 0; z-index: 200; background: var(--bleu2); display: grid; place-items: center; pointer-events: none; transform: translateY(100%); visibility: hidden; border-top: var(--couture); }
.voile span { font-weight: 900; font-stretch: var(--large); font-size: clamp(56px, 12vw, 160px); letter-spacing: -0.04em; color: var(--blanc); }
.voile em { font-style: normal; color: var(--fil); }
.voile.couvre { visibility: visible; animation: voileMonte .5s cubic-bezier(.76, 0, .24, 1) forwards; }
.voile.couvre span { animation: voileTxt .5s cubic-bezier(.22, 1, .36, 1) .12s both; }
.voile.leve { visibility: visible; transform: none; animation: voileLeve .7s cubic-bezier(.76, 0, .24, 1) .15s forwards; }
@keyframes voileMonte { from { transform: translateY(100%); } to { transform: none; } }
@keyframes voileLeve { from { transform: none; } to { transform: translateY(-100%); visibility: hidden; } }
@keyframes voileTxt { from { opacity: 0; transform: translateY(30%); } to { opacity: 1; transform: none; } }

/* ---------- Page des modèles ---------- */
.gal__intro { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: var(--couture); }
.gal__title { font-size: clamp(46px, 6.4vw, 100px); line-height: .9; max-width: 14ch; }
.gal__intro .lead { font-size: clamp(18px, 1.5vw, 21px); max-width: 52ch; margin-top: 28px; color: #E8EDF8; }
.gal__group { background: var(--blanc); color: var(--encre); padding: clamp(56px, 7vw, 88px) 0; }
.gal__group + .gal__group { border-top: 2px dashed rgba(42, 75, 155, .35); }
.gal__head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 64px; align-items: end; margin-bottom: 36px; }
.gal__head h2 { font-size: clamp(30px, 3.6vw, 52px); color: var(--bleu); }
.gal__head p { font-size: 18px; max-width: 44ch; opacity: 1; }
.gal__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.gal__grid--3 { grid-template-columns: repeat(3, 1fr); }
.gal .card { display: block; text-decoration: none; color: var(--encre); }
.gal .card img { border: 2px dashed var(--bleu); padding: 8px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: background-color .2s; }
.gal .card:hover img { background: #E8EDF8; }
.card__body { display: grid; gap: 4px; margin-top: 14px; }
.card__tag { font-size: 14px; color: #4A5A80; }
.card__body strong { font-weight: 800; font-stretch: 112%; font-size: 21px; line-height: 1.2; }
.card__body > span:not(.card__tag) { font-size: 16px; }
.card__body i { font-style: normal; font-weight: 700; color: var(--bleu); margin-top: 6px; text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 5px; }
.gal__cta { padding: clamp(72px, 9vw, 128px) 0; }
.gal__cta h2 { font-size: clamp(38px, 5vw, 76px); max-width: 16ch; }
.gal__cta .lead { font-size: 19px; max-width: 46ch; margin: 24px 0 32px; color: #E8EDF8; }

/* Page des modèles : contenu plus resserré, titres moins étirés */
.gal .wrap { max-width: 1120px; }
.gal h1, .gal h2, .gal .card__body strong { font-stretch: 100%; letter-spacing: -0.025em; }
.gal__title { max-width: 16ch; }

/* Les douze modèles, filtrables par métier */
.gal__liste { background: var(--blanc); color: var(--encre); padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filtres button { font: 600 15px/1 "Archivo", sans-serif; color: var(--encre); background: #fff; border: 2px dashed #9FB0D6; padding: 11px 16px; cursor: pointer; }
.filtres button span { color: #6A7898; margin-left: 4px; }
.filtres button:hover { border-color: var(--bleu); }
.filtres button[aria-pressed="true"] { background: var(--bleu); color: #fff; border: 2px solid var(--bleu); }
.filtres button[aria-pressed="true"] span { color: var(--fil); }
.modeles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 32px; }
.modele { position: relative; display: block; text-decoration: none; color: var(--encre); }
.modele[hidden] { display: none; }
.modele__img { display: block; border: 2px dashed var(--bleu); padding: 8px; transition: background-color .2s; }
.modele__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.modele:hover .modele__img { background: #E8EDF8; }
.modele__m { position: absolute; top: -13px; left: 18px; background: var(--bleu); color: #fff; font-weight: 700; font-size: 13px; line-height: 1; padding: 7px 10px; transform: rotate(-3deg); transition: transform .25s; }
.modele:hover .modele__m { transform: rotate(0); }
.modele strong { display: block; margin-top: 16px; font-weight: 800; font-size: 21px; line-height: 1.2; }
.modele__d { display: block; margin-top: 6px; font-size: 16px; color: #3E4A66; }

/* ---------- Pages de texte : mentions, confidentialité, guide, audit ---------- */
.page { background: var(--blanc); color: var(--encre); padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); }
.page a { color: var(--bleu); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(40px, 5.4vw, 72px); color: var(--bleu); margin-bottom: 18px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); font-stretch: 112%; letter-spacing: -0.02em; color: var(--bleu); margin: 44px 0 12px; padding-top: 18px; border-top: 2px dashed #C9D2E8; }
.prose p, .prose li { font-size: 17.5px; line-height: 1.65; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: none; margin: 12px 0; display: grid; gap: 6px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; border: 2px dashed var(--bleu); }
.prose code { font-size: 15px; background: #EEF2FA; padding: 1px 5px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15.5px; }
.prose th { text-align: left; font-weight: 700; padding: 10px 12px 10px 0; border-bottom: 2px solid var(--bleu); }
.prose td { padding: 12px 12px 12px 0; border-bottom: 1px solid #DCE2F0; vertical-align: top; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--bleu); }
.field em { font-style: normal; font-weight: 400; color: #5A6684; }
.field select, .field textarea { font: inherit; font-size: 17px; color: var(--encre); background: #fff; border: 2px solid #9FB0D6; padding: 12px 14px; width: 100%; border-radius: 0; }
.field select:focus, .field textarea:focus { border-color: var(--bleu); outline: none; box-shadow: 0 0 0 3px rgba(42, 75, 155, .25); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: block; padding: 9px 14px; border: 2px solid #9FB0D6; font-size: 15px; font-weight: 600; }
.pills input:checked + span { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 2px; }
/* Pages courtes : merci, guide prêt, page introuvable */
.center { min-height: 62vh; display: grid; align-items: center; padding: clamp(56px, 9vw, 120px) 0; }
.center .prose { max-width: 760px; margin: 0 auto; padding: 0 var(--g); }
.center h1 { font-size: clamp(44px, 6.6vw, 96px); color: var(--blanc); margin: 10px 0 20px; }
.center p { font-size: 19px; color: #E8EDF8; }
.center p + p { margin-top: 18px; }
.center .micro { font-size: 15px; color: var(--doux); }
.center a:not(.btn) { color: var(--blanc); text-decoration-color: var(--fil); }
.center .etat, .etat { display: inline-block; font-weight: 700; font-size: 15px; color: var(--encre); background: var(--fil); padding: 6px 12px; }
/* En-tête simple, sans menu déroulant */
@media (max-width: 860px) {
  .hdr .nav--simple { position: static; inset: auto; flex-direction: row; align-items: center; gap: 14px; padding: 0; background: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .hdr .nav--simple a:not(.btn) { font-weight: 600; font-stretch: 100%; font-size: 14px; letter-spacing: 0; padding: 6px 0; width: auto; border-bottom: 0; }
  .hdr .nav--simple a:first-child { display: none; }
  .hdr .nav--simple a { white-space: nowrap; }
  .hdr .nav--simple .btn { padding: 8px 12px; }
  .hdr .nav--simple .btn { margin: 0; min-height: 40px; font-size: 14px; }
}
/* Pied de page : les liens par métier */
.ftr--court { padding-top: 48px; }
.ftr__metiers { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; padding-top: 22px; margin-top: 22px; border-top: 1px solid rgba(201, 212, 238, .2); font-size: 14px; }
.ftr__metiers p { color: var(--doux); }
.ftr__metiers nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ftr__metiers a { color: var(--doux); text-decoration: none; }
.ftr__metiers a:hover { color: var(--fil); }

/* ---------- Pages par métier ---------- */
.metier__h1 { font-size: clamp(44px, 5.4vw, 88px); line-height: .92; }
.besoins { background: var(--blanc); color: var(--encre); padding: clamp(64px, 8vw, 112px) 0; }
.besoins .titre { color: var(--bleu); }
.besoins__liste { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.besoins__liste li { border-top: 2px dashed var(--bleu); padding-top: 22px; }
.besoins__liste h3 { font-size: clamp(24px, 2.2vw, 30px); font-stretch: 112%; color: var(--bleu); margin-bottom: 10px; line-height: 1.05; }
.besoins__liste p { font-size: 17px; color: #3E4A66; }
.fonctions { padding: clamp(64px, 8vw, 112px) 0; }
.fonctions__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px 72px; align-items: start; }
.fonctions__liste { list-style: none; border-top: var(--couture); }
.fonctions__liste li { display: grid; gap: 4px; padding: 22px 0; border-bottom: var(--couture); }
.fonctions__liste b { font-weight: 800; font-stretch: 112%; font-size: 22px; }
.fonctions__liste span { color: #E8EDF8; font-size: 17px; }
.vrai { background: var(--blanc); color: var(--encre); padding: clamp(64px, 8vw, 112px) 0; }
.vrai__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 64px; align-items: center; }
.vrai .titre { color: var(--bleu); margin-bottom: 18px; }
.vrai p { font-size: 18px; max-width: 42ch; }
.vrai p + p { margin-top: 16px; }
.vrai__autres a { color: #4A5A80; }
.vrai .lien--demo, .vrai .lien { color: var(--bleu); text-decoration-color: var(--bleu); }
.ftr__metiers a[aria-current="page"] { color: var(--fil); }
@media (max-width: 860px) {
  .besoins__liste, .fonctions__in, .vrai__in { grid-template-columns: 1fr; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .echant__grille { grid-template-columns: repeat(2, 1fr); }
  .gal__grid--3 { grid-template-columns: repeat(2, 1fr); }
  .modeles { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Téléphone ---------- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .hdr__in { min-height: 64px; }
  .burger { display: inline-flex; align-items: center; gap: 10px; background: none; border: 2px dashed var(--fil); color: var(--blanc); font: 700 15px "Archivo", sans-serif; padding: 8px 12px; cursor: pointer; position: relative; z-index: 2; }
  .burger em { font-style: normal; }
  .burger span { display: none; }
  .nav { position: fixed; inset: 64px 0 0 0; background: var(--bleu); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; padding: 24px var(--g); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
  .nav a:not(.btn) { font-weight: 900; font-stretch: var(--large); font-size: 38px; letter-spacing: -0.03em; padding: 10px 0; width: 100%; border-bottom: var(--couture); }
  .nav .btn { margin-top: 24px; min-height: 56px; font-size: 17px; }

  .hero { padding-top: 32px; }
  .hero__in { grid-template-columns: 1fr; gap: 48px; }
  .hero__h1 { font-size: clamp(34px, 9.8vw, 72px); }
  .hero__sub { margin: 22px 0 26px; }
  .hero__poche img { aspect-ratio: 4 / 3; }

  .echant__tete, .gal__head { grid-template-columns: 1fr; }
  .echant__grille { grid-template-columns: 1fr; gap: 36px; }

  .jour__in { grid-template-columns: 1fr; margin-top: 24px; }
  .jour__scene { display: none; }
  .jour__ch { min-height: 0; opacity: 1; padding: 32px 0; }
  .jour__mob { display: block; margin-top: 8px; max-width: 300px; height: 420px; overflow: hidden; border: var(--couture); border-radius: 28px; padding: 8px; background: var(--bleu2); }
  .jour__mob img { display: block; width: 100%; height: auto; border-radius: 20px; }

  .nous__in, .offres__in, .appel__in, .faq__in, .contact__in { grid-template-columns: 1fr; }
  .preuve__in { grid-template-columns: 1fr; }
  /* Sur téléphone, le mètre se déroule vers le bas : graduations à gauche, embout en haut */
  .ruban { grid-template-columns: 1fr; margin: 52px 0 0; padding: 24px 0 0 44px; transform: rotate(-0.6deg); }
  .ruban::before { top: 0; bottom: 0; left: 0; right: auto; width: 30px; height: auto;
    background:
      repeating-linear-gradient(180deg, var(--encre) 0 2px, transparent 2px 60px) 0 0 / 26px 100% no-repeat,
      repeating-linear-gradient(180deg, var(--encre) 0 2px, transparent 2px 30px) 0 0 / 18px 100% no-repeat,
      repeating-linear-gradient(180deg, rgba(19, 35, 74, .6) 0 1px, transparent 1px 6px) 0 0 / 10px 100% no-repeat; }
  .ruban::after { top: -16px; left: -6px; right: -6px; bottom: auto; width: auto; height: 16px; background: linear-gradient(180deg, #8D96A8, #D9DEE7 45%, #8D96A8); }
  .ruban li { padding: 4px 22px 26px 0; }
  .ruban li + li { border-left: 0; border-top: 2px dashed rgba(19, 35, 74, .35); padding-top: 22px; }
  .metiers { margin-top: -20px; padding: 20px 0; }
  .offre { transform: none; }
  .row { grid-template-columns: 1fr; }
  .gal__grid, .gal__grid--3 { grid-template-columns: 1fr; }
  .modeles { grid-template-columns: 1fr; gap: 44px; }

  .barre { display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bleu3); border-top: var(--couture); transform: translateY(110%); transition: transform .3s; }
  .barre.on { transform: none; }
  .barre a { display: grid; place-items: center; min-height: 48px; padding: 0 18px; font-weight: 800; font-stretch: 112%; text-decoration: none; }
  .barre__tel { border: 2px solid var(--fil); color: var(--fil); }
  .barre__rdv { background: var(--fil); color: var(--encre); }
  .ftr { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Métiers : la liste à gauche, le site du métier choisi à droite ---------- */
.mv { padding: 0 0 clamp(80px, 10vw, 140px); }
.mv__tete h2 { font-size: clamp(36px, 4.6vw, 68px); max-width: 16ch; }
.mv__tete p { color: var(--doux); font-size: 18px; max-width: 46ch; margin-top: 16px; }
.mv__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.mv__liste { list-style: none; border-top: var(--couture); }
.mv__l > a { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border-bottom: var(--couture); color: #fff; text-decoration: none; }
.mv__l > a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fil); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.mv__m { font-weight: 800; font-stretch: var(--large); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -0.02em; }
.mv__a { font-size: 15px; color: var(--doux); }
.mv__l.actif > a::before { transform: scaleX(1); }
.mv__l > a, .mv__a { transition: color .25s .12s; }
.mv__l.actif > a, .mv__l.actif .mv__a { color: var(--encre); }
.mv__l > a:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.mv__apercu { display: none; }
.mv__vue { position: sticky; top: 110px; }
.mv__fenetre { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(6, 14, 38, .45); }
.mv__barre { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EEF1F7; font-size: 12px; color: #5A6684; }
.mv__barre i { width: 9px; height: 9px; border-radius: 50%; background: #CBD2E1; }
.mv__barre span { margin-left: 10px; }
.mv__ecran { position: relative; aspect-ratio: 16 / 10; background: #F4F6FA; overflow: hidden; }
.mv__ecran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .45s, transform .9s cubic-bezier(.2, .8, .2, 1); }
.mv__ecran img.on { opacity: 1; transform: none; }
.mv__legs { position: relative; min-height: 3.4em; margin-top: 18px; }
.mv__leg { position: absolute; inset: 0 auto auto 0; font-size: 16px; color: var(--doux); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.mv__leg.on { opacity: 1; visibility: visible; }
.mv__leg b { color: #fff; margin-right: 8px; }
.mv__leg a { color: var(--fil); font-weight: 700; text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 5px; margin-left: 6px; }
@media (prefers-reduced-motion: reduce) { .mv__ecran img, .mv__l > a::before { transition: none; } }
@media (max-width: 900px) {
  .mv__in { grid-template-columns: 1fr; }
  .mv__vue { display: none; }
  .mv__l.ouvert .mv__apercu { display: block; padding: 16px 0 22px; border-bottom: var(--couture); }
  .mv__apercu img { display: block; width: 100%; height: auto; border-radius: 10px; }
  .mv__apercu a { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: var(--fil); text-underline-offset: 6px; }
}

/* ---------- Page Contact : audit gratuit ---------- */
.ct-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.ct-hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ct-hero h1 { font-size: clamp(42px, 6vw, 88px); line-height: .95; letter-spacing: -0.03em; max-width: 12ch; }
.ct-sous { margin: 22px 0 30px; font-size: clamp(18px, 1.6vw, 21px); color: #E8EDF8; max-width: 42ch; }
.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.ct-btn { font-size: 19px; padding: 20px 30px; }
.ct-tel { font-weight: 700; color: #fff; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: var(--fil); text-underline-offset: 6px; }
.ct-note { margin-top: 16px; font-size: 15px; color: var(--doux); }
.ct-obtenez { list-style: none; border: var(--couture); padding: 8px 28px; background: var(--bleu2); }
.ct-obtenez li { padding: 20px 0; border-bottom: 1px dashed rgba(233, 217, 166, .45); font-size: 16px; color: #DDE5F5; }
.ct-obtenez li:last-child { border-bottom: 0; }
.ct-obtenez b { display: block; font-size: 20px; color: var(--fil); margin-bottom: 4px; }
@media (max-width: 860px) { .ct-hero__in { grid-template-columns: 1fr; } }

/* Page contact : carte de la zone d'intervention */
.cz{padding:clamp(56px,8vw,110px) 0}
.cz__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:clamp(28px,5vw,72px);align-items:center}
.cz__txt p{max-width:46ch;margin:0 0 16px}
.cz__txt .btn{margin-top:10px}
.cz__fig{margin:0}
.cz-carte{width:100%;height:auto;display:block}
.cz-eau{fill:rgba(255,255,255,.08)}
.cz-rayon{fill:rgba(233,217,166,.07);stroke:var(--fil);stroke-width:1.5;stroke-dasharray:6 6}
.cz-v circle{fill:var(--fil)}
.cz-v text{fill:var(--blanc);font-size:15px;opacity:.85}
.cz-v--g text{font-size:19px;font-weight:700;opacity:1}
.cz-mer{fill:var(--doux);font-size:14px;font-style:italic;text-anchor:middle;opacity:.7}
@media (max-width:820px){.cz__in{grid-template-columns:1fr}}

/* Accueil : avant / après */
.aa{padding:clamp(56px,8vw,110px) 0}
.aa__in{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:clamp(28px,5vw,72px);align-items:center}
.aa__txt p{max-width:44ch;margin:0 0 16px}
.aa__src{font-size:14px;opacity:.75}
.aa__src a{color:inherit}
.aa__txt .btn{margin-top:8px}
.aa__cadre{margin:0;border:var(--couture);padding:10px;border-radius:6px}
.aa__comp{position:relative;aspect-ratio:3/2;overflow:hidden;border-radius:3px;user-select:none}
.aa__comp img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.aa__avant{clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.aa__ligne{position:absolute;top:0;bottom:0;left:var(--pos);width:2px;margin-left:-1px;background:var(--fil);pointer-events:none}
.aa__ligne::after{content:"";position:absolute;top:50%;left:50%;width:38px;height:38px;margin:-19px 0 0 -19px;border-radius:50%;background:var(--fil);box-shadow:0 2px 10px rgba(0,0,0,.3)}
.aa__lab{position:absolute;top:12px;padding:4px 10px;font-size:13px;font-weight:700;background:rgba(19,35,74,.8);color:var(--blanc);border-radius:3px;pointer-events:none}
.aa__lab--g{left:12px}.aa__lab--d{right:12px}
.aa__range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}
.aa__range:focus-visible + *, .aa__comp:focus-within{outline:2px solid var(--fil);outline-offset:4px}
@media (max-width:820px){.aa__in{grid-template-columns:1fr}}
.cz-terre{fill:rgba(255,255,255,.07);stroke:var(--doux);stroke-width:1.2;stroke-linejoin:round}
.cz .cz-v text{font-size:13px}
.cz .cz-v--g text{font-size:16px}
