/* BaleineCash — homepage. Une seule feuille, aucune dépendance externe.
   Palette : eau profonde / papier verre de mer / patine de cuivre.
   Aucune police distante (pas de Google Fonts : requête tierce, et sujet
   sensible en Allemagne). Piles système uniquement. */

:root {
  --abysse:      #07303B;
  --encre:       #0D3946;
  --marine:      #14505E;
  --verre:       #E9EDE7;
  --craie:       #F8FAF6;
  --patine:      #3FBFA7;
  --patine-fonce:#15786A;
  --sable:       #C3AE87;
  --texte:       #10262D;
  --texte-doux:  #526B75;
  --trait:       #D3DBD3;

  /* Teintes du reporting : bleus du programme, vert pour la quote-part,
     sable pour la ligne de bascule avant le total. */
  --bleu-pale:   #DCE7EF;
  --bleu-clair:  #F0F5F8;
  --vert-pale:   #E4F0EC;

  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --corps: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --chiffres: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --reglure: 34px;           /* rythme des réglures de registre */
  --largeur: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--verre);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--patine-fonce); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--patine);
  outline-offset: 3px;
}

.saut-contenu {
  position: absolute; left: -9999px; top: 0;
  background: var(--craie); color: var(--texte);
  padding: 10px 16px; z-index: 100;
}
.saut-contenu:focus { left: 8px; top: 8px; }

.enveloppe { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }

/* ---------- en-tête ---------- */

