/* ==========================================================================
   Campetoile, feuille de style unique
   Systeme de nommage ancre dans le vocabulaire de l hotellerie de plein air :
   releve, fiche, rangee, libelle, valeur, cartouche, borne, semis, jalon,
   coupon, bandeau, palier.
   ========================================================================== */

:root {
  --fond: #FBF5E6;
  --fond-alt: #F3EBD6;
  --surface: #FFFBF0;
  --texte: #1F2515;
  --texte-doux: #5E6247;
  --olive: #375E26;
  --olive-fonce: #2C4B1E;
  --olive-texte: #FCF7E8;
  --ocre: #8A6108;
  --bordure: #DCD0AF;

  --colonne-libelle: 260px;
  --gouttiere: 32px;
  --largeur-page: 1180px;
  --coupe: 14px;

  --titre: "Marcellus", "Times New Roman", Georgia, serif;
  --courant: "Rubik", "Segoe UI", Helvetica, Arial, sans-serif;
  --accent-typo: "Petrona", "Iowan Old Style", Georgia, serif;

  --detente: cubic-bezier(0.22, 1, 0.36, 1);
  --duree: 280ms;
}

/* Semis d etoiles, motif signature, trois densites
   ------------------------------------------------ */
:root {
  --semis-lache: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='170'%20height='170'%20viewBox='0%200%20170%20170'%3E%3Cg%20fill='%23375E26'%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(21,29)%20scale(4.5)%20rotate(11)'/%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(83,13)%20scale(3)%20rotate(-9)'/%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(139,44)%20scale(2)%20rotate(23)'/%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(52,72)%20scale(3)%20rotate(31)'/%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(117,97)%20scale(4.5)%20rotate(-17)'/%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(27,131)%20scale(3)%20rotate(6)'/%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(92,148)%20scale(2)%20rotate(-25)'/%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(155,124)%20scale(3)%20rotate(14)'/%3E%3C/g%3E%3C/svg%3E");
  --semis-ocre: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='118'%20height='118'%20viewBox='0%200%20118%20118'%3E%3Cg%20fill='%238A6108'%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(17,22)%20scale(4)%20rotate(15)'/%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(74,41)%20scale(2.5)%20rotate(-12)'/%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(41,88)%20scale(3.5)%20rotate(28)'/%3E%3Cpath%20d='M0,-1%20.22,-.31%20.95,-.31%20.36,.12%20.59,.81%200,.38%20-.59,.81%20-.36,.12%20-.95,-.31%20-.22,-.31Z'%20transform='translate(101,102)%20scale(2)%20rotate(-4)'/%3E%3C/g%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  background-color: var(--fond);
  background-image: var(--semis-lache);
  background-size: 170px 170px;
  color: var(--texte);
  font-family: var(--courant);
  font-size: 1.05rem;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0 0 0.6em;
  text-transform: none;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.15rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--olive); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ocre); }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.15rem; }
li { margin-bottom: 0.4em; }

strong { font-weight: 500; }

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

.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--olive);
  color: var(--olive-texte);
  padding: 12px 20px;
  z-index: 200;
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.evitement:focus { left: 12px; top: 12px; }

/* Surtitres, libelles, unites : Petrona
   ------------------------------------- */
.surtitre,
.releve__libelle,
.unite,
.etiquette,
.jalon__numero {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.5;
}

.surtitre {
  display: block;
  color: var(--ocre);
  margin-bottom: 0.7em;
}

/* Cartouche : double filet et coin de coupon detache
   -------------------------------------------------- */
.cartouche {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
  padding: 26px 26px 30px;
}

.cartouche::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  pointer-events: none;
}

.cartouche--actif {
  border-color: var(--olive);
}
.cartouche--actif::before { border-color: var(--olive); }

.cartouche--actif > .etoile-coin {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  color: var(--ocre);
}

/* Conteneur et rythme vertical
   ---------------------------- */
.enclos {
  width: min(100% - 2.5rem, var(--largeur-page));
  margin-inline: auto;
}

.plaque {
  padding: 76px 0;
  border-top: 1px solid var(--bordure);
}

.plaque--sable {
  background-color: var(--fond-alt);
  background-image: var(--semis-lache);
  background-size: 170px 170px;
}

.plaque--serree { padding: 56px 0; }

/* La trame de fond : fiche technique a deux colonnes
   -------------------------------------------------- */
.releve {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  border-top: 1px solid var(--bordure);
}

.releve > .rangee {
  display: contents;
}

.rangee__libelle,
.rangee__valeur {
  border-bottom: 1px solid var(--bordure);
  padding: 22px 0;
}

.rangee__libelle {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--olive);
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
}

.rangee__valeur { color: var(--texte-doux); }
.rangee__valeur strong { color: var(--texte); }

/* En tete
   ------- */
.barre {
  position: fixed;
  inset: 0 0 auto 0;
  height: 70px;
  z-index: 100;
  background: rgba(251, 245, 230, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bordure);
  box-shadow: inset 0 -4px 0 -3px var(--bordure);
  transition: background-color 200ms linear, box-shadow 200ms linear, border-color 200ms linear;
}

