/* SS Construction Isolation
   Concept : « coupe technique ». Un héros bleu nuit avec la coupe animée d'un entretoit,
   puis des feuilles blanc neige où des dessins de détail racontent chaque service.
   Texte aligné à gauche, 62 caractères max. Une seule animation orchestrée : l'isolant
   qui monte jusqu'à R-50. Le reste est calme.
   Un seul thème, voulu : l'identité de la marque (fond clair, bandes bleu nuit). */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Couleur — palette de la marque */
  --nuit: #0E2A47;          /* Bleu nuit : encre, enveloppe, bandes */
  --nuit-fonce: #0A2039;    /* pied de page */
  --nuit-trait: #2A4A6E;    /* traits sur fond nuit */
  --orange: #EE6020;        /* Orange thermique : chaleur, appels à l'action */
  --orange-vif: #F47A40;    /* survol */
  --orange-texte: #B7410C;  /* orange lisible sur fond clair */
  --glace: #BFD9EC;         /* Bleu glace : froid, texte sur nuit */
  --glace-pale: #E6F0F7;    /* panneaux */
  --glace-trait: #7FA9CC;   /* air froid, décor */
  --neige: #F4F7FA;         /* Blanc neige : fond */
  --blanc: #FFFFFF;
  --texte: #0E2A47;
  --texte-doux: #4B6279;
  --texte-sur-nuit: #D9E8F3;
  --texte-sur-nuit-doux: #A8C4DA;
  --ligne: #D3E0EB;
  --ligne-forte: #9FB6CB;
  --erreur: #B42318;
  --bois: #EFE3CF;

  /* Type — Archivo seulement, avec son axe de largeur (comme le logo) */
  --f: 'Archivo', 'Arial', system-ui, sans-serif;
  --t-hero: clamp(2.6rem, 1.7rem + 3.3vw, 4.5rem);
  --t-h1: clamp(2.2rem, 1.45rem + 3vw, 3.9rem);
  --t-h2: clamp(1.85rem, 1.3rem + 2vw, 2.85rem);
  --t-h3: clamp(1.2rem, 1.08rem + .45vw, 1.42rem);
  --t-lead: clamp(1.125rem, 1.05rem + .3vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-xs: .8125rem;

  /* Espace */
  --gutter: max(clamp(16px, 4.2vw, 44px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4.2vw, 44px), env(safe-area-inset-right, 0px));
  --sp-section: clamp(4rem, 2.8rem + 4.5vw, 7.5rem);
  --rayon: 6px;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--neige);
  color: var(--texte);
  font-family: var(--f);
  font-size: var(--t-body);
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--nuit);
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saut { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--orange); color: var(--nuit); padding: .7rem 1rem; font-weight: 700; border-radius: var(--rayon); }
.saut:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

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

/* ------------------------------------------------------------------ type */
.titre-hero {
  font-size: var(--t-hero);
  font-weight: 800;
  font-stretch: 112.5%;
  line-height: .98;
  letter-spacing: -.012em;
}
.h1 { font-size: var(--t-h1); font-weight: 800; font-stretch: 110%; line-height: 1.02; letter-spacing: -.01em; }
.h2 { font-size: var(--t-h2); font-weight: 780; font-stretch: 110%; line-height: 1.06; letter-spacing: -.008em; }
.h3 { font-size: var(--t-h3); font-weight: 720; font-stretch: 104%; line-height: 1.2; }
.lead { font-size: var(--t-lead); line-height: 1.55; max-width: 60ch; }
.doux { color: var(--texte-doux); }
.petit { font-size: var(--t-small); }
.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 54px;
  padding: .7rem 1.4rem;
  border-radius: var(--rayon);
  border: 2px solid transparent;
  font: inherit;
  font-size: 1.1875rem; /* 19 px gras : texte « grand » au sens WCAG */
  font-weight: 750;
  font-stretch: 104%;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn .picto { width: 22px; height: 22px; flex: none; }
