/*
  Site 3V Commodities, feuille du site (lot 2, 01/12/2026). Elle reprend la
  feuille des planches v2, validées par Bastien le 01/12/2026, et y ajoute les
  composants des pages du plan : pages de texte, inscription, contact, archives.

  Retours de Bastien sur la version 1 : on ne voyait pas où une partie finit et
  où la suivante commence, ni où porter les yeux. Il demande plus d'encadrés et un
  peu de flou, « un peu design Apple, mais avec la DA de 3V ». D'où :
  - un bandeau en verre dépoli, qui reste en haut de l'écran ;
  - des bandes blanches et crème en alternance, un grand titre en tête de chaque partie ;
  - des tuiles à grands arrondis, des cartes en verre posées sur le signe 3V.

  La charte du 27/10/2026 reste la base (3v/branding/2026-10-27_charte-3v/) :
  Merriweather Sans pour les titres, Source Sans 3 pour le texte, un seul marine.
  Seules les couleurs de la charte sont admises, transparences comprises : le
  script les contrôle par leur code. Bastien est daltonien : rien ne se distingue
  par la seule teinte (épaisseur, gras, libellé ou clarté en plus).
  Interdits maintenus : chasse fixe, capitales transformées, interlettrage positif,
  ombres, dégradés, pastilles d'appli (les choix sont des rectangles arrondis).
*/

/* Polices OFL de la charte, réduites aux caractères du français et converties en woff2 */
@font-face { font-family: "Merriweather Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/statique/polices/MerriweatherSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "Merriweather Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/statique/polices/MerriweatherSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/statique/polices/SourceSans3-Regular.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/statique/polices/SourceSans3-Bold.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("/statique/polices/SourceSans3-Italic.woff2") format("woff2"); }
/* Le seul mot COMMODITIES du logo, réduit à ses lettres */
@font-face { font-family: "IBM Plex Sans Logo"; font-weight: 600; font-style: normal;
  src: url("/statique/polices/IBMPlexSans-SemiBold-COMMODITIES.woff2") format("woff2"); }

:root {
  --marine: #1e3350;
  --vert: #3f9f4d;
  --creme: #f6f4ef;
  --encre: #181c1a;
  --gris: #6f6a5c;
  --gris-bleu: #b7c0cc;
  --accent: #cf4520;
  /* Transparences des couleurs de la charte, pour le verre et les filets */
  /* Le bandeau reste presque opaque : à 86 %, il virait à un second marine, plus clair */
  --marine-verre: rgba(30, 51, 80, 0.94);
  --marine-filet: rgba(30, 51, 80, 0.16);
  --creme-verre: rgba(246, 244, 239, 0.11);
  --creme-filet: rgba(246, 244, 239, 0.28);
  --blanc-verre: rgba(255, 255, 255, 0.80);
  --titres: "Merriweather Sans", Arial, sans-serif;
  --texte: "Source Sans 3", Arial, sans-serif;
  --large: 1200px;
  --moyen: 960px;
  --colonne: 720px;
  --rayon-hero: 28px;
  --rayon-tuile: 24px;
  --rayon-carte: 18px;
  --rayon-encadre: 14px;
  --rayon-bouton: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { background: #ffffff; color: var(--encre); font-family: var(--texte); font-size: 19px; line-height: 1.55;
  font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
a { color: var(--marine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--vert); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--vert); outline-offset: 2px; }
strong { font-weight: 700; }
em { font-style: italic; }
h1, h2, h3, h4 { text-wrap: balance; }

.conteneur { max-width: var(--large); margin: 0 auto; padding: 0 40px; }
.provisoire { padding: 0 5px; border: 1px dashed currentColor; border-radius: 4px; font-style: italic; font-weight: 400; }

/* ---------- Bandeau en verre dépoli, filet vert de la charte ---------- */

.bandeau { position: sticky; top: 0; z-index: 50; background: var(--marine-verre);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 4px solid var(--vert); }
.bandeau-int { max-width: var(--large); margin: 0 auto; padding: 0 40px; height: 72px; display: flex; align-items: center; gap: 36px; }
.logo { flex: none; display: block; text-decoration: none; }
.logo svg { width: 167px; height: 40px; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { color: var(--creme); text-decoration: none; font-size: 17px; padding: 6px 0 4px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--creme); }
.nav a[aria-current="page"] { border-bottom-color: var(--vert); font-weight: 700; }
.nav .bouton { display: none; }
.menu-ouvrir { display: none; }

/* ---------- Boutons et champs : rectangles arrondis, jamais de pastille ---------- */

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border: 2px solid transparent; border-radius: var(--rayon-bouton); font-family: var(--texte); font-size: 17px; font-weight: 700;
  line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; }
.bouton:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--vert); }
.bouton-marine { background: var(--marine); color: var(--creme); }
.bouton-creme { background: var(--creme); color: var(--marine); }
.bouton-contour { background: transparent; color: var(--marine); border-color: var(--marine); }
.bouton-contour-creme { background: transparent; color: var(--creme); border-color: var(--creme); }
.bandeau .bouton { min-height: 40px; padding: 0 16px; font-size: 16px; }

.etiquette { display: block; margin-bottom: 7px; font-size: 15.5px; font-weight: 700; color: var(--marine); }
.champ-ligne { display: flex; gap: 10px; flex-wrap: wrap; }
.champ { flex: 1 1 260px; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid var(--marine); border-radius: var(--rayon-bouton);
  background: #ffffff; color: var(--encre); font-family: var(--texte); font-size: 18px; }
.champ::placeholder { color: var(--gris); }
select.champ { appearance: none; padding-right: 40px; cursor: pointer;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231e3350' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; }
.case { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 16px; line-height: 1.4; }
.case input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--marine); }
.mention { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--gris); }

/* ---------- Bandes, en-têtes de partie, tuiles ---------- */

