/* Nivaline, feuille de style unique.
   Vocabulaire de classes emprunte au releve de piece: seuil, couloir, ruche, alveole,
   planche, cote, cadre, plinthe. Mode clair integral, aucune variante sombre. */

:root {
  --neige: #FBF9FD;
  --brume: #F2EEF8;
  --surface: #FFFFFF;
  --encre: #241B33;
  --encre-douce: #57496C;
  --lavande: #65397F;
  --lavande-sombre: #4E2B63;
  --lavande-voile: #EDE4F4;
  --sur-lavande: #FFFFFF;
  --blond: #C09257;
  /* Version assombrie du bois blond, reservee au texte pour tenir le contraste AA. */
  --blond-encre: #6E4E1E;
  --filet: #DED5EC;

  /* Pas de la grille en nid d abeille: module de 168 sur 194 pixels. */
  --module-l: 168px;
  --module-h: 194px;

  /* Coupe de la forme signature: trente degres sur vingt pixels, coin superieur gauche. */
  --coupe: 20px;
  --pan: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe));
  --hexa: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);

  /* Motif signature: frise de chevrons, hauteur 14 pixels, pas de 22 pixels,
     un chevron sur quatre en bois blond, orientation vers la droite. */
  --frise-droite: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='14' viewBox='0 0 88 14'%3E%3Cg fill='none' stroke='%23DED5EC' stroke-width='1.5' stroke-linejoin='miter'%3E%3Cpath d='M4 2.5 L12 7 L4 11.5'/%3E%3Cpath d='M26 2.5 L34 7 L26 11.5'/%3E%3Cpath d='M48 2.5 L56 7 L48 11.5'/%3E%3C/g%3E%3Cpath d='M70 2.5 L78 7 L70 11.5' fill='none' stroke='%23C09257' stroke-width='1.5'/%3E%3C/svg%3E");
  --frise-haut: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='88' viewBox='0 0 14 88'%3E%3Cg fill='none' stroke='%23DED5EC' stroke-width='1.5'%3E%3Cpath d='M2.5 10 L7 2 L11.5 10'/%3E%3Cpath d='M2.5 32 L7 24 L11.5 32'/%3E%3Cpath d='M2.5 54 L7 46 L11.5 54'/%3E%3C/g%3E%3Cpath d='M2.5 76 L7 68 L11.5 76' fill='none' stroke='%23C09257' stroke-width='1.5'/%3E%3C/svg%3E");
  --frise-claire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='14' viewBox='0 0 88 14'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='0.55' stroke-width='1.5'%3E%3Cpath d='M4 2.5 L12 7 L4 11.5'/%3E%3Cpath d='M26 2.5 L34 7 L26 11.5'/%3E%3Cpath d='M48 2.5 L56 7 L48 11.5'/%3E%3C/g%3E%3Cpath d='M70 2.5 L78 7 L70 11.5' fill='none' stroke='%23E7CFA8' stroke-width='1.5'/%3E%3C/svg%3E");

  /* Reseau d alveoles tres discret, pose en fond de deux sections. */
  --nid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='194' viewBox='0 0 168 194'%3E%3Cg fill='none' stroke='%23DED5EC' stroke-width='1' stroke-opacity='0.7'%3E%3Cpath d='M84 0 L168 48.5 L168 145.5 L84 194 L0 145.5 L0 48.5 Z'/%3E%3C/g%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background-color: var(--neige);
  color: var(--encre);
  font-family: "Rubik", "Segoe UI", Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.68;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fredoka", "Trebuchet MS", Arial, sans-serif;
  text-transform: none;
  letter-spacing: -0.012em;
  line-height: 1.14;
  color: var(--encre);
  margin: 0 0 0.6em;
}

h1 { font-size: 3.05rem; font-weight: 600; }
h2 { font-size: 2.05rem; font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 500; }
h4 { font-size: 1.06rem; font-weight: 500; }

p { margin: 0 0 1.1em; max-width: 66ch; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15rem; }
li { margin-bottom: 0.4em; }
strong { font-weight: 500; }

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

/* Mot cle de paragraphe: jamais de gras colore, un soulignement lavande fixe. */
.appuye {
  font-weight: 400;
  background-image: linear-gradient(to right, var(--lavande), var(--lavande));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
  padding-bottom: 1px;
}

/* ---------------------------------------------------------------
   Signature d animation: le soulignement se trace sous les liens.
   --------------------------------------------------------------- */

a {
  color: var(--lavande);
  text-decoration: none;
  background-image: linear-gradient(to right, var(--lavande), var(--lavande));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size 220ms ease-out;
  padding-bottom: 1px;
}

a:hover, a:focus-visible { background-size: 100% 2px; }

:focus-visible {
  outline: 3px solid var(--lavande);
  outline-offset: 2px;
}

.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lavande);
  color: var(--sur-lavande);
  padding: 12px 20px;
  z-index: 60;
}
.evitement:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------
   Enveloppes et rythme vertical
   --------------------------------------------------------------- */

