/* NM Digital — feuille de style
   Bleu nuit pour la structure, orange pour les appels à l'action, fond gris très clair.
   L'orange ne sert jamais de couleur de texte sur fond clair (contraste 2,4:1) :
   les boutons orange ont un texte bleu nuit (6,5:1). */

:root {
  --nuit: #14213D;
  --nuit-2: #1F3157;
  --orange: #F28C28;
  --orange-fonce: #D9761A;
  --orange-pale: #FDF0E3;
  --fond: #F5F7FA;
  --blanc: #FFFFFF;
  --texte: #2B2D33;
  --texte-doux: #5A6070;
  --ligne: #DDE2EA;
  --bleu-pale: #E9EEF6;
  --vert: #1E7A4C;

  --police-titres: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --police-texte: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --largeur: 1140px;
  --gouttiere: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6rem);
  --rayon: 12px;
  --ombre: 0 18px 40px -24px rgba(20, 33, 61, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nuit); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--nuit-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
code { font-family: var(--police-texte); font-weight: 600; color: var(--nuit); background: var(--bleu-pale); padding: 0.05em 0.35em; border-radius: 5px; white-space: nowrap; }

h1, h2, h3 { font-family: var(--police-titres); color: var(--nuit); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 3.6vw + 1rem, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.ponct { margin-left: -0.09em; }

.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
.etroit { max-width: 46rem; }
.lien-evitement { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--nuit); color: var(--blanc); }
.lien-evitement:focus { top: 1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.4rem;
  border: 2px solid transparent; border-radius: 10px;
  font-family: var(--police-titres); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-orange { background: var(--orange); color: var(--nuit); }
.btn-orange:hover { background: var(--orange-fonce); color: var(--nuit); text-decoration: none; }
.btn-nuit { background: var(--nuit); color: var(--blanc); }
.btn-nuit:hover { background: var(--nuit-2); color: var(--blanc); text-decoration: none; }
.btn-contour { background: transparent; color: var(--nuit); border-color: var(--nuit); }
.btn-contour:hover { background: var(--nuit); color: var(--blanc); text-decoration: none; }
.btn-petit { min-height: 42px; padding: 0.55rem 1rem; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.lien-suite { font-weight: 600; }
.lien-suite::after { content: " →"; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--ligne); backdrop-filter: saturate(1.4) blur(8px); }
.entete-interieur { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--nuit); font-family: var(--police-titres); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; color: var(--nuit); }
.logo img { width: 40px; height: 40px; }
.logo-blanc, .logo-blanc:hover { color: var(--blanc); }
.navigation { display: flex; align-items: center; gap: 1.8rem; }
.navigation-liens { display: flex; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.navigation-liens a { color: var(--texte); font-weight: 500; text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.navigation-liens a:hover { color: var(--nuit); border-bottom-color: var(--ligne); }
.navigation-liens a[aria-current="page"] { color: var(--nuit); border-bottom-color: var(--orange); }
.navigation-actions { display: flex; align-items: center; gap: 1.2rem; }
.lien-espace-client { font-size: 0.92rem; color: var(--texte-doux); text-decoration: none; }
.lien-espace-client:hover { color: var(--nuit); text-decoration: underline; }
.bouton-menu { display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.2rem; border: 0; background: none; color: var(--nuit); font: 700 0.95rem var(--police-titres); cursor: pointer; }
.bouton-menu-barres, .bouton-menu-barres::before, .bouton-menu-barres::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s; }
.bouton-menu-barres { position: relative; }
.bouton-menu-barres::before, .bouton-menu-barres::after { content: ""; position: absolute; left: 0; }
.bouton-menu-barres::before { top: -7px; }
.bouton-menu-barres::after { top: 7px; }
.menu-ouvert .bouton-menu-barres { background: transparent; }
.menu-ouvert .bouton-menu-barres::before { transform: translateY(7px) rotate(45deg); }
.menu-ouvert .bouton-menu-barres::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .bouton-menu { display: inline-flex; }
  .navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gouttiere) 1.5rem; background: var(--blanc); border-bottom: 1px solid var(--ligne); box-shadow: var(--ombre); }
  .menu-ouvert .navigation { display: flex; }
  .navigation-liens { flex-direction: column; gap: 0; }
  .navigation-liens li { border-bottom: 1px solid var(--ligne); }
  .navigation-liens a { display: block; padding: 0.85rem 0; border-bottom: 0; font-size: 1.05rem; }
  .navigation-liens a[aria-current="page"] { border-bottom: 0; box-shadow: inset 3px 0 0 var(--orange); padding-left: 0.8rem; }
  .navigation-actions { flex-direction: column-reverse; align-items: stretch; gap: 0.8rem; }
  .navigation-actions .btn { width: 100%; }
  .lien-espace-client { text-align: center; padding: 0.4rem; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-blanche { background: var(--blanc); }
.section-nuit { background: var(--nuit); color: rgba(255, 255, 255, 0.86); }
.section-nuit h2, .section-nuit h3 { color: var(--blanc); }
.section-nuit a:not(.btn) { color: var(--blanc); }
.section-entete { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-entete.centre { margin-left: auto; margin-right: auto; text-align: center; }
.chapo { font-size: clamp(1.1rem, 0.4vw + 1rem, 1.25rem); color: var(--texte-doux); max-width: 42rem; }
.centre { text-align: center; }
.centre .chapo, .centre .actions { margin-left: auto; margin-right: auto; justify-content: center; }
.note-petite { font-size: 0.9rem; color: var(--texte-doux); }
.note-petite em, em.note-petite { font-style: italic; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); background: var(--blanc); border-bottom: 1px solid var(--ligne); }
.hero h1 { max-width: 16em; }
.reassurance { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 1.6rem 0 0; padding: 0; list-style: none; font-weight: 600; color: var(--nuit); font-size: 0.98rem; }
.reassurance li { display: inline-flex; align-items: center; gap: 0.45rem; }
.reassurance li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2314213D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* En-tête des pages intérieures */
.page-entete { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); background: var(--blanc); border-bottom: 1px solid var(--ligne); }
.page-entete h1 { max-width: 18em; }
.page-entete .chapo { margin-bottom: 0; }

