/* Site vitrine Nowtif. Aucun script, aucune ressource externe, aucun attribut style dans les
   pages (politique CSP stricte). Les jetons de couleur sont ceux de l'espace client, recopiés à
   l'identique (un test le vérifie) : le thème suit le système, sans bascule possible sans script.
   Chaque paire texte et fond atteint 4,5:1 dans les deux thèmes. */

:root {
  --bg: #f2f5fc;
  --panel: #ffffff;
  --panel2: #f0f4fb;
  --border: #d0dae8;
  --text: #1a2540;
  --muted: #4b5563;
  --accent: #2a5fbf;
  --accent2: #234f9e;
  --green: #15803d;
  --red: #c62828;
  --amber: #b45309;
  --navy: #0a2540;
  --radius: 14px;
  --bouton: #2a5fbf;
  --bouton-survol: #234f9e;
  --sur-bouton: #ffffff;
  --champ: #f8faff;
  --teinte-vert: #f0f9f3;
  --teinte-rouge: #fbeaea;
  --teinte-ambre: #fdf6ec;
  --teinte-bleu: #e8effb;
  --teinte-gris: #edf1f7;
  --ombre: 0 8px 24px rgba(20, 40, 80, .14);
  --voile: rgba(20, 40, 80, .45);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --panel: #111a2c;
    --panel2: #16213a;
    --border: #22304d;
    --text: #e8eefb;
    --muted: #90a0bc;
    --accent: #4f8ef7;
    --accent2: #3b76d6;
    --green: #2ecc71;
    --red: #ff5d6c;
    --amber: #ffb020;
    --navy: #0a2540;
    --radius: 14px;
    --bouton: #2f6bd0;
    --bouton-survol: #2b62c4;
    --sur-bouton: #ffffff;
    --champ: #0d1628;
    --teinte-vert: #10291c;
    --teinte-rouge: #341720;
    --teinte-ambre: #2e2410;
    --teinte-bleu: #132544;
    --teinte-gris: #1a2540;
    --ombre: 0 8px 24px rgba(0, 0, 0, .45);
    --voile: rgba(4, 8, 18, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
main { flex: 1; }
main:focus { outline: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.12; letter-spacing: -.02em; }
h2, .h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.2; letter-spacing: -.01em; }
h3, .h3 { font-size: 18px; line-height: 1.35; }
h4 { font-size: 15px; line-height: 1.4; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.petit { font-size: 14px; }
.centre { text-align: center; }
.ic { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo { width: 34px; height: 34px; flex-shrink: 0; }

.evitement {
  position: absolute; left: 12px; top: -120px; z-index: 200;
  background: var(--bouton); color: var(--sur-bouton);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.evitement:focus { top: 12px; }

.conteneur { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.conteneur.etroit { max-width: 800px; }
@media (min-width: 760px) { .conteneur { padding: 0 28px; } }

/* Boutons : mêmes couleurs et même rayon que l'espace client, 44 px de cible au moins. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 650; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-principal { background: var(--bouton); color: var(--sur-bouton); border-color: var(--bouton); }
.btn-principal:hover { background: var(--bouton-survol); border-color: var(--bouton-survol); color: var(--sur-bouton); }
.btn-secondaire { background: var(--panel); color: var(--text); border-color: var(--border); }
.btn-secondaire:hover { border-color: var(--accent); color: var(--accent); }
.btn-contour { background: transparent; color: var(--text); border-color: var(--border); }
.btn-contour:hover { border-color: var(--accent); color: var(--accent); }
.btn-inverse { background: #ffffff; color: #0a2540; border-color: #ffffff; }
.btn-inverse:hover { background: #e8effb; border-color: #e8effb; color: #0a2540; }
.btn-grand { min-height: 52px; padding: 13px 24px; font-size: 17px; }
.btn-petit { min-height: 40px; padding: 8px 14px; font-size: 15px; }
.btn:active { transform: translateY(1px); }

/* En-tête collé, menu sans script : <details> sur téléphone, liens en ligne sur ordinateur. */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(8px)) {
  .entete { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); }
}
.entete-ligne { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.marque {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: .01em;
}
.marque:hover { color: var(--text); }
.nav-large { display: none; margin-left: auto; }
.nav-large ul { display: flex; align-items: center; gap: 2px; }
.nav-large a, .nav-mobile nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15.5px;
}
.nav-large a:hover, .nav-mobile nav a:not(.btn):hover { background: var(--panel2); }
.nav-large a[aria-current="page"], .nav-mobile nav a[aria-current="page"] { color: var(--accent); background: var(--teinte-bleu); }
.entete-outils { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.langue {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 8px 10px;
  border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none;
}
.langue:hover { color: var(--accent); background: var(--panel2); }
.langue-long { display: none; }
.connexion-large { display: none; }
.nav-mobile { position: relative; }
.nav-mobile summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--panel);
  font-weight: 650; font-size: 15px; cursor: pointer; list-style: none; user-select: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { border-color: var(--accent); color: var(--accent); }
.nav-mobile nav {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px));
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--ombre); padding: 8px;
}
.nav-mobile nav ul { display: grid; gap: 2px; }
.nav-mobile nav a:not(.btn) { display: flex; width: 100%; }
.nav-mobile nav .btn { width: 100%; margin-top: 6px; }
@media (min-width: 760px) {
  .nav-large { display: block; }
  .nav-large + .entete-outils { margin-left: 8px; }
  .nav-mobile { display: none; }
  .langue-long { display: inline; }
  .langue-court { display: none; }
  .connexion-large { display: inline-flex; }
}