.barre.est-descendue {
  background: rgba(251, 245, 230, 0.98);
  border-bottom-color: var(--olive);
  box-shadow: inset 0 -4px 0 -3px var(--olive), 0 2px 0 rgba(31, 37, 21, 0.05);
}

.barre__interieur {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logotype {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--titre);
  font-size: 1.34rem;
  letter-spacing: 0.02em;
  color: var(--texte);
  text-decoration: none;
  flex: 0 0 auto;
}
.logotype:hover { color: var(--olive); }
.logotype svg { width: 30px; height: 30px; flex: 0 0 auto; }

.cap { margin-left: auto; display: flex; align-items: center; gap: 18px; }

.cap__liste {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cap__lien {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--texte);
  text-decoration: none;
  padding: 6px 0;
}

.cap__lien::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--olive);
  transition: width 200ms var(--detente);
}
.cap__lien:hover::after,
.cap__lien:focus-visible::after { width: 100%; }

/* Boutons
   ------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 2px;
  font-family: var(--courant);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
  transition: background-color 180ms linear, color 180ms linear;
}

.bouton--plein {
  background: var(--olive);
  color: var(--olive-texte);
}
.bouton--plein:hover { background: var(--olive-fonce); color: var(--olive-texte); }

.bouton--filet {
  background: transparent;
  color: var(--texte);
  position: relative;
  border: 1px solid var(--olive);
}
.bouton--filet::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--olive);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  transition: border-color 180ms linear;
}
.bouton--filet:hover { background: var(--surface); color: var(--texte); }
.bouton--filet:hover::before { border-color: var(--ocre); }

.bouton .etoile-suffixe {
  width: 8px;
  height: 8px;
  color: var(--ocre);
  transform: translateX(0);
  opacity: 0;
  transition: transform 200ms var(--detente), opacity 200ms linear;
}
.bouton:hover .etoile-suffixe { transform: translateX(6px); opacity: 1; }

.bouton--compact { min-height: 42px; padding: 0 18px; font-size: 0.92rem; --coupe: 10px; }

/* Bouton du menu mobile
   --------------------- */
.declic {
  display: none;
  position: relative;
  width: 46px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--olive);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}
.declic span:not(.evitement) {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--olive);
  margin: 4px auto;
}
.declic::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background: var(--ocre);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Hero
   ---- */
.hero {
  padding: 132px 0 0;
  background-image: var(--semis-lache);
  background-size: 170px 170px;
}

.hero__releve {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  border-top: 1px solid var(--olive);
}

.hero__libelle {
  border-right: 1px solid var(--bordure);
  padding: 34px var(--gouttiere) 34px 0;
}

.hero__libelle .surtitre { margin-bottom: 1.2em; }

.hero__marqueurs {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--accent-typo);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--texte-doux);
}
.hero__marqueurs li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  border-bottom: 1px dotted var(--bordure);
  padding-bottom: 7px;
  margin-bottom: 7px;
}
.hero__marqueurs li:last-child { border-bottom: 0; }
.hero__marqueurs svg { width: 9px; height: 9px; color: var(--ocre); flex: 0 0 auto; }

.hero__valeur { padding: 34px 0 34px; }

.hero__valeur h1 { max-width: 17ch; }

.hero__chapeau {
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--texte-doux);
  max-width: 60ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero__cloture {
  border-top: 1px solid var(--olive);
  margin-top: 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  align-items: baseline;
}
.hero__cloture .surtitre { margin-bottom: 0; }
.hero__cloture p { color: var(--texte-doux); font-size: 0.98rem; }

/* Cadre photographique
   -------------------- */
.vue {
  position: relative;
  margin: 42px 0 0;
  border: 1px solid var(--bordure);
  background: var(--surface);
  padding: 6px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
}
.vue::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--olive);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  z-index: 2;
  pointer-events: none;
}
.vue img {
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.vue__voile {
  position: absolute;
  inset: 6px;
  pointer-events: none;
  background-image: var(--semis-ocre), linear-gradient(to top, rgba(251, 245, 230, 0.34), rgba(251, 245, 230, 0) 46%);
  background-size: 118px 118px, auto;
  opacity: 0.9;
}
.vue__legende {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--texte-doux);
  padding: 10px 4px 2px;
  border-top: 1px solid var(--bordure);
  margin-top: 6px;
}
.vue--decalee { transform: translate(6px, 6px); }

/* Section probleme : rangees depliantes
   ------------------------------------- */
.postes {
  border-top: 1px solid var(--olive);
  margin-top: 34px;
}

.poste {
  border-bottom: 1px solid var(--bordure);
}

.poste > summary {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr auto;
  column-gap: var(--gouttiere);
  align-items: baseline;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}
.poste > summary::-webkit-details-marker { display: none; }

.poste__libelle {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--olive);
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
  display: flex;
  align-items: center;
  gap: 8px;
}
.poste__libelle .etoile-ouverte {
  width: 10px;
  height: 10px;
  color: var(--ocre);
  opacity: 0;
  transition: opacity 200ms linear;
}
.poste[open] .etoile-ouverte { opacity: 1; }