/* ---------- Encart « échange d'e-mails » ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.courriels { display: grid; gap: 1rem; }
.courriel { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; }
.courriel-entete { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1.1rem; background: var(--bleu-pale); font-size: 0.85rem; color: var(--texte-doux); }
.courriel-entete strong { color: var(--nuit); font-weight: 600; }
.courriel-corps { padding: 1rem 1.1rem 1.1rem; }
.courriel-corps p:last-child { margin-bottom: 0; }
.courriel-assistant { margin-left: clamp(0rem, 4vw, 2.5rem); border-left: 4px solid var(--orange); }
.courriel-signature { font-weight: 600; color: var(--nuit); }
.courriel a { font-weight: 600; }

/* ---------- Grilles et cartes ---------- */
.grille { display: grid; gap: 1.25rem; }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-4 { grid-template-columns: repeat(4, 1fr); }
.carte { padding: 1.6rem; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.section-blanche .carte { background: var(--fond); }
.carte h3 { margin-bottom: 0.5rem; }
.carte p { margin: 0; color: var(--texte-doux); }
.carte-numero { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: 0.9rem; border-radius: 50%; background: var(--nuit); color: var(--blanc); font: 800 1rem var(--police-titres); }
.carte-icone { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 0.9rem; border-radius: 10px; background: var(--orange-pale); color: var(--nuit); }
.carte-icone svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.etiquette-formule { display: inline-block; margin-top: 0.7rem; font-size: 0.82rem; font-style: italic; color: var(--texte-doux); }

/* ---------- Offres ---------- */
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.offre { position: relative; display: flex; flex-direction: column; padding: 2rem 1.6rem 1.6rem; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); scroll-margin-top: 90px; }
.offre h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.offre-accroche { color: var(--texte-doux); min-height: 4.95em; }
@media (max-width: 960px) { .offre-accroche { min-height: 0; } }
.offre-prix { margin: 0.6rem 0 0.2rem; font-family: var(--police-titres); color: var(--nuit); }
.offre-prix strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.offre-prix span { color: var(--texte-doux); font-weight: 600; }
.offre-annuel { font-size: 0.92rem; color: var(--texte-doux); margin-bottom: 1.2rem; }
.offre .liste-coches { flex: 1; margin-bottom: 1.4rem; }
.offre .btn { width: 100%; }
.offre-recommandee { border: 2px solid var(--nuit); box-shadow: var(--ombre); }
.badge { position: absolute; top: -0.85rem; left: 1.6rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--orange); color: var(--nuit); font: 800 0.8rem var(--police-titres); letter-spacing: 0.02em; }