.btn-orange { background: var(--orange); color: var(--nuit); }
.btn-orange:hover { background: var(--orange-vif); }
.btn-nuit { background: var(--nuit); color: var(--blanc); }
.btn-nuit:hover { background: #17406B; }
.btn-contour { border-color: var(--glace); color: var(--blanc); background: transparent; }
.btn-contour:hover { background: rgba(191, 217, 236, .12); }
.btn-contour-nuit { border-color: var(--nuit); color: var(--nuit); background: transparent; }
.btn-contour-nuit:hover { background: var(--glace-pale); }
.btn-petit { min-height: 44px; padding: .5rem 1rem; font-size: 1rem; }
.lien { font-weight: 700; color: var(--nuit); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.lien:hover { color: var(--orange-texte); }

/* ------------------------------------------------------------------ en-tête */
.entete {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--nuit);
  color: var(--blanc);
  border-bottom: 1px solid var(--nuit-trait);
}
.entete-in { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.logo { display: block; flex: none; line-height: 0; }
.logo img { width: clamp(176px, 15vw + 90px, 232px); height: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a, .nav button.nav-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  min-height: 44px; padding: 0 .8rem;
  color: var(--texte-sur-nuit); font: inherit; font-size: 1rem; font-weight: 600;
  text-decoration: none; background: none; border: 0; border-radius: var(--rayon); cursor: pointer;
}
.nav a:hover, .nav button.nav-btn:hover, .nav a[aria-current="page"] { color: var(--blanc); background: rgba(191, 217, 236, .1); }
.nav button.nav-btn .picto { width: 18px; height: 18px; transition: transform .2s; }
.nav button.nav-btn[aria-expanded="true"] .picto { transform: rotate(180deg); }
.nav .a-sous { position: relative; }
.sous {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  list-style: none; margin: 0; padding: .5rem;
  background: var(--blanc); border-radius: 8px; border: 1px solid var(--ligne);
  box-shadow: 0 18px 40px -18px rgba(14, 42, 71, .45);
}
.sous a { display: flex; width: 100%; color: var(--nuit); padding: .55rem .75rem; min-height: 44px; }
.sous a:hover { background: var(--glace-pale); color: var(--nuit); }
.entete-tel {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  color: var(--blanc); text-decoration: none; font-weight: 700; font-variant-numeric: tabular-nums;
  min-height: 44px; padding: 0 .25rem;
}
.entete-tel .picto { color: var(--orange); }
.entete-tel:hover { color: var(--glace); }
.entete .btn { min-height: 46px; font-size: 1.0625rem; padding: .5rem 1.05rem; }
.menu-btn {
  display: none; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; min-width: 44px; padding: 0 .6rem; margin-left: auto;
  background: none; border: 1.5px solid var(--nuit-trait); border-radius: var(--rayon);
  color: var(--blanc); font: inherit; font-weight: 650; cursor: pointer;
}
.tel-icone { display: none; }

.menu-mobile {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 49;
  background: var(--nuit); color: var(--blanc); overflow-y: auto;
  padding: 1rem var(--gutter-r) calc(2rem + env(safe-area-inset-bottom, 0px)) var(--gutter);
}
.menu-mobile ul { list-style: none; margin: 0; padding: 0; }
.menu-mobile > nav > ul > li { border-bottom: 1px solid var(--nuit-trait); }
.menu-mobile a { display: flex; align-items: center; min-height: 52px; color: var(--blanc); text-decoration: none; font-size: 1.15rem; font-weight: 650; }
.menu-mobile .groupe { padding: .9rem 0 .4rem; color: var(--texte-sur-nuit-doux); font-size: var(--t-small); font-weight: 600; }
.menu-mobile .groupe + ul a { min-height: 46px; font-size: 1.05rem; font-weight: 550; color: var(--texte-sur-nuit); padding-left: .25rem; }
.menu-mobile .menu-actions { display: grid; gap: .75rem; margin-top: 1.5rem; }

@media (max-width: 1100px) {
  .entete-tel span { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 62px; }
  .nav, .entete .btn, .entete-tel { display: none; }
  .menu-btn { display: inline-flex; }
  .tel-icone {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; border-radius: var(--rayon);
    background: var(--orange); color: var(--nuit);
  }
  .tel-icone .picto { width: 22px; height: 22px; }
  .entete-in { gap: .5rem; }
}

/* ------------------------------------------------------------------ héros (accueil) */
.heros { position: relative; isolation: isolate; color: var(--blanc); overflow: hidden; background: var(--nuit); }
.heros.avec-photo { background: var(--nuit) url('../img/entretoit-laine-soufflee-1200.webp') center 60% / cover no-repeat; }
/* voile bleu nuit : la photo donne la matière, le texte et la coupe restent lisibles */
.heros.avec-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 42, 71, .94) 0%, rgba(14, 42, 71, .88) 48%, rgba(14, 42, 71, .74) 100%);
}
@media (max-width: 979px) {
  .heros.avec-photo::before { background: rgba(14, 42, 71, .87); }
}
.heros-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  padding-block: clamp(2.5rem, 1.6rem + 3.4vw, 5rem) clamp(2.5rem, 1.8rem + 2.6vw, 4.25rem);
}
.heros-texte { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.heros h1 { display: flex; flex-direction: column; gap: .9rem; }
.heros .h1-sujet { font-size: var(--t-lead); font-weight: 650; font-stretch: 100%; line-height: 1.3; color: var(--glace); letter-spacing: 0; }
.heros .lead { color: var(--texte-sur-nuit); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.heros-faits { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; list-style: none; padding: 0; margin: .25rem 0 0; color: var(--texte-sur-nuit); font-size: var(--t-small); }
.heros-faits li { display: inline-flex; align-items: center; gap: .5rem; }
.heros-faits .picto { color: var(--orange); width: 20px; height: 20px; }
.heros-faits a { color: var(--blanc); }
.coupe { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: .9rem; }
.coupe-svg { width: 100%; height: auto; display: block; overflow: visible; }
.coupe-legende { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; color: var(--texte-sur-nuit-doux); font-size: var(--t-small); }
.bascule { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(191, 217, 236, .12); border: 1px solid var(--nuit-trait); }
.bascule button {
  min-height: 40px; min-width: 84px; padding: 0 1rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--texte-sur-nuit); font: inherit; font-size: .95rem; font-weight: 650; cursor: pointer;
}
.bascule button[aria-pressed="true"] { background: var(--glace); color: var(--nuit); }

@media (min-width: 980px) {
  .heros-in { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4vw, 4.5rem); }
}