.travee { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.travee--etroite { width: min(760px, calc(100% - 48px)); margin: 0 auto; }

.piece { padding: 92px 0; position: relative; }
.piece--brume { background-color: var(--brume); }
.piece--nid { background-image: var(--nid); background-position: center top; }
.piece--serree { padding: 68px 0; }

.cote {
  font-family: "Gantari", "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lavande);
  display: block;
  margin-bottom: 14px;
}

.chapeau {
  font-size: 1.14rem;
  color: var(--encre-douce);
  max-width: 62ch;
}

.filet-frise {
  height: 14px;
  background-image: var(--frise-droite);
  background-repeat: repeat-x;
  background-position: left center;
}

.filet-frise--montante {
  height: 44px;
  background-image: var(--frise-haut);
  background-repeat: repeat-x;
  background-size: 14px 88px;
}

/* ---------------------------------------------------------------
   Boutons
   --------------------------------------------------------------- */

.cle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  clip-path: var(--pan);
  background-repeat: no-repeat;
  background-position: 24px calc(100% - 14px);
  background-size: 0 2px;
  transition: background-size 220ms ease-out, background-color 220ms ease-out;
  padding-bottom: 0;
}

.cle--pleine {
  background-color: var(--lavande);
  color: var(--sur-lavande);
  background-image: linear-gradient(to right, #FFFFFF, #FFFFFF);
}
.cle--pleine:hover, .cle--pleine:focus-visible {
  background-color: var(--lavande-sombre);
  background-size: calc(100% - 48px) 2px;
}

.cle--contour {
  background-color: transparent;
  color: var(--encre);
  box-shadow: inset 0 0 0 1.5px var(--lavande);
  background-image: linear-gradient(to right, var(--lavande), var(--lavande));
}
.cle--contour:hover, .cle--contour:focus-visible {
  background-color: var(--lavande-voile);
  background-size: calc(100% - 48px) 2px;
}

.paire-cles { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }

/* ---------------------------------------------------------------
   Seuil: en tete colle
   --------------------------------------------------------------- */

.seuil {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background-color: rgba(251, 249, 253, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease-out;
}

.seuil.est-descendu { border-bottom-color: var(--filet); }

.seuil__interieur {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-image: none;
  color: var(--encre);
  font-family: "Fredoka", Arial, sans-serif;
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}
.marque svg { flex: 0 0 auto; }
.marque__mot { transition: opacity 220ms ease-out; }
.seuil.est-descendu .marque__mot { opacity: 0; width: 0; overflow: hidden; }

.couloir { display: flex; align-items: center; gap: 26px; }
.couloir a {
  color: var(--encre);
  font-weight: 500;
  font-size: 0.98rem;
}

.seuil__action { display: flex; align-items: center; gap: 12px; }
.seuil .cle { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }

.ouvre-panneau {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1.5px solid var(--filet);
  cursor: pointer;
  clip-path: var(--pan);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.ouvre-panneau span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--encre);
}

/* Panneau plein ecran sous 860 pixels */
.panneau {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--neige);
  padding: 24px;
  overflow-y: auto;
  display: none;
}
.panneau[data-ouvert="oui"] { display: block; }
.panneau__haut { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.ferme-panneau {
  min-height: 46px;
  padding: 0 18px;
  background: transparent;
  border: 1.5px solid var(--filet);
  clip-path: var(--pan);
  font-family: "Gantari", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--encre);
}
.panneau__liste { list-style: none; margin: 26px 0 0; padding: 0; }
.panneau__liste li { margin: 0 0 12px; }
.panneau__liste a {
  display: block;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  color: var(--encre);
  font-family: "Fredoka", Arial, sans-serif;
  font-size: 1.14rem;
}

/* ---------------------------------------------------------------
   Releve: le hero, cinq colonnes de texte et une grappe d alveoles
   --------------------------------------------------------------- */

.releve { padding: 76px 0 84px; position: relative; overflow: hidden; }

.releve__grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: 56px;
  align-items: center;
}

.releve h1 { margin-bottom: 18px; }

.releve__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--filet);
  padding-top: 18px;
  margin-top: 10px;
}
.releve__reassurance div { padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--filet); }
.releve__reassurance div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.chiffre {
  font-family: "Gantari", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
  color: var(--lavande);
  display: block;
  line-height: 1.2;
}
.chiffre__note { font-size: 0.86rem; color: var(--encre-douce); display: block; max-width: 22ch; }

/* Grappe de sept alveoles, rangs de deux, trois et deux modules.
   Les rangs se decalent d un demi module et se chevauchent d un quart de hauteur,
   ce qui reconstitue exactement le pas de la grille en nid d abeille. */