.bande { padding: 64px 0; }
.bande-haut { padding-top: 32px; }
.bande-creme { background: var(--creme); }
/* Deux bandes blanches de suite : l'écart vient des tuiles, pas d'un double vide */
.bande:not(.bande-creme) + .bande:not(.bande-creme) { padding-top: 0; }
.entete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 30px; }
.entete-section h2 { font-family: var(--titres); font-size: 40px; font-weight: 700; line-height: 1.12; letter-spacing: -0.012em; color: var(--marine); }
.entete-section p { margin-top: 12px; max-width: 760px; font-size: 20px; line-height: 1.5; }
.lien-fort { flex: none; font-size: 17px; font-weight: 700; text-decoration: none; }
.lien-fort:hover { text-decoration: underline; }

.tuile { border-radius: var(--rayon-tuile); padding: 44px 48px; }
.tuile-creme { background: var(--creme); }
.tuile-blanche { background: #ffffff; }
.tuile-marine { background: var(--marine); color: var(--creme); }
.surtitre { font-family: var(--titres); font-size: 16.5px; font-weight: 700; line-height: 1.3; color: var(--marine); }
.famille { font-size: 14.5px; font-weight: 700; color: var(--gris); }
.meta { font-size: 15.5px; line-height: 1.45; color: var(--gris); }
.chapeau { font-size: 21px; line-height: 1.45; color: var(--encre); }
.sources-ligne { font-size: 14.5px; font-style: italic; line-height: 1.45; color: var(--gris); }
.sources-ligne a { color: var(--gris); }

/* Sur le marine, tout passe en crème */
.sur-marine, .sur-marine .surtitre, .sur-marine .famille, .sur-marine .meta, .sur-marine .sources-ligne,
.sur-marine .sources-ligne a, .sur-marine a:not(.bouton), .sur-marine .etiquette, .sur-marine .mention, .sur-marine .case { color: var(--creme); }

/* Une tuile prend toujours le fond opposé à sa bande : crème sur blanc, blanc sur crème */
.bande:not(.bande-creme) .formule-gratuite, .bande:not(.bande-creme) .etapes { background: var(--creme); }

/* ---------- Le haut de l'accueil : marine, signe 3V en grand, carte en verre ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rayon-hero); background: var(--marine); color: var(--creme);
  padding: 72px 64px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.motif { position: absolute; z-index: -1; pointer-events: none; opacity: 0.16; }
.hero .motif { right: -30px; top: 50%; width: 620px; height: 600px; transform: translateY(-50%); }
.hero-etiquette { font-size: 17px; font-weight: 700; }
.hero h1 { margin-top: 14px; font-family: var(--titres); font-size: 54px; font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; color: var(--creme); }
.hero .accroche { margin-top: 22px; font-size: 20.5px; line-height: 1.5; }
.boutons { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.verre-sombre { border-radius: var(--rayon-carte); background: var(--creme-verre); border: 1px solid var(--creme-filet);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.verre-clair { border-radius: var(--rayon-carte); background: var(--blanc-verre); border: 1px solid var(--marine-filet);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }

.carte-une { padding: 26px 28px 24px; }
.carte-une .entete-carte { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--creme-filet); font-family: var(--titres); font-size: 16px; font-weight: 700; line-height: 1.3; }
.carte-une .famille { display: block; margin-top: 16px; }
.carte-une h3 { margin-top: 6px; font-family: var(--titres); font-size: 23px; font-weight: 700; line-height: 1.22; }
.carte-une p { margin-top: 10px; font-size: 16.5px; line-height: 1.5; }
.carte-une .surveiller { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--creme-filet); font-size: 15.5px; line-height: 1.45; }
.carte-une .surveiller strong { font-family: var(--titres); }
.lien-carte { display: inline-block; margin-top: 16px; font-size: 16.5px; font-weight: 700; }

/* ---------- La dernière analyse : une tuile crème, ses chiffres en tuiles blanches ---------- */

.vedette { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.vedette h3 { margin-top: 10px; font-family: var(--titres); font-size: 36px; font-weight: 700; line-height: 1.14; letter-spacing: -0.008em; color: var(--marine); }
.vedette h3 a, .carte-analyse h3 a { text-decoration: none; }
.vedette h3 a:hover, .carte-analyse h3 a:hover { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 3px; }
.vedette .chapeau { margin-top: 16px; font-size: 20.5px; }
.actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.chiffres-tuiles { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.chiffre-tuile { border-radius: var(--rayon-carte); background: #ffffff; padding: 22px 22px 24px; }
.chiffre-tuile .valeur { font-size: 38px; font-weight: 700; line-height: 1.05; white-space: nowrap; color: var(--marine); font-variant-numeric: lining-nums tabular-nums; }
.chiffre-tuile .legende { margin-top: 8px; font-size: 16px; line-height: 1.4; }

/* ---------- Grille d'analyses, à la façon des tuiles d'Apple ---------- */

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.carte-analyse { display: flex; flex-direction: column; border-radius: var(--rayon-tuile); background: var(--creme); padding: 32px 32px 30px; }
.carte-analyse h3 { margin-top: 10px; font-family: var(--titres); font-size: 25px; font-weight: 700; line-height: 1.2; color: var(--marine); }
.carte-analyse p { margin-top: 12px; font-size: 17.5px; line-height: 1.5; }
.carte-analyse .meta { margin-top: auto; padding-top: 20px; }
.carte-chiffre { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  border-radius: var(--rayon-tuile); background: var(--marine); color: var(--creme); padding: 32px; }
.carte-chiffre .motif { right: -70px; bottom: -60px; width: 300px; height: 290px; opacity: 0.12; }
.carte-chiffre .entete-carte { font-family: var(--titres); font-size: 17px; font-weight: 700; }
.carte-chiffre .nombre { margin-top: 20px; font-size: 76px; font-weight: 700; line-height: 1; font-variant-numeric: lining-nums; }
.carte-chiffre .nombre span { font-size: 30px; }
.carte-chiffre .enonce { margin-top: 12px; font-size: 19px; line-height: 1.4; }
.carte-chiffre .pme { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--creme-filet); font-size: 16.5px; line-height: 1.45; }
.carte-chiffre .sources-ligne { margin-top: auto; padding-top: 18px; }

/* ---------- La veille : deux formules, puis les trois étapes ---------- */

.formules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.formule { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--rayon-tuile); padding: 40px 40px 38px; }
.formule-gratuite { background: #ffffff; }
.formule-perso { background: var(--marine); color: var(--creme); }
.formule-perso .motif { right: -90px; top: -70px; width: 380px; height: 368px; opacity: 0.1; }
.formule .type { font-size: 16.5px; font-weight: 700; color: var(--marine); }
.formule h3 { margin-top: 8px; font-family: var(--titres); font-size: 32px; font-weight: 700; line-height: 1.15; color: var(--marine); }
.formule-perso .type, .formule-perso h3 { color: var(--creme); }
.formule > p { margin-top: 14px; font-size: 18.5px; line-height: 1.5; }
.formule ul { margin-top: 22px; list-style: none; }
.formule li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--marine-filet); font-size: 17px; line-height: 1.45; }
.formule-perso li { border-top-color: var(--creme-filet); }
.formule li::before { content: "✓"; flex: none; font-weight: 700; color: var(--vert); }
.formule-perso li::before { color: var(--creme); }
.formule .prix { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 17px; }
.formule .prix strong { font-family: var(--titres); font-size: 30px; }
.formule .prix-annuel { margin-top: 4px; font-size: 16.5px; line-height: 1.4; }
.formule .bouton { margin-top: 20px; align-self: flex-start; }
.feuille-recap .prix-annuel { display: block; margin-top: 4px; font-size: 15.5px; }

.etapes { margin-top: 20px; border-radius: var(--rayon-tuile); background: #ffffff; padding: 36px 40px 40px; }
.etapes-titre { font-family: var(--titres); font-size: 24px; font-weight: 700; line-height: 1.25; color: var(--marine); }
.etapes ol { margin-top: 22px; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.etapes li { border-top: 2px solid var(--marine); padding-top: 14px; }
.etapes .numero { font-family: var(--titres); font-size: 40px; font-weight: 700; line-height: 1; color: var(--marine); }
.etapes h4 { margin-top: 12px; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--marine); }
.etapes li p { margin-top: 6px; font-size: 16.5px; line-height: 1.45; }
.form-adresse { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--marine-filet); }

/* ---------- Missions, méthode ---------- */

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.carte-mission { border-radius: var(--rayon-tuile); background: var(--creme); padding: 36px 40px; }
.carte-mission h3 { font-family: var(--titres); font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--marine); }
.carte-mission p { margin-top: 12px; font-size: 18px; line-height: 1.5; }
.carte-mission .lien-fort { display: inline-block; margin-top: 16px; }

