/* ComeVia — site comevia.fr · charte v1 (novembre 2026)
   Charte complète : Canva « ComeVia — Charte graphique du site » et docs/CHARTE.md */

/* ---------- Polices (hébergées sur le site, aucun appel à Google) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  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: "Montserrat"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/montserrat-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/lexend-latin.woff2") format("woff2");
  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: "Lexend"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/lexend-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Couleurs ---------- */
:root {
  /* marque (logo) */
  --depart: #16B4F5; --voie: #3B6BF5; --come: #7B3FF0; --via: #E5197E;
  --pli: #FF3F6C; --elan: #FF7A2E; --lumiere: #FFB81C; --encre: #17142E;
  --degrade-chaud: linear-gradient(100deg, var(--elan), var(--lumiere));
  --degrade-logo: linear-gradient(100deg, var(--depart), var(--voie) 30%, var(--come) 60%, var(--via) 80%, var(--elan) 92%, var(--lumiere));

  /* thème clair */
  --fond: #F6F5FA; --surface: #FFFFFF; --champ: #ECEAF4;
  --texte: #17142E; --texte-2: #4A4560; --texte-3: #625C7C;
  --lien: #2B57D6; --focus: #2B57D6;
  --bord-champ: #8F89A8; --filet: rgba(23, 20, 46, .10);
  --verre: rgba(255, 255, 255, .62); --verre-bord: rgba(23, 20, 46, .08); --verre-haut: rgba(255, 255, 255, .9);
  --verre-bouton: rgba(23, 20, 46, .05); --verre-bouton-bord: rgba(23, 20, 46, .16);
  --ombre: 0 1px 2px rgba(23, 20, 46, .05), 0 12px 40px rgba(23, 20, 46, .08);
  --apps: #3150C9; --atelier: #B04A0C; --conseil: #0B6E9C;
  --badge-test-fond: #FFF4D6; --badge-test: #8A5A00;
  --badge-dev-fond: #E6EBFF; --badge-dev: #2B3FA8;
  --badge-neutre-fond: rgba(23, 20, 46, .06); --badge-neutre: #17142E;
  --succes: #177A48; --erreur: #C2242C;
  --halo-1: rgba(22, 180, 245, .28); --halo-2: rgba(59, 107, 245, .18);
  --halo-3: rgba(255, 184, 28, .32); --halo-4: rgba(255, 122, 46, .16);
  --logo-clair: block; --logo-sombre: none;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #0D0B1A; --surface: #1A1730; --champ: #262241;
    --texte: #F5F3FC; --texte-2: #B8B3CC; --texte-3: #8F89A8;
    --lien: #5CC8F8; --focus: #16B4F5;
    --bord-champ: #736C96; --filet: rgba(255, 255, 255, .10);
    --verre: rgba(255, 255, 255, .06); --verre-bord: rgba(255, 255, 255, .12); --verre-haut: rgba(255, 255, 255, .22);
    --verre-bouton: rgba(255, 255, 255, .08); --verre-bouton-bord: rgba(255, 255, 255, .22);
    --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 48px rgba(0, 0, 0, .35);
    --apps: #7B9BFF; --atelier: #FF9A5C; --conseil: #16B4F5;
    --badge-test-fond: rgba(255, 201, 77, .14); --badge-test: #FFC94D;
    --badge-dev-fond: rgba(169, 185, 255, .14); --badge-dev: #A9B9FF;
    --badge-neutre-fond: rgba(255, 255, 255, .09); --badge-neutre: #F5F3FC;
    --succes: #4CD08F; --erreur: #FF6B72;
    --halo-1: rgba(59, 107, 245, .55); --halo-2: rgba(123, 63, 240, .40);
    --halo-3: rgba(255, 122, 46, .34); --halo-4: rgba(22, 180, 245, .28);
    --logo-clair: none; --logo-sombre: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fond: #0D0B1A; --surface: #1A1730; --champ: #262241;
  --texte: #F5F3FC; --texte-2: #B8B3CC; --texte-3: #8F89A8;
  --lien: #5CC8F8; --focus: #16B4F5;
  --bord-champ: #736C96; --filet: rgba(255, 255, 255, .10);
  --verre: rgba(255, 255, 255, .06); --verre-bord: rgba(255, 255, 255, .12); --verre-haut: rgba(255, 255, 255, .22);
  --verre-bouton: rgba(255, 255, 255, .08); --verre-bouton-bord: rgba(255, 255, 255, .22);
  --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 48px rgba(0, 0, 0, .35);
  --apps: #7B9BFF; --atelier: #FF9A5C; --conseil: #16B4F5;
  --badge-test-fond: rgba(255, 201, 77, .14); --badge-test: #FFC94D;
  --badge-dev-fond: rgba(169, 185, 255, .14); --badge-dev: #A9B9FF;
  --badge-neutre-fond: rgba(255, 255, 255, .09); --badge-neutre: #F5F3FC;
  --succes: #4CD08F; --erreur: #FF6B72;
  --halo-1: rgba(59, 107, 245, .55); --halo-2: rgba(123, 63, 240, .40);
  --halo-3: rgba(255, 122, 46, .34); --halo-4: rgba(22, 180, 245, .28);
  --logo-clair: none; --logo-sombre: block;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 400 1.125rem/1.67 "Lexend", system-ui, -apple-system, sans-serif;
  letter-spacing: .005em; overflow-x: hidden;
}
h1, h2, h3 { font-family: "Montserrat", system-ui, sans-serif; line-height: 1.2; margin: 0; color: var(--texte); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.5rem); font-weight: 700; line-height: 1.14; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.36; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--lien); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(255, 184, 28, .35); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--surface); color: var(--texte); }
.lien-evitement:focus { top: 12px; }