.grappe {
  --cellule: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.grappe__rang {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: calc(var(--cellule) * 1.1547 * -0.25 + 8px);
}
.grappe__rang:last-child { margin-bottom: 0; }

.grappe__cellule {
  width: var(--cellule);
  height: calc(var(--cellule) * 1.1547);
  clip-path: var(--hexa);
  background: var(--surface);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24% 14%;
}
.grappe__cellule span { position: relative; z-index: 2; }
.grappe__cellule--photo { padding: 0; background: var(--lavande-voile); }
.grappe__cellule--photo img { width: 100%; height: 100%; object-fit: cover; }
.grappe__cellule--etiquette {
  background: var(--lavande-voile);
  font-family: "Gantari", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavande);
}
.grappe__cellule--blond { background: #F6EBDC; color: #6A4A18; }
.grappe__cellule--vide { background: transparent; }
.grappe__cellule--vide::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: var(--hexa);
  background: var(--filet);
}
.grappe__cellule--vide::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  clip-path: var(--hexa);
  background: var(--neige);
}

/* ---------------------------------------------------------------
   Cadre photographique: coin coupe, bordure neige, frise en bas
   --------------------------------------------------------------- */

.cadre { position: relative; margin: 0; }
.cadre__vue {
  background: var(--surface);
  padding: 6px;
  clip-path: var(--pan);
  border: 1px solid var(--filet);
}
.cadre__vue img { width: 100%; height: auto; clip-path: var(--pan); }
.cadre--planche { max-width: 640px; margin-top: 34px; }
.cadre__legende {
  font-family: "Gantari", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--encre-douce);
  margin-top: 12px;
  padding-bottom: 18px;
  background-image: var(--frise-droite);
  background-repeat: repeat-x;
  background-position: left bottom;
}

/* ---------------------------------------------------------------
   La porte que vous refermez: constats
   --------------------------------------------------------------- */

.constat-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 42px;
}
.constat {
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  padding: 26px 24px 24px;
  position: relative;
}
.constat::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 14px;
  height: 14px;
  background-image: var(--frise-droite);
  background-repeat: repeat-x;
  opacity: 0.55;
}
.constat p { margin-bottom: 30px; font-size: 0.99rem; color: var(--encre-douce); }
.constat h3 { margin-bottom: 10px; }
.constat__cout {
  font-family: "Gantari", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blond-encre);
  display: block;
  margin-bottom: 12px;
}

.porte-avant-apres {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
  margin-top: 56px;
}

/* ---------------------------------------------------------------
   Etapes: quatre semaines
   --------------------------------------------------------------- */

.semaines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--filet);
}
.semaine {
  padding: 30px 26px 30px 0;
  border-right: 1px solid var(--filet);
  padding-right: 26px;
  position: relative;
}
.semaine:last-child { border-right: 0; }
.semaine__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 30px;
  padding: 0 14px;
  background: var(--lavande);
  color: var(--sur-lavande);
  clip-path: var(--pan);
  font-family: "Gantari", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.semaine h3 { margin-bottom: 8px; }
.semaine p { font-size: 0.97rem; color: var(--encre-douce); margin-bottom: 0; }

/* ---------------------------------------------------------------
   Ruche: la grille en nid d abeille des fonctionnalites
   --------------------------------------------------------------- */

.ruche {
  --alveole-l: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 52px;
}
.ruche__rang {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: calc(var(--alveole-l) * 1.1547 * -0.25 + 10px);
}
.ruche__rang:last-child { margin-bottom: 0; }

.alveole {
  width: var(--alveole-l);
  height: calc(var(--alveole-l) * 1.1547);
  clip-path: var(--hexa);
  background: var(--surface);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20% 13%;
}
.alveole::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: var(--hexa);
  background: var(--filet);
  z-index: 0;
}
.alveole::after {
  content: "";
  position: absolute;
  inset: 1px;
  clip-path: var(--hexa);
  background: var(--surface);
  z-index: 0;
}
.alveole__texte { position: relative; z-index: 2; text-align: left; }
.alveole__texte h3 { font-size: 1.14rem; margin-bottom: 6px; }
.alveole__texte p { font-size: 0.9rem; line-height: 1.55; color: var(--encre-douce); margin: 0; }
.alveole__numero {
  font-family: "Gantari", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blond-encre);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.alveole--pleine::after { background: var(--brume); }

.mention-droit {
  width: min(760px, 100%);
  margin-top: 44px;
  border-left: 3px solid var(--filet);
  padding-left: 22px;
}
.mention-droit p { margin-bottom: 0; font-size: 0.97rem; color: var(--encre-douce); }

/* ---------------------------------------------------------------
   Gains: quatre alveoles larges, deux rangs decales
   --------------------------------------------------------------- */