.methode-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.methode-phrase { font-family: var(--titres); font-size: 34px; font-weight: 700; line-height: 1.2; color: var(--marine); }
.methode-grille .lien-fort { display: inline-block; margin-top: 22px; }
.regles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.regle { border-radius: var(--rayon-carte); background: #ffffff; padding: 22px 24px 24px; font-size: 17px; line-height: 1.5; }
.regle strong { display: block; margin-bottom: 6px; font-family: var(--titres); font-size: 18px; line-height: 1.3; color: var(--marine); }

/* ---------- Pied ---------- */

.pied-site { background: var(--marine); color: var(--creme); border-top: 4px solid var(--vert); }
.pied-site .conteneur { padding-top: 44px; padding-bottom: 44px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.pied-site svg { width: 150px; height: 36px; }
.pied-site p { margin-top: 14px; font-size: 15.5px; line-height: 1.5; }
.pied-liens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 28px; list-style: none; font-size: 16px; }
.pied-site a { color: var(--creme); }

/* ---------- Page d'analyse ---------- */

.fil { padding-top: 26px; font-size: 15.5px; color: var(--gris); }
.fil a { color: var(--gris); }
.tete-article { margin-top: 18px; border-radius: var(--rayon-hero); background: var(--creme); padding: 56px 64px 50px; }
.tete-article > * { max-width: 840px; }
.tete-article h1 { margin-top: 12px; font-family: var(--titres); font-size: 50px; font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; color: var(--marine); }
.tete-article .chapeau { margin-top: 18px; font-size: 22px; }
.tete-article .meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 18px; }