/* Sections */
.section { padding: 64px 0; }
.section-serree { padding: 8px 0 64px; }
.section-alt { background: var(--panel2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-tete { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-tete h2 { margin-bottom: 10px; }
.section-tete p, .section-intro { color: var(--muted); font-size: 18px; }
.page-tete { padding: 56px 0 32px; }
.page-tete h1 { margin-bottom: 12px; font-size: clamp(30px, 4.4vw, 44px); }
.page-tete .section-intro { max-width: 720px; }
@media (max-width: 759px) {
  .section { padding: 48px 0; }
  .section-serree { padding: 4px 0 48px; }
  .page-tete { padding: 36px 0 24px; }
  .section-tete { margin-bottom: 28px; }
  .section-tete p, .section-intro { font-size: 17px; }
}

.carte {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
@media (max-width: 759px) { .carte { padding: 20px; } }

/* Accueil : promesse */
.hero { padding: 64px 0 72px; overflow: hidden; }
.hero-grille { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; } }
@media (max-width: 759px) { .hero { padding: 40px 0 48px; } .hero-grille { gap: 36px; } }
.surtitre {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px;
  border-radius: 999px; background: var(--teinte-bleu); color: var(--accent);
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
.hero h1 { margin-bottom: 18px; }
.accroche { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); max-width: 620px; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.centre { justify-content: center; }
@media (max-width: 479px) { .hero .actions .btn { width: 100%; } }
.reassurance { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: 15px; }
.reassurance li { display: inline-flex; align-items: center; gap: 8px; }
.reassurance .ic { width: 18px; height: 18px; color: var(--green); }

.etiquette {
  display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--teinte-gris);
  color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.apercu {
  position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--ombre); padding: 22px;
}
.apercu .etiquette { position: absolute; top: -13px; right: 18px; border: 1px solid var(--border); }
.apercu-entete { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.apercu-entete .logo { width: 42px; height: 42px; }
.apercu-de { font-size: 13.5px; color: var(--muted); }
.apercu-objet { font-weight: 750; font-size: 17px; line-height: 1.3; }
.apercu-resume { font-size: 14px; color: var(--muted); }
.apercu-lignes { display: grid; gap: 10px; padding: 16px 0; }
.apercu-lignes li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 12px 14px; border-radius: 12px; background: var(--panel2); font-size: 15px; line-height: 1.45;
}
.apercu-lignes .sev { min-width: 78px; justify-content: center; }
.apercu-pied { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.apercu-pied .ic { width: 16px; height: 16px; }

.sev, .badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap; line-height: 1.5;
}
.sev-elevee { background: var(--teinte-rouge); color: var(--red); }
.sev-moyenne { background: var(--teinte-ambre); color: var(--amber); }
.sev-faible { background: var(--teinte-gris); color: var(--muted); }
.badge-cat { background: var(--teinte-bleu); color: var(--accent); }
.badge .ic { width: 14px; height: 14px; }

/* Accueil : étapes */
.etapes { display: grid; gap: 20px; counter-reset: etape; }
@media (min-width: 860px) { .etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.etape h3 { margin: 14px 0 8px; }
.etape p { color: var(--muted); }
.etape-num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--bouton); color: var(--sur-bouton); font-weight: 800; font-size: 18px;
}
.etape-num.petite { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }

/* Accueil : ce que vous recevez */
.recu-grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .recu-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.recu-texte h2 { margin-bottom: 10px; }
.recu-texte .section-intro { margin-bottom: 26px; }
.points { display: grid; gap: 20px; }
.points li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.points h3 { margin-bottom: 4px; }
.points p { color: var(--muted); }
.point-ic, .tuile-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--teinte-bleu); color: var(--accent);
}
.tuile-ic.petite { width: 38px; height: 38px; border-radius: 10px; }
.signal {
  background: var(--panel); border: 1px solid var(--border); border-left: 4px solid var(--red);
  border-radius: var(--radius); box-shadow: var(--ombre); padding: 24px;
}
.signal .etiquette { margin-bottom: 14px; }
.signal-tete { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.signal-entreprise { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.signal h3 { font-size: 20px; margin: 4px 0 16px; }
.signal-bloc { padding: 14px 16px; border-radius: 12px; background: var(--panel2); margin-bottom: 10px; }
.signal-bloc h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.signal-bloc h4 .ic { width: 16px; height: 16px; color: var(--accent); }
.signal-action { background: var(--teinte-vert); }
.signal-action h4 .ic { color: var(--green); }
.signal-source { margin-top: 14px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.signal-source p:first-child { display: flex; gap: 8px; align-items: flex-start; }
.signal-source .ic { width: 16px; height: 16px; margin-top: 2px; }
.valeurs { display: flex; flex-wrap: wrap; gap: 8px; }
.valeurs span { padding: 3px 10px; border-radius: 8px; font-weight: 700; }
.valeurs .avant { background: var(--teinte-gris); color: var(--muted); text-decoration: line-through; }
.valeurs .apres { background: var(--teinte-rouge); color: var(--red); }

/* Accueil : ce que nous surveillons */
.grille-6 { display: grid; gap: 16px; }
@media (min-width: 600px) { .grille-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grille-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tuile h3 { margin: 14px 0 6px; }
.tuile p { color: var(--muted); font-size: 15px; }
.plus-titre { margin: 44px 0 16px; text-align: center; font-size: 20px; }
.grille-3 { display: grid; gap: 16px; }
@media (min-width: 860px) { .grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plus li {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 18px; border: 1px dashed var(--border); border-radius: var(--radius);
}
.plus h4 { font-size: 16px; margin-bottom: 4px; }
.plus p { color: var(--muted); font-size: 15px; }

/* Offres */
.offres-grille { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .offres-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offre { position: relative; display: flex; flex-direction: column; padding: 28px 24px; }
.offre-avant { border: 2px solid var(--accent); box-shadow: var(--ombre); }
.offre-badge {
  position: absolute; top: -14px; left: 24px; padding: 4px 12px; border-radius: 999px;
  background: var(--bouton); color: var(--sur-bouton); font-size: 13px; font-weight: 750; letter-spacing: .02em;
}
.offre-nom { font-size: 22px; }
.offre-accroche { color: var(--muted); margin-top: 2px; }
.offre-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 20px 0 22px; }
.prix { font-size: 42px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.prix-texte { font-size: 32px; }
.prix-avant { width: 100%; font-size: 14px; font-weight: 700; color: var(--muted); }
.prix-unite { color: var(--muted); font-size: 15px; }
.atouts { display: grid; gap: 10px; margin-bottom: 26px; flex: 1; align-content: start; }
.atouts li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 15.5px; line-height: 1.45; }
.atouts .ic { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.atout-fort { font-weight: 700; }
.offre-bouton { width: 100%; }
.sur-mesure {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: 20px; background: var(--panel);
}
.sur-mesure > div { flex: 1 1 420px; }
.sur-mesure-texte { margin-top: 8px; }
@media (max-width: 479px) { .sur-mesure .btn { width: 100%; } }
.conditions {
  display: flex; gap: 10px; align-items: flex-start; justify-content: center; margin: 22px auto 0; max-width: 760px;
  color: var(--muted); font-size: 15px; text-align: left;
}
.conditions .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; font-weight: 700; text-decoration: none; }
.lien-fleche:hover { text-decoration: underline; }
.lien-fleche .ic { width: 18px; height: 18px; }

/* Questions fréquentes */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px;
  padding: 14px 20px; font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { padding: 0 20px 18px; color: var(--muted); }

/* Appel à l'action */
.cta { padding: 0 0 72px; }
.section-alt + .cta, .section + .cta { padding-top: 0; }
.cta-boite {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: 40px; border-radius: 20px; color: #ffffff;
  background: #0a2540; background-image: linear-gradient(135deg, #0a2540 0%, #183c7a 100%);
  border: 1px solid #22304d;
}
.cta-boite > div { flex: 1 1 380px; }
.cta-boite h2 { margin-bottom: 8px; color: #ffffff; }
.cta-boite p { color: #d6e2f7; font-size: 17px; }
.cta-boite .btn-inverse:focus-visible { outline-color: #ffffff; }
@media (max-width: 759px) { .cta-boite { padding: 28px 22px; } .cta-boite .btn { width: 100%; } }

/* Contact */
.contact-grille { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .contact-grille { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; } }
.formulaire-carte { padding: 28px; }
@media (max-width: 759px) { .formulaire-carte { padding: 20px 16px; } }
.formulaire fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.formulaire legend { padding: 0; margin-bottom: 14px; font-weight: 800; font-size: 19px; }
.formulaire .cases legend { font-size: 15.5px; font-weight: 650; margin-bottom: 10px; }
.champs-2 { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .champs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.champ { margin-bottom: 18px; display: grid; gap: 6px; align-content: start; }
.champ label { font-weight: 650; font-size: 15.5px; }
.facultatif { font-weight: 400; color: var(--muted); font-size: 14px; }
input, select, textarea {
  font-family: inherit; font-size: 16px; color: var(--text); background: var(--champ);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; width: 100%; min-height: 46px;
}
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--accent); }
textarea { resize: vertical; line-height: 1.5; min-height: 110px; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--accent); flex-shrink: 0; }
.aide { font-size: 14px; color: var(--muted); }
.champ-erreur input, .champ-erreur select, .champ-erreur textarea { border-color: var(--red); border-width: 2px; }
.erreur { display: flex; gap: 6px; align-items: flex-start; color: var(--red); font-size: 14.5px; font-weight: 600; }
.erreur .ic { width: 16px; height: 16px; margin-top: 3px; }
.cases-grille { display: grid; gap: 8px; }
@media (min-width: 640px) { .cases-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--champ); cursor: pointer; font-size: 15.5px;
}
.case:hover { border-color: var(--accent); }
.case:has(input:checked) { border-color: var(--accent); background: var(--teinte-bleu); }
.pot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.formulaire-envoi { margin-top: 4px; }
.formulaire-envoi .btn { width: 100%; }
@media (min-width: 640px) { .formulaire-envoi .btn { width: auto; } }
.notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--muted); }
.notice .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.erreurs {
  margin-bottom: 24px; padding: 16px 18px; border-radius: 12px;
  background: var(--teinte-rouge); color: var(--text); border: 1px solid var(--red);
}
.erreurs:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.erreurs-titre { display: flex; gap: 8px; align-items: flex-start; font-weight: 750; color: var(--red); margin-bottom: 8px; }
.erreurs-titre .ic { margin-top: 2px; }
.erreurs ul { display: grid; gap: 4px; padding-left: 28px; list-style: disc; }
.erreurs a { color: var(--red); font-weight: 700; }
.contact-aside { display: grid; gap: 16px; }
.ensuite { display: grid; gap: 14px; margin-top: 14px; }
.ensuite li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; color: var(--muted); }
.repli p { color: var(--muted); margin-bottom: 6px; }
.repli a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }

/* Message (merci, erreur) */
.message-carte { text-align: center; padding: 48px 28px; }
.message-carte h1 { font-size: clamp(26px, 3.6vw, 36px); margin: 18px 0 12px; }
.message-carte p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
.grand-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; }
.grand-ic .ic { width: 32px; height: 32px; }
.grand-ic.succes { background: var(--teinte-vert); color: var(--green); }
.grand-ic.attention { background: var(--teinte-ambre); color: var(--amber); }
@media (max-width: 479px) { .message-carte .btn { width: 100%; } }

