/* ============================================================
   NUVEMA.CO — le site de présentation, à la charte « Ciel pâle ».
   Les mêmes tokens que l'application (app/globals.css) : des bleus
   clairs pour l'air, le bleu nuit pour ce qui compte, l'aube pour
   le soleil et les remarques de Nuvema. Fraunces pour les titres et
   les chiffres, Onest pour le texte. Thème clair et sombre.
   ============================================================ */

:root {
  color-scheme: light;
  --air: #f1f5ff;
  --nuage: #ffffff;
  --voile: #e4ecff;
  --trait: #d6e0f5;
  --ardoise: #16295e;
  --brume: #4e5d88;
  --marine: #3a5bb0;
  --action: #16295e;
  --sur-action: #ffffff;
  --graphe: #6d93ec;
  --aube: #ffb08f;
  --lueur-pale: #fff1ea;
  --lueur-texte: #8a4a33;
  --montee: #1c7468;
  --montee-pale: #e2f2ef;
  --vigilance: #6b5a12;
  --vigilance-pale: #f6f0d6;
  --ombre-nuage: 0 1px 2px rgba(22, 41, 94, .04), 0 12px 32px -14px rgba(22, 41, 94, .16);
  --ombre-haute: 0 2px 6px rgba(22, 41, 94, .06), 0 24px 48px -16px rgba(22, 41, 94, .26);
  --titre: 'Fraunces', Georgia, serif;
  --texte: 'Onest', 'Helvetica Neue', Arial, sans-serif;
  --largeur: 1120px;
  --marge: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --air: #0d1733;
    --nuage: #15224a;
    --voile: #1d2c5a;
    --trait: #2a3a6b;
    --ardoise: #e8eeff;
    --brume: #a3b2d9;
    --marine: #9db8f5;
    --action: #b5cbfb;
    --sur-action: #0d1733;
    --graphe: #93b2f4;
    --lueur-pale: #2e2533;
    --lueur-texte: #ffc2a8;
    --montee: #6fcfbf;
    --montee-pale: #16302c;
    --vigilance: #e5cf7a;
    --vigilance-pale: #2e2a17;
    --ombre-nuage: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -14px rgba(0, 0, 0, .55);
    --ombre-haute: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px -16px rgba(0, 0, 0, .65);
  }
}

/* ---------- le socle ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--air);
  color: var(--ardoise);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--marine); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--marine); outline-offset: 3px; border-radius: 10px; }
img, svg { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clair-seul, .sombre-seul { display: block; }
@media (prefers-color-scheme: dark) { .clair-seul { display: none; } }
@media (prefers-color-scheme: light) { .sombre-seul { display: none; } }
@media not all and (prefers-color-scheme: dark) { .sombre-seul { display: none; } }

/* ---------- la typographie ---------- */
.titre, h1, h2, h3 {
  font-family: var(--titre);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  font-weight: 500;
  letter-spacing: -0.016em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); line-height: 1.02; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.08; letter-spacing: -0.018em; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.chapeau { margin-top: 18px; max-width: 36em; font-size: 18px; color: var(--brume); text-wrap: pretty; }