.ouverture { padding: 40px 0 64px; }
.ouverture .conteneur > * { max-width: var(--moyen); margin-left: auto; margin-right: auto; }
.ouverture .conteneur > .essentiel { margin-top: 40px; max-width: var(--colonne); }
.essentiel-titre, .sommaire-titre { font-family: var(--titres); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--marine); }
.point-essentiel { display: flex; gap: 18px; padding: 13px 0; border-top: 1px solid var(--marine-filet); font-size: 19px; line-height: 1.5; }
.essentiel-titre + .point-essentiel { margin-top: 10px; border-top: 2px solid var(--marine); }
.point-essentiel .rang { flex: none; width: 30px; font-family: var(--titres); font-size: 19px; font-weight: 700; color: var(--marine); }
.ouverture .chiffres-tuiles { margin-top: 40px; }
.ouverture .chiffre-tuile { background: var(--marine); color: var(--creme); }
.ouverture .chiffre-tuile .valeur { color: var(--creme); }
.sommaire { margin-top: 40px; border-radius: var(--rayon-tuile); background: var(--creme); padding: 30px 36px 30px; }
.sommaire ol { margin-top: 12px; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.sommaire li { border-top: 1px solid var(--marine-filet); }
.sommaire a { display: flex; gap: 12px; padding: 10px 0; text-decoration: none; color: var(--encre); font-size: 17.5px; line-height: 1.35; }
.sommaire a:hover .intitule { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sommaire .rang { flex: none; width: 26px; font-weight: 700; color: var(--marine); font-variant-numeric: lining-nums tabular-nums; }
.sommaire .ferme a, .sommaire .ferme .rang { color: var(--gris); }
.sommaire .ferme .intitule::after { content: " · dans la suite"; font-size: 15px; font-style: italic; }

/* Chaque partie du rapport est une bande : blanche, puis crème, puis blanche... */
.sections > .section { padding: 64px 0; }
.sections > .section:nth-child(even) { background: var(--creme); }
.section-int { max-width: calc(var(--moyen) + 80px); margin: 0 auto; padding: 0 40px; }
.section-int > * { max-width: var(--colonne); margin-left: auto; margin-right: auto; }
.section-int > .blocs { max-width: var(--moyen); margin-top: 30px; display: flex; flex-direction: column; gap: 30px; }
.section-tete h2 { margin-top: 10px; font-family: var(--titres); font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: -0.008em; color: var(--marine); }
.section-tete .chapeau { margin-top: 14px; font-size: 20.5px; }
.section-int > .sources-ligne { margin-top: 26px; }
.blocs > .bloc-texte, .blocs > .bloc-liste, .blocs > .bloc-citation, .blocs > .bloc-references, .blocs > .encadre,
.blocs > .glisser { width: 100%; max-width: var(--colonne); margin-left: auto; margin-right: auto; }

/* Les blocs du générateur linkedin-3v, en lecture web */
.intertitre { margin-bottom: 6px; font-family: var(--titres); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--marine); }
.bloc-texte p { font-size: 19px; line-height: 1.55; }
.bloc-texte p + p { margin-top: 12px; }
.bloc-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.bloc-colonnes .bloc-texte p { font-size: 18px; line-height: 1.55; }
.bloc-chiffres { display: grid; gap: 16px; }
.kpi { border-radius: var(--rayon-carte); background: #ffffff; padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.sections > .section:nth-child(odd) .kpi { background: var(--creme); }
.kpi-valeur { font-size: 34px; font-weight: 700; line-height: 1.05; white-space: nowrap; color: var(--marine); font-variant-numeric: lining-nums tabular-nums; }
.kpi-legende { font-size: 16px; line-height: 1.4; color: var(--encre); }
.bloc-chiffres.tuiles .kpi, .sections > .section .bloc-chiffres.tuiles .kpi { background: var(--marine); align-items: center; justify-content: center; text-align: center; min-height: 116px; }
.tuiles .kpi-valeur, .tuiles .kpi-legende { color: var(--creme); }
.bloc-titre { margin-bottom: 8px; font-family: var(--titres); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--marine); }
.bloc-note { margin-top: 8px; font-size: 14.5px; font-style: italic; line-height: 1.45; color: var(--gris); }
.tableau { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: lining-nums tabular-nums; }
.tableau th { padding: 0 14px 8px 0; border-bottom: 2px solid var(--marine); text-align: left; vertical-align: bottom; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--marine); }
.tableau td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--marine-filet); vertical-align: top; font-size: 16.5px; line-height: 1.45; }
.tableau tr:last-child td { border-bottom: 2px solid var(--marine); }
.tableau td:first-child { font-weight: 700; color: var(--marine); }
.encadre { border-radius: var(--rayon-encadre); padding: 24px 28px 26px; display: flex; flex-direction: column; gap: 8px; }
.encadre.marine { background: var(--marine); }
.encadre.clair { background: #ffffff; border: 1px solid var(--marine); }
.encadre-label { display: flex; align-items: center; gap: 10px; font-family: var(--titres); font-size: 19px; font-weight: 700; line-height: 1.25; }
.puce { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--vert); }
.encadre.marine .encadre-label, .encadre.marine .encadre-texte { color: var(--creme); }
.encadre.clair .encadre-label { color: var(--marine); }
.encadre-texte { font-size: 18.5px; line-height: 1.5; }
.bloc-liste .item { display: flex; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--marine-filet); }
.bloc-liste .item:first-of-type { border-top: 2px solid var(--marine); }
.item-rang { flex: none; width: 30px; font-family: var(--titres); font-size: 18px; font-weight: 700; color: var(--marine); font-variant-numeric: lining-nums tabular-nums; }
.item-texte { flex: 1 1 0; font-size: 18.5px; line-height: 1.5; }
.item-texte strong { color: var(--marine); }
.bloc-cartes { display: grid; gap: 16px; }
.vignette { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; border-radius: var(--rayon-carte); background: #ffffff; border: 1px solid var(--marine-filet); }
.vignette.marine { background: var(--marine); border-color: var(--marine); }
.vignette-tete { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--marine); }
.vignette.marine .vignette-tete { border-bottom-color: var(--creme); }
.vignette-repere { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--marine); display: flex; align-items: center; justify-content: center; font-family: var(--titres); font-size: 16px; font-weight: 700; color: var(--creme); }
.vignette.marine .vignette-repere { background: var(--creme); color: var(--marine); }
.vignette-titre { font-family: var(--titres); font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--marine); }
.vignette.marine .vignette-titre { color: var(--creme); }
.vignette-point + .vignette-point { padding-top: 7px; border-top: 1px solid var(--marine-filet); }
.vignette-amorce { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--marine); }
.vignette-texte { font-size: 16px; line-height: 1.45; color: var(--encre); }
.vignette.marine .vignette-amorce, .vignette.marine .vignette-texte { color: var(--creme); }
.bloc-citation { padding: 4px 0 4px 22px; border-left: 4px solid var(--marine); }
.citation-texte { font-family: var(--titres); font-size: 21px; font-weight: 700; line-height: 1.38; color: var(--marine); }
.citation-source { margin-top: 6px; font-size: 14.5px; font-style: italic; color: var(--gris); }

/* Graphiques du générateur : dessinés sur 876 px, sur fond blanc, mis à l'échelle de la colonne.
   Sous 60 %, ils défilent à l'horizontale plutôt que de devenir illisibles. */