/* Listes */
.liste-coches, .liste-croix { margin: 0; padding: 0; list-style: none; }
.liste-coches li, .liste-croix li { position: relative; padding-left: 1.8rem; margin-bottom: 0.55rem; }
.liste-coches li::before, .liste-croix li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; }
.liste-coches li::before { background: var(--bleu-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2314213D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.liste-croix li::before { background: #F1E4E4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%238A2B2B' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.texte ul:not(.liste-coches):not(.liste-croix), .texte ol { padding-left: 1.3rem; }
.texte li { margin-bottom: 0.45rem; }
.texte h2 { margin-top: 2.2rem; }
.texte h2:first-child { margin-top: 0; }
.texte h3 { margin-top: 1.6rem; }

/* Étapes */
.etapes { counter-reset: etape; display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.etapes > li { counter-increment: etape; padding: 1.6rem; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.etapes > li::before { content: counter(etape); display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: 0.9rem; border-radius: 50%; background: var(--orange); color: var(--nuit); font: 800 1rem var(--police-titres); }
.etapes h3 { margin-bottom: 0.4rem; }
.etapes p { margin: 0; color: var(--texte-doux); }
.etapes-verticales { grid-template-columns: 1fr; }

/* Tableaux */
.tableau-defilant { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--blanc); -webkit-overflow-scrolling: touch; }
.tableau { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.tableau caption { text-align: left; padding: 1rem 1.1rem 0.4rem; font-weight: 700; color: var(--nuit); font-family: var(--police-titres); }
.tableau th, .tableau td { padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--ligne); text-align: left; vertical-align: top; }
.tableau thead th { background: var(--bleu-pale); color: var(--nuit); font-family: var(--police-titres); font-weight: 700; white-space: nowrap; }
.tableau tbody tr:last-child th, .tableau tbody tr:last-child td { border-bottom: 0; }
.tableau tbody th { font-weight: 500; color: var(--texte); min-width: 14rem; }
.tableau .oui { color: var(--vert); font-weight: 700; }
.tableau .non { color: var(--texte-doux); }
.tableau .col-reco { background: var(--orange-pale); }

/* Encadrés */
.encadre { padding: 1.4rem 1.6rem; background: var(--blanc); border: 1px solid var(--ligne); border-left: 5px solid var(--nuit); border-radius: var(--rayon); }
.encadre-orange { background: var(--orange-pale); border-color: #F6D3AF; border-left-color: var(--orange); }
.encadre h2, .encadre h3 { margin-bottom: 0.4rem; }
.encadre p:last-child { margin-bottom: 0; }
.encarts { display: grid; gap: 1rem; margin: 2rem 0; }

/* Exemples de demandes */
.bulles { display: grid; gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.bulles li { padding: 0.9rem 1.1rem; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px 14px 14px 4px; font-style: italic; }

/* FAQ */
.faq-groupe { margin-top: 2.4rem; }
.faq-groupe:first-child { margin-top: 0; }
.faq-liste { border-top: 1px solid var(--ligne); }
.faq { border-bottom: 1px solid var(--ligne); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; font-family: var(--police-titres); font-weight: 700; font-size: 1.08rem; color: var(--nuit); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--bleu-pale); font-size: 1.2rem; transition: transform 0.2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-reponse { padding: 0 2.8rem 1.2rem 0; color: var(--texte-doux); }
.faq-reponse p:last-child { margin-bottom: 0; }

/* Réalisations */
.projets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.projets-3 { grid-template-columns: repeat(3, 1fr); }
.projet { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; color: var(--texte); text-decoration: none; transition: box-shadow 0.2s, transform 0.2s; }
a.projet:hover { box-shadow: var(--ombre); transform: translateY(-2px); color: var(--texte); text-decoration: none; }
.projet img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top; border-bottom: 1px solid var(--ligne); background: var(--bleu-pale); }
.projet-corps { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.projet h3 { margin: 0; }
.projet p { margin: 0; color: var(--texte-doux); flex: 1; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.3rem 0 0; padding: 0; list-style: none; }
.etiquettes li { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--bleu-pale); color: var(--nuit); font-size: 0.8rem; font-weight: 600; }
.projet-lien { font-weight: 600; color: var(--nuit); font-size: 0.95rem; }

/* Bandeau final */
.bandeau-final { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--nuit); color: rgba(255, 255, 255, 0.86); text-align: center; }
.bandeau-final h2 { color: var(--blanc); }
.bandeau-final p { max-width: 36rem; margin-left: auto; margin-right: auto; }
.bandeau-final .actions { justify-content: center; }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 1.2rem; max-width: 40rem; }
.carte-formulaire { padding: clamp(1.4rem, 4vw, 2.2rem); background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); }
.champ { display: grid; gap: 0.35rem; }
.champ > label, .champ > legend, .groupe > legend { font-weight: 600; color: var(--nuit); padding: 0; }
.champ .facultatif { font-weight: 400; color: var(--texte-doux); font-size: 0.9rem; }
.champ .aide { font-size: 0.9rem; color: var(--texte-doux); margin: 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem;
  border: 1.5px solid #B9C1CF; border-radius: 9px; background: var(--blanc);
  color: var(--texte); font: inherit; font-size: 1rem;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--nuit); outline: 3px solid rgba(242, 140, 40, 0.45); outline-offset: 0; }
input[type="file"] { font: inherit; font-size: 0.95rem; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.choix { display: grid; gap: 0.5rem; }
.choix-ligne { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.case { display: flex; align-items: flex-start; gap: 0.6rem; cursor: pointer; }
.case input { width: 1.25rem; height: 1.25rem; margin: 0.18rem 0 0; flex: none; accent-color: var(--nuit); }
.case-carte { padding: 0.75rem 0.9rem; border: 1.5px solid var(--ligne); border-radius: 9px; background: var(--blanc); }
.case-carte:has(input:checked) { border-color: var(--nuit); background: var(--bleu-pale); }
.repetable { display: grid; gap: 0.5rem; }
.erreur-champ { color: #A3261D; font-size: 0.9rem; font-weight: 600; }
.alerte { padding: 0.9rem 1.1rem; border-radius: 9px; background: #FDECEA; color: #7A1D15; border: 1px solid #F3C1BC; }
.piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Questionnaire en étapes */
.progression { margin-bottom: 1.6rem; }
.progression-texte { display: flex; justify-content: space-between; font-size: 0.92rem; font-weight: 600; color: var(--nuit); margin-bottom: 0.45rem; }
.progression-barre { height: 8px; border-radius: 999px; background: var(--bleu-pale); overflow: hidden; }
.progression-barre span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 0.25s; }
.etape-formulaire { display: grid; gap: 1.2rem; }
.etape-formulaire[hidden] { display: none; }
.etape-formulaire h2 { font-size: 1.4rem; margin: 0; }
.etape-formulaire > legend { margin-bottom: 0.6rem; }
.navigation-etapes { display: flex; justify-content: space-between; gap: 0.8rem; margin-top: 0.8rem; }
.recapitulatif { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.2rem; }
.recapitulatif dt { font-weight: 600; color: var(--nuit); }
.recapitulatif dd { margin: 0; }
.vignettes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.6rem; }
.vignette { display: grid; gap: 0.4rem; padding: 0.7rem; border: 1.5px solid var(--ligne); border-radius: 10px; background: var(--blanc); cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.vignette:has(input:checked) { border-color: var(--nuit); box-shadow: 0 0 0 2px var(--nuit) inset; }
.vignette input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vignette:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.vignette-apercu { height: 54px; border-radius: 6px; display: flex; overflow: hidden; }
.vignette-apercu i { flex: 1; }
.apercu-sobre i:nth-child(1) { background: #1F2A37; } .apercu-sobre i:nth-child(2) { background: #9AA4B2; } .apercu-sobre i:nth-child(3) { background: #F3F4F6; }
.apercu-chaleureux i:nth-child(1) { background: #7A3E1D; } .apercu-chaleureux i:nth-child(2) { background: #D9A441; } .apercu-chaleureux i:nth-child(3) { background: #F6EDE1; }
.apercu-moderne i:nth-child(1) { background: #111111; } .apercu-moderne i:nth-child(2) { background: #FFFFFF; } .apercu-moderne i:nth-child(3) { background: #3B82F6; }
.apercu-colore i:nth-child(1) { background: #E63946; } .apercu-colore i:nth-child(2) { background: #2A9D8F; } .apercu-colore i:nth-child(3) { background: #F4A261; }
.apercu-libre { background: repeating-linear-gradient(45deg, #E9EEF6 0 8px, #F5F7FA 8px 16px); } .apercu-libre i { display: none; }

/* Pages légales */
.texte-legal { max-width: 48rem; }
.texte-legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.a-completer { background: #FFF4D6; color: #6B4E00; padding: 0 0.25em; border-radius: 3px; }
.avertissement-legal { margin-bottom: 2rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.pied-signature { margin: 0.8rem 0 0.4rem; font-family: var(--police-titres); font-weight: 700; font-style: italic; color: var(--blanc); }
.pied-titre { margin-bottom: 0.9rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); }
.pied ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.pied a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied-bas { padding-top: 1.2rem; padding-bottom: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.pied-bas p { margin: 0; }

/* ---------- Adaptations ---------- */
@media (max-width: 960px) {
  .grille-4 { grid-template-columns: repeat(2, 1fr); }
  .grille-3, .projets-3 { grid-template-columns: repeat(2, 1fr); }
  .offres { grid-template-columns: 1fr; max-width: 30rem; margin: 0 auto; }
  .offre-recommandee { order: -1; }
  .demo { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grille-2, .grille-3, .grille-4, .projets, .projets-3 { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .faq-reponse { padding-right: 0; }
  .recapitulatif { grid-template-columns: 1fr; gap: 0.1rem; }
  .recapitulatif dd { margin-bottom: 0.6rem; }
  .navigation-etapes .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