/* ------------------------------------------------------------------ preuves */
.preuves { background: var(--blanc); border-bottom: 1px solid var(--ligne); }
.preuves ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.preuves li { display: flex; gap: .85rem; align-items: flex-start; padding: 1.35rem 1.25rem 1.35rem 0; min-width: 0; }
.preuves .picto { color: var(--orange-texte); flex: none; margin-top: 2px; }
.preuves strong { display: block; font-weight: 720; font-stretch: 104%; line-height: 1.3; }
.preuves span { display: block; color: var(--texte-doux); font-size: var(--t-small); line-height: 1.45; margin-top: .15rem; }
@media (min-width: 760px) {
  .preuves li + li { border-left: 1px solid var(--ligne); padding-left: 1.25rem; }
}
@media (max-width: 759px) {
  .preuves li + li { border-top: 1px solid var(--ligne); }
}

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--sp-section); }
.section-blanc { background: var(--blanc); }
.section-glace { background: var(--glace-pale); }
.section-nuit { background: var(--nuit); color: var(--blanc); }
.tete { display: flex; flex-direction: column; gap: 1rem; max-width: 62ch; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.tete .lead { color: var(--texte-doux); }
.section-nuit .tete .lead { color: var(--texte-sur-nuit); }

/* motif d'isolant en matelas (symbole de dessin d'architecture) */
.motif-isolant {
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22' viewBox='0 0 28 22'%3E%3Cpath d='M0 20C0 6 14 6 14 11S0 16 0 2M14 20C14 6 28 6 28 11S14 16 14 2' fill='none' stroke='%237FA9CC' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
  opacity: .9;
}

/* ------------------------------------------------------------------ services */
.services { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.service {
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: 4px;
  padding: 1rem 1rem 1.35rem; min-width: 0; position: relative;
}
.service .dessin { background: var(--blanc); border-bottom: 1px solid var(--ligne); margin: -1rem -1rem .5rem; padding: .75rem; border-radius: 4px 4px 0 0; }
.service .dessin svg { display: block; width: 100%; height: auto; }
.service h3 a { text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 4px; }
.service:hover { border-color: var(--ligne-forte); }
.service:hover h3 a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.service p { color: var(--texte-doux); }
.service .voir { margin-top: auto; padding-top: .35rem; font-weight: 700; font-size: var(--t-small); color: var(--orange-texte); }
.service-vedette .voir { margin-top: .25rem; }
.service-vedette .dessin { background: var(--blanc); }
@media (min-width: 700px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-vedette { grid-column: 1 / -1; }
}
@media (min-width: 1060px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-vedette { grid-column: span 2; grid-row: span 1; flex-direction: row; gap: 1.5rem; padding: 1.25rem; }
  .service-vedette .dessin { flex: 1.25; margin: -1.25rem 0 -1.25rem -1.25rem; border-bottom: 0; border-right: 1px solid var(--ligne); border-radius: 4px 0 0 4px; padding: 1rem; display: flex; align-items: center; }
  .service-vedette .corps { flex: 1; display: flex; flex-direction: column; gap: .7rem; justify-content: center; }
}
.service .corps { display: flex; flex-direction: column; gap: .7rem; flex: 1; }

/* ------------------------------------------------------------------ signes */
.signes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.signes-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.signe {
  display: flex; align-items: flex-start; gap: .85rem; width: 100%;
  padding: .9rem 1rem; min-height: 56px; text-align: left;
  background: var(--blanc); color: var(--texte); border: 1.5px solid var(--ligne); border-radius: 8px;
  font: inherit; font-size: 1.02rem; font-weight: 560; line-height: 1.4; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.signe:hover { border-color: var(--ligne-forte); }
.signe .case {
  flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 5px;
  border: 2px solid var(--ligne-forte); background: var(--blanc);
  display: inline-flex; align-items: center; justify-content: center; color: var(--blanc);
}
.signe .case .picto { width: 18px; height: 18px; opacity: 0; stroke-width: 2.6; }
.signe[aria-pressed="true"] { border-color: var(--nuit); background: var(--glace-pale); }
.signe[aria-pressed="true"] .case { background: var(--orange); border-color: var(--orange); color: var(--nuit); }
.signe[aria-pressed="true"] .case .picto { opacity: 1; }
.verdict {
  background: var(--nuit); color: var(--blanc); border-radius: 10px;
  padding: clamp(1.25rem, 1rem + 1vw, 1.9rem); display: flex; flex-direction: column; gap: 1rem; min-width: 0;
}
.verdict h3 { font-weight: 740; }
.verdict p { color: var(--texte-sur-nuit); }
.verdict ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; counter-reset: v; }
.verdict li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .1rem .5rem; counter-increment: v; }
.verdict li::before {
  content: counter(v); grid-row: span 2; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--orange); color: var(--nuit); font-weight: 800; font-size: .95rem;
  display: inline-flex; align-items: center; justify-content: center; margin-top: .1rem;
}
.verdict li strong { font-weight: 720; }
.verdict li span { color: var(--texte-sur-nuit-doux); font-size: var(--t-small); line-height: 1.45; }
@media (min-width: 900px) {
  .signes { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; align-items: start; }
  .signes-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verdict { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ------------------------------------------------------------------ LogisVert */
.subv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.montant {
  display: block; font-size: clamp(4.2rem, 2.4rem + 8vw, 8.4rem); font-weight: 820; font-stretch: 116%;
  line-height: .9; letter-spacing: -.02em; color: var(--orange); font-variant-numeric: tabular-nums;
}
.subv-texte { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.conditions { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; max-width: 62ch; }
.conditions li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .75rem; align-items: start; }
.conditions .picto { color: var(--orange-texte); width: 24px; height: 24px; margin-top: 1px; stroke-width: 2.2; }
.note-source { color: var(--texte-doux); font-size: var(--t-small); max-width: 62ch; }
.quiz { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 10px; padding: clamp(1.25rem, 1rem + 1vw, 2rem); display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; align-self: start; }
.quiz fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .55rem; }
.quiz legend { font-weight: 680; line-height: 1.35; margin-bottom: .35rem; padding: 0; }
.oui-non { display: flex; gap: .5rem; flex-wrap: wrap; }
.oui-non label {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 88px; padding: 0 1rem; border: 1.5px solid var(--ligne-forte); border-radius: var(--rayon);
  font-weight: 650; cursor: pointer; background: var(--blanc);
}
.oui-non input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.oui-non label:has(input:checked) { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.oui-non label:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.quiz-resultat { border-radius: 8px; padding: 1rem 1.1rem; background: var(--glace-pale); display: grid; gap: .4rem; }
.quiz-resultat strong { font-size: 1.15rem; font-weight: 750; }
.quiz-resultat[data-etat="oui"] { background: #FDEDE4; }
.quiz-resultat[data-etat="non"] { background: var(--neige); border: 1px solid var(--ligne); }
@media (min-width: 960px) {
  .subv { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; align-items: start; }
}

/* ------------------------------------------------------------------ étapes (règle) */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: e; position: relative; }
.etape { position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: .25rem 1rem; padding-bottom: 1.75rem; counter-increment: e; align-content: start; }
.etape::before {
  content: counter(e); width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--nuit); color: var(--blanc); font-weight: 800; font-size: 1.1rem;
  display: inline-flex; align-items: center; justify-content: center; grid-row: span 2; position: relative; z-index: 1;
}
.etape::after { content: ""; position: absolute; left: 1.3rem; top: 2.6rem; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--ligne-forte) 0 6px, transparent 6px 12px); }
.etape:last-child::after { display: none; }
.etape h3 { padding-top: .35rem; }
.etape p { color: var(--texte-doux); max-width: 48ch; }
@media (min-width: 980px) {
  .etapes { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .etape { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .etape h3 { min-height: 2.5em; padding-top: 0; display: flex; align-items: flex-end; }
  .etape::before { grid-row: auto; margin-bottom: .6rem; }
  .etape::after { left: 2.6rem; right: -1.5rem; top: 1.3rem; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--ligne-forte) 0 6px, transparent 6px 12px); }
}