.gains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 46px;
}
.gain {
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  padding: 30px 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.gains .gain:nth-child(2), .gains .gain:nth-child(4) { transform: translateY(34px); }
.gain__mesure {
  font-family: "Gantari", Arial, sans-serif;
  font-weight: 600;
  font-size: 2.05rem;
  line-height: 1;
  color: var(--lavande);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  min-width: 96px;
}
.gain p { margin-bottom: 0; font-size: 0.99rem; color: var(--encre-douce); }
.gain h3 { margin-bottom: 8px; }

/* ---------------------------------------------------------------
   Metrage: bandeau de chiffres cles sur aplat lavande
   --------------------------------------------------------------- */

.metrage {
  background: var(--lavande);
  color: var(--sur-lavande);
  padding: 42px 0 34px;
}
.metrage__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px;
}
.metrage__valeur {
  font-family: "Gantari", Arial, sans-serif;
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  display: block;
  color: var(--sur-lavande);
}
.metrage__note { font-size: 0.9rem; color: #EFE6F5; display: block; margin-top: 6px; max-width: 26ch; }
.metrage__frise {
  height: 44px;
  background-image: var(--frise-haut);
  background-repeat: repeat-x;
  background-size: 14px 88px;
  margin-top: 26px;
  opacity: 0.5;
}

/* ---------------------------------------------------------------
   Usages: temoignages alternes avec une petite alveole de portrait
   --------------------------------------------------------------- */

.usages { margin-top: 46px; display: grid; gap: 22px; }
.usage {
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  padding: 30px 30px 26px;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin: 0;
}
.usage:nth-child(even) { grid-template-columns: minmax(0, 1fr) 108px; }
.usage:nth-child(even) .usage__jeton { order: 2; }
.usage__jeton {
  width: 108px;
  height: 125px;
  clip-path: var(--hexa);
  background: var(--lavande-voile);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fredoka", Arial, sans-serif;
  font-size: 1.5rem;
  color: var(--lavande);
}
.usage blockquote { margin: 0; }
.usage blockquote p { font-size: 1.06rem; margin-bottom: 14px; }
.usage figcaption, .usage__attribution {
  font-family: "Gantari", Arial, sans-serif;
  font-size: 0.84rem;
  color: var(--encre-douce);
  letter-spacing: 0.02em;
}
.usage__attribution strong { color: var(--encre); font-weight: 600; }

/* ---------------------------------------------------------------
   Tarifs: trois cartes verticales calees sur le pas de 168 pixels
   --------------------------------------------------------------- */

.tarifs {
  display: grid;
  grid-template-columns: repeat(3, minmax(var(--module-l), 1fr));
  gap: 22px;
  margin-top: 48px;
  align-items: start;
}
.tarif {
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  padding: 32px 28px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tarif--avancee {
  border-color: var(--lavande);
  box-shadow: inset 0 0 0 1px var(--lavande);
}
.tarif__etiquette {
  font-family: "Gantari", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blond-encre);
  display: block;
  margin-bottom: 10px;
  min-height: 1.2em;
}
.tarif h3 { font-size: 1.42rem; margin-bottom: 12px; }
.tarif__prix {
  font-family: "Gantari", Arial, sans-serif;
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
  display: block;
}
.tarif__unite { font-size: 0.86rem; color: var(--encre-douce); display: block; margin: 6px 0 18px; }
.tarif__cible { font-size: 0.95rem; color: var(--encre-douce); border-top: 1px solid var(--filet); padding-top: 16px; }
.tarif__inclus { list-style: none; padding: 0; margin: 0 0 24px; }
.tarif__inclus li {
  position: relative;
  padding-left: 26px;
  font-size: 0.94rem;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--encre-douce);
}
.tarif__inclus li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--blond);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}
.tarif .cle { width: 100%; margin-top: auto; }
.tarifs__mention { margin-top: 26px; font-size: 0.92rem; color: var(--encre-douce); }

/* ---------------------------------------------------------------
   Placard: la FAQ en tiroirs
   --------------------------------------------------------------- */

.placard { margin-top: 44px; border-top: 1px solid var(--filet); }
.tiroir { border-bottom: 1px solid var(--filet); }
.tiroir summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-family: "Fredoka", Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  position: relative;
  background-image: linear-gradient(to right, var(--lavande), var(--lavande));
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 18px);
  background-size: 0 2px;
  transition: background-size 220ms ease-out;
}
.tiroir summary::-webkit-details-marker { display: none; }
.tiroir summary:hover, .tiroir summary:focus-visible { background-size: 100% 2px; }
.tiroir summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--lavande);
  border-bottom: 1.5px solid var(--lavande);
  transform: rotate(45deg);
}
.tiroir[open] summary::after { transform: rotate(225deg); top: 34px; }
.tiroir__reponse { padding: 0 44px 24px 0; }
.tiroir__reponse p { font-size: 0.99rem; color: var(--encre-douce); }
.tiroir__reponse p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
   Rendez vous: le formulaire
   --------------------------------------------------------------- */

.rendezvous {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  gap: 52px;
  align-items: start;
  margin-top: 42px;
}
.formulaire {
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  padding: 34px 32px 32px;
}
.champ { margin-bottom: 20px; }
.champ label {
  display: block;
  font-family: "Gantari", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-douce);
  margin-bottom: 7px;
}
.champ input[type="text"],
.champ input[type="email"],
.champ select,
.champ textarea {
  width: 100%;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 1rem;
  color: var(--encre);
  background: var(--neige);
  border: 1px solid var(--filet);
  border-radius: 0;
  padding: 12px 14px;
  min-height: 48px;
}
.champ textarea { min-height: 132px; resize: vertical; }
.champ--case { display: flex; gap: 12px; align-items: flex-start; }
.champ--case input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--lavande); flex: 0 0 auto; }
.champ--case label {
  text-transform: none;
  letter-spacing: 0;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--encre-douce);
  margin-bottom: 0;
}
.formulaire__suite { font-size: 0.9rem; color: var(--encre-douce); margin-top: 18px; margin-bottom: 0; }
.rendezvous__notes li { font-size: 0.99rem; color: var(--encre-douce); }