.bloc-graphique { border: 2px solid var(--marine); border-radius: var(--rayon-encadre); background: #ffffff; padding: 18px 26px 20px; }
.graphique-titre { font-family: var(--titres); font-size: 18.5px; font-weight: 700; line-height: 1.3; color: var(--marine); }
.graphique-sous-titre { margin-top: 3px; font-size: 15.5px; line-height: 1.4; color: var(--gris); }
.graphique-defil { margin-top: 14px; overflow-x: auto; overflow-y: hidden; }
.glisser { display: none; margin-top: -18px; font-size: 14.5px; font-style: italic; color: var(--gris); }
.bloc-graphique.defile + .glisser { display: block; }

.sources-liste { margin-top: 12px; padding-left: 26px; font-size: 16px; line-height: 1.5; }
.sources-liste li { padding: 6px 0; }
.sources-liste .liens { display: block; font-size: 14.5px; overflow-wrap: anywhere; }
.sources-titre { margin-top: 36px; font-family: var(--titres); font-size: 22px; font-weight: 700; color: var(--marine); }
.corrections { margin-top: 20px; font-size: 15.5px; color: var(--gris); }

/* La suite de l'analyse : une bande marine, la carte du formulaire en blanc */
.verrou { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0; background: var(--marine); color: var(--creme); }
.verrou .motif { left: -120px; bottom: -140px; width: 560px; height: 540px; opacity: 0.1; }
.verrou-int { max-width: calc(var(--moyen) + 80px); margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.verrou h2 { font-family: var(--titres); font-size: 34px; font-weight: 700; line-height: 1.15; color: var(--creme); }
.verrou-int > div > p { margin-top: 12px; font-size: 18.5px; line-height: 1.5; }
.verrou .suite { margin-top: 22px; list-style: none; }
.verrou .suite li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--creme-filet); font-size: 16.5px; line-height: 1.4; }
.verrou .suite .rang { flex: none; width: 26px; font-weight: 700; }
.carte-formulaire { border-radius: var(--rayon-tuile); background: #ffffff; color: var(--encre); padding: 32px 32px 30px; }
.carte-formulaire h3 { font-family: var(--titres); font-size: 23px; font-weight: 700; line-height: 1.25; color: var(--marine); }
.carte-formulaire > p { margin-top: 10px; font-size: 17px; line-height: 1.5; }
.verrou .bouton-creme { margin-top: 0; }
.carte-formulaire form { margin-top: 20px; }
.carte-formulaire .champ { width: 100%; }
.carte-formulaire .bouton { margin-top: 14px; width: 100%; }

.fin-article { padding: 64px 0; }
.fin-article .duo .carte-mission { display: flex; flex-direction: column; }
.fin-article .bouton { margin-top: 20px; align-self: flex-start; }

/* ---------- La Une ---------- */

.une-entete { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--marine); }
.une-entete .surtitre { font-size: 20px; }
.une-corps { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.une-corps h1 { margin-top: 8px; font-family: var(--titres); font-size: 44px; font-weight: 700; line-height: 1.1; letter-spacing: -0.012em; color: var(--marine); }
.une-corps .chapeau { margin-top: 16px; }
.une-corps .encadre { margin-top: 26px; }
.une-corps .sources-ligne { margin-top: 16px; }
.une-cote { display: flex; flex-direction: column; gap: 16px; }
.carte-chiffre-une { border-radius: var(--rayon-carte); background: var(--marine); color: var(--creme); padding: 26px 26px 24px; }
.carte-chiffre-une .valeur { font-size: 64px; font-weight: 700; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.carte-chiffre-une .legende { margin-top: 10px; font-size: 17.5px; line-height: 1.45; }
.carte-surveiller { border-radius: var(--rayon-carte); background: #ffffff; padding: 22px 26px 24px; }
.carte-surveiller .date { margin-top: 6px; font-family: var(--titres); font-size: 28px; font-weight: 700; color: var(--marine); }
.carte-surveiller p { margin-top: 6px; font-size: 17px; line-height: 1.45; }
.titre-resume { margin-top: 8px; font-family: var(--titres); font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -0.008em; color: var(--marine); }
.titre-resume a { text-decoration: none; }
.titre-resume a:hover { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 3px; }
.titre-resume + .chapeau { margin-top: 14px; }
.liste-breves { margin-top: 6px; list-style: none; }
.liste-breves li { padding: 10px 0; border-top: 1px solid var(--marine-filet); font-size: 16.5px; line-height: 1.4; }
.liste-breves li:first-child { border-top: none; padding-top: 2px; }
.breves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.breve { border-radius: var(--rayon-tuile); background: var(--creme); padding: 32px 34px 30px; }
.breve h2 { margin-top: 8px; font-family: var(--titres); font-size: 24px; font-weight: 700; line-height: 1.22; color: var(--marine); }
.breve .pme { margin-top: 12px; font-size: 18px; line-height: 1.5; }
.breve .pme strong { color: var(--marine); }
.breve .sources-ligne { margin-top: 14px; }

/* ---------- Inscription : les trois étapes ---------- */

.etape-titre { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.etape-titre .numero { font-family: var(--titres); font-size: 44px; font-weight: 700; line-height: 1; color: var(--marine); }
.etape-titre h3 { font-family: var(--titres); font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--marine); }
.etape + .etape { margin-top: 64px; }
.carte-etape { max-width: 640px; border-radius: var(--rayon-tuile); background: #ffffff; border: 1px solid var(--marine-filet); padding: 34px 36px 32px; }
.carte-etape h3 { font-family: var(--titres); font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--marine); }
.carte-etape > p { margin-top: 10px; font-size: 18px; line-height: 1.5; }
.carte-etape form { margin-top: 22px; }
.progression { font-size: 15.5px; font-weight: 700; color: var(--marine); }
.suite-annoncee { margin-top: 18px; padding: 14px 18px; border-radius: var(--rayon-bouton); background: var(--creme); font-size: 16px; line-height: 1.45; }
.suite-annoncee strong { color: var(--marine); }

/* La fenêtre de personnalisation : une feuille de verre sur le crème et le signe 3V en marine,
   pour que le récapitulatif marine se détache de son fond */
.scene { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rayon-hero); background: var(--creme); padding: 56px; }
.scene .motif { left: -40px; top: 50%; width: 700px; height: 678px; transform: translateY(-50%); opacity: 0.09; }
.feuille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0; overflow: hidden; }
.scene .verre-clair { background: rgba(255, 255, 255, 0.76); }
.feuille-choix { padding: 36px 40px 38px; }
.feuille-choix h3 { margin-top: 8px; font-family: var(--titres); font-size: 30px; font-weight: 700; line-height: 1.15; color: var(--marine); }
.feuille-choix > p { margin-top: 10px; font-size: 18px; line-height: 1.5; }
.groupe { margin-top: 26px; border: none; }
.groupe legend { font-family: var(--titres); font-size: 19px; font-weight: 700; color: var(--marine); }
.groupe .aide { margin-top: 2px; font-size: 15.5px; color: var(--gris); }
.choix-liste { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.choix { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border: 1px solid var(--marine);
  border-radius: var(--rayon-bouton); background: #ffffff; color: var(--marine); font-size: 16.5px; cursor: pointer; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix:has(input:checked) { background: var(--marine); color: var(--creme); font-weight: 700; }
.choix:has(input:checked)::before { content: "✓"; }
.choix:has(input:focus-visible) { outline: 2px solid var(--vert); outline-offset: 2px; }
.deux-champs { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.deux-champs .champ, .groupe select.champ { width: 100%; }
.feuille-recap { padding: 36px 32px 34px; background: var(--marine); color: var(--creme); display: flex; flex-direction: column; }
.feuille-recap h4 { font-family: var(--titres); font-size: 22px; font-weight: 700; line-height: 1.25; }
.recap-ligne { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--creme-filet); }
.recap-ligne .etiquette { margin-bottom: 4px; color: var(--creme); }
.recap-ligne p { font-size: 17px; line-height: 1.45; }
.feuille-recap .prix { margin-top: auto; padding-top: 24px; font-size: 17px; }
.feuille-recap .prix strong { display: block; font-family: var(--titres); font-size: 28px; }
.feuille-recap .bouton { margin-top: 18px; width: 100%; }
.feuille-recap .lien-carte { margin-top: 14px; font-size: 15.5px; font-weight: 400; text-align: center; }

/* ---------- Lot 2 : en-tête des pages, pages de texte, marques de travail ---------- */

.page-tete { border-radius: var(--rayon-hero); background: var(--creme); padding: 48px 64px 46px; }
.page-tete .fil { padding-top: 0; margin-bottom: 14px; }
.page-tete h1 { font-family: var(--titres); font-size: 48px; font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; color: var(--marine); }
.page-tete .chapeau { margin-top: 16px; max-width: 780px; font-size: 21px; }
.page-tete .meta { margin-top: 16px; }

.prose { max-width: var(--colonne); }
.prose > * + * { margin-top: 16px; }
.prose p, .prose li { font-size: 19px; line-height: 1.6; }
.prose h3 { margin-top: 30px; font-family: var(--titres); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--marine); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--marine); }
.composant { margin-top: 28px; }
.prose + .composant, .composant + .prose { margin-top: 28px; }
.document .prose h2 { margin-top: 48px; font-family: var(--titres); font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--marine); }
.document .prose h2:first-child { margin-top: 0; }

