/* BTPaie — site vitrine.
   Bâti sur la charte graphique de l'application (copie de paiedsn/static/charte/btpaie-variables.css).
   Règle de la charte : aucun code couleur en dur, uniquement les variables. */
@import url("btpaie-variables.css");

:root {
  --largeur: 1180px;
  --haut-entete: 64px;
  --texte-corps: 16px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg-page); scroll-behavior: smooth; scroll-padding-top: calc(var(--haut-entete) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: var(--texte-corps); line-height: 1.6; color: var(--ink); background: var(--bg-page); }
img, svg { max-width: 100%; }
a { color: var(--cyan-700); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 2px; border-radius: 4px; }
p { margin: 0 0 var(--space-4); }
ul { margin: 0 0 var(--space-4); padding-left: 1.25em; }
strong { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Titres : MAJUSCULES et gras (charte) */
h1, h2, h3 { color: var(--nuit-900); text-transform: uppercase; margin: 0 0 var(--space-4); }
h1 { font-weight: 800; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; letter-spacing: .01em; }
h2 { font-weight: 800; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; letter-spacing: .02em; }
h3 { font-weight: 700; font-size: 15px; line-height: 1.35; letter-spacing: .04em; }
.surtitre { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-700); margin-bottom: var(--space-3); }
.chapo { font-size: 18px; color: var(--ink-muted); max-width: 720px; }
.centre { text-align: center; }
.centre .chapo { margin-left: auto; margin-right: auto; }