/* ---------------------------------------------------------------
   Plinthe: pied de page
   --------------------------------------------------------------- */

.plinthe { background: var(--brume); padding: 0 0 26px; margin-top: 0; }
.plinthe__liseré, .plinthe__liseret {
  height: 14px;
  background-image: var(--frise-droite);
  background-repeat: repeat-x;
}
.plinthe__colonnes {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 52px 0 38px;
}
.plinthe h2, .plinthe h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 14px; }
.plinthe ul { list-style: none; padding: 0; margin: 0; }
.plinthe li { margin-bottom: 9px; font-size: 0.94rem; }
.plinthe a { color: var(--encre); }
.plinthe p { font-size: 0.94rem; color: var(--encre-douce); }
.plinthe__social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 0.9rem; }
.plinthe__barre {
  border-top: 1px solid var(--filet);
  padding-top: 22px;
  font-size: 0.86rem;
  color: var(--encre-douce);
}
.plinthe__barre p { margin-bottom: 0; max-width: none; }

/* ---------------------------------------------------------------
   Pages interieures
   --------------------------------------------------------------- */

.entete-interieure {
  padding: 62px 0 34px;
  border-bottom: 1px solid var(--filet);
  background: var(--brume);
}
.fil { font-size: 0.86rem; color: var(--encre-douce); margin-bottom: 16px; }
.fil a { color: var(--encre-douce); }

.redaction { padding: 58px 0 84px; }
.redaction h2 { font-size: 1.62rem; margin-top: 46px; }
.redaction h3 { margin-top: 30px; }
.redaction h2:first-of-type { margin-top: 0; }
.redaction ul { max-width: 66ch; }
.redaction li { color: var(--encre-douce); }
.redaction p { color: var(--encre-douce); }
.redaction .encart {
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  padding: 26px 26px 22px;
  margin: 34px 0;
}
.redaction .encart p:last-child { margin-bottom: 0; }
.redaction dl { margin: 0 0 1.2em; }
.redaction dt { font-family: "Gantari", Arial, sans-serif; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lavande); margin-top: 14px; }
.redaction dd { margin: 4px 0 0; color: var(--encre-douce); }

.portrait-auteur {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 40px;
}
.portrait-auteur img { clip-path: var(--pan); border: 1px solid var(--filet); }

.plan-liste { list-style: none; padding: 0; margin: 26px 0 0; }
.plan-liste li {
  border-bottom: 1px solid var(--filet);
  padding: 18px 0;
}
.plan-liste a { font-family: "Fredoka", Arial, sans-serif; font-size: 1.14rem; color: var(--encre); }
.plan-liste span { display: block; font-size: 0.95rem; color: var(--encre-douce); }

.page-message { padding: 96px 0 100px; text-align: left; }
.page-message .cote { margin-bottom: 18px; }

/* ---------------------------------------------------------------
   Animation au defilement, discrete et desactivable
   --------------------------------------------------------------- */