/* Marques de travail : elles signalent ce qui manque et bloquent la mise en ligne */
.a-completer { padding: 1px 6px; border: 1px dashed var(--accent); border-radius: 4px; color: var(--accent); font-style: italic; }
.a-verifier { margin-top: 24px; padding: 16px 20px; border: 2px dashed var(--accent); border-radius: var(--rayon-encadre); font-size: 16.5px; line-height: 1.5; }
.a-verifier > p { font-size: 16.5px; }
.a-verifier::before { content: "À vérifier avant la mise en ligne"; display: block; margin-bottom: 4px; font-weight: 700; color: var(--accent); }
.brouillon { margin-bottom: 18px; padding: 10px 16px; border: 2px dashed var(--accent); border-radius: var(--rayon-bouton); font-size: 15.5px; line-height: 1.45; color: var(--accent); }
.brouillon strong { color: var(--accent); }

/* Champ piège contre les robots : invisible pour un lecteur */
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Listes : analyses, Unes ---------- */

.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filtre { min-height: 42px; padding: 0 16px; border: 1px solid var(--marine); border-radius: var(--rayon-bouton); background: #ffffff;
  color: var(--marine); font-family: var(--texte); font-size: 16px; font-weight: 700; cursor: pointer; }
.filtre[aria-pressed="true"] { background: var(--marine); color: var(--creme); }
.liste-unes { list-style: none; }
.liste-unes li { border-top: 1px solid var(--marine-filet); }
.liste-unes li:last-child { border-bottom: 1px solid var(--marine-filet); }
.liste-unes a { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; padding: 18px 0; text-decoration: none; color: var(--encre); }
.liste-unes .date { font-family: var(--titres); font-size: 17px; font-weight: 700; color: var(--marine); }
.liste-unes .titre { display: block; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--marine); }
.liste-unes a:hover .titre { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; }
.une-voisines { margin-top: 26px; display: flex; justify-content: space-between; gap: 20px; font-size: 16.5px; }
.vide { font-size: 18px; color: var(--gris); }

/* Lot 3 : une Une sans tuile « chiffre » ni échéance, la récap du vendredi, les archives par semaine */
.une-corps.sans-cote { grid-template-columns: minmax(0, 1fr); }
.une-corps.sans-cote > div { max-width: 820px; }
.infos-detail { display: grid; gap: 20px; }
.info-detail .une-corps { margin-top: 0; }
.titre-info { margin-top: 8px; font-family: var(--titres); font-size: 28px; font-weight: 700; line-height: 1.18; color: var(--marine); }
.faits { margin-top: 18px; }
.faits ul { margin-top: 6px; padding-left: 1.2em; }
.faits li { margin-top: 6px; font-size: 18px; line-height: 1.5; }
.info-detail .encadre { margin-top: 22px; }
.info-detail .sources-ligne { margin-top: 14px; }
.carte-chiffre-une .sources-ligne { margin-top: 12px; }
.titre-semaine { margin: 38px 0 10px; font-family: var(--titres); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--marine); }
.titre-semaine:first-child { margin-top: 0; }