.poste__titre {
  font-family: var(--titre);
  font-size: 1.28rem;
  line-height: 1.25;
}

.poste__chevron {
  width: 14px;
  height: 14px;
  color: var(--olive);
  transition: transform var(--duree) var(--detente);
  align-self: center;
}
.poste[open] .poste__chevron { transform: rotate(90deg); }

/* Signature d animation : accordeon 0fr vers 1fr avec glissement vertical */
.deplie {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duree) var(--detente);
}
details[open] > .deplie,
.deplie.est-ouvert { grid-template-rows: 1fr; }

.deplie > .deplie__interieur {
  overflow: hidden;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform var(--duree) var(--detente), opacity var(--duree) linear;
}
details[open] > .deplie > .deplie__interieur,
.deplie.est-ouvert > .deplie__interieur {
  transform: translateY(0);
  opacity: 1;
}

/* Quand le script est actif, la fermeture est jouee elle aussi en glissement */
.js details[open] > .deplie:not(.est-ouvert) { grid-template-rows: 0fr; }
.js details[open] > .deplie:not(.est-ouvert) > .deplie__interieur {
  transform: translateY(-12px);
  opacity: 0;
}

.poste .deplie__interieur > div {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  padding-bottom: 22px;
}
.poste .deplie__interieur .poste__chiffre {
  font-family: var(--courant);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--ocre);
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
  line-height: 1.2;
}
.poste .deplie__interieur .poste__chiffre .unite {
  display: block;
  color: var(--texte-doux);
  font-weight: 600;
}
.poste .deplie__interieur .poste__texte { color: var(--texte-doux); }

/* Section solution : jalons numerotes
   ----------------------------------- */
.jalons {
  border-top: 1px solid var(--olive);
  margin-top: 34px;
}

.jalon {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  border-bottom: 1px solid var(--bordure);
  padding: 26px 0;
}

.jalon__tete {
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
}

.jalon__numero {
  display: block;
  color: var(--ocre);
  font-size: 1rem;
  margin-bottom: 6px;
}

.jalon__seuil {
  display: inline-flex;
  gap: 3px;
  margin-top: 10px;
}
.jalon__seuil svg { width: 11px; height: 11px; color: var(--ocre); }
.jalon__seuil svg.vide { color: var(--bordure); }

.jalon__corps h3 { margin-bottom: 0.35em; }
.jalon__corps p { color: var(--texte-doux); }

/* Fonctionnalites : six cartouches sur trois colonnes
   --------------------------------------------------- */
.rayon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.fonction__entete {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--ocre);
  border-bottom: 1px solid var(--bordure);
  padding-bottom: 8px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.fonction__entete span:last-child { color: var(--texte-doux); }

.fonction h3 { font-size: 1.22rem; margin-bottom: 0.4em; }
.fonction p { color: var(--texte-doux); font-size: 0.99rem; }

/* Avantages : tableau strict a deux colonnes
   ------------------------------------------ */
.gains { margin-top: 34px; }

.gain {
  display: grid;
  grid-template-columns: 1fr var(--colonne-libelle);
  column-gap: var(--gouttiere);
  border-bottom: 1px solid var(--bordure);
  padding: 20px 0;
  align-items: center;
}
.gains > .gain:first-child { border-top: 1px solid var(--olive); }

.gain__intitule h3 { font-size: 1.2rem; margin-bottom: 0.2em; }
.gain__intitule p { color: var(--texte-doux); font-size: 0.98rem; margin: 0; }

.gain__valeur {
  text-align: right;
  border-left: 1px solid var(--bordure);
  padding-left: var(--gouttiere);
}
.gain__valeur b {
  display: block;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--olive);
  line-height: 1.1;
}
.gain__valeur .unite { color: var(--texte-doux); display: block; }

/* Preuve sociale
   -------------- */
.terrains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.temoin blockquote {
  margin: 0 0 18px;
  font-family: var(--accent-typo);
  font-size: 1.03rem;
  line-height: 1.6;
  color: var(--texte);
}

.temoin__palier {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}
.temoin__palier svg { width: 13px; height: 13px; color: var(--ocre); }
.temoin__palier svg.vide { color: var(--bordure); }

.temoin__fiche {
  border-top: 1px solid var(--bordure);
  font-size: 0.86rem;
}
.temoin__fiche div {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 10px;
  border-bottom: 1px dotted var(--bordure);
  padding: 6px 0;
}
.temoin__fiche dt {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: var(--texte-doux);
  margin: 0;
}
.temoin__fiche dd { margin: 0; font-weight: 500; }

.temoin figcaption {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--texte-doux);
}
.temoin figcaption b { display: block; color: var(--texte); font-weight: 500; }

/* Bandeau de chiffres cles
   ------------------------ */
.bandeau {
  position: relative;
  margin-top: 46px;
  border-top: 1px solid var(--olive);
  border-bottom: 1px solid var(--olive);
  background-color: var(--surface);
  background-image: var(--semis-ocre);
  background-size: 118px 118px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.bandeau__poste {
  padding: 26px 22px;
  border-right: 1px solid var(--bordure);
}
.bandeau__poste:last-child { border-right: 0; }

.bandeau__poste b {
  display: block;
  font-size: 2.9rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--olive);
}
.bandeau__poste .unite { display: block; color: var(--ocre); font-size: 1rem; font-weight: 500; }
.bandeau__poste p { margin: 8px 0 0; font-size: 0.92rem; color: var(--texte-doux); }