.au-repos { opacity: 0; transform: translateY(14px); transition: opacity 420ms ease-out, transform 420ms ease-out; }
.au-repos.est-pose { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   Adaptations
   --------------------------------------------------------------- */

@media (max-width: 1080px) {
  .ruche { --alveole-l: 268px; }
  .grappe { --cellule: 142px; }
  .releve__grille { gap: 34px; }
}

@media (max-width: 960px) {
  h1 { font-size: 2.6rem; }
  .releve__grille { grid-template-columns: 1fr; }
  .porte-avant-apres { grid-template-columns: 1fr; gap: 34px; }
  .rendezvous { grid-template-columns: 1fr; gap: 34px; }
  .plinthe__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tarifs { grid-template-columns: 1fr; }
  .gains { grid-template-columns: 1fr; }
  .gains .gain:nth-child(2), .gains .gain:nth-child(4) { transform: none; }
  .semaines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .semaine { border-bottom: 1px solid var(--filet); }
  .semaine:nth-child(2) { border-right: 0; }
  .portrait-auteur { grid-template-columns: 1fr; }
  .portrait-auteur img { max-width: 240px; }
}

/* Sous 900 pixels, le decalage tombe: les modules s empilent en une colonne
   et conservent la coupe d angle a trente degres. */
@media (max-width: 900px) {
  .ruche { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .ruche__rang { display: contents; }
  .alveole {
    width: 100%;
    height: auto;
    clip-path: var(--pan);
    padding: 26px 24px;
    border: 1px solid var(--filet);
    background: var(--surface);
  }
  .alveole::before, .alveole::after { display: none; }
  .usage, .usage:nth-child(even) { grid-template-columns: 1fr; gap: 18px; }
  .usage:nth-child(even) .usage__jeton { order: 0; }
}

@media (max-width: 860px) {
  .couloir, .seuil__action .cle { display: none; }
  .ouvre-panneau { display: flex; }
  .travee, .travee--etroite { width: calc(100% - 32px); }
}

@media (max-width: 720px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.68rem; }
  .piece { padding: 66px 0; }
  .releve { padding: 48px 0 60px; }
  .semaines { grid-template-columns: 1fr; }
  .semaine { border-right: 0; padding-right: 0; }
  .plinthe__colonnes { grid-template-columns: 1fr; gap: 28px; }
  .grappe { --cellule: 104px; }
  .releve__reassurance div { border-right: 0; padding-right: 0; margin-right: 0; margin-bottom: 14px; }
  .formulaire { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .cle, .tiroir summary { transition: none; }
  .au-repos { opacity: 1; transform: none; transition: none; }
  .marque__mot { transition: none; }
}

@media print {
  .seuil, .panneau, .ouvre-panneau { display: none; }
  body { background: #FFFFFF; }
}
/* ================================================================
   LA PIECE LIBEREE, section magazine.
   Ajoutee a la fin de la feuille: aucune regle precedente n est modifiee.
   Le magazine reprend la palette du releve de piece, la coupe de vingt pixels
   a trente degres au coin superieur gauche redoublee par un filet lavande pose
   a quatre pixels en retrait, la frise de chevrons, la grille en nid d abeille
   dont les rangs se decalent d un demi module, Fredoka pour les titres, Rubik
   pour la lecture longue et Gantari pour les surtitres, les dates et les
   legendes. La signature d animation reste le soulignement qui se trace.
   Vocabulaire de classes: journal, classeur, fiche, feuillet, entete-feuillet,
   exergue, colonne-lecture, invite, signataire, voisines, derniers.
   ================================================================ */

:root {
  /* Mesure de lecture du corps des articles: 68 signes au maximum. */
  --mesure: 68ch;
  /* Coupe interieure du filet redouble, quatre pixels en retrait de la coupe. */
  --pan-double: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px);
}

/* ---------------------------------------------------------------
   Ouverture du magazine, page /blog/
   --------------------------------------------------------------- */

.journal { padding: 70px 0 58px; position: relative; }
.journal__grille {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: start;
}
.journal h1 { margin-bottom: 18px; }
.journal__chapeau { font-size: 1.14rem; color: var(--encre-douce); max-width: 58ch; }
.journal__reperes { border-top: 1px solid var(--filet); }
.journal__repere {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--filet);
  font-size: 0.94rem;
  color: var(--encre-douce);
  max-width: none;
}
.journal__repere b {
  font-family: "Gantari", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------------------------------------------------------------
   Grille de cartes d article, calee sur le nid d abeille:
   la colonne du milieu descend d un demi module, comme les rangs
   de la ruche et les alveoles de la section des avantages.
   --------------------------------------------------------------- */

.classeur {
  display: grid;
  grid-template-columns: repeat(3, minmax(var(--module-l), 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 46px;
}
.classeur > *:nth-child(3n+2) { margin-top: 34px; }

/* ---------------------------------------------------------------
   Carte d article
   --------------------------------------------------------------- */

.fiche {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  transition: border-color 220ms ease-out;
}
/* Filet lavande redouble a quatre pixels en retrait, forme signature du site. */
.fiche::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--lavande-voile);
  clip-path: var(--pan-double);
  pointer-events: none;
  z-index: 2;
  transition: border-color 220ms ease-out;
}
.fiche:hover { border-color: var(--lavande); }
.fiche:hover::before { border-color: var(--filet); }

.fiche__vue {
  display: block;
  margin: 0;
  background: var(--lavande-voile);
  background-image: none;
  padding-bottom: 0;
}
.fiche__vue img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.fiche__corps {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 22px 20px;
}
.fiche__angle {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 26px;
  padding: 0 12px;
  margin-bottom: 14px;
  background: var(--lavande-voile);
  color: var(--lavande);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  font-family: "Gantari", "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fiche__titre {
  font-family: "Fredoka", "Trebuchet MS", Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.012em;
  margin: 0 0 12px;
  max-width: none;
  color: var(--encre);
}
.fiche__titre a { color: var(--encre); }
.fiche__extrait {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--encre-douce);
  margin: 0 0 20px;
  max-width: none;
}
.fiche__pied {
  margin: auto 0 0;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  border-top: 1px solid var(--filet);
  font-family: "Gantari", "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--encre-douce);
  max-width: none;
}

/* ---------------------------------------------------------------
   Entete d article: fil d Ariane, angle, dates, temps de lecture
   --------------------------------------------------------------- */

.feuillet { padding: 12px 0 86px; }

.entete-feuillet { padding: 26px 0 4px; }
.entete-feuillet__reperes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 20px;
  max-width: none;
  font-family: "Gantari", "Segoe UI", Arial, sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  color: var(--encre-douce);
}
.entete-feuillet__angle {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  background: var(--lavande);
  color: var(--sur-lavande);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.entete-feuillet h1 { font-size: 2.5rem; max-width: 24ch; margin-bottom: 24px; }
.entete-feuillet .cadre { margin-top: 30px; max-width: 940px; }

/* Chapeau en exergue: aplat lavande tres clair, coupe signature, chevrons au pied. */
.exergue {
  background: var(--brume);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  padding: 24px 26px 30px;
  margin: 0;
  max-width: var(--mesure);
  position: relative;
}
.exergue::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 12px;
  height: 14px;
  background-image: var(--frise-droite);
  background-repeat: repeat-x;
  opacity: 0.65;
}
.exergue p {
  font-size: 1.14rem;
  line-height: 1.6;
  color: var(--encre);
  margin: 0;
  max-width: none;
}