/* ---------- Fond vivant (halos qui dérivent lentement) ---------- */
.fond-vivant { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fond-vivant span { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.fond-vivant span:nth-child(1) { width: 52vmax; height: 52vmax; right: -14vmax; top: -18vmax; background: var(--halo-1); animation: derive-a 46s ease-in-out infinite alternate; }
.fond-vivant span:nth-child(2) { width: 40vmax; height: 40vmax; right: -8vmax; top: 38vh; background: var(--halo-2); animation: derive-b 58s ease-in-out infinite alternate; }
.fond-vivant span:nth-child(3) { width: 46vmax; height: 46vmax; left: -18vmax; bottom: -22vmax; background: var(--halo-3); animation: derive-b 52s ease-in-out infinite alternate-reverse; }
.fond-vivant span:nth-child(4) { width: 30vmax; height: 30vmax; left: 8vw; top: -10vmax; background: var(--halo-4); animation: derive-a 64s ease-in-out infinite alternate-reverse; }
@keyframes derive-a { to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.08); } }
@keyframes derive-b { to { transform: translate3d(5vmax, -6vmax, 0) scale(.94); } }

/* ---------- Verre ---------- */
.verre {
  background: var(--verre); border: 1px solid var(--verre-bord); border-radius: 24px;
  box-shadow: inset 0 1px 0 var(--verre-haut), var(--ombre);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
}
@media (prefers-reduced-transparency: reduce) {
  .verre, .entete { background: var(--surface) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

/* ---------- Mise en page ---------- */
.conteneur { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .conteneur { width: min(1200px, 100% - 64px); } }
main > section { padding-block: clamp(56px, 8vw, 104px); }
.tete-section { max-width: 720px; margin-bottom: 40px; }
.surtitre { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 .9375rem/1.4 "Lexend", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.surtitre::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: currentColor; }
.tete-section p { margin-top: 16px; color: var(--texte-2); font-size: 1.1875rem; }
.grille { display: grid; gap: 24px; }
@media (min-width: 720px) { .grille-2 { grid-template-columns: repeat(2, 1fr); } .grille-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grille-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; padding-block: 12px;
  background: color-mix(in srgb, var(--fond) 70%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--filet); }
.entete .conteneur { display: flex; align-items: center; gap: 16px; }
.marque { display: block; flex: none; }
.marque img { height: 36px; width: auto; }
.marque .logo-clair { display: var(--logo-clair); }
.marque .logo-sombre { display: var(--logo-sombre); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-liens a { padding: 10px 14px; border-radius: 999px; color: var(--texte); text-decoration: none; font-size: 1rem; font-weight: 500; }
.nav-liens a:hover, .nav-liens a[aria-current="page"] { background: var(--verre-bouton); }
.nav-liens { display: flex; gap: 4px; }
.bouton-theme { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--verre-bouton-bord); background: var(--verre-bouton); color: var(--texte); cursor: pointer; }
.bouton-theme svg { width: 20px; height: 20px; }
.bouton-menu { display: none; }
@media (max-width: 899px) {
  .nav-liens { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); flex-direction: column; padding: 12px; border-radius: 24px; background: var(--surface) !important; }
  .nav-liens.ouvert { display: flex; }
  .nav-liens a { padding: 14px 18px; font-size: 1.0625rem; }
  .bouton-menu { display: inline-grid; }
  .nav .bouton.compact { display: none; }
}

/* ---------- Boutons ---------- */
.bouton {
  --halo: 0.22;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0; font: 600 1.0625rem/1 "Lexend", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
}
.bouton svg { width: 20px; height: 20px; flex: none; }
.bouton.principal { color: #17142E; background: var(--degrade-chaud); box-shadow: 0 8px 28px rgba(255, 122, 46, var(--halo)); }
.bouton.principal:hover { --halo: .45; }
.bouton.principal:active { transform: scale(.97); box-shadow: none; }
.bouton.secondaire { color: var(--texte); background: var(--verre-bouton); border: 1px solid var(--verre-bouton-bord);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bouton.secondaire:hover { background: color-mix(in srgb, var(--verre-bouton) 100%, var(--texte) 6%); }
.bouton.secondaire:active { transform: scale(.97); }
.bouton[disabled], .bouton[aria-disabled="true"] { background: var(--champ); color: var(--texte-3); box-shadow: none; cursor: not-allowed; border: 1px solid var(--filet); }
.bouton.compact { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.lien-fleche svg { width: 18px; height: 18px; transition: transform .2s ease; }
.lien-fleche:hover svg { transform: translateX(3px); }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border-radius: 999px; font-size: .875rem; font-weight: 500; line-height: 1.3; background: var(--badge-neutre-fond); color: var(--badge-neutre); }
.badge.test { background: var(--badge-test-fond); color: var(--badge-test); }
.badge.dev { background: var(--badge-dev-fond); color: var(--badge-dev); }
.badge.test::before, .badge.dev::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ---------- Accueil ---------- */
.accueil { padding-block: clamp(56px, 10vw, 128px) clamp(40px, 6vw, 72px); }
.accueil .conteneur { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .accueil .conteneur { grid-template-columns: 1.15fr .85fr; } }
.accueil h1 .accent { background: var(--degrade-chaud); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accueil .chapo { margin-top: 24px; max-width: 34em; color: var(--texte-2); font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.principes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--texte-2); font-size: 1rem; }
.principes li { display: flex; align-items: center; gap: 8px; }
.principes svg { width: 20px; height: 20px; color: var(--succes); flex: none; }
.vitrine { position: relative; padding: 28px; }
.vitrine-icones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 520px) { .vitrine { margin-inline: 0; padding: 20px; } .vitrine-icones { gap: 12px; } }
.vitrine-icones a { display: block; border-radius: 22%; }
.vitrine-icones img { display: block; width: 100%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .22)); transition: transform .3s ease; }
.vitrine-icones a:hover img, .vitrine-icones a:focus-visible img { transform: translateY(-4px) rotate(-2deg); }
.vitrine-icones a:active img { transform: scale(.96); }
.vitrine figcaption { margin-top: 20px; color: var(--texte-3); font-size: .9375rem; text-align: center; }