.lien-evitement { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--bg-card); color: var(--nuit-900); padding: var(--space-3) var(--space-4); font-weight: 700; }
.lien-evitement:focus { left: var(--space-4); top: var(--space-2); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -4px; }
.ic-petit { width: 16px; height: 16px; vertical-align: -3px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: 80px 0; }
.section--blanc { background: var(--bg-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--nuit { background: var(--nuit-900); color: var(--on-dark); }
.section--nuit h2, .section--nuit h3 { color: var(--on-dark); }
.section--nuit .chapo { color: var(--on-dark-muted); }
.section--nuit a:not(.btn) { color: var(--on-dark); }
.entete-section { margin-bottom: 48px; }

/* ------------------------------------------------------------------ boutons (charte : un seul bouton plein par zone) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-md); font: 700 15px/1.2 var(--font-sans); border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn--principal { background: var(--nuit-900); color: var(--on-dark); }
.btn--principal:hover { background: var(--nuit-700); }
.btn--secondaire { background: var(--bg-card); color: var(--nuit-900); border-color: var(--line-strong); }
.btn--secondaire:hover { background: var(--neutre-100); }
/* sur fond bleu nuit */
.btn--clair { background: var(--bg-card); color: var(--nuit-900); }
.btn--clair:hover { background: var(--nuit-100); }
.btn--contour-clair { background: transparent; color: var(--on-dark); border-color: var(--on-dark-muted); }
.btn--contour-clair:hover { border-color: var(--cyan-500); background: var(--nuit-700); }
.btn--petit { min-height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.groupe-btn { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ------------------------------------------------------------------ pastilles (statuts de la charte) */
.pastille { display: inline-flex; align-items: center; gap: var(--space-1); padding: 2px 10px 2px 8px; border-radius: var(--radius-pill); font: 600 12px/18px var(--font-sans); white-space: nowrap; vertical-align: middle; text-transform: none; letter-spacing: 0; }
.pastille .ic { width: 14px; height: 14px; vertical-align: 0; }
.pastille--succes { background: var(--succes-100); color: var(--succes-700); }
.pastille--info { background: var(--cyan-100); color: var(--cyan-700); }
.pastille--alerte { background: var(--alerte-100); color: var(--alerte-700); }
.pastille--neutre { background: var(--neutre-100); color: var(--neutre-700); }

/* Encadré « à valider » : orange = attention (charte) */
.a-valider { display: flex; gap: var(--space-3); align-items: flex-start; background: var(--alerte-100); color: var(--ink); border: 1px solid var(--alerte-500); border-left-width: 4px; border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: 14px; line-height: 1.5; margin: 0 0 var(--space-6); }
.a-valider .ic { color: var(--alerte-700); margin-top: 1px; }
.a-valider p:last-child { margin-bottom: 0; }
mark.av { white-space: nowrap; background: var(--alerte-100); color: var(--alerte-700); font-weight: 600; padding: 0 4px; border-radius: 4px; }

/* ------------------------------------------------------------------ en-tête */
.entete { position: sticky; top: 0; z-index: 50; background: var(--nuit-900); color: var(--on-dark); border-bottom: 1px solid var(--nuit-700); }
.entete .conteneur { display: flex; align-items: center; gap: var(--space-6); height: var(--haut-entete); }
.marque { display: flex; align-items: center; flex-shrink: 0; padding: var(--space-1) 0; }
.marque img { height: 32px; width: auto; display: block; }
.nav-principale { flex: 1; height: 100%; }
.nav-principale ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-1); height: 100%; }
.nav-principale a { display: flex; align-items: center; height: 100%; padding: 0 var(--space-3); color: var(--on-dark-muted); font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
.nav-principale a:hover { color: var(--on-dark); }
.nav-principale a[aria-current="page"] { color: var(--on-dark); border-bottom-color: var(--cyan-500); }
.actions-entete { display: flex; align-items: center; gap: var(--space-2); }
.actions-entete .btn { min-height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-md); border: 1px solid var(--on-dark-muted); background: transparent; color: var(--on-dark); cursor: pointer; }
.burger .ic-fermer { display: none; }
.burger[aria-expanded="true"] .ic-ouvrir { display: none; }
.burger[aria-expanded="true"] .ic-fermer { display: block; }

@media (max-width: 1060px) {
  .entete .conteneur { gap: var(--space-3); }
  .burger { display: inline-flex; }
  .nav-principale { position: absolute; top: var(--haut-entete); left: 0; right: 0; height: auto; background: var(--nuit-900); border-bottom: 1px solid var(--nuit-700); box-shadow: var(--shadow-pop); display: none; }
  .nav-principale.ouvert { display: block; }
  .nav-principale ul { flex-direction: column; height: auto; padding: var(--space-2) var(--space-4) var(--space-4); }
  .nav-principale a { height: auto; padding: var(--space-3); border: 0; border-left: 3px solid transparent; font-size: 16px; }
  .nav-principale a[aria-current="page"] { border-left-color: var(--cyan-500); }
  .nav-principale .nav-mobile-seul { display: block; }
  .actions-entete { margin-left: auto; }
  .actions-entete .btn-demo { display: none; }
}
.nav-principale .nav-mobile-seul { display: none; }
@media (max-width: 420px) {
  .entete .conteneur { padding: 0 var(--space-4); }
  .marque img { height: 28px; }
  .actions-entete .btn { padding: 0 var(--space-3); }
}
@media (max-width: 359px) { .actions-entete .btn .ic { display: none; } }

/* ------------------------------------------------------------------ héros */
.heros { background: var(--nuit-900); color: var(--on-dark); padding: 72px 0 88px; overflow: hidden; position: relative; }
.heros::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--cyan-500); }
.heros .conteneur { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.heros h1 { color: var(--on-dark); }
.heros h1 .accent { color: var(--cyan-500); }
.heros .chapo { color: var(--on-dark-muted); font-size: 19px; }
.heros .surtitre { color: var(--cyan-500); }
.heros-points { list-style: none; padding: 0; margin: var(--space-6) 0 var(--space-8); display: grid; gap: var(--space-2); }
.heros-points li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--on-dark); }
.heros-points .ic { color: var(--cyan-500); margin-top: 3px; }
.heros-note { margin-top: var(--space-4); font-size: 14px; color: var(--on-dark-muted); }
.heros-note a { color: var(--on-dark); }