/* Tarifs
   ------ */
.formules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
  align-items: start;
}

.formule--phare {
  background-color: var(--surface);
  background-image: var(--semis-ocre);
  background-size: 118px 118px;
}

.formule__nom { font-size: 1.55rem; margin-bottom: 0.2em; }

.formule__cible {
  color: var(--texte-doux);
  font-size: 0.95rem;
  min-height: 5.4em;
}

.formule__prix {
  border-top: 1px solid var(--olive);
  border-bottom: 1px solid var(--bordure);
  padding: 14px 0;
  margin: 16px 0 18px;
}
.formule__prix b {
  font-size: 2.9rem;
  font-weight: 600;
  color: var(--olive);
  line-height: 1;
}
.formule__prix .unite { display: block; color: var(--texte-doux); margin-top: 6px; }

.formule__inclus {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 0.94rem;
}
.formule__inclus li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  border-bottom: 1px dotted var(--bordure);
  padding: 9px 0;
  margin: 0;
  color: var(--texte-doux);
}
.formule__inclus svg { width: 12px; height: 12px; color: var(--olive); margin-top: 6px; }

.formule .bouton { width: 100%; }

.formule__etiquette {
  display: block;
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--texte-doux);
  margin-top: 10px;
  text-align: center;
}

.mention-tarif {
  margin-top: 26px;
  font-size: 0.94rem;
  color: var(--texte-doux);
  border-left: 1px solid var(--olive);
  padding-left: 18px;
  max-width: 78ch;
}

/* Foire aux questions
   ------------------- */
.questions {
  border-top: 1px solid var(--olive);
  margin-top: 34px;
}

.question { border-bottom: 1px solid var(--bordure); }

.question > summary {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: var(--gouttiere);
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--titre);
  font-size: 1.2rem;
  line-height: 1.3;
}
.question > summary::-webkit-details-marker { display: none; }

.question__chevron {
  width: 14px;
  height: 14px;
  color: var(--olive);
  transition: transform var(--duree) var(--detente);
}
.question[open] .question__chevron { transform: rotate(90deg); }

.question__reponse {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  padding-bottom: 22px;
}
.question__reponse .surtitre {
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.question__reponse .surtitre svg { width: 10px; height: 10px; color: var(--ocre); margin-top: 4px; }
.question__reponse p { color: var(--texte-doux); }

/* Contact
   ------- */
.dossier {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: 48px;
  border-top: 1px solid var(--olive);
  margin-top: 34px;
  padding-top: 34px;
}

.dossier__aparte {
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
  color: var(--texte-doux);
  font-size: 0.97rem;
}
.dossier__aparte h3 { color: var(--texte); }

.formulaire { display: grid; gap: 0; }

.champ {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  align-items: start;
  border-bottom: 1px solid var(--bordure);
  padding: 16px 0;
}
.formulaire > .champ:first-of-type { border-top: 1px solid var(--bordure); }

.champ > label {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--olive);
  padding-top: 12px;
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
  align-self: stretch;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  font-family: var(--courant);
  font-size: 1rem;
  color: var(--texte);
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 2px;
  padding: 12px 14px;
  line-height: 1.5;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--olive); }

.champ--consentement {
  grid-template-columns: 1fr;
}
.champ--consentement label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  border-right: 0;
  padding: 0;
  font-family: var(--courant);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.94rem;
  color: var(--texte-doux);
  align-items: start;
}
.champ--consentement input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--olive); }

.formulaire__pied {
  padding-top: 22px;
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  align-items: center;
}
.formulaire__pied p { font-size: 0.9rem; color: var(--texte-doux); margin: 0; }

/* Pied de page
   ------------ */