/* Les sources repliées en fin d'analyse (Bastien, 01/12/2026) : elles repoussaient les appels trop bas */
.deroulant { margin-top: 8px; border-top: 1px solid var(--marine-filet); border-bottom: 1px solid var(--marine-filet); }
.deroulant > summary { display: flex; align-items: center; gap: 14px; padding: 16px 4px; cursor: pointer; list-style: none; }
.deroulant > summary::-webkit-details-marker { display: none; }
.deroulant > summary .intertitre { margin: 0; }
.deroulant > summary .compte { margin-left: auto; font-size: 16.5px; color: var(--gris); }
.deroulant > summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 6px 4px 4px; border-right: 2px solid var(--marine);
  border-bottom: 2px solid var(--marine); transform: rotate(45deg); transition: transform 0.2s; }
.deroulant[open] > summary::after { margin-bottom: -4px; transform: rotate(-135deg); }
.deroulant > summary:hover .intertitre { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; }
.deroulant > summary:focus-visible { outline: 2px solid var(--vert); outline-offset: 2px; }
.deroulant .sources-liste { margin-top: 0; padding-bottom: 18px; }

/* ---------- Les changements de partie : le chevron (choix de Bastien du 01/12/2026, parmi trois dessins) ----------
   Là où la couleur change, la partie finit en V, comme le logo, avec sa pointe verte. Le V prend la
   couleur de la partie qu'il termine (--fond-partie) et mord sur la marge haute de la suivante. */