.heros--page { padding: 56px 0 64px; }
.heros--page .conteneur { display: block; }
.heros--page .chapo { max-width: 760px; }
.fil { font-size: 14px; color: var(--on-dark-muted); margin-bottom: var(--space-3); }
.fil a { color: var(--on-dark-muted); }

/* Maquette d'écran (données fictives, construites avec les composants de la charte) */
.maquette { background: var(--bg-page); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; color: var(--ink); font-size: 13px; line-height: 1.4; border: 1px solid var(--nuit-700); }
.maquette-barre { background: var(--nuit-900); border-bottom: 1px solid var(--nuit-700); height: 40px; display: flex; align-items: center; gap: var(--space-4); padding: 0 var(--space-4); }
.maquette-barre img { height: 20px; width: auto; }
.maquette-barre span { color: var(--on-dark-muted); font-weight: 600; font-size: 11px; padding: 11px 0 9px; border-bottom: 2px solid transparent; }
.maquette-barre span.actif { color: var(--on-dark); border-bottom-color: var(--cyan-500); }
.maquette-corps { padding: var(--space-4); display: grid; gap: var(--space-3); }
.maquette-titre { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.maquette-titre b { font-weight: 800; text-transform: uppercase; color: var(--nuit-900); font-size: 13px; letter-spacing: .02em; }
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.etape { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--space-2) var(--space-1); border-right: 1px solid var(--line); font-size: 11px; font-weight: 600; text-align: center; }
.etape:last-child { border-right: 0; }
.etape i { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 11px; border: 2px solid var(--line-strong); color: var(--ink-muted); background: var(--bg-card); }
.etape--fait i { background: var(--succes-700); border-color: var(--succes-700); color: var(--on-dark); }
.etape--cours { background: var(--nuit-100); box-shadow: inset 0 -3px 0 var(--cyan-500); }
.etape--cours i { background: var(--nuit-900); border-color: var(--nuit-900); color: var(--on-dark); }
.maquette-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.kpi { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-2) var(--space-3); }
.kpi b { display: block; white-space: nowrap; font-size: clamp(14px, 4vw, 18px); font-weight: 800; color: var(--nuit-900); font-variant-numeric: tabular-nums; }
.kpi span { color: var(--ink-muted); font-size: 11px; }
.maquette table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; font-size: 12px; }
.maquette th { text-align: left; font-weight: 600; font-size: 11px; color: var(--ink-muted); padding: 6px var(--space-2); border-bottom: 2px solid var(--nuit-900); }
.maquette td { padding: 6px var(--space-2); border-bottom: 1px solid var(--line); }
.maquette tr:nth-child(even) td { background: var(--bg-band); }
.maquette tr:last-child td { border-bottom: 0; }
.maquette .d { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.maquette .pastille { font-size: 11px; padding: 0 8px 0 6px; }
.maquette-legende { font-size: 12px; color: var(--on-dark-muted); margin-top: var(--space-3); text-align: center; }

@media (max-width: 960px) {
  .heros .conteneur { grid-template-columns: 1fr; gap: 40px; }
  .heros { padding: 48px 0 64px; }
}
@media (max-width: 520px) {
  .maquette-barre span:nth-child(n+4) { display: none; }
  .maquette .masque-mobile { display: none; }
  .etape { font-size: 10px; }
}

/* ------------------------------------------------------------------ bandeau de réassurance */
.reassurance { background: var(--bg-card); border-bottom: 1px solid var(--line); }
.reassurance ul { list-style: none; margin: 0; padding: var(--space-6) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.reassurance li { display: flex; gap: var(--space-3); align-items: center; font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
.reassurance li b { display: block; color: var(--nuit-900); font-size: 15px; }
.reassurance .rond { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--nuit-100); color: var(--nuit-900); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 900px) { .reassurance ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .reassurance ul { grid-template-columns: 1fr; gap: var(--space-4); } }

/* ------------------------------------------------------------------ grilles et cartes */
.grille { display: grid; gap: var(--space-6); }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grille-3, .grille-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grille-2, .grille-3, .grille-4 { grid-template-columns: 1fr; } }

.carte { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-6); }
.carte h3 { margin-bottom: var(--space-2); }
.carte p { color: var(--ink-muted); font-size: 15px; }
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }
.carte ul { font-size: 15px; color: var(--ink-muted); }
.carte-icone { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--nuit-100); color: var(--nuit-900); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
.carte-icone .ic { width: 24px; height: 24px; }
.carte--lien { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s; }
.carte--lien:hover { box-shadow: var(--shadow-pop); border-color: var(--line-strong); }
.carte--lien .suite { margin-top: auto; padding-top: var(--space-4); color: var(--cyan-700); font-weight: 700; font-size: 15px; display: inline-flex; gap: var(--space-2); align-items: center; }