.pied {
  position: relative;
  background: var(--olive);
  color: var(--olive-texte);
  padding: 62px 0 0;
  background-image:
    radial-gradient(1.4px 1.4px at 14% 22%, rgba(252, 247, 232, 0.5), transparent 60%),
    radial-gradient(1.1px 1.1px at 37% 61%, rgba(252, 247, 232, 0.4), transparent 60%),
    radial-gradient(1.8px 1.8px at 62% 18%, rgba(138, 97, 8, 0.75), transparent 60%),
    radial-gradient(1.2px 1.2px at 81% 47%, rgba(252, 247, 232, 0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 25% 82%, rgba(252, 247, 232, 0.35), transparent 60%),
    radial-gradient(1.1px 1.1px at 92% 76%, rgba(138, 97, 8, 0.7), transparent 60%),
    radial-gradient(1.3px 1.3px at 52% 91%, rgba(252, 247, 232, 0.3), transparent 60%);
}

.pied a { color: var(--olive-texte); text-decoration: none; }
.pied a:hover { color: #E9C97A; text-decoration: underline; }

.pied__colonnes {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 38px;
  padding-bottom: 46px;
}

.pied .surtitre { color: #E9C97A; }

.pied__colonnes ul { list-style: none; margin: 0; padding: 0; }
.pied__colonnes li { margin-bottom: 8px; font-size: 0.95rem; }

.pied__positionnement { font-size: 0.96rem; opacity: 0.92; max-width: 34ch; }

.pied .logotype { color: var(--olive-texte); }
.pied .logotype:hover { color: #E9C97A; }

.reseaux { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 0.9rem; margin-top: 14px; }

.pied__editeur { font-size: 0.88rem; opacity: 0.9; line-height: 1.6; }

.pied__barre {
  border-top: 1px solid rgba(252, 247, 232, 0.24);
  padding: 20px 0 26px;
  font-size: 0.86rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  opacity: 0.94;
}

/* Pages interieures
   ----------------- */
.article {
  padding: 118px 0 70px;
}

.fil {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--texte-doux);
  margin-bottom: 18px;
}
.fil a { text-decoration: none; }

.article__tete {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  border-top: 1px solid var(--olive);
  border-bottom: 1px solid var(--bordure);
  padding: 30px 0;
  margin-bottom: 38px;
}
.article__tete > div:first-child {
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
}
.article__tete h1 { font-size: 2.6rem; margin-bottom: 0.3em; }
.article__tete p { color: var(--texte-doux); }

.texte-long {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
}
.texte-long > h2,
.texte-long > h3 {
  grid-column: 1;
  border-right: 1px solid var(--bordure);
  padding: 26px var(--gouttiere) 26px 0;
  border-top: 1px solid var(--bordure);
  margin: 0;
  font-size: 1.5rem;
}
.texte-long > h3 { font-size: 1.2rem; }
.texte-long > .bloc {
  grid-column: 2;
  border-top: 1px solid var(--bordure);
  padding: 26px 0;
  color: var(--texte-doux);
}
.texte-long > .bloc strong { color: var(--texte); }
.texte-long > .bloc h3 { color: var(--texte); font-size: 1.15rem; margin-top: 1.2em; }

.portrait {
  border: 1px solid var(--bordure);
  background: var(--surface);
  padding: 6px;
  max-width: 240px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
}

.plan-liste { list-style: none; padding: 0; margin: 0; }
.plan-liste li {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  border-bottom: 1px solid var(--bordure);
  padding: 16px 0;
  margin: 0;
}
.plan-liste li:first-child { border-top: 1px solid var(--olive); }
.plan-liste a {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.84rem;
  font-weight: 600;
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
  text-decoration: none;
}
.plan-liste span { color: var(--texte-doux); font-size: 0.97rem; }

.centre-message { text-align: left; max-width: 62ch; }
.centre-message .hero__actions { margin-top: 30px; }

/* Apparition au defilement
   ------------------------ */
.monte {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms linear, transform 480ms var(--detente);
}
.monte.est-visible { opacity: 1; transform: translateY(0); }

/* Panneau de navigation mobile
   ---------------------------- */
.panneau[hidden] { display: none; }

.panneau {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--fond);
  border-bottom: 1px solid var(--olive);
  display: none;
}
.panneau .deplie__interieur > div { padding: 16px 0 24px; }
.panneau ul { list-style: none; margin: 0 0 18px; padding: 0; }
.panneau li { border-bottom: 1px solid var(--bordure); margin: 0; }
.panneau a {
  display: block;
  padding: 13px 0;
  text-decoration: none;
  color: var(--texte);
  font-weight: 500;
}
.panneau a:hover { color: var(--olive); }

/* Adaptations
   ----------- */
@media (max-width: 1040px) {
  :root { --colonne-libelle: 200px; --gouttiere: 24px; }
  h1 { font-size: 2.7rem; }
  .rayon, .terrains, .formules { grid-template-columns: repeat(2, 1fr); }
  .bandeau { grid-template-columns: repeat(2, 1fr); }
  .bandeau__poste:nth-child(2) { border-right: 0; }
  .bandeau__poste:nth-child(1), .bandeau__poste:nth-child(2) { border-bottom: 1px solid var(--bordure); }
  .pied__colonnes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }

  .cap__liste, .cap .bouton--plein { display: none; }
  .declic { display: block; }
  .panneau { display: block; }

  .hero { padding-top: 106px; }

  .releve,
  .hero__releve,
  .hero__cloture,
  .jalon,
  .gain,
  .question__reponse,
  .champ,
  .formulaire__pied,
  .dossier,
  .article__tete,
  .texte-long,
  .plan-liste li,
  .poste .deplie__interieur > div {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .rangee__libelle,
  .hero__libelle,
  .jalon__tete,
  .question__reponse .surtitre,
  .champ > label,
  .dossier__aparte,
  .article__tete > div:first-child,
  .texte-long > h2,
  .texte-long > h3,
  .plan-liste a,
  .poste__libelle,
  .poste .deplie__interieur .poste__chiffre,
  .gain__valeur {
    border-right: 0;
    padding-right: 0;
    border-left: 0;
    padding-left: 0;
    text-align: left;
  }

  .rangee__libelle { border-bottom: 0; padding-bottom: 4px; }
  .rangee__valeur { padding-top: 0; }
  .champ > label { padding-top: 0; padding-bottom: 8px; border-bottom: 0; }
  .jalon__tete { margin-bottom: 12px; }
  .dossier__aparte { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--bordure); }
  .gain__valeur { text-align: left; margin-top: 10px; }
  .article__tete > div:first-child { margin-bottom: 12px; }
  .texte-long > h2, .texte-long > h3 { padding-bottom: 0; border-bottom: 0; }
  .texte-long > .bloc { border-top: 0; padding-top: 12px; }
  .texte-long > h2, .texte-long > h3, .texte-long > .bloc { grid-column: 1; }

  .poste > summary { grid-template-columns: 1fr auto; row-gap: 6px; }
  .poste__libelle { grid-column: 1; grid-row: 1; border-bottom: 0; }
  .poste__titre { grid-column: 1; grid-row: 2; }
  .poste__chevron { grid-column: 2; grid-row: 1 / span 2; }

  .rayon, .terrains, .formules { grid-template-columns: 1fr; }
  .vue--decalee { transform: none; }
  .plaque { padding: 54px 0; }
}

@media (max-width: 560px) {
  :root { --largeur-page: 100%; }
  .bandeau { grid-template-columns: 1fr; }
  .bandeau__poste { border-right: 0; border-bottom: 1px solid var(--bordure); }
  .bandeau__poste:last-child { border-bottom: 0; }
  .pied__colonnes { grid-template-columns: 1fr; }
  .hero__actions .bouton { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .deplie { transition: none; }
  .deplie > .deplie__interieur { transition: none; transform: none; opacity: 1; }
  .poste__chevron, .question__chevron { transition: none; }
  .poste[open] .poste__chevron, .question[open] .question__chevron { transform: none; }
  .monte { opacity: 1; transform: none; transition: none; }
  .bouton .etoile-suffixe { transition: none; }
  .cap__lien::after { transition: none; }
}

@media print {
  .barre, .panneau, .declic, .hero__actions, .pied__colonnes { display: none; }
  body { background: #fff; }
}

/* ==========================================================================
   Magazine La Grille de Classement
   Section ajoutee a la suite de la feuille existante, sans modifier une seule
   regle anterieure. Meme palette, meme cartouche a double filet et coin de
   coupon detache, meme semis d etoiles, meme accordeon a glissement vertical.
   Le corps redactionnel des articles ne porte aucune classe : toutes les
   balises nues sont mises en forme comme descendantes de .billet__corps.
   ========================================================================== */

/* Index du magazine : entete et sommaire
   -------------------------------------- */
.magazine {
  padding: 122px 0 0;
  background-image: var(--semis-lache);
  background-size: 170px 170px;
}

.magazine__tete {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  border-top: 1px solid var(--olive);
  border-bottom: 1px solid var(--bordure);
  padding: 32px 0;
}

.magazine__libelle {
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
}

.magazine__compteur {
  font-family: var(--courant);
  font-weight: 600;
  font-size: 2.9rem;
  line-height: 1;
  color: var(--olive);
  display: block;
  margin-top: 12px;
}
.magazine__compteur + .unite { display: block; color: var(--ocre); }

.magazine__valeur h1 { max-width: 20ch; }

.magazine__chapeau {
  font-size: 1.1rem;
  color: var(--texte-doux);
  max-width: 68ch;
  margin-bottom: 0;
}

/* Grille de cartes d article
   -------------------------- */
.sommaire {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.sommaire > li { margin: 0; }

.fiche-article {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
  padding: 14px 14px 22px;
  transition: border-color 180ms linear;
}

.fiche-article::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  pointer-events: none;
  transition: border-color 180ms linear;
}

.fiche-article:hover { border-color: var(--olive); }
.fiche-article:hover::before { border-color: var(--olive); }

.fiche-article__etoile {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 14px;
  height: 14px;
  color: var(--ocre);
  opacity: 0;
  transition: opacity 180ms linear;
  z-index: 2;
}
.fiche-article:hover .fiche-article__etoile { opacity: 1; }

.fiche-article__vue {
  position: relative;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--bordure);
  padding-bottom: 8px;
}
.fiche-article__vue img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.fiche-article__voile {
  position: absolute;
  inset: 0 0 9px 0;
  pointer-events: none;
  background-image: var(--semis-ocre), linear-gradient(to top, rgba(251, 245, 230, 0.3), rgba(251, 245, 230, 0) 46%);
  background-size: 118px 118px, auto;
  opacity: 0.9;
}

.fiche-article__angle {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ocre);
  border-bottom: 1px solid var(--bordure);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.fiche-article__angle span:last-child { color: var(--texte-doux); }

.fiche-article__titre {
  font-family: var(--titre);
  font-size: 1.28rem;
  line-height: 1.22;
  margin: 0 0 10px;
}
.fiche-article__titre a { color: var(--texte); text-decoration: none; }
.fiche-article__titre a:hover { color: var(--olive); }
/* La carte entiere devient cliquable sans imbriquer un lien dans un lien. */
.fiche-article__titre a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.fiche-article__extrait {
  color: var(--texte-doux);
  font-size: 0.97rem;
  margin-bottom: 16px;
  flex: 1 1 auto;
}

.fiche-article__pied {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: baseline;
  border-top: 1px solid var(--bordure);
  padding-top: 10px;
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: var(--texte-doux);
}
.fiche-article__pied .lecture { color: var(--olive); }

/* Entete d un article
   ------------------- */
.billet { padding: 118px 0 70px; }

.billet__fil {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--texte-doux);
  margin-bottom: 18px;
}
.billet__fil a { text-decoration: none; }
.billet__fil a:hover { color: var(--ocre); }

.billet__tete {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  border-top: 1px solid var(--olive);
  border-bottom: 1px solid var(--bordure);
  padding: 30px 0;
}

.billet__reperes {
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
}

.billet__reperes dl { margin: 0; }
.billet__reperes div {
  border-bottom: 1px dotted var(--bordure);
  padding: 7px 0;
}
.billet__reperes div:last-child { border-bottom: 0; }
.billet__reperes dt {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 0.74rem;
  color: var(--texte-doux);
  margin: 0;
}
.billet__reperes dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--texte);
}