.surtitre { font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--marine); }
.sous-titre {
  margin-top: 14px;
  font-family: var(--titre);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--marine);
  text-wrap: balance;
}
.chiffre { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- la mise en page ---------- */
.bloc { max-width: var(--largeur); margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--marge) 0; }
.bloc-serre { padding-top: clamp(40px, 6vw, 72px); }
.deux { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 64px; }
.deux > .texte { flex: 1 1 340px; min-width: 0; max-width: 460px; }
.deux > .visuel { flex: 1.5 1 420px; min-width: 0; }
.deux.inverse { flex-direction: row-reverse; }
.grille { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ---------- les boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 10px;
  background: var(--action); color: var(--sur-action);
  font-size: 16px; font-weight: 600; line-height: 1.2;
  transition: filter 160ms ease, transform 160ms ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn-second { background: var(--nuage); color: var(--ardoise); box-shadow: inset 0 0 0 1px var(--trait); }
.btn-petit { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-voile { background: var(--voile); color: var(--ardoise); }
.boutons { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- l'en-tête ---------- */
.entete { max-width: var(--largeur); margin: 0 auto; padding: 20px var(--marge); display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.entete .marque { display: flex; align-items: center; min-height: 44px; }
.entete .marque img { height: 30px; width: auto; }
.entete nav ul { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.entete nav a { color: var(--ardoise); }
.entete .actions { display: flex; align-items: center; gap: 22px; }
.entete .connexion { font-size: 15px; font-weight: 500; color: var(--brume); }
.entete .menu-bouton { display: none; appearance: none; border: 0; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--voile); color: var(--ardoise); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
@media (max-width: 859.98px) {
  .entete nav, .entete .actions { display: none; }
  .entete .menu-bouton { display: inline-flex; align-items: center; }
  .entete.ouvert { flex-wrap: wrap; }
  .entete.ouvert nav, .entete.ouvert .actions { display: flex; flex: 1 1 100%; }
  .entete.ouvert nav ul { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 0 4px; border-top: 1px solid var(--trait); width: 100%; }
  .entete.ouvert nav a { display: block; min-height: 44px; line-height: 44px; }
  .entete.ouvert .actions { flex-wrap: wrap; gap: 12px 22px; padding-bottom: 8px; }
}

/* ---------- l'accueil : le haut ---------- */
.haut { max-width: var(--largeur); margin: 0 auto; padding: clamp(20px, 5vw, 64px) var(--marge) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; }
.haut .texte { flex: 1 1 440px; min-width: 0; max-width: 600px; display: flex; flex-direction: column; align-items: flex-start; }
.haut .visuel { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pastille { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background: var(--nuage); box-shadow: var(--ombre-nuage); font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.pastille::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--montee); }
.haut h1 { margin-top: 28px; }
.haut .chapeau { margin-top: 22px; max-width: 31em; }
.note { margin-top: 18px; font-size: 14.5px; color: var(--brume); }
.legende { max-width: 30em; font-size: 13.5px; line-height: 1.45; color: var(--brume); text-align: center; }

/* La Vue d'ensemble d'un matin, dessinée en HTML (aucune capture, aucun vrai chiffre). */
.scene { width: 100%; max-width: 500px; }
.scene .ciel { position: relative; padding-top: 19%; }
.scene .decor { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 100 / 19; }
.scene .soleil { position: absolute; right: 11%; bottom: -94.7%; width: 36%; aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle closest-side, #ffb08f 0%, #ffb08f 58%, rgba(255, 176, 143, .45) 74%, rgba(255, 176, 143, 0) 100%); }
.scene .nuage { position: absolute; left: -2%; top: 55.8%; width: 70%; }
.telephone { position: relative; z-index: 1; width: 72%; min-width: 264px; max-width: 340px; margin-left: auto; margin-right: 5%; padding: 18px 12px 12px; border-radius: 28px; background: var(--air); box-shadow: var(--ombre-haute); display: flex; flex-direction: column; gap: 12px; }
.telephone .salut { padding: 0 6px; }
.telephone .salut .nom { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-weight: 500; font-size: 23px; line-height: 1.15; letter-spacing: -0.01em; }
.telephone .salut .date { margin-top: 2px; font-size: 12.5px; color: var(--brume); }
.murmure { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: var(--lueur-pale); }
.murmure img { flex: none; width: 30px; }
.murmure .qui { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lueur-texte); }
.murmure .quoi { margin-top: 2px; font-size: 12.5px; line-height: 1.4; }
.carte-jour { padding: 16px 16px 14px; border-radius: 20px; background: var(--nuage); box-shadow: var(--ombre-nuage); }
.carte-jour .ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.carte-jour .ligne .titre-carte { font-size: 14.5px; font-weight: 600; }
.carte-jour .ligne .lien { font-size: 12px; font-weight: 600; color: var(--marine); }
.carte-jour .quand { margin-top: 1px; font-size: 11.5px; color: var(--brume); }
.carte-jour .ca { margin-top: 10px; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.carte-jour .variation { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 5px; font-size: 12px; color: var(--brume); }
.carte-jour .variation svg { flex: none; color: var(--montee); }
.carte-jour .variation b { font-weight: 600; color: var(--montee); }
.carte-jour .objectif { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 11.5px; color: var(--brume); }
.carte-jour .objectif b { color: var(--ardoise); }
.carte-jour .objectif .pct { font-weight: 600; color: var(--ardoise); font-variant-numeric: tabular-nums; }
.barre { position: relative; margin-top: 7px; height: 8px; border-radius: 8px; background: var(--voile); }
.barre .plein { width: 73%; height: 100%; border-radius: 8px; background: var(--montee); animation: nv-barre 1.5s cubic-bezier(.2, .7, .2, 1) .2s both; }
.barre .repere { position: absolute; top: -4px; left: 67%; width: 2px; height: 16px; border-radius: 2px; background: var(--ardoise); }
.carte-jour .avance { margin-top: 9px; font-size: 11.5px; line-height: 1.45; color: var(--brume); }
.carte-jour .avance b { color: var(--montee); }
.carte-jour .trois { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--trait); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.carte-jour .trois .q { min-height: 27px; font-size: 10.5px; line-height: 1.3; color: var(--brume); }
.carte-jour .trois .v { margin-top: 3px; font-size: 17px; line-height: 1.2; }
.carte-jour .trois .d { margin-top: 2px; font-size: 10.5px; line-height: 1.3; color: var(--brume); }
.carte-jour .trois .d b { color: var(--montee); }
@keyframes nv-aube { from { transform: translateY(24%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nv-derive { from { transform: translateX(-1.5%); } to { transform: translateX(3%); } }
@keyframes nv-barre { from { width: 0; } }
@keyframes nv-fondu { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.scene .soleil { animation: nv-aube 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.scene .nuage { animation: nv-derive 18s ease-in-out infinite alternate; }
.murmure { animation: nv-fondu .7s ease 1.2s both; }
@media (prefers-reduced-motion: reduce) { .scene .soleil, .scene .nuage, .murmure, .barre .plein { animation: none; } }

/* ---------- les deux écrans ---------- */
.ecrans { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ecran-carte { padding: 28px clamp(20px, 3vw, 32px) 30px; border-radius: 22px; background: var(--nuage); box-shadow: var(--ombre-nuage); display: flex; flex-direction: column; gap: 14px; }
.ecran-carte h3 { font-size: 26px; }
.ecran-carte .qui { color: var(--brume); }
.ecran-carte ul { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.ecran-carte li, .coches li { display: flex; align-items: flex-start; gap: 10px; }
.ecran-carte li svg, .coches li svg { flex: none; margin-top: 4px; color: var(--montee); }
.ecran-carte .plus { margin-top: auto; padding-top: 6px; font-weight: 600; }

/* ---------- les trois rôles ---------- */
.roles { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.role { padding: 26px clamp(20px, 3vw, 30px) 28px; border-radius: 22px; background: var(--nuage); box-shadow: var(--ombre-nuage); }
.role .numero { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: 15px; color: var(--marine); }
.role h3 { margin-top: 6px; font-size: 26px; }
.role p { margin-top: 12px; color: var(--brume); }
.role ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; }
.role li { padding-left: 18px; position: relative; }
.role li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--aube); }

/* ---------- la liste des douleurs ---------- */
.liste { margin-top: clamp(28px, 4vw, 44px); padding: 4px clamp(20px, 3.5vw, 40px); border-radius: 22px; background: var(--nuage); box-shadow: var(--ombre-nuage); }
.liste li { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 56px; padding: 24px 0; }
.liste li + li { border-top: 1px solid var(--trait); }
.liste .douleur { flex: 1 1 320px; min-width: 0; }
.liste .douleur p { margin-top: 8px; font-size: 16px; color: var(--brume); }
.liste .reponse { flex: 1 1 300px; min-width: 0; }
.liste .reponse .surtitre { margin-top: 3px; }
.liste .reponse p + p { margin-top: 6px; font-size: 16.5px; }
.liste .reponse a.surtitre:hover { text-decoration: underline; }

/* ---------- les modules, en tuiles ---------- */
.modules { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.module { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; border-radius: 16px; background: var(--nuage); box-shadow: var(--ombre-nuage); color: var(--ardoise); }
.module:hover { text-decoration: none; box-shadow: var(--ombre-haute); }
.module .nom { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-weight: 500; font-size: 21px; line-height: 1.2; }
.module .quoi { font-size: 15px; color: var(--brume); }

/* ---------- une section de fonctionnalité ---------- */
.fonction .texte .surtitre { margin: 0; }
.fonction h2 { margin-top: 12px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; }
.fonction .quoi { margin-top: 14px; color: var(--brume); }
.coches { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.exemple { margin-top: 22px; padding: 14px 18px 16px; border-radius: 16px; background: var(--voile); }
.exemple p + p { margin-top: 6px; font-size: 15.5px; }
.cadre { border-radius: 16px; overflow: hidden; background: var(--air); box-shadow: var(--ombre-haute); }
.cadre img { width: 100%; }
.tablette { padding: 10px; border-radius: 26px; background: var(--nuage); box-shadow: var(--ombre-haute); }
.tablette .cadre { box-shadow: none; }
.telephone-cadre { max-width: 240px; margin: 0 auto; padding: 8px; border-radius: 28px; background: var(--nuage); box-shadow: var(--ombre-haute); }
.telephone-cadre .cadre { border-radius: 20px; box-shadow: none; }
.liens-ecrans { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.liens-ecrans a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--nuage); box-shadow: var(--ombre-nuage); color: var(--ardoise); font-size: 15px; font-weight: 600; }
.liens-ecrans a:hover { text-decoration: none; box-shadow: var(--ombre-haute); }

/* Un écran dessiné en HTML quand aucune capture ne le montre encore. */
.maquette { padding: 18px 18px 20px; border-radius: 16px; background: var(--nuage); box-shadow: var(--ombre-haute); display: flex; flex-direction: column; gap: 12px; }
.maquette .entete-m { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.maquette .entete-m .t { font-size: 15px; font-weight: 600; }
.maquette .entete-m .s { font-size: 12px; color: var(--brume); }
.maquette .lignes { display: flex; flex-direction: column; }
.maquette .lignes > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; font-size: 14px; }
.maquette .lignes > div + div { border-top: 1px solid var(--trait); }
.maquette .lignes .v { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-weight: 500; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.maquette .lignes .fort { font-weight: 600; }
.maquette .total { padding-top: 12px; border-top: 2px solid var(--ardoise); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 600; }
.maquette .total .v { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: 26px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.maquette .bon { color: var(--montee); }
.maquette .veille { display: inline-block; padding: 3px 8px; border-radius: 8px; background: var(--vigilance-pale); color: var(--vigilance); font-size: 12px; font-weight: 600; }
.maquette .cases { display: flex; flex-direction: column; gap: 8px; }
.maquette .cases > div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--air); font-size: 14px; }
.maquette .cases .ok { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--montee); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.maquette .cases .vide { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--trait); }
.maquette .cases .qui { margin-left: auto; font-size: 12px; color: var(--brume); }
.maquette .semaine { display: grid; grid-template-columns: 86px repeat(7, minmax(0, 1fr)); gap: 4px; font-size: 11.5px; }
.maquette .semaine .j { text-align: center; color: var(--brume); font-weight: 600; padding-bottom: 2px; }
.maquette .semaine .p { color: var(--brume); padding: 6px 0; }
.maquette .semaine .c { height: 30px; border-radius: 6px; background: var(--voile); }
.maquette .semaine .c.plein { background: var(--graphe); }
.maquette .semaine .c.repos { background: transparent; border: 1px dashed var(--trait); }

/* ---------- l'action du matin ---------- */
.actions-matin { margin-top: clamp(28px, 4vw, 44px); padding: 4px clamp(20px, 3.5vw, 32px); border-radius: 22px; background: var(--nuage); box-shadow: var(--ombre-nuage); }
.actions-matin li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 16px 0; }
.actions-matin li + li { border-top: 1px solid var(--trait); }
.actions-matin .rang { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--voile); display: inline-flex; align-items: center; justify-content: center; font-family: var(--titre); font-size: 15px; }
.actions-matin .texte-action { flex: 1 1 320px; min-width: 0; }
.actions-matin .module-action { font-size: 13px; color: var(--brume); }
.actions-matin .faux-bouton { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 8px; background: var(--action); color: var(--sur-action); font-size: 13.5px; font-weight: 600; }

/* ---------- les tarifs ---------- */
.prix-carte { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: stretch; }
.prix { padding: 30px clamp(22px, 3vw, 36px) 32px; border-radius: 22px; background: var(--nuage); box-shadow: var(--ombre-haute); display: flex; flex-direction: column; gap: 14px; }
.prix .montant { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.prix .montant .n { font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }
.prix .montant .unite { font-size: 16px; color: var(--brume); }
.prix .par { color: var(--brume); }
.prix ul { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.prix li { display: flex; align-items: flex-start; gap: 10px; }
.prix li svg { flex: none; margin-top: 4px; color: var(--montee); }
.prix .btn { align-self: flex-start; margin-top: 8px; }
.prix-second { background: var(--voile); box-shadow: var(--ombre-nuage); }
.prix-second .montant .n { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.comparatif { margin-top: 28px; width: 100%; border-collapse: collapse; font-size: 15.5px; }
.comparatif th, .comparatif td { padding: 12px 0; text-align: left; border-bottom: 1px solid var(--trait); vertical-align: top; }
.comparatif th { font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--marine); }
.comparatif td:last-child, .comparatif th:last-child { text-align: right; white-space: nowrap; }
.sources { margin-top: 10px; font-size: 13px; color: var(--brume); }

/* ---------- les questions ---------- */
.questions { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.question { padding: 22px 24px 24px; border-radius: 16px; background: var(--nuage); box-shadow: var(--ombre-nuage); }
.question h3 { font-size: 20px; }
.question p { margin-top: 10px; font-size: 16px; color: var(--brume); }
.question p b { color: var(--ardoise); }

/* ---------- la démo ---------- */
.etapes { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); counter-reset: etape; }
.etape { padding: 26px clamp(20px, 3vw, 30px) 28px; border-radius: 22px; background: var(--nuage); box-shadow: var(--ombre-nuage); }
.etape::before { counter-increment: etape; content: counter(etape); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--voile); font-family: var(--titre); font-size: 17px; }
.etape h3 { margin-top: 12px; }
.etape p { margin-top: 10px; color: var(--brume); }
.contact { margin-top: 28px; padding: 26px clamp(20px, 3vw, 32px) 28px; border-radius: 22px; background: var(--nuage); box-shadow: var(--ombre-haute); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.contact .adresse { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.01em; }

/* ---------- l'appel final ---------- */
.appel { display: flex; flex-direction: column; align-items: flex-start; }
.appel h2 { max-width: 15em; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; }
.appel .chapeau { max-width: 33em; }
.appel .btn { margin-top: 28px; }

/* ---------- les pages de texte ---------- */
.prose { max-width: 44em; }
.prose h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.prose h2 { margin-top: 40px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.prose p, .prose li { margin-top: 14px; font-size: 16.5px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li { margin-top: 8px; }
.prose .date { color: var(--brume); font-size: 15px; }

/* ---------- le pied de page ---------- */
.pied { max-width: var(--largeur); margin: 0 auto; padding: clamp(64px, 9vw, 104px) var(--marge) 48px; }
.pied .haut-pied { padding-top: 36px; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px 56px; }
.pied .marque-pied { flex: 1 1 260px; min-width: 0; max-width: 340px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pied .marque-pied img { width: 52px; }
.pied .marque-pied p { font-size: 15px; color: var(--brume); }
.pied nav { flex: 2 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 28px 24px; font-size: 15px; }
.pied nav div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pied nav .surtitre { margin-bottom: 2px; }
.pied nav a { color: var(--ardoise); }
.pied .bas-pied { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: var(--brume); }

/* ---------- la montée en gamme : la vitrine, les moments, la nuit ---------- */
.haut-vitrine { max-width: var(--largeur); margin: 0 auto; padding: clamp(24px, 5vw, 64px) var(--marge) 0; }
.haut-vitrine .texte { max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; }
.haut-vitrine h1 { margin-top: 28px; font-size: clamp(2.8rem, 7vw, 5.2rem); }
.haut-vitrine .sous-titre { max-width: 26em; font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.haut-vitrine .chapeau { max-width: 36em; }
.vitrine-cadre { position: relative; margin-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 8vw, 110px); }
.vitrine { position: relative; margin-right: clamp(0px, 12vw, 160px); border-radius: 18px; overflow: hidden; background: var(--air); box-shadow: var(--ombre-haute), 0 0 0 1px var(--trait); }
.vitrine img { width: 100%; }
.vitrine-tel { position: absolute; right: -16px; bottom: -16px; width: clamp(150px, 15vw, 200px); padding: 7px; border-radius: 30px; background: var(--nuage); box-shadow: var(--ombre-haute); }
.vitrine-tel .cadre { border-radius: 24px; box-shadow: none; }
.vitrine-soleil { position: absolute; z-index: -1; right: 6%; top: -90px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle closest-side, #ffb08f 0%, #ffb08f 58%, rgba(255, 176, 143, .45) 74%, rgba(255, 176, 143, 0) 100%); animation: nv-aube 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.haut-vitrine .legende { margin-top: 16px; text-align: left; max-width: 40em; }
@media (max-width: 859.98px) { .vitrine-tel { display: none; } .vitrine { margin-right: 0; } .vitrine-cadre { padding-bottom: 0; } }

.reperes { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.repere { padding: 22px 24px 24px; border-radius: 16px; background: var(--nuage); box-shadow: var(--ombre-nuage); }
.repere .n { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: -0.02em; }
.repere .q { margin-top: 8px; font-size: 15px; color: var(--brume); }

.moment { margin-top: clamp(56px, 8vw, 96px); display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; }
.moment > .texte { flex: 1 1 300px; min-width: 0; max-width: 400px; }
.moment > .visuel { flex: 2 1 480px; min-width: 0; }
.moment.inverse { flex-direction: row-reverse; }
.moment .heure { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--marine); font-variant-numeric: tabular-nums; }
.moment h3 { margin-top: 14px; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; }
.moment .quoi { margin-top: 12px; color: var(--brume); }
.moment .preuve { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--montee-pale); color: var(--montee); font-size: 15px; font-weight: 600; }
.moment:first-of-type { margin-top: clamp(28px, 4vw, 44px); }

/* La bande de nuit : le même ciel, à la nuit tombée, pour un moment du soir. */
.nuit { color-scheme: dark; --air: #0d1733; --nuage: #15224a; --voile: #1d2c5a; --trait: #2a3a6b; --ardoise: #e8eeff; --brume: #a3b2d9; --marine: #9db8f5; --action: #b5cbfb; --sur-action: #0d1733; --lueur-pale: #2e2533; --lueur-texte: #ffc2a8; --montee: #6fcfbf; --montee-pale: #16302c; --ombre-nuage: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -14px rgba(0, 0, 0, .55); --ombre-haute: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px -16px rgba(0, 0, 0, .65); background: var(--air); color: var(--ardoise); margin-top: clamp(72px, 10vw, 120px); padding: clamp(8px, 2vw, 24px) 0 clamp(72px, 10vw, 120px); }
.nuit .bloc { padding-top: clamp(56px, 8vw, 96px); }
.nuit .clair-seul { display: none; }
.nuit .sombre-seul { display: block; }
@media (prefers-color-scheme: dark) { .nuit { margin-top: 0; padding-top: 0; background: transparent; } }

.moment.large { flex-direction: column; align-items: stretch; gap: 20px; }
.moment.large > .texte { max-width: 640px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; }
.moment.large > .texte .heure { flex: none; }
.moment.large > .texte h3 { margin-top: 0; flex: 1 1 300px; }
.moment.large > .texte .quoi, .moment.large > .texte .preuve { flex: 1 1 100%; }
.moment.large > .visuel { flex: 1 1 100%; }

/* ---------- les trois piliers de l'offre ---------- */
.piliers { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.pilier { display: flex; flex-direction: column; border-radius: 22px; background: var(--nuage); box-shadow: var(--ombre-nuage); overflow: hidden; }
.pilier .image { aspect-ratio: 16 / 9; overflow: hidden; background: var(--voile); border-bottom: 1px solid var(--trait); }
.pilier .image img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.pilier .corps { padding: 22px clamp(20px, 3vw, 28px) 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pilier .numero { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: 15px; color: var(--marine); }
.pilier h3 { font-size: 24px; line-height: 1.15; }
.pilier p { color: var(--brume); font-size: 16px; }
.pilier .plus { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15.5px; }

/* ---------- le Comptoir, en détail ---------- */
.comptoir-bande { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.comptoir-bande figure { margin: 0; }
.comptoir-bande figcaption { margin-top: 10px; font-size: 14.5px; color: var(--brume); }
.comptoir-bande figcaption b { color: var(--ardoise); }
.comptoir-points { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.comptoir-point { padding: 20px 22px 22px; border-radius: 16px; background: var(--nuage); box-shadow: var(--ombre-nuage); }
.comptoir-point h3 { font-size: 20px; }
.comptoir-point p { margin-top: 8px; font-size: 15.5px; color: var(--brume); }
.moment.large .duo { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }

/* ---------- les douleurs, en cartes vivantes ---------- */
.douleurs-cartes { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.douleur-carte { display: flex; flex-direction: column; gap: 12px; padding: 24px clamp(20px, 3vw, 28px) 24px; border-radius: 22px; background: var(--nuage); box-shadow: var(--ombre-nuage); }
.douleur-carte h3 { font-size: 23px; line-height: 1.15; }
.douleur-carte .vecu { font-size: 15.5px; color: var(--brume); }
.douleur-carte .murmure { margin-top: auto; animation: none; align-items: flex-start; }
.douleur-carte .murmure img { margin-top: 2px; }
.douleur-carte .murmure .quoi { font-size: 14.5px; }
.douleur-carte .vers { font-size: 14.5px; font-weight: 600; }

/* ---------- les piliers, en grand : trois lignes, le visuel qui vend ---------- */
.pilier-ligne { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; }
.pilier-ligne > .texte { flex: 1 1 320px; min-width: 0; max-width: 440px; }
.pilier-ligne > .visuel { flex: 1.6 1 480px; min-width: 0; }
.pilier-ligne.inverse { flex-direction: row-reverse; }
.pilier-ligne .numero { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: 15px; color: var(--marine); }
.pilier-ligne h3 { margin-top: 8px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; }
.pilier-ligne .quoi { margin-top: 14px; color: var(--brume); }
.pilier-ligne .plus { margin-top: 18px; font-weight: 600; }
.elements { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.elements li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 10px; border-radius: 10px; background: var(--nuage); box-shadow: var(--ombre-nuage); font-size: 14.5px; font-weight: 600; }
.elements li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--graphe); }

/* Deux écrans en un visuel : le tableau de bord, et la tablette qui le prolonge. */
.duo-ecrans { position: relative; padding: 0 0 clamp(60px, 9vw, 120px) 0; }
.duo-ecrans .bureau { width: 86%; border-radius: 16px; overflow: hidden; background: var(--air); box-shadow: var(--ombre-haute), 0 0 0 1px var(--trait); }
.duo-ecrans .bureau img { width: 100%; }
.duo-ecrans .tablette { position: absolute; right: 0; bottom: 0; width: 52%; padding: 8px; border-radius: 22px; }
.duo-ecrans .tablette .cadre { border-radius: 12px; }
.duo-ecrans .etiquette { position: absolute; z-index: 3; left: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: var(--ardoise); color: var(--air); font-size: 13px; font-weight: 600; box-shadow: var(--ombre-nuage); }
.duo-ecrans .etiquette.haut { top: -14px; left: 16px; }
.duo-ecrans .etiquette.bas { left: auto; right: 16px; bottom: -14px; }

/* L'information du jour au-dessus de ce qui mérite l'attention. */
.pile { display: flex; flex-direction: column; gap: 14px; }
.pile .cadre { border-radius: 14px; }

/* ---------- le face-à-face : la problématique, et la remarque de Nuvema ---------- */
.face { margin-top: clamp(28px, 4vw, 44px); position: relative; }
.face .scene-face { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: stretch; }
.face .cote { padding: 30px clamp(22px, 3.5vw, 40px) 32px; border-radius: 22px; min-height: 260px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.face .probleme { background: var(--nuage); box-shadow: var(--ombre-nuage); }
.face .probleme .etiq { font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--brume); }
.face .probleme h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.12; }
.face .probleme p { color: var(--brume); font-size: 16.5px; }
.face .reponse-nv { background: var(--lueur-pale); box-shadow: var(--ombre-nuage); }
.face .reponse-nv .etiq { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--lueur-texte); }
.face .reponse-nv .etiq img { width: 34px; }
.face .reponse-nv p.dit { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; }
.face .reponse-nv .vers { font-size: 15px; font-weight: 600; }
.face .scene-face.sort { opacity: 0; transform: translateY(8px); }
.face .scene-face { transition: opacity .28s ease, transform .28s ease; }
.face .commandes { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.face .points { display: flex; gap: 8px; }
.face .points button { appearance: none; border: 0; width: 28px; height: 8px; border-radius: 8px; background: var(--trait); cursor: pointer; padding: 0; }
.face .points button[aria-current="true"] { background: var(--ardoise); }
.face .fleches { display: flex; gap: 8px; margin-left: auto; }
.face .fleches button { appearance: none; border: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--nuage); box-shadow: var(--ombre-nuage); color: var(--ardoise); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.face .fleches button:hover { box-shadow: var(--ombre-haute); }
.face .compteur { font-size: 14px; color: var(--brume); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .face .scene-face { transition: none; } }

/* ---------- l'aperçu d'un module : une fenêtre qui montre un peu, sans tout montrer ---------- */
.module { cursor: pointer; text-align: left; font: inherit; border: 0; }
.apercu { border: 0; padding: 0; max-width: min(960px, 94vw); width: 100%; border-radius: 22px; background: var(--nuage); color: var(--ardoise); box-shadow: var(--ombre-haute); }
.apercu::backdrop { background: rgba(13, 23, 51, .55); backdrop-filter: blur(4px); }
.apercu .corps { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 759.98px) { .apercu .corps { grid-template-columns: 1fr; } }
.apercu .image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--air); border-radius: 22px 0 0 22px; }
@media (max-width: 759.98px) { .apercu .image { border-radius: 22px 22px 0 0; aspect-ratio: 16 / 10; } }
.apercu .image img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.apercu .image::after { content: ''; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to bottom, transparent, var(--nuage)); }
.apercu .texte { padding: 26px clamp(20px, 3vw, 30px) 28px; display: flex; flex-direction: column; gap: 10px; }
.apercu .texte h3 { font-size: 26px; }
.apercu .texte p { color: var(--brume); }
.apercu .texte .plus { margin-top: auto; padding-top: 10px; font-weight: 600; }
.apercu .fermer { position: absolute; top: 12px; right: 12px; appearance: none; border: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--nuage); box-shadow: var(--ombre-nuage); color: var(--ardoise); cursor: pointer; font-size: 20px; line-height: 1; }
.apercu .note { font-size: 13px; color: var(--brume); }

/* ---------- ce qui apparaît au défilement, et les chiffres qui montent ---------- */
html.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--retard, 0s); }
html.js .apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .apparait { opacity: 1; transform: none; transition: none; } }

/* Le tableau de bord dessiné en HTML : la remarque, Aujourd'hui, Octobre (les chiffres du Café Mirabelle). */
.tdb { padding: 14px; border-radius: 20px; background: var(--air); box-shadow: var(--ombre-haute), 0 0 0 1px var(--trait); display: flex; flex-direction: column; gap: 12px; }
.tdb .murmure { animation: none; }
.tdb .murmure .quoi b { font-weight: 600; }
.tdb .deux-cartes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.tdb .carte-jour { padding: 16px 16px 14px; }
.tdb .carte-jour .ca { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-weight: 500; font-size: clamp(30px, 3.4vw, 40px); font-variant-numeric: tabular-nums; }
.tdb .carte-jour .trois .v { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-weight: 500; font-variant-numeric: tabular-nums; }
.tdb .variation .baisse, .tdb .trois .d .baisse { color: var(--vigilance); }
.tdb .barre .plein { width: 0; animation: none; transition: width 1.6s cubic-bezier(.2, .7, .2, 1) .25s; }
.tdb.vu .barre .plein, html:not(.js) .tdb .barre .plein { width: var(--l, 70%); }
.tdb .barre .jalon { position: absolute; top: -4px; left: var(--r, 67%); width: 2px; height: 16px; border-radius: 2px; background: var(--ardoise); }
.tdb .objectif .atteint { color: var(--montee); }
@media (prefers-reduced-motion: reduce) { .tdb .barre .plein { transition: none; width: var(--l, 70%); } }
[data-compte] { font-variant-numeric: tabular-nums; }

/* Le pilier « deux écrans » : le Comptoir devant, en grand, le tableau de bord derrière. */
.duo-ecrans.equipe-devant { padding: 0; }
.duo-ecrans.equipe-devant .bureau { position: absolute; top: 0; right: 0; width: 78%; }
.duo-ecrans.equipe-devant .tablette { position: relative; right: auto; bottom: auto; width: 68%; margin-top: 28%; padding: 10px; border-radius: 24px; z-index: 1; background: var(--nuage); box-shadow: var(--ombre-haute); }
.duo-ecrans.equipe-devant .etiquette.haut { top: -14px; left: auto; right: 16px; }
.duo-ecrans.equipe-devant .etiquette.bas { left: 16px; right: auto; bottom: -14px; }
@media (max-width: 600px) { .duo-ecrans.equipe-devant .bureau { width: 78%; } .duo-ecrans.equipe-devant .tablette { width: 76%; margin-top: 30%; } }

/* Le Comptoir dessiné en HTML, dans l'iPad : le fil de la journée, ses tâches à leur heure (les écrans réels sont à la section Comptoir). */
.cpt { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 0; background: var(--air); color: var(--ardoise); font-size: 9.5px; line-height: 1.35; overflow: hidden; }
.cpt .menu { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 9px 0; background: var(--nuage); }
.cpt .menu .logo { width: 24px; height: 24px; border-radius: 8px; background: var(--marine); color: #fff; display: grid; place-items: center; font-family: var(--titre); font-size: 12px; margin-bottom: 4px; }
.cpt .menu span { width: 40px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 7px; color: var(--brume); }
.cpt .menu span i { width: 14px; height: 14px; border-radius: 4px; background: var(--voile); display: block; }
.cpt .menu span.actif { color: #fff; background: var(--marine); border-radius: 8px; padding: 5px 0; }
.cpt .menu span.actif i { background: rgba(255, 255, 255, .4); }
.cpt .page { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cpt .haut-cpt { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cpt .haut-cpt .nom-cpt { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: 12px; }
.cpt .haut-cpt .etat { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 8px; background: var(--nuage); font-size: 8.5px; }
.cpt .haut-cpt .etat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--montee); }
.cpt .haut-cpt .qui-cpt { font-size: 8.5px; color: var(--brume); }
.cpt .salut-cpt .b { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: 15px; line-height: 1.1; }
.cpt .salut-cpt .s { font-size: 8.5px; color: var(--brume); margin-top: 1px; }
.cpt .fil { padding: 10px 12px 8px; border-radius: 12px; background: var(--nuage); box-shadow: 0 1px 2px rgba(22, 41, 94, .06); display: flex; flex-direction: column; gap: 0; min-height: 0; }
.cpt .fil .t { font-size: 10px; font-weight: 600; margin-bottom: 6px; }
.cpt .fil .sec { margin-top: 6px; padding-top: 5px; border-top: 1px solid var(--trait); font-size: 7.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--brume); }
.cpt .l { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.cpt .l + .l { border-top: 1px solid var(--trait); }
.cpt .l .r { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--voile); display: grid; place-items: center; color: var(--marine); font-size: 9px; }
.cpt .l .r.fait { background: var(--montee); color: #fff; }
.cpt .l .r.heure { width: auto; min-width: 34px; height: 18px; padding: 0 6px; border-radius: 6px; font-weight: 600; font-size: 8px; font-variant-numeric: tabular-nums; background: var(--voile); color: var(--ardoise); }
.cpt .l .x { flex: 1; min-width: 0; }
.cpt .l .x b { font-weight: 600; }
.cpt .l .x small { display: block; font-size: 8px; color: var(--brume); }
.cpt .l .bt { flex: none; padding: 4px 8px; border-radius: 7px; background: var(--marine); color: #fff; font-size: 8px; font-weight: 600; }
.cpt .l .bt.leger { background: var(--voile); color: var(--ardoise); }
.cpt .l .etq { flex: none; padding: 2px 6px; border-radius: 6px; font-size: 7.5px; font-weight: 600; background: var(--vigilance-pale, #fbf3d4); color: var(--vigilance); }
.cpt .plus-tard { padding-top: 6px; font-size: 8px; color: var(--brume); }
html.js .cpt .l { opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.25s + var(--i, 0) * .14s); }
html.js .vu .cpt .l { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .cpt .l { opacity: 1; transform: none; transition: none; } }
@media (max-width: 600px) { .cpt { grid-template-columns: minmax(0, 1fr); font-size: 8.5px; } .cpt .menu { display: none; } .cpt .l .x small { display: none; } }

/* Les tuiles des modules, dessinées en HTML sous le tableau de bord (une autre maison, d'autres chiffres). */
.tdb .tuiles-h { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr)); }
.tdb .tuiles-h .titre-t { grid-column: 1 / -1; font-size: 11px; font-weight: 600; color: var(--brume); }
.tdb .tuile { padding: 10px 11px 11px; border-radius: 12px; background: var(--nuage); box-shadow: var(--ombre-nuage); }
.tdb .tuile .q { font-size: 10px; color: var(--brume); line-height: 1.3; }
.tdb .tuile .v { margin-top: 4px; font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-weight: 500; font-size: 19px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tdb .tuile .d { margin-top: 3px; font-size: 9.5px; line-height: 1.3; color: var(--brume); }
.tdb .tuile .d b { color: var(--montee); }
.tdb .tuile .d b.baisse { color: var(--vigilance); }

/* ---------- les tarifs : le calcul des outils séparés, avant le prix ---------- */
.calcul { margin-top: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 28px; }
.calcul .outils { flex: 1.6 1 420px; min-width: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.calcul .outils label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px 8px 12px; border-radius: 12px; background: var(--nuage); box-shadow: var(--ombre-nuage); cursor: pointer; font-size: 15px; transition: box-shadow .2s ease; }
.calcul .outils label:has(input:checked) { box-shadow: var(--ombre-nuage), inset 0 0 0 2px var(--marine); }
.calcul .outils input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--marine); }
.calcul .outils .nom { flex: 1; min-width: 0; line-height: 1.3; }
.calcul .outils .nom small { display: block; font-size: 12px; color: var(--brume); }
.calcul .outils .p { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calcul .bilan { flex: 1 1 260px; min-width: 0; position: sticky; top: 84px; padding: 22px 24px 24px; border-radius: 20px; background: var(--ardoise); color: #fff; box-shadow: var(--ombre-haute); display: flex; flex-direction: column; gap: 4px; }
.calcul .bilan .l { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.calcul .bilan .l + .l { margin-top: 16px; }
.calcul .bilan .total, .calcul .bilan .nv { font-family: var(--titre); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calcul .bilan .total small, .calcul .bilan .nv small { font-family: var(--texte); font-size: 13px; font-weight: 400; letter-spacing: 0; opacity: .72; margin-left: 6px; }
.calcul .bilan .nv { color: var(--aube); }
.calcul .bilan .ecart { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 15px; line-height: 1.45; }
.calcul .bilan .ecart b { font-weight: 600; color: var(--aube); }
.calcul .bilan .btn { align-self: flex-start; margin-top: 16px; background: #fff; color: var(--ardoise); }
.calcul .bilan .btn:hover { background: var(--air); }
@media (prefers-color-scheme: dark) { .calcul .bilan { background: var(--nuage); box-shadow: var(--ombre-haute), 0 0 0 1px var(--trait); } .calcul .bilan .btn { background: var(--marine); color: #fff; } }
.calcul-note { margin-top: 14px; font-size: 13px; color: var(--brume); max-width: 46em; }

/* ---------- le site de commande : un navigateur qui se fait défiler, un téléphone à côté ---------- */
.navigateur { position: relative; border-radius: 16px; overflow: hidden; background: var(--nuage); box-shadow: var(--ombre-haute), 0 0 0 1px var(--trait); }
.navigateur .barre-nav { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--voile); border-bottom: 1px solid var(--trait); }
.navigateur .barre-nav .points { display: flex; gap: 6px; }
.navigateur .barre-nav .points i { width: 10px; height: 10px; border-radius: 50%; background: var(--trait); display: block; }
.navigateur .barre-nav .adresse { flex: 1; min-width: 0; padding: 6px 12px; border-radius: 8px; background: var(--nuage); font-size: 12.5px; color: var(--brume); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.navigateur .barre-nav .adresse b { color: var(--ardoise); font-weight: 600; }
.navigateur .ecran { position: relative; height: clamp(360px, 48vw, 640px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--trait) transparent; background: #f6f1e8; }
.navigateur .ecran img { display: block; width: 100%; height: auto; }
.navigateur .indice { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 7px 12px; border-radius: 10px; background: var(--ardoise); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: var(--ombre-haute); pointer-events: none; opacity: 1; transition: opacity .4s ease; }
.navigateur .ecran.defile + .indice, .navigateur.defile .indice { opacity: 0; }
.commande-scene { position: relative; padding: 0 clamp(54px, 6vw, 84px) 24px 0; }
.commande-scene .navigateur { min-width: 0; }
.commande-scene .telephone-cadre { position: absolute; right: 0; bottom: 0; width: clamp(130px, 12vw, 160px); margin: 0; padding: 6px; border-radius: 22px; }
@media (max-width: 700px) { .commande-scene { padding: 0; } .commande-scene .telephone-cadre { position: static; width: 200px; margin: 16px auto 0; } }
.commande-scene .telephone-cadre .cadre { max-height: clamp(300px, 34vw, 460px); overflow-y: auto; scrollbar-width: none; border-radius: 16px; }
.commande-scene .telephone-cadre .cadre::-webkit-scrollbar { display: none; }
.commande-legende { margin-top: 12px; font-size: 13.5px; color: var(--brume); }