/* ---------- Cartes ---------- */
.carte { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.carte p { color: var(--texte-2); }
.carte .pied { margin-top: auto; padding-top: 4px; }
.carte-app .tete { display: flex; gap: 18px; align-items: center; }
.carte-app .tete > a { flex: none; display: block; border-radius: 22%; }
.carte-app .tete img { display: block; width: 76px; height: 76px; flex: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .2)); transition: transform .25s ease; }
.carte-app .tete > a:hover img { transform: translateY(-3px); }
/* Carte atteinte depuis une icône du haut de page : elle s'allume un instant */
.carte-app:target { outline: 2px solid var(--elan); outline-offset: 4px; animation: carte-signal 1.6s ease-out 1; }
@keyframes carte-signal { from { box-shadow: 0 0 0 0 rgba(255, 122, 46, .55); } to { box-shadow: 0 0 0 22px rgba(255, 122, 46, 0); } }
.carte-app h3 { margin-bottom: 8px; }
.picto { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: none; }
.picto svg { width: 30px; height: 30px; }
.picto.atelier { background: linear-gradient(135deg, var(--elan), var(--lumiere)); color: #17142E; }
.picto.conseil { background: linear-gradient(135deg, var(--depart), var(--voie)); }
.picto.apps { background: linear-gradient(135deg, var(--voie), var(--come)); }
.liste-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--texte-2); font-size: 1rem; }
.liste-points li { display: flex; gap: 10px; }
.liste-points li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .62em; border-radius: 50%; background: var(--couleur-section, var(--texte-3)); }
#applications { --couleur-section: var(--apps); }
#atelier-3d { --couleur-section: var(--atelier); }
#conseil { --couleur-section: var(--conseil); }
.surtitre { color: var(--couleur-section, var(--texte-2)); }