.entete {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 48, 59, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.entete .enveloppe {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 62px;
}
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* Logo officiel du produit, en PNG detoure. Hauteur fixee pour que la
   ligne de l'en-tete ne bouge pas avant le chargement de l'image. */
.marque .logo { width: 46px; height: 25px; display: block; flex: none; }
.marque span {
  font-family: var(--display);
  font-size: 21px; letter-spacing: .01em; color: #EAF2EF;
}
.langues { display: flex; align-items: center; gap: 2px; }
.langues .etiquette {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(234,242,239,.55); margin-right: 8px;
}
.langues a {
  display: inline-block; padding: 5px 9px; border-radius: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: rgba(234,242,239,.72); text-decoration: none;
}
.langues a:hover { color: #fff; background: rgba(255,255,255,.08); }
.langues a[aria-current="true"] { color: var(--abysse); background: var(--patine); }

/* ---------- hero ---------- */

.hero {
  background-color: var(--abysse);
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.052) 0 1px,
      transparent 1px var(--reglure)
    ),
    radial-gradient(1200px 520px at 78% -10%, #175B68 0%, transparent 62%);
  color: #E7EFEC;
  padding: 76px 0 84px;
}
.hero-grille {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.sourcil {
  font-size: 12px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--patine); margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08; letter-spacing: -.015em;
  margin: 0 0 20px; color: #FBFDFB; text-wrap: balance;
}
.hero p.chapeau { font-size: 18.5px; color: #C3D6D3; margin: 0 0 30px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bouton {
  display: inline-block; padding: 13px 22px; border-radius: 4px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; transition: transform .12s ease, background .12s ease;
}
.bouton-plein { background: var(--patine); color: #04262F; }
.bouton-plein:hover { background: #52D3BA; transform: translateY(-1px); }
.bouton-fil { border-color: rgba(255,255,255,.28); color: #DCE9E6; }
.bouton-fil:hover { border-color: var(--patine); color: #fff; }
.note-hero { margin: 20px 0 0; font-size: 14px; color: #8FAAAB; }

/* ---------- bandes ---------- */

.bande { padding: 78px 0; scroll-margin-top: 74px; }
.bande-claire { background: var(--verre); }
.bande-craie { background: var(--craie); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.bande-sombre { background: var(--encre); color: #DCE9E6; }

.titre-bande {
  font-family: var(--display); font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15; margin: 0 0 10px; letter-spacing: -.01em;
}
.intro-bande { margin: 0 0 40px; color: var(--texte-doux); font-size: 17.5px; max-width: 40em; }
.bande-sombre .intro-bande { color: #9FBAB9; }

.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.carte {
  background: var(--craie); border: 1px solid var(--trait);
  border-radius: 6px; padding: 22px 22px 24px;
}
.bande-craie .carte { background: var(--verre); }
.carte h3 {
  font-family: var(--display); font-size: 19px; margin: 0 0 8px; font-weight: 600;
}
.carte p { margin: 0; font-size: 15.5px; color: var(--texte-doux); line-height: 1.55; }

/* étapes : la numérotation encode un ordre réel (1 → 2 → 3) */
.etape { display: grid; gap: 14px; }
.etape .rang {
  font-family: var(--chiffres); font-size: 12px; letter-spacing: .1em;
  color: var(--patine-fonce);
}
.etape figure { margin: 0; }
.etape img {
  width: 100%; border: 1px solid var(--trait); border-radius: 5px; background: #fff;
}
.etape h3 { font-family: var(--display); font-size: 19px; margin: 4px 0 6px; }
.etape p { margin: 0; font-size: 15.5px; color: var(--texte-doux); }

/* différenciateurs sur fond sombre */
.bande-sombre .carte {
  background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.12);
}
.bande-sombre .carte h3 { color: #F2F8F5; }
.bande-sombre .carte p { color: #A9C3C1; }
.bande-sombre .titre-bande { color: #F2F8F5; }

/* confiance */
.confiance-phrase {
  font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3; margin: 0 0 28px; max-width: 22em;
}
.faits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.faits li {
  border-top: 2px solid var(--patine); padding-top: 12px;
  font-size: 15.5px; color: var(--texte-doux);
}

/* prix */
.offres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 720px; }
.offre { background: var(--craie); border: 1px solid var(--trait); border-radius: 6px; padding: 24px; }
.offre .nom { font-family: var(--display); font-size: 20px; margin: 0 0 10px; }
.offre .montant {
  font-family: var(--chiffres); font-size: 34px; font-weight: 600;
  letter-spacing: -.02em; display: block;
}
.offre .periode { font-size: 14px; color: var(--texte-doux); display: block; margin-top: 2px; }
.offre p { margin: 14px 0 0; font-size: 15px; color: var(--texte-doux); }
.offre .tva {
  display: inline-block; margin-top: 12px; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--patine-fonce);
}
.essai {
  display: inline-block; margin: 0 0 26px; padding: 7px 14px;
  background: var(--patine); color: #04262F; border-radius: 4px;
  font-weight: 600; font-size: 15px;
}
.notes-prix { margin: 26px 0 0; max-width: 46em; font-size: 14.5px; color: var(--texte-doux); }
.notes-prix p { margin: 0 0 8px; }

/* FAQ */
.faq { max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--trait); padding: 4px 0;
}
.faq summary {
  cursor: pointer; padding: 15px 0; font-size: 17px; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--chiffres); color: var(--patine-fonce); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq .reponse { padding: 0 0 16px; color: var(--texte-doux); font-size: 16px; }
.faq .reponse p { margin: 0 0 10px; }
.lien-faq { display: inline-block; margin-top: 24px; font-weight: 600; }

/* pied de page */
.pied { background: var(--abysse); color: #A9C3C1; padding: 54px 0 40px; font-size: 15px; }
.pied a { color: #CFE2DE; text-decoration: none; border-bottom: 1px solid rgba(207,226,222,.3); }
.pied a:hover { color: #fff; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pied h4 {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(169,195,193,.6); margin: 0 0 12px; font-weight: 600;
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 8px; }
.pied .marque span { color: #EAF2EF; }
.pied-bas {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: rgba(169,195,193,.75);
}

/* Révélation au défilement. Regle de securite : le contenu est VISIBLE par
   defaut. Il n'est masque que si JS tourne (classe .js posee dans le <head>)
   et que le visiteur n'a pas demande moins de mouvement. Sans JS, la page
   reste entierement lisible. */
@media (prefers-reduced-motion: no-preference) {
  .js .revele { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .revele.vu { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .hero-grille { grid-template-columns: 1fr; gap: 40px; }
  .grille-3, .faits { grid-template-columns: repeat(2, 1fr); }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 54px 0 60px; }
  .bande { padding: 56px 0; }
  .grille-3, .grille-2, .faits, .offres, .pied-grille { grid-template-columns: 1fr; }
  .entete .enveloppe { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .langues .etiquette { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revele { opacity: 1; transform: none; }
}

@media print {
  .entete, .actions { display: none; }
  .revele { opacity: 1; transform: none; }
  body { background: #fff; color: #000; }
  .bande, .hero { padding: 24px 0; background: #fff; color: #000; }
  .faq details { display: block; }
}


/* ── Telechargement ─────────────────────────────────────────────── */
.telechargement { max-width: 46em; }
.tel-action { margin: 0 0 22px; }
.tel-fiche {
  display: grid; grid-template-columns: max-content 1fr;
  gap: 6px 18px; margin: 0 0 18px;
  padding: 18px 20px; background: var(--craie);
  border: 1px solid var(--trait); border-radius: 6px;
  font-size: 15px;
}
.tel-fiche dt { color: var(--texte-doux); }
.tel-fiche dd { margin: 0; font-family: var(--chiffres); font-size: 14px; }
.empreinte { word-break: break-all; font-size: 12.5px; letter-spacing: .02em; }
.tel-note { margin: 0 0 10px; font-size: 14.5px; color: var(--texte-doux); }

/* Formulaire de telechargement.
   Fond BLANC, et non craie : la bande est deja en craie, et un cadre de
   la meme teinte qu'elle disparait — verifie en rendant la page. Le
   blanc dit « ici on saisit », par opposition a la fiche technique
   juste en dessous, qui ne fait qu'afficher. */
.tel-form {
  margin: 0 0 22px; padding: 20px 22px 18px;
  background: #fff; border: 1px solid var(--trait); border-radius: 6px;
}
.tel-champ { margin: 0 0 6px; }
.tel-champ label {
  display: block; margin-bottom: 6px;
  font-size: 15px; color: var(--texte-doux);
}
.tel-champ input {
  width: 100%; max-width: 26em; box-sizing: border-box;
  padding: 9px 11px; font: inherit; font-size: 15px;
  color: var(--texte); background: #fff;
  border: 1px solid var(--trait); border-radius: 5px;
}
.tel-champ input:focus-visible {
  outline: 2px solid var(--patine-fonce); outline-offset: 1px;
  border-color: var(--patine-fonce);
}
.tel-note-champ { margin: 0 0 16px; font-size: 13.5px; max-width: 34em; }
.tel-form .tel-action { margin: 0 0 8px; }
.tel-form .tel-action .bouton { font: inherit; cursor: pointer; }
.tel-cgv { margin: 0; font-size: 13.5px; }

/* Le piege a robots. Ni display:none ni hidden : trop reconnaissables,
   les remplisseurs automatiques savent les ignorer. On le sort de
   l'ecran, ce qui le laisse "visible" pour eux et invisible pour nous.
   aria-hidden + tabindex="-1" le retirent des lecteurs d'ecran et du
   parcours au clavier, donc personne de reel ne tombe dessus. */
.piege {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.tel-bientot {
  margin: 0; padding: 18px 20px; background: var(--craie);
  border-left: 3px solid var(--patine-fonce); border-radius: 0 6px 6px 0;
  font-size: 15.5px;
}
@media (max-width: 640px) {
  .tel-fiche { grid-template-columns: 1fr; gap: 2px 0; }
  .tel-fiche dd { margin-bottom: 10px; }
}

/* ── Pages de documents (FAQ, CGV, confidentialite, annulation) ──── */
.page-doc { background: var(--craie); }
.doc { padding: 46px 0 70px; }
.doc-grille { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }

.sommaire { position: sticky; top: 24px; font-size: 14px; max-height: calc(100vh - 48px); overflow-y: auto; }
.sommaire h2 {
  font-family: var(--corps); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux);
  margin: 0 0 14px;
}
.sommaire ol { list-style: none; margin: 0; padding: 0; }
.sommaire ol > li { margin-bottom: 14px; }
.sommaire ol > li > a { font-weight: 600; color: var(--encre); text-decoration: none; }
.sommaire ul { list-style: none; margin: 5px 0 0; padding: 0 0 0 10px; border-left: 1px solid var(--trait); }
.sommaire ul li { margin: 3px 0; line-height: 1.35; }
.sommaire ul a { color: var(--texte-doux); text-decoration: none; font-size: 13.5px; }
.sommaire a:hover { color: var(--patine-fonce); text-decoration: underline; }
.sommaire-retour { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--trait); }
.sommaire-retour a { color: var(--patine-fonce); text-decoration: none; }

.doc-corps { max-width: 42em; }
.doc-corps h1 {
  font-family: var(--display); font-weight: 400; font-size: 40px;
  line-height: 1.12; margin: 0 0 36px; color: var(--abysse);
}
.doc-chapitre { margin-bottom: 8px; }
.doc-chapitre > h2 {
  font-family: var(--display); font-weight: 400; font-size: 26px;
  margin: 46px 0 6px; padding-top: 20px; border-top: 2px solid var(--trait);
  color: var(--abysse); scroll-margin-top: 80px;
}
/* 80 px, et non 20 : l'en-tete est « sticky » et mesure 63 px. A 20 px, un
   saut vers une ancre posait bien la section en haut de la fenetre — mais
   SOUS la barre, qui avalait son titre. On voyait alors le titre du chapitre
   SUIVANT et on croyait l'ancre fausse. Constate le 02.10.2026 sur
   /fr/annulation/#CANCEL_Livraison_immediate, et vrai pour tous les renvois
   des 20 pages de documents, sommaire de gauche compris.
   La page d'accueil, elle, utilisait deja 74 px sur ses bandes. */
.doc-article { scroll-margin-top: 80px; margin: 26px 0 0; }
.doc-article h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--encre); }
.doc-article h3 .ancre { color: inherit; text-decoration: none; }
.doc-article h3 .ancre:hover { color: var(--patine-fonce); }
.doc-article p { margin: 0 0 12px; line-height: 1.62; }
.doc-article ul { margin: 0 0 12px; padding-left: 20px; }
.doc-article li { margin-bottom: 6px; line-height: 1.55; }
.doc-article code { font-family: var(--chiffres); font-size: .9em; background: var(--verre); padding: 1px 4px; border-radius: 3px; }
.doc-article a { color: var(--patine-fonce); }

.doc-voisins { margin-top: 54px; padding-top: 22px; border-top: 2px solid var(--trait); font-size: 15px; }
.doc-voisins h2 {
  font-family: var(--corps); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); margin: 0 0 10px;
}
.doc-voisins ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.doc-voisins a { color: var(--patine-fonce); }

@media (max-width: 900px) {
  .doc-grille { grid-template-columns: 1fr; gap: 28px; }
  .sommaire { position: static; max-height: none; }
  .doc-corps h1 { font-size: 31px; }
}

/* ── Galerie de captures ─────────────────────────────────────────── */
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 26px; }
.galerie figure { margin: 0; }
.galerie picture { display: block; }
.galerie img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--trait); border-radius: 6px;
  background: #fff; box-shadow: 0 2px 14px rgba(7, 48, 59, .07);
}
.galerie figcaption {
  margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--encre);
}
.etape picture { display: block; }
.etape img { width: 100%; height: auto; }
@media (max-width: 900px) { .galerie { grid-template-columns: 1fr; gap: 24px; } }

/* ── Sélecteur de langue : drapeaux ──────────────────────────────── */
.drapeaux-source { position: absolute; width: 0; height: 0; overflow: hidden; }

.lecteur-ecran {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.langues { display: flex; align-items: center; gap: 5px; }
.langues a {
  display: block; padding: 4px; border-radius: 5px;
  line-height: 0; border: 1px solid transparent;
}
/* 38 px : en dessous, le code dans le drapeau n'est plus lisible. */
.langues .drapeau {
  width: 38px; height: 25px; display: block;
  border-radius: 3px;
  opacity: .72; transition: opacity .12s ease;
}
.langues a:hover .drapeau { opacity: 1; }
.langues a[aria-current] {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .34);
}
.langues a[aria-current] .drapeau { opacity: 1; }
.langues a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .langues .drapeau { transition: none; } }
@media (max-width: 620px) {
  .langues { gap: 3px; }
  .langues a { padding: 3px; }
  .langues .drapeau { width: 34px; height: 23px; }
}

/* ── Registre du hero — repris de REPORTING INDIVIS ─────────────── */
.registre {
  margin: 0; background: #FFFFFF; color: var(--texte);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 6px 26px rgba(7, 48, 59, .16);
}
.registre-entete {
  display: flex; flex-direction: column; gap: 3px;
  padding: 13px 16px; background: var(--abysse); color: #FFFFFF;
}
.registre-titre { font-size: 15px; font-weight: 700; }
.registre-portee {
  font-family: var(--chiffres); font-size: 11.5px; color: #7FC9BC;
}

.registre table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

/* En-tête de colonnes : bleu marine, et la quote-part en vert — c'est la
   colonne dont on veut que l'oeil parte. */
.registre thead th {
  padding: 8px 12px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--marine); color: #FFFFFF; text-align: left;
}
.registre thead th.col-chiffre { text-align: right; }
.registre thead th.col-part { background: var(--patine-fonce); }

.registre td {
  padding: 7px 12px; border-bottom: 1px solid var(--trait);
}
.registre td.col-chiffre {
  text-align: right; white-space: nowrap;
  font-family: var(--chiffres); font-variant-numeric: tabular-nums;
}
.registre td.col-part { background: var(--vert-pale); color: var(--patine-fonce); font-weight: 600; }

/* Détail : blanc, libellé indenté. */
.registre .l-detail td { background: #FFFFFF; }
.registre .l-detail td.col-part { background: var(--vert-pale); }

/* Sous-total : bleu pâle, gras. C'est le rythme du reporting. */
.registre .l-soustotal td { background: var(--bleu-pale); font-weight: 700; }
.registre .l-soustotal td.col-part { background: #CFE4DC; }

/* Total : bandeau, précédé d'un filet sable comme la bascule NET du programme. */
.registre .l-total td {
  background: var(--abysse); color: #FFFFFF; font-weight: 700;
  font-size: 14.5px; border-bottom: 0; border-top: 3px solid var(--sable);
  padding-top: 10px; padding-bottom: 10px;
}
.registre .l-total td.col-part { background: var(--patine-fonce); color: #FFFFFF; }

.registre .pays {
  display: inline-block; margin-right: 7px; padding: 1px 5px;
  border-radius: 3px; background: var(--bleu-clair); color: var(--marine);
  border: 1px solid var(--bleu-pale);
  font-family: var(--chiffres); font-size: 10px; font-weight: 700;
  letter-spacing: .04em; vertical-align: 1px;
}
.registre .l-soustotal .pays, .registre .l-total .pays { display: none; }
.registre .taux {
  display: inline-block; margin-left: 6px; padding: 1px 5px;
  border-radius: 3px; background: var(--patine-fonce); color: #FFFFFF;
  font-family: var(--chiffres); font-size: 10px; font-weight: 700;
  vertical-align: 1px;
}

.registre .legende {
  margin: 0; padding: 11px 16px; background: var(--craie);
  border-top: 1px solid var(--trait);
  font-size: 12px; line-height: 1.45; color: var(--texte-doux);
}

.chapeau-suite { margin-top: -6px; }

@media (max-width: 560px) {
  .registre table { font-size: 12.5px; }
  .registre td, .registre thead th { padding-left: 9px; padding-right: 9px; }
}

/* ── Agrandissement au clic ──────────────────────────────────────── */
img.zoomable { cursor: zoom-in; }
.loupe {
  border: 0; padding: 0; max-width: 96vw; max-height: 94vh;
  background: transparent; overflow: visible;
}
.loupe::backdrop { background: rgba(7, 48, 59, .82); }
.loupe img {
  display: block; max-width: 96vw; max-height: 94vh;
  width: auto; height: auto; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff;
}
.loupe-fermer {
  position: absolute; top: -14px; right: -14px; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: #FFFFFF; color: var(--abysse);
  font-size: 24px; line-height: 1; cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .4);
}
.loupe-fermer:focus-visible { outline: 3px solid var(--patine); outline-offset: 2px; }

/* ── Lien vers la version longue ─────────────────────────────────── */
.lien-adn { margin: 34px 0 0; font-size: 16.5px; }
.lien-adn a {
  color: var(--patine-fonce); text-decoration: none;
  border-bottom: 1px solid rgba(21, 120, 106, .35); padding-bottom: 2px;
}
.lien-adn a:hover { border-bottom-color: var(--patine-fonce); }

/* ── Copier l'empreinte ──────────────────────────────────────────── */
.tel-fiche dd .copier {
  margin-left: 10px; padding: 3px 9px;
  border: 1px solid var(--trait); border-radius: 4px;
  background: #FFFFFF; color: var(--patine-fonce);
  font-family: var(--corps); font-size: 12px; font-weight: 600;
  cursor: pointer; vertical-align: 2px; white-space: nowrap;
}
.tel-fiche dd .copier:hover { border-color: var(--patine-fonce); }
.tel-fiche dd .copier.fait {
  background: var(--patine-fonce); color: #FFFFFF; border-color: var(--patine-fonce);
}
.tel-fiche dd .copier:focus-visible { outline: 2px solid var(--patine-fonce); outline-offset: 2px; }

/* ── Trois offres ────────────────────────────────────────────────── */
.offres { grid-template-columns: repeat(3, 1fr); max-width: none; }
.offre { display: flex; flex-direction: column; }
/* Les trois textes n'ont pas la meme longueur : sans cette poussee, les
   boutons se retrouvent a trois hauteurs differentes, et l'oeil lit un
   desordre la ou il devrait comparer trois offres. */
.offre .tva { margin-top: auto; }
.offre-action { margin: 18px 0 6px; }
.offre-action .bouton { display: block; text-align: center; width: 100%; }
.offre-aide {
  display: block; font-size: 12.5px; color: var(--texte-doux); text-align: center;
}
@media (max-width: 900px) { .offres { grid-template-columns: 1fr; } }

/* ── Etapes d'installation, section telechargement ───────────────── */
/*
   Posees le 15.10.2026. Le fils de Pierre s'est perdu a l'installation :
   Windows ouvre un ZIP comme un dossier, il a double-clique l'exe DEDANS,
   le programme n'a pas trouve son sous-dossier « data », et le LISEZMOI
   — qui est dans l'archive — n'a jamais ete lu. D'ou ces etapes sur la
   page, lisibles AVANT le telechargement.
*/
.tel-install {
  margin: 0 0 18px; padding: 20px 22px; background: #fff;
  border: 1px solid var(--trait); border-radius: 6px; max-width: 46em;
}
.tel-install > strong { display: block; margin-bottom: 10px; font-size: 15.5px; }
.tel-install ol { margin: 0; padding-left: 1.3em; }
.tel-install li { margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; }
.tel-install li:last-child { margin-bottom: 0; }
.tel-install code {
  font-family: var(--chiffres); font-size: 13px;
  background: var(--craie); padding: 1px 5px; border-radius: 3px;
}

/* ── Empreinte venue du programme : le bandeau ───────────────────── */
/*
   Ce bloc contenait aussi la boite modale du relais d'achat. Elle a ete
   retiree le 22.10.2026 : elle montrait la renonciation sans l'enregistrer,
   et la page de commande fait les deux. Un avertissement de plus a lire
   avant le vrai formulaire ne protegeait personne.

   Il reste le bandeau — « votre licence sera liee a cet ordinateur » —
   qui s'affiche dans la section des prix quand le programme a transmis
   l'empreinte. Lui n'a pas d'equivalent ailleurs.
*/
.bc-achat-bandeau { margin:0 0 1.2rem; padding:.7rem 1rem; border-radius:6px;
  background:#e7f3ea; border:1px solid #7fb48c; color:#1d4a2a; font-size:.95rem; }
.bc-achat-bandeau code { font-weight:700; letter-spacing:.06em; }

/* ── Page de commande ────────────────────────────────────────────── */
/*
   /<lg>/commande/ — l'etape qui recueille l'adresse email, l'empreinte et
   les deux accords avant le paiement.

   Fond craie pour la page, blanc pour les cadres de saisie : la meme regle
   que le formulaire de telechargement, et pour la meme raison. Un cadre de
   la teinte du fond disparait.
*/
.page-cmd { background: var(--craie); }
.cmd { padding: 46px 0 70px; }
.cmd-enveloppe { max-width: 44em; }
.cmd h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(27px, 3.4vw, 36px); line-height: 1.15;
  margin: 0 0 14px; color: var(--encre);
}
.cmd-intro { margin: 0 0 10px; font-size: 16.5px; line-height: 1.6; }
.cmd-note { margin: 0 0 12px; font-size: 14.5px; color: var(--texte-doux);
  line-height: 1.55; max-width: 38em; }
.cmd-note a { color: var(--patine-fonce); }

/* Les messages du serveur. Caches par defaut, montres par :target —
   commande.php renvoie sur /<lg>/commande/?p=...#e-email. Pas de script :
   un formulaire refuse doit dire pourquoi meme sans JavaScript. */
.cmd-erreur { margin: 0; padding: 0; border: 0; }
.cmd-erreur > * { display: none; }
.cmd-erreur:has(p:target) {
  display: block; margin: 0 0 22px; padding: 14px 16px;
  background: #FDF3F1; border: 1px solid #D9A79C; border-radius: 6px;
}
.cmd-erreur:has(p:target) .cmd-erreur-titre { display: block; margin-bottom: 6px;
  color: #8C3A28; }
.cmd-erreur p:target { display: block; margin: 0; font-size: 15px;
  line-height: 1.55; color: var(--texte); }

/* Un bloc par question posee. */
.cmd-form { margin: 24px 0 0; }
.cmd-bloc {
  margin: 0 0 18px; padding: 18px 20px 16px;
  background: #fff; border: 1px solid var(--trait); border-radius: 6px;
}
.cmd-bloc legend {
  padding: 0 6px; margin-left: -6px;
  font-family: var(--display); font-size: 18px; color: var(--encre);
}
.cmd-bloc > :last-child { margin-bottom: 0; }

/* Les trois offres, en boutons radio. Sans JavaScript aucune n'est
   pre-cochee et « required » impose le choix : mieux qu'une offre
   choisie a la place de la personne. */
.cmd-offres { display: grid; gap: 8px; margin: 4px 0 14px; }
.cmd-offre {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 13px; border: 1px solid var(--trait); border-radius: 5px;
  cursor: pointer;
}
.cmd-offre:hover { border-color: var(--patine-fonce); background: #F6FBF9; }
.cmd-offre:has(input:checked) {
  border-color: var(--patine-fonce); background: #F1F8F5;
  box-shadow: inset 0 0 0 1px var(--patine-fonce);
}
.cmd-offre:has(input:focus-visible) {
  outline: 2px solid var(--patine-fonce); outline-offset: 1px;
}
.cmd-offre input { margin: 0; flex: 0 0 auto; }
.cmd-offre-corps { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cmd-offre-nom { font-weight: 600; }
.cmd-offre-montant { font-family: var(--chiffres); font-size: 16px; color: var(--encre); }
.cmd-offre-periode { font-size: 13.5px; color: var(--texte-doux); }

/* Champs de saisie : memes mesures que .tel-champ, pour que les deux
   formulaires du site ne se ressemblent pas « a peu pres ». */
.cmd-champ { margin: 4px 0 8px; }
.cmd-champ label {
  display: block; margin-bottom: 6px; font-size: 15px; color: var(--texte-doux);
}
.cmd-champ input {
  width: 100%; max-width: 26em; box-sizing: border-box;
  padding: 9px 11px; font: inherit; font-size: 15px;
  color: var(--texte); background: #fff;
  border: 1px solid var(--trait); border-radius: 5px;
}
.cmd-champ input:focus-visible {
  outline: 2px solid var(--patine-fonce); outline-offset: 1px;
  border-color: var(--patine-fonce);
}
.cmd-champ input:read-only {
  background: var(--craie); color: var(--texte);
  font-family: var(--chiffres); letter-spacing: .06em;
}
.cmd-champ-emp input { max-width: 14em; font-family: var(--chiffres);
  letter-spacing: .06em; text-transform: uppercase; }

/* Empreinte : deux etats du meme champ.
   Par defaut — et donc sans JavaScript — on demande l'empreinte et on
   explique ou la lire. Quand le programme l'a transmise, le script pose
   « a-empreinte » sur le bloc : la phrase de confirmation apparait, les
   explications de saisie s'effacent, et le champ passe en lecture seule
   avec un lien pour le reprendre en main. */
.cmd-emp-connue { display: none; }
.cmd-emp-rendre { display: none; }
.a-empreinte .cmd-emp-connue { display: block; margin: 4px 0 10px;
  font-size: 15px; line-height: 1.55; }
.a-empreinte .cmd-emp-rendre { display: block; margin: 2px 0 0; }
.a-empreinte .cmd-emp-aide { display: none; }
.a-empreinte .cmd-champ-emp label { color: var(--texte-doux); font-size: 14px; }
/* Et la case « j'achete depuis le site » disparait : l'achat vient du
   programme, la question ne se pose pas. Constate a l'ecran le 22.10.2026 —
   la case restait affichee sous une empreinte transmise par le logiciel. */
.a-empreinte .cmd-case-hors { display: none; }

/* Un bouton qui a l'air d'un lien. C'en est un dans l'esprit — il ne
   quitte pas la page — mais un <a href="#"> qui n'emmene nulle part est un
   piege pour les lecteurs d'ecran. */
.cmd-lien {
  padding: 0; border: 0; background: none; font: inherit; font-size: 14.5px;
  color: var(--patine-fonce); text-decoration: underline; cursor: pointer;
}
.cmd-lien:hover { color: var(--encre); }

/* Les deux cases. Le libelle garde sa pleine largeur de lecture : une
   renonciation a un droit se lit, elle ne se survole pas. */
.cmd-case {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  align-items: start; margin: 0 0 14px;
}
.cmd-case input { margin: 3px 0 0; width: 17px; height: 17px; flex: 0 0 auto; }
.cmd-case label { font-size: 15.5px; line-height: 1.5; cursor: pointer; }
.cmd-case input:focus-visible { outline: 2px solid var(--patine-fonce); outline-offset: 2px; }
.cmd-case-renonc { padding: 12px 14px; background: #FAF8F3;
  border-left: 3px solid var(--sable); border-radius: 0 5px 5px 0; }
.cmd-case-renonc label { font-weight: 600; }

/* Le rappel des trente jours. Il est au-dessous de la renonciation et non
   dedans : c'est une affirmation que NOUS faisons, pas quelque chose que
   la personne atteste. */
.cmd-essai { margin: 14px 0 0; padding: 12px 14px; background: var(--craie);
  border-radius: 5px; font-size: 14.5px; line-height: 1.55; }

.cmd-action { margin: 22px 0 14px; }
.cmd-action .bouton { font: inherit; cursor: pointer; }
.cmd-action .bouton[disabled] { opacity: .55; cursor: default; transform: none; }
.cmd-donnees { margin: 0 0 14px; }
.cmd-sansjs { margin: 18px 0 0; }

@media (max-width: 640px) {
  .cmd { padding: 32px 0 54px; }
  .cmd-bloc { padding: 16px 15px 14px; }
}