.liste-coches { list-style: none; padding: 0; }
.liste-coches li { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-2); }
.liste-coches .ic { color: var(--succes-700); margin-top: 3px; }

/* Bloc deux colonnes texte + visuel */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo + .duo { margin-top: 80px; }
.duo--inverse > :first-child { order: 2; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: var(--space-8); } .duo--inverse > :first-child { order: 0; } }

/* Cycle de paie */
.cycle { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); counter-reset: etape; }
.cycle li { position: relative; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-card); }
.cycle li::before { counter-increment: etape; content: counter(etape); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--nuit-900); color: var(--on-dark); font-weight: 800; margin-bottom: var(--space-4); }
.cycle h3 { margin-bottom: var(--space-2); }
.cycle p { color: var(--ink-muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .cycle { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cycle { grid-template-columns: 1fr; } }

/* Espace client */
.espace-client { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.profils { display: grid; gap: var(--space-3); }
.profil { display: flex; gap: var(--space-4); align-items: flex-start; background: var(--nuit-700); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-6); }
.profil .ic { width: 24px; height: 24px; color: var(--cyan-500); margin-top: 2px; }
.profil b { display: block; color: var(--on-dark); font-size: 16px; }
.profil span { color: var(--on-dark-muted); font-size: 15px; }
@media (max-width: 900px) { .espace-client { grid-template-columns: 1fr; gap: var(--space-8); } }

/* ------------------------------------------------------------------ offres */
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: stretch; }
.offre { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-8) var(--space-6); position: relative; }
.offre--phare { border: 2px solid var(--nuit-900); box-shadow: var(--shadow-pop); }
.offre-ruban { position: absolute; top: -14px; left: var(--space-6); background: var(--nuit-900); color: var(--on-dark); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); border-bottom: 2px solid var(--cyan-500); }
.offre h3 { font-size: 18px; margin-bottom: var(--space-1); }
.offre .pour { color: var(--ink-muted); font-size: 15px; margin-bottom: var(--space-4); min-height: 48px; }
.offre .prix { font-size: 30px; font-weight: 800; color: var(--nuit-900); line-height: 1.1; margin-bottom: var(--space-1); font-variant-numeric: tabular-nums; }
.offre .prix small { font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.offre .prix-detail { font-size: 14px; color: var(--ink-muted); margin-bottom: var(--space-4); }
.offre .limites { background: var(--bg-band); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: 15px; margin-bottom: var(--space-6); }
.offre .limites b { color: var(--nuit-900); }
.offre ul { flex: 1; }
.offre .btn { width: 100%; margin-top: var(--space-6); }
@media (max-width: 960px) { .offres { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: var(--space-8); } .offre .pour { min-height: 0; } }

.tableau-defile { position: relative; overflow-x: auto; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.comparatif { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; min-width: 620px; }
.comparatif caption { text-align: left; padding: var(--space-4) var(--space-4) 0; font-weight: 700; color: var(--nuit-900); }
.comparatif th, .comparatif td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.comparatif thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--nuit-900); border-bottom: 2px solid var(--nuit-900); position: sticky; top: 0; background: var(--bg-card); }
.comparatif tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.comparatif tbody tr:nth-child(even) > * { background: var(--bg-band); }
.comparatif tbody tr:last-child > * { border-bottom: 0; }
.comparatif .ic { color: var(--succes-700); }
.comparatif .non { color: var(--ink-muted); }
.comparatif .groupe th { background: var(--nuit-100) !important; color: var(--nuit-900); text-transform: uppercase; font-size: 13px; letter-spacing: .04em; font-weight: 700; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: var(--space-3); max-width: 880px; }
.faq details { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; padding: var(--space-4) var(--space-6); font-weight: 700; color: var(--nuit-900); display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--cyan-700); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .reponse { padding: var(--space-4) var(--space-6) var(--space-2); color: var(--ink); }
.faq-groupe + .faq-groupe { margin-top: 48px; }
.faq-groupe h2 { font-size: 20px; }