/* ---------------------------------------------------------------
   Corps d article. Le texte redactionnel est du HTML nu, sans aucun
   attribut class: toutes les balises sont mises en forme ici, comme
   descendantes de .colonne-lecture.
   --------------------------------------------------------------- */

.colonne-lecture { max-width: var(--mesure); margin-top: 38px; }
.colonne-lecture > *:first-child { margin-top: 0; }

.colonne-lecture h2 {
  font-family: "Fredoka", "Trebuchet MS", Arial, sans-serif;
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--encre);
  margin: 52px 0 16px;
  padding-top: 26px;
  background-image: var(--frise-droite);
  background-repeat: repeat-x;
  background-position: left top;
  max-width: none;
}
.colonne-lecture h3 {
  font-family: "Fredoka", "Trebuchet MS", Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--encre);
  margin: 34px 0 12px;
  padding-left: 24px;
  position: relative;
  max-width: none;
}
/* Pan coupe de douze pixels en puce d intertitre, meme angle que les cartes. */
.colonne-lecture h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  background: var(--lavande);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}
.colonne-lecture p {
  font-size: 1.06rem;
  line-height: 1.68;
  color: var(--encre-douce);
  margin: 0 0 18px;
  max-width: none;
}
.colonne-lecture strong { font-weight: 500; color: var(--encre); }
.colonne-lecture em { font-style: italic; }
.colonne-lecture a { color: var(--lavande); }

.colonne-lecture ul, .colonne-lecture ol {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
  max-width: none;
}
.colonne-lecture li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 28px;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--encre-douce);
}
.colonne-lecture ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 12px;
  height: 12px;
  background: var(--blond);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}
.colonne-lecture ol { counter-reset: pas-nivaline; }
.colonne-lecture ol li { padding-left: 42px; counter-increment: pas-nivaline; }
.colonne-lecture ol li::before {
  content: counter(pas-nivaline);
  position: absolute;
  left: 0;
  top: 0.06em;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lavande-voile);
  color: var(--lavande);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  font-family: "Gantari", "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.colonne-lecture li > ul, .colonne-lecture li > ol { margin-top: 11px; margin-bottom: 0; }

/* Tableau recapitulatif: filets fins, en tete en aplat lavande tres clair. */
.colonne-lecture table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 0.98rem;
  border-top: 2px solid var(--lavande);
}
.colonne-lecture th, .colonne-lecture td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--filet);
  color: var(--encre-douce);
}
.colonne-lecture thead th {
  background: var(--brume);
  font-family: "Gantari", "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--encre);
}
.colonne-lecture tbody th { font-weight: 500; color: var(--encre); }
.colonne-lecture tbody tr:nth-child(even) { background: var(--neige); }

/* Citation: filet lavande a gauche, aucune guillemet decorative. */
.colonne-lecture blockquote {
  margin: 0 0 28px;
  padding: 2px 0 2px 24px;
  border-left: 2px solid var(--lavande);
}
.colonne-lecture blockquote p {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--encre);
}
.colonne-lecture blockquote p:last-child { margin-bottom: 0; }

/* Encadre: meme coupe et meme filet redouble que les cartes du site. */
.colonne-lecture aside {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  padding: 26px 26px 24px;
  margin: 0 0 30px;
}
.colonne-lecture aside::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--lavande-voile);
  clip-path: var(--pan-double);
  pointer-events: none;
}
.colonne-lecture aside p { position: relative; font-size: 1rem; }
.colonne-lecture aside p:last-child { margin-bottom: 0; }

.colonne-lecture figure { margin: 0 0 30px; }
.colonne-lecture figcaption {
  font-family: "Gantari", "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--encre-douce);
  line-height: 1.5;
  margin-top: 12px;
}

/* ---------------------------------------------------------------
   Invite de fin d article et de fin de sommaire
   --------------------------------------------------------------- */