/* bandeau d'appel au devis */
.bandeau { margin-top: 40px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.bandeau p { color: var(--texte-2); max-width: 40em; }
.bandeau strong { color: var(--texte); display: block; font-family: "Montserrat", sans-serif; font-size: 1.25rem; margin-bottom: 4px; }

/* ---------- À propos ---------- */
.apropos { display: grid; gap: 32px; }
@media (min-width: 900px) { .apropos { grid-template-columns: 1fr 1fr; align-items: start; } }
.apropos .texte p + p { margin-top: 16px; }
.apropos .texte p { color: var(--texte-2); }
.fiche { padding: 28px; }
.fiche dl { margin: 0; display: grid; gap: 14px; }
.fiche dt { font-size: .875rem; color: var(--texte-3); }
.fiche dd { margin: 2px 0 0; font-weight: 500; }

/* ---------- Pied de page ---------- */
.pied-page { padding-block: 40px 56px; border-top: 1px solid var(--filet); color: var(--texte-3); font-size: .9375rem; }
.pied-page .conteneur { display: grid; gap: 20px; }
@media (min-width: 800px) { .pied-page .conteneur { grid-template-columns: auto 1fr auto; align-items: center; } }
.pied-page img { height: 30px; width: auto; }
.pied-page .logo-clair { display: var(--logo-clair); }
.pied-page .logo-sombre { display: var(--logo-sombre); }
.pied-page nav { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; }
.pied-page a { color: var(--texte-2); }

/* ---------- Formulaire (devis) ---------- */
.formulaire { padding: clamp(24px, 4vw, 40px); display: grid; gap: 28px; }
fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 18px; min-width: 0; }
legend { padding: 0; margin-bottom: 4px; font: 600 1.25rem/1.3 "Montserrat", sans-serif; color: var(--texte); }
.champ { display: grid; gap: 8px; }
.champ label, .etiquette { font-weight: 500; font-size: 1rem; }
.aide { color: var(--texte-3); font-size: .9375rem; }
.obligatoire { color: var(--atelier); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--bord-champ);
  background: var(--surface); color: var(--texte); font: 400 1.0625rem/1.5 "Lexend", sans-serif;
}
textarea { min-height: 150px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--texte-2) 50%), linear-gradient(135deg, var(--texte-2) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.colonnes { display: grid; gap: 18px; }
@media (min-width: 720px) { .colonnes { grid-template-columns: 1fr 1fr; } }
.choix { display: grid; gap: 10px; }
@media (min-width: 720px) { .choix { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .choix { grid-template-columns: repeat(3, 1fr); } }
.choix label { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--verre-bouton-bord); background: var(--verre-bouton); cursor: pointer; font-size: 1rem; line-height: 1.45; }
.choix label small { display: block; color: var(--texte-3); font-size: .875rem; margin-top: 2px; }
.choix input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--elan); flex: none; }
.choix label:has(input:checked) { border-color: var(--elan); box-shadow: 0 0 0 1px var(--elan) inset; }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.case input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--elan); flex: none; }
.message-etat { padding: 16px 20px; border-radius: 16px; font-size: 1rem; }
.message-etat.erreur { background: color-mix(in srgb, var(--erreur) 14%, transparent); color: var(--erreur); }
.message-etat.ok { background: color-mix(in srgb, var(--succes) 14%, transparent); color: var(--succes); }
.message-etat:empty { display: none; }
.envoi { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- Pages de texte (mentions) ---------- */
.page-texte { padding-block: clamp(48px, 7vw, 88px); }
.page-texte .verre { padding: clamp(24px, 4vw, 48px); max-width: 860px; }
.page-texte h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.page-texte p, .page-texte li { color: var(--texte-2); }
.page-texte p + p { margin-top: 12px; }
.a-completer { background: var(--badge-test-fond); color: var(--badge-test); padding: 1px 8px; border-radius: 6px; font-weight: 500; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fond-vivant span, .carte-app:target { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Bouton de thème : une icône par mode ---------- */
.bouton-theme svg { display: none; }
.bouton-theme[data-mode="auto"] .ic-auto, .bouton-theme:not([data-mode]) .ic-auto,
.bouton-theme[data-mode="light"] .ic-soleil, .bouton-theme[data-mode="dark"] .ic-lune { display: block; }
.icone-sprite { display: none; }
.note { margin-top: 24px; color: var(--texte-3); font-size: 1rem; }