/* ------------------------------------------------------------------ formulaire */
.formulaire { display: grid; gap: var(--space-4); }
.ligne-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 600px) { .ligne-2 { grid-template-columns: 1fr; } }
.champ { display: flex; flex-direction: column; gap: var(--space-1); }
.champ label, .champ legend { font: 600 14px/1.4 var(--font-sans); color: var(--ink); padding: 0; }
.champ .aide { font-size: 13px; color: var(--ink-muted); }
.champ input, .champ select, .champ textarea { font: 400 16px/1.4 var(--font-sans); color: var(--ink); background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 10px var(--space-3); min-height: 46px; width: 100%; }
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 0; border-color: var(--nuit-900); box-shadow: 0 0 0 3px var(--cyan-500); }
.champ .obligatoire { color: var(--danger-700); }
fieldset.champ { border: 0; margin: 0; padding: 0; }
.choix { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.choix label { font-weight: 400; display: inline-flex; gap: var(--space-2); align-items: center; }
.choix input { width: 18px; height: 18px; min-height: 0; accent-color: var(--nuit-900); }
.case { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 14px; color: var(--ink-muted); }
.case input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--nuit-900); flex-shrink: 0; }
.message-form { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: 15px; }
.message-form--erreur { background: var(--danger-100); color: var(--danger-700); }
.message-form--ok { background: var(--succes-100); color: var(--succes-700); }
.message-form[hidden] { display: none; }

.contact-grille { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-grille > *, .grille > *, .duo > * { min-width: 0; }
.coordonnees a { overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }
.coordonnees { display: grid; gap: var(--space-4); }
.coordonnees .ligne { display: flex; gap: var(--space-3); align-items: flex-start; }
.coordonnees .ic { color: var(--nuit-900); margin-top: 3px; }

/* ------------------------------------------------------------------ pages de texte (mentions, confidentialité) */
.texte-long { max-width: 820px; }
.texte-long h2 { font-size: 18px; margin-top: 40px; }
.texte-long h2:first-child { margin-top: 0; }
.texte-long dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-6); margin: 0 0 var(--space-4); }
.texte-long dt { font-weight: 600; color: var(--nuit-900); }
.texte-long dd { margin: 0; }
@media (max-width: 600px) { .texte-long dl { grid-template-columns: 1fr; gap: 0; } .texte-long dd { margin-bottom: var(--space-3); } }

/* ------------------------------------------------------------------ appel final */
.appel { background: var(--nuit-900); color: var(--on-dark); border-radius: var(--radius-lg); padding: 56px var(--space-8); display: flex; justify-content: space-between; align-items: center; gap: var(--space-8); flex-wrap: wrap; position: relative; overflow: hidden; }
.appel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--cyan-500); }
.appel h2 { color: var(--on-dark); margin-bottom: var(--space-2); }
.appel p { color: var(--on-dark-muted); margin: 0; max-width: 560px; }
@media (max-width: 600px) { .appel { padding: 40px var(--space-6); } }