.invite {
  background: var(--lavande);
  color: var(--sur-lavande);
  clip-path: var(--pan);
  padding: 30px 32px 34px;
  margin: 42px 0 0;
  max-width: var(--mesure);
  position: relative;
}
.invite::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 12px;
  height: 14px;
  background-image: var(--frise-claire);
  background-repeat: repeat-x;
}
.invite .cote { color: #EFE6F5; }
.invite p { color: #F3ECF8; max-width: 56ch; }
.invite .cle--pleine {
  background-color: var(--surface);
  color: var(--lavande);
  background-image: linear-gradient(to right, var(--lavande), var(--lavande));
}
.invite .cle--pleine:hover, .invite .cle--pleine:focus-visible { background-color: #F3ECF8; }

.invite--bandeau {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
}
.invite--bandeau p:last-of-type { margin-bottom: 0; }

/* ---------------------------------------------------------------
   Encart auteur
   --------------------------------------------------------------- */

.signataire {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  padding: 26px 28px 24px;
  margin: 38px 0 0;
  max-width: var(--mesure);
}
.signataire::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--lavande-voile);
  clip-path: var(--pan-double);
  pointer-events: none;
}
.signataire__photo {
  width: 112px;
  height: auto;
  padding: 6px;
  background: var(--neige);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
}
.signataire__nom {
  font-family: "Fredoka", "Trebuchet MS", Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--encre);
  margin: 0 0 8px;
  max-width: none;
}
.signataire p { font-size: 0.99rem; color: var(--encre-douce); max-width: none; }
.signataire p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
   Bloc A lire aussi
   --------------------------------------------------------------- */

.voisines {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--filet);
}
.voisines__titre {
  font-family: "Fredoka", "Trebuchet MS", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--encre);
  margin: 0 0 24px;
  max-width: none;
}
.voisines__grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.voisine {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--pan);
  transition: border-color 220ms ease-out;
}
.voisine::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--lavande-voile);
  clip-path: var(--pan-double);
  pointer-events: none;
  z-index: 2;
}
.voisine:hover { border-color: var(--lavande); }
.voisine__vue {
  display: block;
  margin: 0;
  background: var(--lavande-voile);
  background-image: none;
  padding-bottom: 0;
}
.voisine__vue img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.voisine__corps { padding: 18px 20px 20px; }
.voisine__titre {
  font-family: "Fredoka", "Trebuchet MS", Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  max-width: none;
  color: var(--encre);
}
.voisine__titre a { color: var(--encre); }
.voisine__accroche {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--encre-douce);
  margin: 0;
  max-width: none;
}

/* ---------------------------------------------------------------
   Derniers articles, section de la page d accueil
   --------------------------------------------------------------- */

.derniers__tete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px 34px;
}
.derniers__tete h2 { margin-bottom: 0; }
.derniers__intro { margin: 14px 0 0; color: var(--encre-douce); max-width: 62ch; }
.derniers__lien {
  font-family: "Gantari", "Segoe UI", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--lavande);
}

/* Intitule de colonne du pied de page sur les pages du magazine:
   les balises h2 et h3 y sont reservees au corps redactionnel. */
.plinthe__titre {
  font-family: "Fredoka", "Trebuchet MS", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.14;
  color: var(--encre);
  margin: 0 0 14px;
  max-width: none;
}

/* ---------------------------------------------------------------
   Adaptations d ecran du magazine
   --------------------------------------------------------------- */

@media (max-width: 1080px) {
  .journal__grille { grid-template-columns: 1fr; gap: 34px; }
  .classeur { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .classeur > *:nth-child(3n+2) { margin-top: 0; }
  .classeur > *:nth-child(2n) { margin-top: 30px; }
  .entete-feuillet h1 { font-size: 2.15rem; max-width: none; }
}

@media (max-width: 860px) {
  .classeur { grid-template-columns: 1fr; }
  .classeur > *:nth-child(3n+2), .classeur > *:nth-child(2n) { margin-top: 0; }
  .voisines__grille { grid-template-columns: 1fr; }
  .signataire { grid-template-columns: 1fr; }
  .signataire__photo { width: 96px; }
  .invite--bandeau { grid-template-columns: 1fr; }
  .journal { padding: 46px 0 40px; }
  .feuillet { padding: 8px 0 62px; }
  .colonne-lecture h2 { font-size: 1.42rem; margin-top: 42px; }
}

@media (max-width: 560px) {
  .colonne-lecture table { display: block; overflow-x: auto; }
  .invite, .signataire { padding: 22px 20px 24px; }
  .invite .cle { width: 100%; }
  .exergue { padding: 20px 20px 28px; }
  .exergue p { font-size: 1.06rem; }
  .entete-feuillet h1 { font-size: 1.86rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fiche, .fiche::before, .voisine { transition: none; }
}

@media print {
  .voisines, .invite { display: none; }
  .colonne-lecture { max-width: none; }
}

/* Maillage du reseau, bandeau de pied de page. Mise en page seulement:
   les couleurs, la police et le survol restent ceux du site.
   grid-column et flex-basis font tenir le bandeau sur toute la largeur,
   que le pied de page soit une grille ou une boite flexible.
   Les raccourcis margin et padding sont evites: ils ecraseraient le retrait
   interieur d une colonne dont le bandeau herite la classe. */
[data-reseau-bloc]{grid-column:1/-1;flex-basis:100%;width:100%;margin-top:26px;padding-top:18px}
[data-reseau-titre]{font-size:.8rem;line-height:1.3;letter-spacing:.09em;text-transform:uppercase;
  font-weight:600;margin:0 0 12px}
ul[data-reseau]{list-style:none;display:flex;flex-wrap:wrap;gap:10px 26px;margin:0;padding:0}
ul[data-reseau] li{margin:0;padding:0}