.billet__titre { font-size: 2.6rem; margin-bottom: 0.35em; }

/* Exergue de chapeau
   ------------------ */
.billet__chapeau {
  position: relative;
  font-family: var(--accent-typo);
  font-size: 1.14rem;
  line-height: 1.62;
  color: var(--texte);
  background: var(--surface);
  border: 1px solid var(--olive);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
  padding: 20px 22px 24px;
  margin: 0;
}
.billet__chapeau::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  pointer-events: none;
}

.billet__vue { margin: 34px 0 0; }

/* Corps de l article : balises nues, aucune classe
   ------------------------------------------------ */
.billet__corps {
  max-width: 68ch;
  margin: 42px 0 0;
  color: var(--texte);
}

.billet__corps > h2 {
  font-family: var(--titre);
  font-size: 1.72rem;
  line-height: 1.2;
  border-top: 1px solid var(--olive);
  padding-top: 26px;
  margin: 44px 0 0.5em;
  position: relative;
}
.billet__corps > h2::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--ocre);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.billet__corps > h2:first-child { margin-top: 0; }

.billet__corps h3 {
  font-family: var(--titre);
  font-size: 1.28rem;
  line-height: 1.25;
  border-left: 2px solid var(--bordure);
  padding-left: 14px;
  margin: 32px 0 0.5em;
}

