/* CPASFAIT — application. Feuille unique, sans dependance. Kit de marque : ##/marque/branding-guide.md */

/* ---------- Polices auto-hebergees (Google Fonts, licence OFL, sous-ensemble latin) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/polices/poppins-700.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: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/polices/poppins-800.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;
}
/* Nunito Sans est une police variable : un seul fichier pour toutes les graisses */
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/polices/nunito-sans.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;
}

:root {
  /* Kit maitre */
  --nuit: #1E2A44;
  --soleil: #FFC857;
  --creme: #FFF6E9;
  --bleu-doux: #4F7DF3;
  --peche: #FF8F68;
  --sauge: #8ED6B5;

  /* Usages */
  --fond: var(--creme);
  --carte: #ffffff;
  --texte: var(--nuit);
  --doux: #4A5675;
  --trait: #EFE4D2;
  --accent: var(--nuit);
  --accent-doux: #FFF0CC;
  --lien: #2D5BD0;
  --succes: #2E9D6E;
  --succes-doux: #E3F6EC;
  --attention: #C4552F;
  --attention-doux: #FFE9DF;
  --danger: #C4552F;
  --danger-doux: #FFE9DF;
  --ombre: 0 1px 2px rgba(30, 42, 68, .05), 0 6px 20px rgba(30, 42, 68, .07);
  --rayon: 20px;

  --titres: "Poppins", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --textes: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Couleurs des rappels */
  --c-bleu: #4F7DF3;   --c-vert: #3FB67F;  --c-orange: #FF8F68; --c-rouge: #E5484D;
  --c-violet: #8B6CF0; --c-rose: #EC6FA4;  --c-jaune: #E0A82E;  --c-gris: #6B7A99;

  --haut: env(safe-area-inset-top, 0px);
  --bas: env(safe-area-inset-bottom, 0px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #141B2D;
    --carte: #1E2740;
    --texte: #F3EEE6;
    --doux: #AEB6CB;
    --trait: #2D3854;
    --accent: var(--soleil);
    --accent-doux: #3A3424;
    --lien: #8FB0FF;
    --succes: #8ED6B5;
    --succes-doux: #1F3A33;
    --attention: #FFA585;
    --attention-doux: #3D2A27;
    --danger: #FF9B80;
    --danger-doux: #3D2A27;
    --ombre: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 16px/1.45 var(--textes);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--lien); }
h1, h2, h3, .logotype, .question, .formule-nom, .offre-prix { font-family: var(--titres); }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--bleu-doux); outline-offset: 2px; }

/* Couleurs des rappels (classes : la CSP interdit les attributs style) */
.c-bleu { --c: var(--c-bleu); } .c-vert { --c: var(--c-vert); } .c-orange { --c: var(--c-orange); } .c-rouge { --c: var(--c-rouge); }
.c-violet { --c: var(--c-violet); } .c-rose { --c: var(--c-rose); } .c-jaune { --c: var(--c-jaune); } .c-gris { --c: var(--c-gris); }