/* ------------------------------------------------------------------ terrain (photos) */
.terrain { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78%, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.terrain figure { scroll-snap-align: start; display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.photo { position: relative; border-radius: 6px; overflow: hidden; background: var(--glace-pale); aspect-ratio: 4 / 3; max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .etiquette { position: absolute; left: .6rem; top: .6rem; background: rgba(14, 42, 71, .82); color: var(--blanc); font-size: var(--t-xs); font-weight: 600; padding: .25rem .55rem; border-radius: 4px; }
.terrain figcaption { font-size: var(--t-small); color: var(--texte-doux); }
@media (min-width: 900px) {
  .terrain { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
}

/* ------------------------------------------------------------------ secteurs */
.secteurs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
.carte-svg { width: 100%; height: auto; display: block; }
.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.region { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 8px; padding: 1.1rem 1.2rem; display: grid; gap: .35rem; position: relative; }
.region h3 a { text-decoration: none; }
.region h3 a::after { content: ""; position: absolute; inset: 0; }
.region:hover { border-color: var(--ligne-forte); }
.region:hover h3 a { text-decoration: underline; text-decoration-color: var(--orange); }
.region p { color: var(--texte-doux); font-size: var(--t-small); }
@media (min-width: 960px) {
  .secteurs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; }
}

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; font-weight: 700; font-size: 1.1rem; font-stretch: 102%; line-height: 1.35; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .picto { flex: none; color: var(--orange-texte); transition: transform .2s; }
.faq details[open] summary .picto { transform: rotate(45deg); }
.faq .reponse { padding: 0 0 1.35rem; color: var(--texte-doux); max-width: 64ch; display: grid; gap: .75rem; }

/* ------------------------------------------------------------------ bande d'appel */
.appel { background: var(--orange); color: var(--nuit); }
.appel-in { display: grid; gap: 1.5rem; padding-block: clamp(3rem, 2.4rem + 2.5vw, 4.75rem); }
.appel h2 { max-width: 20ch; }
.appel p { max-width: 54ch; font-size: var(--t-lead); }
.appel .tel-gros { font-weight: 800; font-stretch: 110%; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); text-decoration: none; font-variant-numeric: tabular-nums; }
.appel .tel-gros:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .appel-in { grid-template-columns: minmax(0, 1.2fr) auto; align-items: end; gap: 3rem; }
  .appel .actions { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ pied de page */
.pied { background: var(--nuit-fonce); color: var(--texte-sur-nuit); font-size: var(--t-small); }
.pied-in { display: grid; gap: 2.5rem; padding-block: 3.5rem 2rem; }
.pied-haut { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.pied .logo img { width: 230px; }
.pied h2 { font-size: 1rem; font-weight: 700; color: var(--blanc); margin-bottom: .75rem; font-stretch: 100%; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.pied a { color: var(--texte-sur-nuit); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied .pied-tel { font-size: 1.35rem; font-weight: 750; color: var(--blanc); font-variant-numeric: tabular-nums; }
.pied-bas { border-top: 1px solid var(--nuit-trait); padding-top: 1.5rem; display: grid; gap: .6rem; color: var(--texte-sur-nuit-doux); font-size: var(--t-xs); line-height: 1.55; }
.pied-bas a { min-height: auto; display: inline; color: var(--texte-sur-nuit); text-decoration: underline; }
.pied-bas button { background: none; border: 0; padding: 0; color: var(--texte-sur-nuit); font: inherit; text-decoration: underline; cursor: pointer; }
@media (min-width: 760px) {
  .pied-haut { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ barre mobile */
.barre-mobile { display: none; }
@media (max-width: 759px) {
  .barre-mobile {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .6rem var(--gutter-r) calc(.6rem + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: var(--blanc); border-top: 1px solid var(--ligne);
    box-shadow: 0 -10px 30px -18px rgba(14, 42, 71, .5);
  }
  .barre-mobile .btn { min-height: 50px; font-size: 1.1875rem; padding-inline: .75rem; font-stretch: 100%; white-space: nowrap; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* ------------------------------------------------------------------ pages intérieures */
.page-tete { background: var(--blanc); border-bottom: 1px solid var(--ligne); }
.page-tete-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: clamp(2rem, 1.5rem + 2.5vw, 4rem); align-items: center; }
.page-tete .texte { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.page-tete .lead { color: var(--texte-doux); }
.page-tete .dessin { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 4px; padding: .9rem; min-width: 0; }
.page-tete .dessin svg { width: 100%; height: auto; display: block; }
.fil { font-size: var(--t-small); color: var(--texte-doux); }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.fil li + li::before { content: "/"; margin-right: .3rem; color: var(--ligne-forte); }
.fil a { color: var(--texte-doux); }
@media (min-width: 960px) {
  .page-tete-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; }
  .page-tete-in.sans-dessin { grid-template-columns: minmax(0, 1fr); }
}
.contenu { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.contenu > * { min-width: 0; }
@media (min-width: 1020px) {
  .contenu { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; }
  .contenu .cote { position: sticky; top: calc(var(--header-h) + 24px); }
}
.prose { display: flex; flex-direction: column; gap: 1.1rem; max-width: 66ch; }
.prose h2 { font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.1rem); font-weight: 760; font-stretch: 108%; line-height: 1.12; margin-top: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; font-weight: 720; margin-top: .6rem; }
.prose p, .prose li { color: #213E5C; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .45rem; }
.prose ul li::marker { color: var(--orange-texte); }
.prose ol li::marker { color: var(--orange-texte); font-weight: 700; }
.prose a { color: var(--nuit); font-weight: 600; text-decoration-color: var(--orange); }
.prose strong { font-weight: 700; color: var(--nuit); }
.encadre { background: var(--glace-pale); border-radius: 8px; padding: 1.1rem 1.25rem; display: grid; gap: .5rem; }
.encadre p { color: var(--texte); }
.cote-carte { background: var(--nuit); color: var(--blanc); border-radius: 10px; padding: 1.5rem; display: grid; gap: 1rem; }
.cote-carte p { color: var(--texte-sur-nuit); }
.cote-carte .tel { color: var(--blanc); font-size: 1.5rem; font-weight: 780; font-stretch: 108%; text-decoration: none; font-variant-numeric: tabular-nums; }
.cote-carte .btn { width: 100%; }
.cote-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: var(--t-small); color: var(--texte-sur-nuit); }
.cote-liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .5rem; }
.cote-liste .picto { width: 20px; height: 20px; color: var(--orange); stroke-width: 2.2; }
.villes { columns: 2 9.5rem; column-gap: 1.5rem; list-style: none; padding: 0 !important; }
.villes li { break-inside: avoid; padding: .2rem 0; }
.grille-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 700px) { .grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.carte-texte { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 8px; padding: 1.15rem 1.25rem; display: grid; gap: .45rem; align-content: start; }
.carte-texte h3 { margin-top: 0 !important; }

/* ------------------------------------------------------------------ réalisations */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.galerie figure { display: grid; gap: .55rem; }
.galerie figcaption { font-size: var(--t-small); color: var(--texte-doux); }
.avant-apres { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; max-width: 100%; background: var(--glace-pale); --pos: 50%; touch-action: pan-y; }
.avant-apres img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avant-apres .apres { clip-path: inset(0 0 0 var(--pos)); }
.avant-apres .poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--blanc); pointer-events: none; }
.avant-apres .poignee::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--orange); box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.avant-apres input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.avant-apres .tag { position: absolute; bottom: .7rem; background: rgba(14, 42, 71, .85); color: var(--blanc); font-size: var(--t-xs); font-weight: 650; padding: .25rem .6rem; border-radius: 4px; pointer-events: none; }
.avant-apres .tag-avant { left: .7rem; }
.avant-apres .tag-apres { right: .7rem; }

/* ------------------------------------------------------------------ formulaire */
.form-zone { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 1020px) { .form-zone { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; } }
.form-carte { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 10px; padding: clamp(1.25rem, .9rem + 1.6vw, 2.25rem); min-width: 0; }
.progression { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; counter-reset: p; }
.progression li { counter-increment: p; display: grid; gap: .45rem; font-size: var(--t-small); font-weight: 650; color: var(--texte-doux); }
.progression li::before { content: ""; height: 5px; border-radius: 3px; background: var(--ligne); }
.progression li[data-etat="fait"]::before, .progression li[data-etat="actif"]::before { background: var(--orange); }
.progression li[data-etat="actif"] { color: var(--nuit); }
.etape-form { border: 0; margin: 0; padding: 0; display: grid; gap: 1.4rem; min-width: 0; }
.etape-form > legend { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); font-weight: 780; font-stretch: 108%; line-height: 1.15; padding: 0; margin-bottom: 1.1rem; }
.champ { display: grid; gap: .4rem; min-width: 0; }
.champ label, .groupe-titre { font-weight: 680; line-height: 1.3; }
.champ .aide { font-size: var(--t-small); color: var(--texte-doux); }
.champ input[type="text"], .champ input[type="tel"], .champ input[type="email"], .champ select, .champ textarea {
  width: 100%; min-height: 52px; padding: .7rem .85rem; border: 1.5px solid var(--ligne-forte); border-radius: var(--rayon);
  background: var(--blanc); color: var(--texte); font: inherit; font-size: 1.0625rem;
}
.champ textarea { min-height: 110px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--nuit); }
.champ[data-erreur] input, .champ[data-erreur] select { border-color: var(--erreur); }
.erreur-msg { color: var(--erreur); font-size: var(--t-small); font-weight: 600; }
.deux { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 640px) { .deux { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .6rem; }
.choix label {
  position: relative; display: flex; align-items: center; gap: .7rem; min-height: 54px; padding: .7rem .9rem;
  border: 1.5px solid var(--ligne); border-radius: 8px; background: var(--blanc); font-weight: 600; line-height: 1.3; cursor: pointer;
}
.choix input { width: 20px; height: 20px; accent-color: var(--orange); flex: none; margin: 0; }
.choix label:has(input:checked) { border-color: var(--nuit); background: var(--glace-pale); }
.groupe { border: 0; margin: 0; padding: 0; display: grid; gap: .6rem; min-width: 0; }
.groupe > legend { font-weight: 680; padding: 0; margin-bottom: .2rem; }
.consentement { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: .7rem; align-items: start; font-size: var(--t-small); line-height: 1.5; color: var(--texte-doux); }
.consentement input { width: 22px; height: 22px; accent-color: var(--orange); margin: 1px 0 0; }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--ligne); }
.form-nav .btn { min-width: 150px; }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.statut { border-radius: 8px; padding: 1rem 1.1rem; font-weight: 600; display: grid; gap: .35rem; }
.statut[data-type="apercu"] { background: var(--glace-pale); }
.statut[data-type="erreur"] { background: #FDECEA; color: var(--erreur); }
.statut[data-type="ok"] { background: #E8F4EC; color: #14532D; }
.indice { background: #FDEDE4; border-radius: 8px; padding: .85rem 1rem; font-size: var(--t-small); }

/* ------------------------------------------------------------------ témoins */
.temoins {
  position: fixed; left: var(--gutter); right: var(--gutter-r); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  max-width: 560px; background: var(--blanc); color: var(--texte); border: 1px solid var(--ligne); border-radius: 10px;
  box-shadow: 0 24px 60px -24px rgba(14, 42, 71, .55); padding: 1.15rem 1.25rem; display: grid; gap: .9rem;
}
.temoins p { font-size: var(--t-small); color: var(--texte-doux); }
.temoins .actions .btn { min-height: 46px; font-size: 1rem; }
@media (max-width: 759px) { .temoins { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

/* ------------------------------------------------------------------ mouvement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* flux de chaleur et d'air dans la coupe du héros */
.heros .coupe-svg .c-chaleur-dedans path,
.heros .coupe-svg .c-chaleur-perdue path { animation: flux 1.9s linear infinite; }
.heros .coupe-svg .c-air path { animation: flux-air 2.6s linear infinite; }
@keyframes flux { to { stroke-dashoffset: -48; } }
@keyframes flux-air { to { stroke-dashoffset: -56; } }

.nowrap { white-space: nowrap; }
@media (max-width: 640px) {
  .heros .coupe-svg .c-note-avant text, .heros .coupe-svg .c-note-apres text { font-size: 26px; }
  .heros .coupe-svg .c-lecture text:first-of-type { font-size: 24px; }
}

/* secteurs */
.secteurs-texte { display: grid; gap: 1.25rem; min-width: 0; align-content: start; }
.secteurs-texte .lead { color: var(--texte-doux); }
.puces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.puces li { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 999px; padding: .45rem .95rem; font-weight: 650; font-size: var(--t-small); }
.pied-haut p { max-width: 26ch; }

/* aperçu seulement : appel bloqué */
.apercu-appel {
  position: fixed; left: var(--gutter); right: var(--gutter-r); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  max-width: 440px; margin-inline: auto; background: var(--blanc); color: var(--texte); border: 1px solid var(--ligne); border-radius: 10px;
  box-shadow: 0 24px 60px -24px rgba(14, 42, 71, .55); padding: 1.1rem 1.2rem; display: grid; gap: .7rem;
}
.apercu-appel p { font-size: var(--t-small); color: var(--texte-doux); }
.apercu-appel .num { font-size: 1.5rem; font-weight: 800; font-stretch: 108%; color: var(--nuit); font-variant-numeric: tabular-nums; user-select: all; }
@media (max-width: 759px) { .apercu-appel { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

/* ------------------------------------------------------------------ solutions (section services de l'accueil) */
.solutions-tete {
  display: grid; gap: 1rem 4rem; align-items: end;
  padding-bottom: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); margin-bottom: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);
  border-bottom: 1px solid var(--ligne);
}
.solutions-tete h2 { max-width: 15ch; }
.solutions-tete .lead { color: var(--texte-doux); max-width: 54ch; }
@media (min-width: 980px) { .solutions-tete { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

.solutions { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 1.5vw, 24px); }
.sol {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--blanc); border: 1px solid rgba(14, 42, 71, .08); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(14, 42, 71, .04), 0 8px 22px -14px rgba(14, 42, 71, .18);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sol:hover { transform: translateY(-4px); border-color: rgba(14, 42, 71, .14); box-shadow: 0 2px 4px rgba(14, 42, 71, .05), 0 22px 40px -20px rgba(14, 42, 71, .32); }
.sol:focus-within { border-color: var(--orange); }
.sol-dessin {
  aspect-ratio: 4 / 3; max-width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 1.6vw, 22px);
  background-color: #F7FAFC;
  background-image: linear-gradient(rgba(14, 42, 71, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 42, 71, .045) 1px, transparent 1px);
  background-size: 22px 22px; background-position: -1px -1px;
  border-bottom: 1px solid rgba(14, 42, 71, .07);
}
.sol-dessin .schema { width: 100%; height: 100%; display: block; }
.schema text { font-family: var(--f); }
.schema .trait :is(path, line, rect, circle, ellipse, polyline, polygon) { vector-effect: non-scaling-stroke; }
.schema .t1 { stroke-width: 1.5px; }
.schema .t2 { stroke-width: 1px; }
.schema .t3 { stroke-width: .75px; }
.sol-corps { display: flex; flex-direction: column; gap: .75rem; flex: 1; padding: 1.35rem 1.5rem 1.5rem; }
.sol-titre { font-size: clamp(1.25rem, 1.1rem + .45vw, 1.45rem); font-weight: 740; font-stretch: 106%; line-height: 1.2; }
.sol-titre a { text-decoration: none; color: var(--nuit); }
.sol-titre a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.sol-titre a:focus-visible { outline: none; }
.sol-titre a:focus-visible::after { outline: 3px solid var(--orange); outline-offset: -3px; }
.sol-corps p { color: var(--texte-doux); line-height: 1.55; max-width: 46ch; }
.sol-specs { list-style: none; margin: .1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.sol-specs li { font-size: var(--t-xs); font-weight: 620; color: var(--nuit); background: var(--glace-pale); border-radius: 999px; padding: .28rem .7rem; line-height: 1.3; }
.sol-cta { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--orange-texte); font-weight: 720; font-size: var(--t-small); }
.sol-fleche { transition: transform .25s ease; }
.sol:hover .sol-fleche { transform: translateX(4px); }
.sol-grande .sol-titre { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); }
.solutions-pied {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); padding: 1.25rem 1.5rem;
  background: var(--blanc); border: 1px solid rgba(14, 42, 71, .08); border-radius: 12px;
}
.solutions-pied p { font-weight: 620; color: var(--nuit); }
@media (min-width: 720px) {
  .solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol:first-child { grid-column: 1 / -1; }
  .sol:first-child .sol-dessin { aspect-ratio: 16 / 9; }
}
@media (min-width: 1080px) {
  .solutions { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sol { grid-column: span 2; }
  .sol.sol-grande, .sol:first-child { grid-column: span 3; }
  .sol-grande .sol-dessin, .sol:first-child .sol-dessin { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .sol:hover { transform: none; }
  .sol:hover .sol-fleche { transform: none; }
}


/* ---------------------------------------------------------------- soumission : une seule étape, fond nuit */
.soum { background: var(--nuit); color: var(--blanc); }
.soum-in { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "tete" "carte" "plus"; gap: 2rem; padding-block: clamp(2.25rem, 1.5rem + 3vw, 5rem); }
.soum-tete { grid-area: tete; display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.soum-carte { grid-area: carte; min-width: 0; }
.soum-plus { grid-area: plus; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; min-width: 0; }
@media (min-width: 960px) {
  .soum-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "tete carte" "plus carte"; grid-template-rows: auto 1fr; column-gap: clamp(3rem, 5vw, 5.5rem); row-gap: 2rem; }
}
.soum-sur { margin: 0; font-size: var(--t-small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-vif); }
.soum h1 { color: var(--blanc); }
.soum .lead { color: var(--texte-sur-nuit); margin: 0; }
.soum-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; color: var(--texte-sur-nuit); }
.soum-liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .65rem; align-items: start; }
.soum-liste .picto { width: 20px; height: 20px; color: var(--orange); stroke-width: 2.2; margin-top: 2px; }
.soum-carte form { background: var(--nuit-fonce); border: 1px solid var(--nuit-trait); border-radius: 12px; padding: clamp(1.25rem, .9rem + 1.6vw, 2.25rem); display: grid; gap: 1.35rem; }
.soum .champ label, .soum .groupe > legend { color: var(--blanc); }
.soum .doux { color: var(--texte-sur-nuit-doux); font-weight: 500; }
.soum .champ input, .soum .champ textarea { background: #12355A; border-color: var(--nuit-trait); color: var(--blanc); }
.soum .champ input::placeholder, .soum .champ textarea::placeholder { color: var(--texte-sur-nuit-doux); opacity: 1; }
.soum .champ input:focus, .soum .champ textarea:focus { border-color: var(--glace); }
.soum .champ[data-erreur] input { border-color: #FF8A7A; }
.soum .erreur-msg { color: #FFB4A8; margin: 0; }
.puces-choix { display: flex; flex-wrap: wrap; gap: .55rem; }
.puce-choix { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: .55rem 1rem; border: 1px solid var(--nuit-trait); border-radius: 8px; color: var(--texte-sur-nuit); font-weight: 600; line-height: 1.25; cursor: pointer; }
.puce-choix input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.puce-choix:hover { border-color: var(--glace-trait); }
.puce-choix:has(input:checked) { background: var(--glace); border-color: var(--glace); color: var(--nuit); }
.puce-choix:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.ajout { justify-self: start; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .25rem 0; background: none; border: 0; color: var(--orange-vif); font: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ajout .picto { width: 18px; height: 18px; }
.ajout:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.soum .indice { background: rgba(191, 217, 236, .1); color: var(--texte-sur-nuit); margin: 0; }
.soum .statut { color: var(--nuit); }
.soum-envoyer { width: 100%; min-height: 58px; font-size: 1.125rem; }
.soum-note { margin: 0; font-size: var(--t-small); line-height: 1.5; color: var(--texte-sur-nuit-doux); }
.soum-note a { color: var(--glace); }
.barre-mobile.seule { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 559px) {
  .puces-choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .puce-choix { padding-inline: .8rem; }
  .soum-envoyer { font-size: 1.0625rem; padding-inline: .75rem; }
}
.soum .statut[data-type="erreur"] { color: var(--erreur); }