/* Pages légales */
.texte-legal { padding: 32px; }
@media (max-width: 759px) { .texte-legal { padding: 22px 18px; } }
.texte-legal h2 { font-size: 21px; margin: 30px 0 10px; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal h3 { font-size: 17px; margin: 18px 0 6px; }
.texte-legal p + p { margin-top: 10px; }
.texte-legal .liste { list-style: disc; padding-left: 22px; margin: 10px 0 14px; display: grid; gap: 6px; }
.lignes { white-space: pre-line; }
.mentions { display: grid; gap: 0; }
.mentions > div { display: grid; gap: 2px 20px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mentions > div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .mentions > div { grid-template-columns: 220px 1fr; } }
.mentions dt { color: var(--muted); font-weight: 600; }
.mentions dd { white-space: pre-line; }
.version { margin-top: 28px; }

/* Pied de page */
.pied { border-top: 1px solid var(--border); background: var(--panel); padding: 44px 0 0; font-size: 15px; }
.pied-grille { display: grid; gap: 28px; padding-bottom: 32px; }
@media (min-width: 760px) { .pied-grille { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.pied-marque p { color: var(--muted); margin-top: 8px; max-width: 360px; }
.pied-liens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pied-titre { font-weight: 750; margin-bottom: 8px; }
.pied-liens ul { display: grid; gap: 2px; }
.pied-liens a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; }
.pied-liens a:hover { color: var(--accent); text-decoration: underline; }
.pied-bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px;
}

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

@media print {
  .entete, .pied, .cta, .nav-mobile, .evitement { display: none !important; }
  body { background: #ffffff; color: #000000; }
}