/* ------------------------------------------------------------------ pied de page */
.pied { background: var(--nuit-900); color: var(--on-dark-muted); padding: 56px 0 var(--space-6); font-size: 15px; }
.pied a { color: var(--on-dark-muted); text-decoration: none; }
.pied a:hover { color: var(--on-dark); text-decoration: underline; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); }
.pied img { height: 32px; width: auto; margin-bottom: var(--space-4); }
.pied h2 { color: var(--on-dark); font-size: 13px; letter-spacing: .06em; margin-bottom: var(--space-3); }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.pied-bas { border-top: 1px solid var(--nuit-700); margin-top: 40px; padding-top: var(--space-6); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: 13px; }
@media (max-width: 900px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; gap: var(--space-6); } }

/* ------------------------------------------------------------------ illustrations et encarts */
.illu { display: block; width: 100%; height: auto; max-width: 480px; margin-inline: auto; }
.illu--heros { max-width: 520px; }
.heros--illu .conteneur { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.heros--illu .illu { max-width: 340px; }
@media (max-width: 960px) {
  .heros--illu .conteneur { grid-template-columns: 1fr; gap: var(--space-8); }
  .heros--illu .illu { max-width: 300px; margin-inline: 0; }
  .illu--heros { max-width: 440px; }
}
.lien-fleche { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; color: var(--cyan-700); text-decoration: none; margin-top: var(--space-2); }
.lien-fleche:hover { text-decoration: underline; }
.maquette-legende--clair { color: var(--ink-muted); }
.carte--accent { background: var(--cyan-100); border-color: var(--cyan-100); }
.carte--accent p { color: var(--ink); }
.carte--accent .carte-icone { background: var(--bg-card); }
.encart { display: flex; gap: var(--space-6); align-items: flex-start; background: var(--cyan-100); border-left: 6px solid var(--cyan-500); border-radius: var(--radius-lg); padding: var(--space-8); }
.encart .carte-icone { background: var(--bg-card); flex-shrink: 0; margin: 0; }
.encart h3 { margin-bottom: var(--space-2); }
.encart p { margin: 0; color: var(--ink); max-width: 760px; }
.info { display: flex; gap: var(--space-3); align-items: flex-start; background: var(--cyan-100); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: 14px; line-height: 1.5; color: var(--ink); margin: 0 0 var(--space-6); }
.info .ic { color: var(--cyan-700); flex-shrink: 0; margin-top: 2px; }

/* ------------------------------------------------------------------ petits écrans */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .conteneur { padding: 0 var(--space-4); }
  .entete-section { margin-bottom: var(--space-8); }
  .chapo, .heros .chapo { font-size: 17px; }
  .groupe-btn .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; }
  .actions-entete .btn { white-space: nowrap; padding-top: 0; padding-bottom: 0; }
  .carte { padding: var(--space-4) 20px; }
  .offre { padding: var(--space-8) 20px var(--space-6); }
  .duo + .duo { margin-top: 56px; }
  .duo .illu { max-width: 340px; }
  .encart { flex-direction: column; gap: var(--space-4); padding: var(--space-6) 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .entete, .pied, .appel, .burger { display: none !important; }
  .heros, .section--nuit { background: none; color: var(--ink); }
  .heros h1, .section--nuit h2 { color: var(--ink); }
}

/* prix dans les cartes d'offres de l'accueil */
.carte .prix-carte { font-size: 24px; font-weight: 800; color: var(--nuit-900) !important; line-height: 1.2; margin-bottom: var(--space-2); font-variant-numeric: tabular-nums; }
.carte .prix-carte small { font-size: 14px; font-weight: 600; color: var(--ink-muted); }

/* cartes de services (paie déléguée, assistance) */
.carte--service { display: flex; flex-direction: column; }
.carte--service p:not(.prix-carte) { margin-bottom: var(--space-6); }
.carte--service .btn { margin-top: auto; align-self: flex-start; }