.billet__corps p { margin: 0 0 1.15em; }
.billet__corps p:last-child { margin-bottom: 0; }

.billet__corps strong { font-weight: 500; color: var(--texte); }
.billet__corps em { font-style: italic; color: var(--texte-doux); }

.billet__corps a {
  color: var(--olive);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.billet__corps a:hover { color: var(--ocre); }

.billet__corps ul,
.billet__corps ol {
  margin: 0 0 1.3em;
  padding-left: 0;
  list-style: none;
  border-top: 1px solid var(--bordure);
}
.billet__corps li {
  position: relative;
  border-bottom: 1px solid var(--bordure);
  padding: 10px 0 10px 28px;
  margin: 0;
  color: var(--texte-doux);
}
.billet__corps li strong { color: var(--texte); }

.billet__corps ul > li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--ocre);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.billet__corps ol { counter-reset: rangee; }
.billet__corps ol > li { counter-increment: rangee; }
.billet__corps ol > li::before {
  content: counter(rangee, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--accent-typo);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--ocre);
}

.billet__corps li ul,
.billet__corps li ol { margin: 8px 0 0; border-top: 0; }
.billet__corps li li { border-bottom: 0; padding-top: 4px; padding-bottom: 4px; }

/* Tableau recapitulatif, forme de fiche technique
   ----------------------------------------------- */
.billet__corps table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--bordure);
  margin: 0 0 1.5em;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.billet__corps thead th {
  background: var(--olive);
  color: var(--olive-texte);
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.76rem;
  text-align: left;
  padding: 11px 14px;
  border-right: 1px solid rgba(252, 247, 232, 0.24);
}
.billet__corps thead th:last-child { border-right: 0; }
.billet__corps tbody th {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 0.76rem;
  color: var(--olive);
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-right: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
}
.billet__corps td {
  padding: 11px 14px;
  vertical-align: top;
  color: var(--texte-doux);
  border-right: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
}
.billet__corps td:last-child { border-right: 0; }
.billet__corps tbody tr:last-child td,
.billet__corps tbody tr:last-child th { border-bottom: 0; }
.billet__corps td strong { color: var(--texte); }

/* Encadre et citation
   ------------------- */
.billet__corps aside {
  position: relative;
  background: var(--surface);
  background-image: var(--semis-ocre);
  background-size: 118px 118px;
  border: 1px solid var(--olive);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
  padding: 22px 24px 26px;
  margin: 0 0 1.5em;
  color: var(--texte-doux);
  font-size: 0.99rem;
}
.billet__corps aside::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  pointer-events: none;
}
.billet__corps aside strong { color: var(--texte); }
.billet__corps aside ul,
.billet__corps aside ol { margin-bottom: 0; }