.bande, .sections > .section { --fond-partie: #ffffff; position: relative; }
.bande-creme, .sections > .section:nth-child(even) { --fond-partie: var(--creme); }
.bande:not(.bande-creme):has(+ .bande-creme)::after,
.bande-creme:has(+ .bande:not(.bande-creme))::after,
.sections > .section:not(:last-child)::after,
.sections:has(+ .verrou) > .section:last-child::after,
.sections:has(+ .fin-article) > .section:last-child:nth-child(even)::after {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 100%; height: 34px;
  background: var(--fond-partie); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.bande:not(.bande-creme):has(+ .bande-creme)::before,
.bande-creme:has(+ .bande:not(.bande-creme))::before,
.sections > .section:not(:last-child)::before,
.sections:has(+ .verrou) > .section:last-child::before,
.sections:has(+ .fin-article) > .section:last-child:nth-child(even)::before {
  content: ""; position: absolute; z-index: 2; left: 50%; top: calc(100% + 6px); width: 24px; height: 13px;
  transform: translateX(-50%); background: var(--vert); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---------- L'équipe ---------- */

.equipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.membre { border-radius: var(--rayon-tuile); background: #ffffff; padding: 30px 30px 28px; }
.bande:not(.bande-creme) .membre { background: var(--creme); }
.membre .nom { font-family: var(--titres); font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--marine); }
.membre .role { margin-top: 6px; font-size: 16.5px; font-weight: 700; color: var(--gris); }
.membre p { margin-top: 12px; font-size: 17.5px; line-height: 1.5; }

/* ---------- Formulaires : contact, inscription ---------- */

.contact-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.formulaire { border-radius: var(--rayon-tuile); background: #ffffff; padding: 36px 40px 34px; }
.bande:not(.bande-creme) .formulaire { background: var(--creme); }
.formulaire .ligne + .ligne { margin-top: 18px; }
.formulaire .champ { width: 100%; }
textarea.champ { height: auto; min-height: 170px; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.deux-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.formulaire .bouton { margin-top: 22px; }
.carte-etape .case { color: var(--encre); }
.attente { margin-top: 18px; padding: 14px 18px; border-radius: var(--rayon-bouton); background: var(--creme); font-size: 16.5px; line-height: 1.5; }
.message-formule { display: none; margin-top: 14px; padding: 12px 16px; border-radius: var(--rayon-bouton); background: var(--creme); font-size: 16.5px; }
.message-formule.visible { display: block; }
.retour { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }

.hero.hero-seul { grid-template-columns: minmax(0, 1fr); }
.hero.hero-seul > div { max-width: 820px; }
.carte-mission .titre-fin { font-family: var(--titres); font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--marine); }
.titre-etape { margin-top: 6px; font-family: var(--titres); font-size: 30px; font-weight: 700; line-height: 1.15; color: var(--marine); }
.titre-recap { font-family: var(--titres); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--creme); }
.lien-bouton { margin-top: 14px; padding: 0; border: none; background: none; color: var(--creme); font-family: var(--texte);
  font-size: 15.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ligne-champ { margin-top: 18px; }
.ligne-champ .champ { width: 100%; }
.feuille-choix .mention { margin-top: 22px; }
.corrections ul { margin-top: 6px; padding-left: 20px; }

/* ---------- Le chiffre ---------- */

.chiffre-geant { font-size: 112px; font-weight: 700; line-height: 1; color: var(--marine); font-variant-numeric: lining-nums; }
.chiffre-geant span { font-size: 44px; }
.titre-chiffre .chiffre-geant { display: block; margin: 10px 0 14px; font-family: var(--texte); letter-spacing: 0; }
.titre-chiffre .enonce-titre { display: block; }

/* Les cartes prennent le fond opposé à leur bande */
.bande-creme .carte-mission { background: #ffffff; }
.carte-une h3 a { color: inherit; text-decoration: none; }
.carte-une h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- Téléphone ---------- */

@media (max-width: 860px) {
  .conteneur, .bandeau-int { padding-left: 20px; padding-right: 20px; }
  .bandeau-int { height: 62px; gap: 16px; }
  .logo svg { width: 133px; height: 32px; }
  .bandeau .bouton-creme { display: none; }
  .menu-ouvrir { display: inline-flex; margin-left: auto; padding: 8px 0; border: none; border-bottom: 2px solid var(--creme); background: none;
    color: var(--creme); font-family: var(--texte); font-size: 17px; font-weight: 700; cursor: pointer; }
  .nav { display: none; }
  .bandeau.ouvert .nav { display: flex; position: absolute; top: 66px; left: 0; right: 0; z-index: 10; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px 20px 24px; background: var(--marine-verre); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 4px solid var(--vert); }
  .bandeau.ouvert .nav a { padding: 14px 0; border-bottom: 1px solid var(--creme-filet); font-size: 19px; }
  .bandeau.ouvert .nav a.bouton { display: flex; margin-top: 18px; border-bottom: none; color: var(--marine); }

  body { font-size: 18px; }
  .bande, .sections > .section, .verrou, .fin-article { padding: 44px 0; }
  .bande-haut { padding-top: 16px; }
  .entete-section { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 26px; }
  .entete-section h2 { font-size: 30px; }
  .entete-section p { font-size: 18px; }
  .tuile { padding: 28px 22px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 40px 24px 28px; border-radius: var(--rayon-tuile); }
  .hero .motif { right: -160px; top: 40px; transform: none; width: 520px; height: 500px; }
  .hero h1 { font-size: 34px; }
  .hero .accroche { font-size: 18.5px; }
  .vedette, .bento, .formules, .duo, .methode-grille, .pied-site .conteneur, .une-corps, .breves, .verrou-int, .feuille { grid-template-columns: 1fr; }
  .vedette { gap: 26px; }
  .vedette h3 { font-size: 28px; }
  .chiffres-tuiles, .bloc-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .chiffre-tuile { padding: 16px 16px 18px; }
  .chiffre-tuile .valeur, .kpi-valeur { font-size: 27px; }
  .carte-chiffre .nombre { font-size: 60px; }
  .formule { padding: 30px 24px 28px; }
  .formule h3 { font-size: 27px; }
  .etapes { padding: 28px 22px 30px; }
  .etapes ol { grid-template-columns: 1fr; gap: 20px; }
  .regles { grid-template-columns: 1fr; }
  .methode-phrase { font-size: 26px; }
  .carte-mission { padding: 28px 24px; }
  .pied-liens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tete-article { padding: 32px 22px 30px; border-radius: var(--rayon-tuile); }
  .tete-article h1 { font-size: 32px; }
  .tete-article .chapeau { font-size: 19.5px; }
  .ouverture { padding: 28px 0 44px; }
  .section-int, .verrou-int { padding-left: 20px; padding-right: 20px; }
  .section-tete h2 { font-size: 27px; }
  .section-tete .chapeau { font-size: 19px; }
  .bloc-colonnes { grid-template-columns: 1fr; gap: 22px; }
  .sommaire { padding: 24px 22px; }
  .sommaire ol { grid-template-columns: 1fr; }
  .bloc-graphique { padding: 14px 14px 16px; }
  .encadre { padding: 20px 20px 22px; }
  .verrou h2 { font-size: 28px; }
  .carte-formulaire { padding: 26px 22px 24px; }
  .une-corps h1 { font-size: 31px; }
  .carte-chiffre-une .valeur { font-size: 52px; }
  .une-entete a { display: none; }
  .breve { padding: 26px 22px 24px; }
  .scene { padding: 16px; border-radius: var(--rayon-tuile); }
  .scene-fond { display: none; }
  .feuille-choix, .feuille-recap { padding: 26px 20px 28px; }
  .deux-champs { grid-template-columns: 1fr; }
  .carte-etape { padding: 26px 22px 24px; }
  .bouton { width: 100%; }
  .actions .bouton, .bandeau .bouton, .formule .bouton { width: auto; }
  /* Tableaux : rien ne déborde ; ceux de texte se lisent en fiches */
  .tableau th, .tableau td { padding-right: 8px; font-size: 15px; overflow-wrap: break-word; hyphens: auto; }
  .tableau.fiches, .tableau.fiches tbody, .tableau.fiches tr, .tableau.fiches td { display: block; width: 100%; }
  .tableau.fiches colgroup, .tableau.fiches thead { display: none; }
  .tableau.fiches tr { padding: 12px 0 14px; border-bottom: 1px solid var(--marine-filet); }
  .tableau.fiches tr:first-child { border-top: 2px solid var(--marine); }
  .tableau.fiches tr:last-child { border-bottom: 2px solid var(--marine); }
  .tableau.fiches td, .tableau.fiches tr:last-child td { padding: 3px 0; border: none; font-size: 16.5px; hyphens: manual; }
  .tableau.fiches td:first-child { padding-bottom: 6px; font-size: 18px; }
  .tableau.fiches td:not(:first-child)::before { content: attr(data-label) " : "; font-weight: 700; color: var(--marine); }
}

/* Téléphone : les composants du lot 2 */
@media (max-width: 860px) {
  .page-tete { padding: 30px 22px 28px; border-radius: var(--rayon-tuile); }
  .page-tete h1 { font-size: 32px; }
  .page-tete .chapeau { font-size: 19px; }
  .prose p, .prose li { font-size: 18px; }
  .document .prose h2 { font-size: 24px; }
  .equipe, .contact-grille, .deux-colonnes { grid-template-columns: 1fr; }
  .liste-unes a { grid-template-columns: 1fr; gap: 4px; }
  .formulaire { padding: 26px 22px 24px; }
  .chiffre-geant { font-size: 76px; }
  .chiffre-geant span { font-size: 32px; }
  .titre-info { font-size: 24px; }
  .faits li { font-size: 17px; }
  .deroulant > summary .compte { font-size: 15px; }
  .bande:not(.bande-creme):has(+ .bande-creme)::after,
  .bande-creme:has(+ .bande:not(.bande-creme))::after,
  .sections > .section:not(:last-child)::after,
  .sections:has(+ .verrou) > .section:last-child::after,
  .sections:has(+ .fin-article) > .section:last-child:nth-child(even)::after { height: 18px; }
  .bande:not(.bande-creme):has(+ .bande-creme)::before,
  .bande-creme:has(+ .bande:not(.bande-creme))::before,
  .sections > .section:not(:last-child)::before,
  .sections:has(+ .verrou) > .section:last-child::before,
  .sections:has(+ .fin-article) > .section:last-child:nth-child(even)::before { top: calc(100% + 3px); width: 16px; height: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