/* ------------------------------------------------------------------ boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px; border: 0; border-radius: 14px;
  background: var(--accent-doux); color: var(--texte); font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .1s ease;
}
.bouton:active { transform: scale(.98); }
.bouton-plein { background: var(--soleil); color: var(--nuit); width: 100%; box-shadow: 0 4px 0 #E0A82E; }
.bouton-plein:active { box-shadow: 0 2px 0 #E0A82E; transform: translateY(2px); }
.bouton-danger { background: var(--danger-doux); color: var(--danger); width: 100%; margin-top: 8px; }
.bouton:disabled { opacity: .55; }
.lien { background: none; border: 0; color: var(--lien); padding: 8px 4px; font-size: 16px; font-weight: 600; }
.lien-fort { font-weight: 800; }
.petit-texte { font-size: 13px !important; color: var(--doux); margin: 0; }

/* ------------------------------------------------------------------ accueil (connexion / inscription) */
.ecran-accueil {
  min-height: 100vh; display: grid; align-content: center; justify-items: center; gap: 16px;
  padding: calc(var(--haut) + 24px) 16px calc(var(--bas) + 24px);
}
.carte-accueil {
  width: 100%; max-width: 400px; background: var(--carte); border-radius: 28px; padding: 28px 22px;
  box-shadow: var(--ombre);
}
.logo-accueil { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; margin-bottom: 18px; }
.logotype { font-weight: 800; font-size: 24px; letter-spacing: -.01em; color: var(--nuit); }
.logotype span { color: #E0A82E; }
@media (prefers-color-scheme: dark) { .logotype { color: #fff; } .logotype span { color: var(--soleil); } }
.panneau { display: grid; gap: 14px; text-align: center; }
.panneau h1 { margin: 0; font-size: 24px; line-height: 1.2; }
.sous-titre { margin: -6px 0 4px; color: var(--doux); font-size: 15px; }
.panneau label { display: grid; gap: 6px; text-align: left; font-size: 14px; font-weight: 600; color: var(--doux); }
.panneau label small { font-weight: 400; }
.panneau input:not([type=checkbox]), .reglages input:not([type=checkbox]) {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--trait);
  background: var(--fond); font-size: 17px; color: var(--texte);
}
.panneau input:focus, .reglages input:focus { border-color: var(--bleu-doux); outline: none; }
.champ-mdp { position: relative; display: block; }
.champ-mdp input { padding-right: 52px !important; }
.voir-mdp { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; font-size: 18px; opacity: .7; }
.force { display: block; height: 5px; border-radius: 3px; background: var(--trait); overflow: hidden; }
.force span { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }
.force .f1 { width: 25%; background: var(--peche); } .force .f2 { width: 50%; background: var(--soleil); }
.force .f3 { width: 75%; background: var(--sauge); } .force .f4 { width: 100%; background: var(--succes); }
.case { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 14px !important; }
.case input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--nuit); }
.piege { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bascule { margin: 4px 0 0; color: var(--doux); font-size: 15px; }
.grand { font-size: 56px; line-height: 1; }
.liens-legaux { text-align: center; font-size: 13px; color: var(--doux); margin: 8px 0 0; }
.liens-legaux a { color: var(--doux); }

.erreur { color: var(--danger); background: var(--danger-doux); padding: 10px 12px; border-radius: 12px; margin: 0; font-size: 15px; text-align: left; }
.ok { color: var(--succes); font-weight: 700; }

/* ------------------------------------------------------------------ en-tete */
.entete {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: calc(var(--haut) + 18px) 20px 12px;
  background: color-mix(in srgb, var(--fond) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
}
.entete h1 { margin: 0; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; font-weight: 800; }
.entete-date { margin: 0 0 2px; color: var(--doux); font-size: 14px; font-weight: 700; }
.entete-date::first-letter { text-transform: uppercase; }
.compteur {
  min-width: 46px; height: 46px; padding: 0 12px; border-radius: 23px; display: grid; place-items: center;
  background: var(--peche); color: #fff; font-family: var(--titres); font-weight: 800; font-size: 20px;
}
.compteur.zero { background: var(--sauge); color: var(--nuit); }

/* ------------------------------------------------------------------ vue */
.vue { padding: 4px 16px calc(var(--bas) + 160px); max-width: 640px; margin: 0 auto; }
.section-titre {
  margin: 24px 4px 10px; font-family: var(--textes); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--doux);
  display: flex; justify-content: space-between;
}
.section-titre.retard { color: var(--attention); }

.liste { display: grid; gap: 10px; }
.tache {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px;
  background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre);
  transition: transform .25s ease, opacity .25s ease;
  border: 0; width: 100%; text-align: left;
}
.tache.sort { transform: translateX(40px) scale(.98); opacity: 0; }
.tache.inactive { opacity: .55; }
.tache-icone {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 23px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c);
}
.tache-icone .initiale { font-family: var(--titres); font-weight: 800; font-size: 19px; }
.tache-texte { flex: 1; min-width: 0; cursor: pointer; }
.tache-titre { font-weight: 700; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.tache-sous { color: var(--doux); font-size: 14px; margin-top: 2px; }
.tache-sous .retard { color: var(--attention); font-weight: 700; }
.tache-sous .pause { color: #A0751A; font-weight: 700; }
.coche {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid var(--c); background: transparent;
  display: grid; place-items: center; color: transparent; transition: background .15s, color .15s, border-color .15s;
}
.coche svg { width: 22px; height: 22px; stroke-width: 3; }
.coche:active, .coche.cochee { background: var(--sauge); border-color: var(--sauge); color: var(--nuit); }
.tache-date { flex: none; text-align: right; font-size: 13px; font-weight: 700; color: var(--doux); }
.tache-date b { display: block; font-family: var(--titres); font-size: 20px; color: var(--texte); line-height: 1.1; }

.vide { text-align: center; padding: 40px 16px 24px; color: var(--doux); display: grid; justify-items: center; gap: 4px; }
.vide img { animation: flotte 3.5s ease-in-out infinite; }
.vide h2 { color: var(--texte); margin: 12px 0 2px; font-size: 22px; }
.vide p { margin: 0 0 12px; }
.vide .bouton { max-width: 320px; }
@keyframes flotte { 50% { transform: translateY(-6px) rotate(-3deg); } }

.alerte {
  display: flex; gap: 12px; align-items: center; background: var(--accent-doux); color: var(--texte);
  padding: 14px; border-radius: var(--rayon); margin-top: 12px; font-size: 15px;
}
.alerte .bouton { flex: none; min-height: 42px; padding: 0 14px; background: var(--nuit); color: #fff; }
.alerte-douce { background: var(--attention-doux); }
.alerte .fermer-alerte { flex: none; padding: 4px 6px; color: var(--doux); font-size: 18px; line-height: 1; }
@media (prefers-color-scheme: dark) { .alerte .bouton { background: var(--soleil); color: var(--nuit); } }

/* Jauge de la formule gratuite */
.quota { background: var(--carte); border-radius: var(--rayon); padding: 14px 16px; margin-top: 12px; box-shadow: var(--ombre); display: grid; gap: 8px; }
.quota-texte { font-size: 15px; }
.quota-barre { height: 10px; border-radius: 5px; background: var(--trait); overflow: hidden; }
.quota-barre span { display: block; height: 100%; background: var(--sauge); border-radius: 5px; }
.quota.plein .quota-barre span { background: var(--peche); }
.quota .lien { justify-self: start; padding: 0; }
.q0 { width: 0; } .q10 { width: 10%; } .q20 { width: 20%; } .q30 { width: 30%; } .q40 { width: 40%; } .q50 { width: 50%; }
.q60 { width: 60%; } .q70 { width: 70%; } .q80 { width: 80%; } .q90 { width: 90%; } .q100 { width: 100%; }

/* ------------------------------------------------------------------ reglages */
.reglages { display: grid; gap: 14px; margin-top: 8px; }
.reglages label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--doux); }
.carte { background: var(--carte); border-radius: var(--rayon); padding: 18px 16px; box-shadow: var(--ombre); display: grid; gap: 12px; }
.carte h2 { margin: 0; font-size: 18px; }
.carte p { margin: 0; color: var(--doux); font-size: 15px; }
.carte p b { color: var(--texte); }
.carte .bouton { width: 100%; }
.carte-formule { border: 2px solid var(--soleil); }
.formule-nom { font-size: 22px !important; font-weight: 800; color: var(--texte) !important; display: flex; align-items: center; gap: 10px; }
.badge-premium, .badge-ok, .badge-attente {
  display: inline-block; font-family: var(--textes); font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 20px; vertical-align: middle;
}
.badge-premium { background: var(--soleil); color: var(--nuit); }
.badge-ok { background: var(--succes-doux); color: var(--succes); }
.badge-attente { background: var(--attention-doux); color: var(--attention); }
.etat-ligne { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.etat-ligne b { text-align: right; }
.pastille { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--doux); }
.pastille.verte { background: var(--succes); } .pastille.rouge { background: var(--danger); }
.etapes { margin: 0; padding-left: 20px; color: var(--doux); font-size: 15px; display: grid; gap: 4px; }
.compte-rendu { font-size: 14px; color: var(--doux); white-space: pre-line; }
.compte-rendu:empty { display: none; }
.grille-heures { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.grille-heures button { border: 0; border-radius: 10px; background: var(--fond); padding: 10px 0; font-weight: 700; font-size: 14px; }
.grille-heures button[aria-checked=true] { background: var(--nuit); color: #fff; }
@media (prefers-color-scheme: dark) { .grille-heures button[aria-checked=true] { background: var(--soleil); color: var(--nuit); } }

/* ------------------------------------------------------------------ onglets + bouton + */
.onglets {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 6px 8px calc(var(--bas) + 6px);
  background: color-mix(in srgb, var(--carte) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-top: 1px solid var(--trait);
}
.onglets button { background: none; border: 0; display: grid; justify-items: center; gap: 2px; padding: 6px 0; color: var(--doux); font-size: 11px; font-weight: 700; }
.onglets button.actif { color: var(--texte); }
.onglets button.actif svg { color: #E0A82E; }
.fab {
  position: fixed; right: 20px; bottom: calc(var(--bas) + 84px); z-index: 7;
  width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--soleil); color: var(--nuit);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(224, 168, 46, .45);
}
.fab svg { width: 30px; height: 30px; stroke-width: 2.8; }
.fab:active { transform: scale(.94); }

/* ------------------------------------------------------------------ feuilles (fiche d'un rappel, Premium) */
.feuille {
  width: 100%; max-width: 640px; max-height: 94vh; margin: auto auto 0; padding: 0; border: 0;
  border-radius: 26px 26px 0 0; background: var(--carte); color: var(--texte);
}
.feuille[open] { animation: monte .28s cubic-bezier(.2, .8, .2, 1); }
.feuille::backdrop { background: rgba(30, 42, 68, .45); }
@keyframes monte { from { transform: translateY(100%); } to { transform: none; } }
@media (min-width: 700px) { .feuille { margin: auto; border-radius: 26px; } }
.feuille form, .feuille-premium[open] { display: flex; flex-direction: column; max-height: 94vh; }
.feuille-entete {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 12px;
  border-bottom: 1px solid var(--trait);
}
.feuille-entete h2 { margin: 0; font-size: 17px; }
.feuille-entete > :last-child { justify-self: end; }
.feuille-entete > :first-child { justify-self: start; }
.feuille-corps { overflow-y: auto; padding: 16px 16px calc(var(--bas) + 24px); display: grid; grid-auto-rows: max-content; gap: 14px; -webkit-overflow-scrolling: touch; }
.feuille h3 { margin: 6px 0 -4px; font-family: var(--textes); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--doux); }
.question { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; }

.champ-titre {
  width: 100%; border: 0; border-bottom: 2px solid var(--trait); background: transparent; padding: 8px 2px;
  font-size: 22px; font-weight: 700; border-radius: 0;
}
.champ-titre:focus { outline: none; border-color: var(--soleil); }
.champ {
  width: 100%; min-height: 48px; padding: 8px 12px; border-radius: 14px; border: 1.5px solid var(--trait);
  background: var(--fond); font-size: 17px;
}
textarea.champ { resize: vertical; }
.ligne { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.ligne-champ { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; color: var(--doux); font-size: 15px; }

.icones { display: flex; gap: 6px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.icones::-webkit-scrollbar { display: none; }
.icones button {
  flex: none; width: 46px; height: 46px; border-radius: 14px; border: 2px solid transparent; background: var(--fond); font-size: 22px;
}
.icones button[aria-checked=true] { border-color: var(--soleil); background: var(--accent-doux); }
.couleurs { display: flex; gap: 10px; flex-wrap: wrap; }
.couleurs button { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--carte); background: var(--c); box-shadow: 0 0 0 2px transparent; }
.couleurs button[aria-checked=true] { box-shadow: 0 0 0 2px var(--c); }

.segments { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--fond); border-radius: 14px; padding: 3px; gap: 2px; }
.segments button { border: 0; background: none; padding: 9px 2px; border-radius: 11px; font-size: 13px; font-weight: 700; color: var(--doux); }
.segments button[aria-checked=true] { background: var(--carte); color: var(--texte); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.puces { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.puces button { border: 0; background: var(--accent-doux); color: var(--texte); border-radius: 20px; padding: 7px 14px; font-size: 14px; font-weight: 700; }

.jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.jours button, .grille-mois button {
  aspect-ratio: 1; border-radius: 50%; border: 0; background: var(--fond); font-weight: 800; font-size: 15px; padding: 0;
}
.jours button[aria-checked=true], .grille-mois button[aria-checked=true] { background: var(--nuit); color: #fff; }
@media (prefers-color-scheme: dark) { .jours button[aria-checked=true], .grille-mois button[aria-checked=true] { background: var(--soleil); color: var(--nuit); } }
.grille-mois { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.grille-mois button { border-radius: 12px; font-size: 15px; }
.grille-mois button.large { grid-column: span 3; aspect-ratio: auto; font-size: 14px; }

.resume { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--accent-doux); color: var(--texte); font-weight: 700; font-size: 15px; }

.interrupteur { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; }
.interrupteur small { display: block; color: var(--doux); font-size: 13px; }
.interrupteur input {
  appearance: none; -webkit-appearance: none; flex: none; width: 51px; height: 31px; border-radius: 16px;
  background: var(--trait); position: relative; transition: background .2s; margin: 0;
}
.interrupteur input::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s;
}
.interrupteur input:checked { background: var(--succes); }
.interrupteur input:checked::after { transform: translateX(20px); }

/* Premium */
.premium-tete { text-align: center; display: grid; justify-items: center; gap: 8px; }
.premium-tete p { margin: 0; color: var(--doux); }
.premium-tete .question { color: var(--texte); }
.avantages { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.avantages li { padding-left: 30px; position: relative; }
.avantages li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sauge); color: var(--nuit); font-weight: 800; font-size: 13px; display: grid; place-items: center;
}
.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offres .bouton { grid-column: 1 / -1; margin-top: 4px; }
.offre {
  position: relative; display: grid; gap: 2px; text-align: left; padding: 16px 14px 14px; border-radius: 18px;
  border: 2px solid var(--trait); background: var(--fond);
}
.offre.choisie { border-color: var(--nuit); background: var(--carte); box-shadow: 0 0 0 3px rgba(255, 200, 87, .6); }
@media (prefers-color-scheme: dark) { .offre.choisie { border-color: var(--soleil); } }
.offre-badge { position: absolute; top: -11px; right: 12px; background: var(--peche); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 20px; }
.offre-nom { font-weight: 800; font-size: 14px; color: var(--doux); text-transform: uppercase; letter-spacing: .05em; }
.offre-prix { font-size: 24px; font-weight: 800; }
.offre-prix small { font-size: 14px; font-weight: 600; color: var(--doux); }
.offre-detail { font-size: 13px; color: var(--doux); }

/* ------------------------------------------------------------------ toast */
.toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--bas) + 160px); z-index: 20; max-width: 480px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--nuit); color: #fff; padding: 12px 10px 12px 16px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.25);
  animation: apparait .2s ease; font-weight: 600;
}
.toast .lien { color: var(--soleil); font-weight: 800; }
@keyframes apparait { from { opacity: 0; transform: translateY(10px); } }

/* ------------------------------------------------------------------ installation */
.page-install { padding: 24px 16px; }
.carte-install { max-width: 560px; margin: 0 auto; background: var(--carte); border-radius: 22px; padding: 24px; box-shadow: var(--ombre); }
.formulaire { display: grid; gap: 16px; }
.formulaire fieldset { border: 1px solid var(--trait); border-radius: 14px; display: grid; gap: 10px; padding: 14px; }
.formulaire label { display: grid; gap: 6px; font-size: 14px; color: var(--doux); }
.formulaire input { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--trait); background: var(--fond); }
.formulaire label:has(input[type=radio]) { display: flex; gap: 8px; align-items: center; color: var(--texte); }
.formulaire input[type=radio] { width: auto; min-height: 0; }
pre { white-space: pre-wrap; word-break: break-all; background: var(--fond); padding: 10px; border-radius: 10px; font-size: 13px; }

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