.billet__corps blockquote {
  margin: 0 0 1.5em;
  padding: 6px 0 6px 22px;
  border-left: 2px solid var(--olive);
  font-family: var(--accent-typo);
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--texte);
}

.billet__corps figure {
  margin: 0 0 1.5em;
  border: 1px solid var(--bordure);
  background: var(--surface);
  padding: 6px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
}
.billet__corps figcaption {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--texte-doux);
  border-top: 1px solid var(--bordure);
  margin-top: 8px;
  padding: 8px 4px 2px;
}

/* Appel a l action de fin d article
   --------------------------------- */
.billet__relance {
  max-width: 68ch;
  margin: 42px 0 0;
  border-top: 1px solid var(--olive);
  padding-top: 26px;
}
.billet__relance p { color: var(--texte-doux); }
.billet__relance .hero__actions { margin-top: 22px; }

/* Encart auteur
   ------------- */
.signature {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
  padding: 24px 26px 28px;
  margin: 46px 0 0;
  max-width: 68ch;
}
.signature::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  pointer-events: none;
}
.signature img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.signature__nom {
  font-family: var(--titre);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 6px;
}
.signature p { color: var(--texte-doux); font-size: 0.97rem; }
.signature a { font-weight: 500; }

/* Bloc A lire aussi
   ----------------- */
.lire-aussi {
  margin: 56px 0 0;
  border-top: 1px solid var(--olive);
  padding-top: 26px;
}
.lire-aussi__intitule {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--ocre);
  display: block;
  margin-bottom: 18px;
}
.lire-aussi__grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.renvoi {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
  padding: 12px 14px 20px;
  transition: border-color 180ms linear;
}
.renvoi::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--bordure);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  pointer-events: none;
  transition: border-color 180ms linear;
}
.renvoi:hover { border-color: var(--olive); }
.renvoi:hover::before { border-color: var(--olive); }

.renvoi img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  margin-bottom: 12px;
}
.renvoi__titre {
  font-family: var(--titre);
  font-size: 1.1rem;
  line-height: 1.25;
  margin: 0 0 8px;
  border-top: 1px solid var(--bordure);
  padding-top: 10px;
}
.renvoi__titre a { color: var(--texte); text-decoration: none; }
.renvoi__titre a:hover { color: var(--olive); }
.renvoi__titre a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.renvoi__accroche {
  color: var(--texte-doux);
  font-size: 0.92rem;
  margin: 0;
}

/* Section Derniers articles sur la page d accueil
   ----------------------------------------------- */
.derniers { margin-top: 34px; }

.derniers__grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.derniers__grille > li { margin: 0; }

.derniers__suite {
  margin-top: 30px;
  border-top: 1px solid var(--olive);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}
.derniers__suite p {
  margin: 0;
  color: var(--texte-doux);
  font-size: 0.97rem;
  max-width: 62ch;
}

/* Liste des articles sur la page auteur
   ------------------------------------- */
.parutions { list-style: none; padding: 0; margin: 0; }
.parutions li {
  display: grid;
  grid-template-columns: var(--colonne-libelle) 1fr;
  column-gap: var(--gouttiere);
  border-bottom: 1px solid var(--bordure);
  padding: 16px 0;
  margin: 0;
  align-items: baseline;
}
.parutions li:first-child { border-top: 1px solid var(--olive); }
.parutions__date {
  font-family: var(--accent-typo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--ocre);
  border-right: 1px solid var(--bordure);
  padding-right: var(--gouttiere);
}
.parutions__date span { display: block; color: var(--texte-doux); }
.parutions a { font-weight: 500; text-decoration: none; }
.parutions a:hover { text-decoration: underline; }
.parutions p { margin: 4px 0 0; color: var(--texte-doux); font-size: 0.94rem; }

/* Adaptations du magazine
   ----------------------- */
@media (max-width: 1040px) {
  .sommaire,
  .derniers__grille,
  .lire-aussi__grille { grid-template-columns: repeat(2, 1fr); }
  .billet__titre { font-size: 2.1rem; }
}

@media (max-width: 900px) {
  .magazine { padding-top: 100px; }
  .billet { padding-top: 100px; }

  .magazine__tete,
  .billet__tete,
  .parutions li {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .magazine__libelle,
  .billet__reperes,
  .parutions__date {
    border-right: 0;
    padding-right: 0;
    text-align: left;
  }
  .magazine__libelle { border-bottom: 1px solid var(--bordure); padding-bottom: 16px; margin-bottom: 18px; }
  .billet__reperes { border-bottom: 1px solid var(--bordure); padding-bottom: 14px; margin-bottom: 18px; }
  .parutions__date { padding-bottom: 6px; }

  .sommaire,
  .derniers__grille,
  .lire-aussi__grille { grid-template-columns: 1fr; }

  .billet__titre { font-size: 1.9rem; }
  .billet__corps { max-width: none; }
  .billet__corps > h2 { font-size: 1.5rem; }
  .signature { grid-template-columns: 1fr; max-width: none; }
  .billet__relance { max-width: none; }
  .derniers__suite .bouton { width: 100%; }
}

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

@media print {
  .lire-aussi, .billet__relance { display: none; }
}
