/* ==========================================================================
   Bercalis, feuille de style unique
   Planche contact de releves mensuels, papier creme, seuils framboise.
   Vocabulaire de classes : planche, vignette, jauge, palier, releve, filet.
   ========================================================================== */

:root {
  --papier: #FBF5F0;
  --papier-rose: #F6E9E4;
  --tirage: #FFFFFF;
  --encre: #241520;
  --encre-douce: #5B4450;
  --seuil: #8C2486;
  --seuil-clair: #A93AA2;
  --seuil-texte: #FFF4FA;
  --petrole: #2F5560;
  --filet: #E3D2CB;

  --gouttiere: 20px;
  --module: 1fr;
  --mesure: 68ch;

  --titre: "Montserrat", "Trebuchet MS", sans-serif;
  --courant: "Lora", Georgia, serif;
  --releve: "Sarabun", "Segoe UI", sans-serif;

  --sortie: cubic-bezier(0.16, 0.84, 0.32, 1);
  --balayage: 640ms;
}

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

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

body {
  margin: 0;
  background-color: var(--papier);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(140, 36, 134, 0.035) 0, transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(47, 85, 96, 0.04) 0, transparent 38%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
  color: var(--encre);
  font-family: var(--courant);
  font-size: 1.06rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

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

p { margin: 0 0 1.05em; max-width: var(--mesure); }
ul, ol { max-width: var(--mesure); }

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

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

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

strong { font-weight: 600; }

.mono-releve,
.chiffre {
  font-family: var(--releve);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* --------------------------------------------------------------------------
   Utilitaires de planche
   -------------------------------------------------------------------------- */

.cadre {
  width: min(1200px, 100% - 2.6rem);
  margin-inline: auto;
}

.surtitre {
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrole);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.9rem;
}

.surtitre::before {
  content: "";
  width: 34px;
  height: 6px;
  background: linear-gradient(to right, var(--seuil) 62%, var(--filet) 62%);
  flex: none;
}

.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--seuil);
  color: var(--seuil-texte);
  padding: 0.8rem 1.3rem;
  font-family: var(--releve);
  font-weight: 600;
  z-index: 90;
}
.evitement:focus { left: 0.6rem; top: 0.6rem; }

/* Bord de papier dechire, motif signature */
.bande {
  position: relative;
  padding: 5.4rem 0 5rem;
}

.bande--rose { background: var(--papier-rose); }
.bande--encre { background: var(--encre); color: var(--papier); }

.bande--dechire-1 {
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 9px), 89% 100%, 78% calc(100% - 12px),
    67% calc(100% - 3px), 55% calc(100% - 14px), 44% calc(100% - 6px),
    32% 100%, 21% calc(100% - 11px), 11% calc(100% - 4px), 0 calc(100% - 13px)
  );
}

.bande--dechire-2 {
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 6px), 92% calc(100% - 13px), 81% calc(100% - 2px),
    70% calc(100% - 10px), 58% calc(100% - 14px), 47% calc(100% - 5px),
    36% calc(100% - 12px), 24% 100%, 13% calc(100% - 8px), 0 calc(100% - 3px)
  );
}

.bande--dechire-3 {
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 12px), 90% calc(100% - 4px), 80% calc(100% - 13px),
    69% 100%, 57% calc(100% - 7px), 46% calc(100% - 14px), 34% calc(100% - 3px),
    23% calc(100% - 11px), 12% calc(100% - 6px), 0 100%
  );
}

.filet-planche {
  height: 1px;
  background: repeating-linear-gradient(to right, var(--filet) 0 14px, transparent 14px 22px);
  border: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   En tete
   -------------------------------------------------------------------------- */

.bandeau-tete {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(251, 245, 240, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--filet);
  transition: height 220ms var(--sortie), box-shadow 220ms var(--sortie);
}

.bandeau-tete.est-compacte {
  height: 60px;
  box-shadow: 0 6px 18px rgba(36, 21, 32, 0.07);
  border-bottom-color: transparent;
}

.bandeau-tete.est-compacte::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: var(--filet);
  clip-path: polygon(0 0, 100% 0, 100% 1px, 88% 4px, 74% 0, 61% 3px, 48% 4px, 35% 1px, 22% 4px, 9% 0, 0 3px);
}

.bandeau-tete .cadre {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: min(1240px, 100% - 2rem);
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  color: var(--encre);
  text-decoration: none;
  margin-right: auto;
}

.marque:hover { color: var(--seuil); }
.marque svg { flex: none; }

.nav-ancres { display: flex; align-items: center; gap: 1.55rem; }

.nav-ancres a {
  position: relative;
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.79rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--encre-douce);
  text-decoration: none;
  padding-bottom: 6px;
}

.nav-ancres a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 0;
  background: var(--seuil);
  transition: width 260ms var(--sortie);
}

.nav-ancres a:hover, .nav-ancres a.est-active { color: var(--encre); }
.nav-ancres a:hover::after, .nav-ancres a.est-active::after { width: 100%; }

.declic-menu {
  display: none;
  background: transparent;
  border: 1.5px solid var(--seuil);
  color: var(--seuil);
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
}

.panneau-mobile {
  position: fixed;
  inset: 0;
  background: var(--papier);
  z-index: 80;
  display: none;
  flex-direction: column;
  padding: 1.4rem;
}

.panneau-mobile[data-ouvert="oui"] { display: flex; }

.panneau-mobile__tete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--filet);
  padding-bottom: 1rem;
}

.panneau-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1.6rem;
}

.panneau-mobile nav a {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.42rem;
  color: var(--encre);
  text-decoration: none;
  padding: 0.72rem 0;
  border-bottom: 1px dashed var(--filet);
}

.panneau-mobile nav a:hover { color: var(--seuil); }
.panneau-mobile .bouton-plein { margin-top: 1.6rem; align-self: flex-start; }

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

.bouton-plein,
.bouton-filet {
  display: inline-block;
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 200ms var(--sortie), color 200ms var(--sortie);
}

.bouton-plein {
  background: var(--seuil);
  color: var(--seuil-texte);
  border: 1.5px solid var(--seuil);
  clip-path: polygon(0 0, calc(100% - 3px) 2px, 100% 26%, calc(100% - 4px) 48%, 100% 71%, calc(100% - 2px) 100%, 0 100%);
}

.bouton-plein::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 244, 250, 0.32) 46%, transparent 92%);
  transform: translateX(-110%);
  transition: transform 240ms var(--sortie);
}

.bouton-plein:hover { background: #7A1F75; color: var(--seuil-texte); }
.bouton-plein:hover::before { transform: translateX(110%); }

.bouton-filet {
  background: transparent;
  border: 1.5px solid var(--seuil);
  color: var(--seuil);
}

.bouton-filet:hover { background: var(--seuil-texte); color: var(--seuil); border-width: 1.5px; }

.bouton-plein[aria-disabled="true"] {
  background: var(--filet);
  border-color: var(--filet);
  color: var(--encre-douce);
  cursor: not-allowed;
}

.bouton-plein--large { padding: 16px 34px; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Hero, promesse sur sept colonnes, planche de six vignettes sur cinq
   -------------------------------------------------------------------------- */

.entree {
  padding: 3.6rem 0 4.6rem;
  position: relative;
  overflow: hidden;
}

.entree::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(227, 210, 203, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(227, 210, 203, 0.42) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.55;
  pointer-events: none;
}

.entree > .cadre { position: relative; }

.entree__planche {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gouttiere);
  align-items: start;
}

.entree__promesse { grid-column: span 7; }
.entree__releve {
  grid-column: span 5;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gouttiere);
}

.entree h1 { margin-bottom: 1rem; }

.entree__soutien {
  font-size: 1.14rem;
  color: var(--encre-douce);
  max-width: 34rem;
}

.entree__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.9rem 0 1.5rem;
}

.reassurance {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  border-left: 4px solid var(--seuil);
  background: var(--tirage);
  padding: 0.95rem 1.1rem;
  max-width: 34rem;
  box-shadow: 0 2px 0 rgba(36, 21, 32, 0.05);
}

.reassurance .chiffre {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--seuil);
  line-height: 1;
  flex: none;
}

.reassurance p {
  margin: 0;
  font-family: var(--releve);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--encre-douce);
}

/* --------------------------------------------------------------------------
   Vignettes de planche contact
   -------------------------------------------------------------------------- */

.vignette {
  background: var(--tirage);
  border: 1px solid var(--filet);
  padding: 1.15rem;
  position: relative;
}

.vignette--donnee {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vignette__etiquette {
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--petrole);
}

.vignette__valeur {
  font-family: var(--releve);
  font-weight: 700;
  font-size: 1.86rem;
  line-height: 1;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
}

.vignette__valeur small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--encre-douce);
  display: block;
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

.vignette--photo {
  padding: 10px;
  background: var(--tirage);
  border: 1px solid var(--filet);
  position: relative;
  overflow: hidden;
}

.vignette--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 88% 100%, 76% calc(100% - 8px), 63% calc(100% - 2px), 51% calc(100% - 9px), 39% calc(100% - 3px), 26% 100%, 14% calc(100% - 7px), 0 calc(100% - 2px));
}

.vignette--photo::after {
  content: "";
  position: absolute;
  inset: 10px;
  background: rgba(251, 245, 240, 0.08);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.vignette--photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 20px;
  background: var(--seuil);
  color: var(--seuil-texte);
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.63rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  z-index: 2;
}

.vignette--photo.est-carree { aspect-ratio: 1 / 1; }
.vignette--photo.est-carree img { aspect-ratio: 1 / 1; }

/* Jauge horizontale, motif secondaire */
.jauge {
  height: 6px;
  background: var(--filet);
  position: relative;
  overflow: hidden;
}

.jauge__remplissage {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--seuil);
  transition: width 900ms var(--sortie);
}

.est-revelee .jauge__remplissage { width: var(--taux, 60%); }

/* Cadran a aiguille */
.cadran {
  width: 100%;
  aspect-ratio: 2 / 1;
  position: relative;
  overflow: hidden;
}

.cadran svg { width: 100%; height: 100%; display: block; }

.cadran .aiguille {
  transform-box: view-box;
  transform-origin: 60px 58px;
  transform: rotate(-52deg);
}

.est-revelee .cadran .aiguille {
  animation: balayage var(--balayage) var(--sortie) forwards;
}

@keyframes balayage {
  0% { transform: rotate(-52deg); }
  78% { transform: rotate(calc(var(--angle, 24deg) + 3deg)); }
  100% { transform: rotate(var(--angle, 24deg)); }
}

/* Paliers en escalier, motif secondaire */
.escalier {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 42px;
}

.escalier span {
  flex: 1;
  background: var(--filet);
  border-top: 1px solid var(--filet);
}

.escalier span:nth-child(1) { height: 34%; }
.escalier span:nth-child(2) { height: 58%; }
.escalier span:nth-child(3) { height: 82%; }
.escalier span.est-atteint { background: var(--seuil); }

/* Revelation au defilement */
.a-reveler {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms var(--sortie), transform 520ms var(--sortie);
}

.a-reveler.est-revelee { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Probleme, quatre vignettes carrees
   -------------------------------------------------------------------------- */

.tete-section {
  max-width: 46rem;
  margin-bottom: 2.6rem;
}

.tete-section p { color: var(--encre-douce); }

.planche-quatre {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gouttiere);
}

.douleur {
  background: var(--tirage);
  border: 1px solid var(--filet);
  padding: 1.4rem 1.25rem 1.5rem;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
}

.douleur__cote {
  font-family: var(--releve);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--seuil);
  font-variant-numeric: tabular-nums;
}

.douleur__cote span { font-size: 1rem; font-weight: 600; color: var(--encre-douce); }

.douleur h3 { margin: 0.8rem 0 0.5rem; font-size: 1.08rem; }

.douleur p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--encre-douce);
}

.douleur .jauge { margin-top: auto; }

.constat-large {
  margin-top: var(--gouttiere);
  background: var(--encre);
  color: var(--papier);
  padding: 2rem 2.2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.constat-large p { margin: 0; max-width: none; }
.constat-large p:first-child { font-size: 1.16rem; }

.constat-large .mono-releve {
  color: #F0C7EA;
  font-size: 0.92rem;
  border-left: 3px solid var(--seuil);
  padding-left: 1rem;
}

/* --------------------------------------------------------------------------
   Solution, quatre etapes reliees par un filet sable
   -------------------------------------------------------------------------- */

.chemin {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gouttiere);
  position: relative;
}

.chemin::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--filet) 0 10px, transparent 10px 18px);
}

.etape {
  position: relative;
  background: var(--papier);
  border: 1px solid var(--filet);
  padding: 1.35rem 1.25rem 1.6rem;
}

.bande--rose .etape { background: var(--tirage); }

.etape__numero {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--seuil);
  color: var(--seuil-texte);
  font-family: var(--releve);
  font-weight: 700;
  font-size: 1.28rem;
  margin-bottom: 1rem;
  clip-path: polygon(0 0, calc(100% - 3px) 2px, 100% 30%, calc(100% - 4px) 55%, 100% 78%, calc(100% - 2px) 100%, 0 100%);
}

.etape h3 { font-size: 1.1rem; }
.etape p { font-size: 0.95rem; color: var(--encre-douce); margin-bottom: 0; }

.etape__echeance {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrole);
  border-top: 2px solid var(--filet);
  padding-top: 0.45rem;
}

/* --------------------------------------------------------------------------
   Fonctionnalites, planche principale
   -------------------------------------------------------------------------- */

.planche-trois {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
}

.fonction {
  background: var(--tirage);
  border: 1px solid var(--filet);
  padding: 1.5rem 1.6rem 1.7rem;
  position: relative;
}

.fonction:nth-child(odd) {
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 12%, calc(100% - 6px) 28%, 100% 44%, calc(100% - 3px) 61%, 100% 77%, calc(100% - 5px) 90%, calc(100% - 1px) 100%, 0 100%);
}
.fonction:nth-child(even) {
  clip-path: polygon(0 0, calc(100% - 2px) 0, 100% 16%, calc(100% - 5px) 33%, calc(100% - 1px) 49%, calc(100% - 6px) 66%, 100% 82%, calc(100% - 3px) 100%, 0 100%);
}
.fonction:nth-child(3n) {
  clip-path: polygon(0 0, calc(100% - 5px) 0, calc(100% - 1px) 14%, calc(100% - 6px) 30%, 100% 47%, calc(100% - 2px) 63%, calc(100% - 6px) 80%, 100% 100%, 0 100%);
}

.fonction__marque {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.fonction__marque svg { flex: none; }

.fonction__index {
  font-family: var(--releve);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--petrole);
}

.fonction h3 { font-size: 1.14rem; margin-bottom: 0.55rem; }
.fonction p { font-size: 0.95rem; color: var(--encre-douce); margin-bottom: 0; }
.fonction p + p { margin-top: 0.6rem; }

/* Debordement de planche : une vignette photo intercalee */
.planche-trois .vignette--photo { grid-row: span 1; padding: 10px; }

/* --------------------------------------------------------------------------
   Avantages, bandeau de quatre vignettes basses
   -------------------------------------------------------------------------- */

.gains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gouttiere);
}

.gain {
  background: var(--tirage);
  border: 1px solid var(--filet);
  border-top: 4px solid var(--seuil);
  padding: 1.3rem 1.25rem 1.45rem;
}

.gain .chiffre {
  display: block;
  font-size: 2.05rem;
  font-weight: 700;
  color: var(--petrole);
  line-height: 1.05;
}

.gain h3 { font-size: 1.02rem; margin: 0.55rem 0 0.45rem; }
.gain p { font-size: 0.92rem; color: var(--encre-douce); margin: 0; }

/* --------------------------------------------------------------------------
   Preuve sociale
   -------------------------------------------------------------------------- */

.temoins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
}

.temoin {
  background: var(--tirage);
  border: 1px solid var(--filet);
  padding: 1.6rem 1.5rem 1.4rem;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.temoin blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--courant);
  font-weight: 500;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.62;
}

.temoin blockquote p:last-child { margin-bottom: 0; }

.temoin figcaption {
  margin-top: auto;
  border-top: 1px solid var(--filet);
  padding-top: 0.85rem;
  font-family: var(--releve);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--encre-douce);
}

.temoin figcaption b {
  display: block;
  color: var(--encre);
  font-weight: 600;
  font-size: 0.92rem;
}

.temoin__gain {
  display: inline-block;
  margin-bottom: 1rem;
  background: var(--papier-rose);
  color: var(--seuil);
  font-family: var(--releve);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  align-self: flex-start;
}

.releve-chiffres {
  margin-top: var(--gouttiere);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--filet);
  border: 1px solid var(--filet);
}

.releve-chiffres div {
  background: var(--papier);
  padding: 1.5rem 1.2rem;
  text-align: left;
}

.releve-chiffres .chiffre {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--seuil);
}

.releve-chiffres p {
  margin: 0.5rem 0 0;
  font-family: var(--releve);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--encre-douce);
}

/* --------------------------------------------------------------------------
   Tarifs
   -------------------------------------------------------------------------- */

.paliers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  align-items: stretch;
}

.carte-palier {
  background: var(--tirage);
  border: 1px solid var(--filet);
  padding: 1.8rem 1.6rem 1.9rem;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 9%, calc(100% - 6px) 22%, 100% 36%, calc(100% - 3px) 50%, 100% 64%, calc(100% - 5px) 78%, calc(100% - 1px) 91%, 100% 100%, 0 100%);
}

.carte-palier--phare {
  margin-top: -24px;
  border: 2px solid var(--seuil);
  box-shadow: 0 14px 32px rgba(36, 21, 32, 0.1);
}

.carte-palier__mention {
  font-family: var(--releve);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seuil-texte);
  background: var(--seuil);
  padding: 0.3rem 0.6rem;
  align-self: flex-start;
  margin-bottom: 0.9rem;
}

.carte-palier h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }

.carte-palier__cible {
  font-size: 0.92rem;
  color: var(--encre-douce);
  min-height: 4.6rem;
}

.carte-palier__prix {
  font-family: var(--releve);
  font-weight: 700;
  font-size: 2.9rem;
  line-height: 1;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
  border-top: 1px solid var(--filet);
  padding-top: 1.1rem;
}

.carte-palier__prix span { font-size: 1.5rem; }

.carte-palier__unite {
  font-family: var(--releve);
  font-size: 0.8rem;
  color: var(--encre-douce);
  margin: 0.4rem 0 1.2rem;
  line-height: 1.5;
}

.carte-palier ul {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.carte-palier li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--encre-douce);
}

.carte-palier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 5px;
  background: linear-gradient(to right, var(--seuil) 66%, var(--filet) 66%);
}

.carte-palier .bouton-plein,
.carte-palier .bouton-filet { margin-top: auto; text-align: center; }

.note-tarifs {
  margin-top: 1.8rem;
  font-family: var(--releve);
  font-size: 0.88rem;
  color: var(--encre-douce);
  border-left: 3px solid var(--petrole);
  padding-left: 1rem;
  max-width: 58rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-planche {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gouttiere);
  align-items: start;
}

.question {
  background: var(--tirage);
  border: 1px solid var(--filet);
}

.question summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.3rem;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  position: relative;
}

.question summary::-webkit-details-marker { display: none; }

.question summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 1.5rem;
  width: 14px;
  height: 2px;
  background: var(--seuil);
  box-shadow: 0 0 0 0 transparent;
}

.question summary::before {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 1.5rem;
  width: 14px;
  height: 2px;
  background: var(--seuil);
  transform: rotate(90deg);
  transition: transform 220ms var(--sortie);
}

.question[open] summary::before { transform: rotate(0deg); }

.question summary:hover { color: var(--seuil); }

.question__corps {
  padding: 0 1.3rem 1.35rem;
  border-top: 1px dashed var(--filet);
  margin-top: 0;
  padding-top: 1rem;
}

.question__corps p { font-size: 0.96rem; color: var(--encre-douce); margin-bottom: 0.8rem; }
.question__corps p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.planche-contact {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--gouttiere);
  align-items: start;
}

.formulaire {
  background: var(--tirage);
  border: 1px solid var(--filet);
  padding: 1.9rem 1.8rem 2rem;
}

.formulaire label {
  display: block;
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-douce);
  margin: 1.05rem 0 0.35rem;
}

.formulaire input[type="text"],
.formulaire input[type="email"],
.formulaire select,
.formulaire textarea {
  width: 100%;
  font-family: var(--courant);
  font-size: 1rem;
  color: var(--encre);
  background: var(--papier);
  border: 1px solid var(--filet);
  border-radius: 0;
  padding: 0.72rem 0.85rem;
}

.formulaire textarea { resize: vertical; }

.formulaire input:focus,
.formulaire select:focus,
.formulaire textarea:focus {
  border-color: var(--seuil);
  outline: 3px solid rgba(47, 85, 96, 0.35);
  outline-offset: 1px;
}

.formulaire .consentement {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 1.5rem 0 1.4rem;
  font-family: var(--courant);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--encre-douce);
  line-height: 1.55;
}

.formulaire .consentement input { margin-top: 0.35rem; flex: none; width: 18px; height: 18px; accent-color: var(--seuil); }

.formulaire button { width: 100%; }

.formulaire .aide {
  font-family: var(--releve);
  font-size: 0.84rem;
  color: var(--encre-douce);
  margin: 1.1rem 0 0;
}

.rappel-delais {
  background: var(--encre);
  color: var(--papier);
  padding: 1.8rem 1.6rem;
}

.rappel-delais h3 { color: var(--papier); }
.rappel-delais p { color: #E4D2DE; font-size: 0.95rem; }

.rappel-delais ol {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.rappel-delais li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  font-family: var(--releve);
  font-size: 0.9rem;
  line-height: 1.55;
  color: #E4D2DE;
}

.rappel-delais li b {
  color: var(--seuil-texte);
  background: var(--seuil);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.82rem;
}

.rappel-delais .courriel {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 244, 250, 0.24);
  padding-top: 1.1rem;
  font-family: var(--releve);
  font-size: 0.88rem;
}

.rappel-delais a { color: #F0C7EA; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.pied {
  background: var(--encre);
  color: var(--papier);
  padding: 3.6rem 0 1.8rem;
  margin-top: 0;
}

.pied__planche {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2rem var(--gouttiere);
}

.pied h2, .pied h3 {
  font-size: 0.8rem;
  font-family: var(--releve);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C79BC0;
  margin-bottom: 1rem;
}

.pied p { color: #DCC9D6; font-size: 0.92rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.pied a { color: var(--papier); text-decoration: none; font-size: 0.92rem; }
.pied a:hover { color: #F0C7EA; text-decoration: underline; }

.pied .marque { color: var(--papier); margin-bottom: 0.9rem; }
.pied .marque:hover { color: #F0C7EA; }

.pied__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 1rem;
  font-family: var(--releve);
  font-size: 0.86rem;
}

.pied__barre {
  margin-top: 2.6rem;
  border-top: 1px solid rgba(255, 244, 250, 0.2);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-family: var(--releve);
  font-size: 0.82rem;
  color: #C79BC0;
}

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

.page-texte { padding: 3rem 0 4.4rem; }

.page-texte .cadre { width: min(880px, 100% - 2.6rem); }

.page-texte h1 { font-size: 2.5rem; margin-bottom: 0.7rem; }
.page-texte h2 { font-size: 1.55rem; margin-top: 2.4rem; }
.page-texte h3 { font-size: 1.16rem; margin-top: 1.7rem; }
.page-texte p, .page-texte li { max-width: 68ch; }
.page-texte ul, .page-texte ol { padding-left: 1.2rem; }
.page-texte li { margin-bottom: 0.5rem; }

.chapeau {
  font-size: 1.16rem;
  color: var(--encre-douce);
  border-left: 4px solid var(--seuil);
  padding-left: 1.1rem;
  margin-bottom: 2.2rem;
}

.fil {
  font-family: var(--releve);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--encre-douce);
  margin-bottom: 1.5rem;
}

.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }

.encadre {
  background: var(--tirage);
  border: 1px solid var(--filet);
  border-left: 4px solid var(--petrole);
  padding: 1.3rem 1.4rem;
  margin: 1.8rem 0;
}

.encadre p:last-child { margin-bottom: 0; }

.fiche-auteur {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.4rem;
}

.fiche-auteur img {
  width: 100%;
  border: 1px solid var(--filet);
  padding: 10px;
  background: var(--tirage);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 87% 100%, 74% calc(100% - 8px), 61% calc(100% - 2px), 48% calc(100% - 9px), 35% calc(100% - 3px), 22% 100%, 10% calc(100% - 7px), 0 calc(100% - 2px));
}

.profils {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.profils a {
  display: inline-block;
  font-family: var(--releve);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1px solid var(--seuil);
  color: var(--seuil);
  padding: 0.45rem 0.8rem;
}

.profils a:hover { background: var(--seuil); color: var(--seuil-texte); }

.table-plan {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 2rem;
  font-size: 0.95rem;
}

.table-plan th, .table-plan td {
  text-align: left;
  border-bottom: 1px solid var(--filet);
  padding: 0.75rem 0.8rem;
  vertical-align: top;
}

.table-plan th {
  font-family: var(--releve);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrole);
}

.centre-page {
  min-height: 56vh;
  display: grid;
  place-items: center;
  text-align: left;
  padding: 4rem 0;
}

.centre-page .cadre { width: min(680px, 100% - 2.6rem); }

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

@media (max-width: 1080px) {
  .entree__promesse { grid-column: span 12; }
  .entree__releve { grid-column: span 12; grid-template-columns: repeat(3, 1fr); }
  .planche-trois { grid-template-columns: repeat(2, 1fr); }
  .planche-quatre, .gains, .chemin { grid-template-columns: repeat(2, 1fr); }
  .chemin::before { display: none; }
  .releve-chiffres { grid-template-columns: repeat(2, 1fr); }
  .temoins { grid-template-columns: 1fr; }
  .paliers { grid-template-columns: 1fr; }
  .carte-palier--phare { margin-top: 0; }
  .pied__planche { grid-template-columns: repeat(2, 1fr); }
  .fiche-auteur { grid-template-columns: 1fr; }
  .fiche-auteur img { max-width: 300px; }
}

@media (max-width: 900px) {
  .nav-ancres, .bandeau-tete .bouton-plein { display: none; }
  .declic-menu { display: inline-block; }
  .planche-contact { grid-template-columns: 1fr; }
  .constat-large { grid-template-columns: 1fr; }
  .faq-planche { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.7rem; }
  .bande { padding: 3.6rem 0 3.2rem; }
  .entree__releve { grid-template-columns: repeat(2, 1fr); }
  .planche-trois, .planche-quatre, .gains, .chemin { grid-template-columns: 1fr; }
  .releve-chiffres { grid-template-columns: 1fr; }
  .pied__planche { grid-template-columns: 1fr; }
  .douleur, .vignette--donnee { aspect-ratio: auto; }
  .carte-palier__cible { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 60ms !important;
  }
  .a-reveler { opacity: 1; transform: none; }
  .cadran .aiguille { transform: rotate(var(--angle, 24deg)); }
  .est-revelee .cadran .aiguille { animation: none; transform: rotate(var(--angle, 24deg)); }
}

@media print {
  .bandeau-tete, .panneau-mobile, .declic-menu { display: none; }
  body { background: #FFFFFF; }
}

/* ==========================================================================
   Magazine, Le Cahier des Heures Facturees
   Ajout en fin de feuille, aucune regle existante n est modifiee.
   Meme planche contact, meme papier creme, meme dechirure de bord,
   meme jauge framboise et meme balayage que le reste du site.
   Vocabulaire : planche-articles, carte-article, entete-article, corps-article.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Titres de colonne du pied de page dans le magazine
   Une page d article ne porte qu un seul niveau de titre hors du corps
   redactionnel : les intitules du pied y sont donc des paragraphes.
   -------------------------------------------------------------------------- */

.pied p.pied__titre {
  font-size: 0.8rem;
  font-family: var(--releve);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C79BC0;
  margin: 0 0 1rem;
}

/* --------------------------------------------------------------------------
   Entete de la page d index du magazine
   -------------------------------------------------------------------------- */

.tete-magazine { padding: 3.2rem 0 2.6rem; }

.tete-magazine h1 {
  max-width: 20ch;
  margin-bottom: 1.1rem;
}

.tete-magazine__chapo {
  font-family: var(--courant);
  font-size: 1.14rem;
  line-height: 1.68;
  color: var(--encre-douce);
  max-width: 66ch;
  border-left: 4px solid var(--seuil);
  padding-left: 1.15rem;
  margin-bottom: 1.6rem;
}

.tete-magazine__releve {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--petrole);
  margin: 0;
  max-width: none;
}

.tete-magazine__releve span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.tete-magazine__releve span::before {
  content: "";
  width: 22px;
  height: 6px;
  background: linear-gradient(to right, var(--seuil) 62%, var(--filet) 62%);
  flex: none;
}

/* --------------------------------------------------------------------------
   Planche d articles, mosaique a vignettes regulieres
   -------------------------------------------------------------------------- */

.planche-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  margin: 0;
  padding: 0;
  list-style: none;
}

.carte-article {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--tirage);
  border: 1px solid var(--filet);
  transition: transform 240ms var(--sortie), border-color 240ms var(--sortie);
}

/* Trois tirages de dechirure, pour que deux vignettes voisines ne se dechirent
   jamais de la meme maniere sur leur bord droit. */
.carte-article:nth-child(odd) {
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 12%, calc(100% - 6px) 28%, 100% 44%, calc(100% - 3px) 61%, 100% 77%, calc(100% - 5px) 90%, calc(100% - 1px) 100%, 0 100%);
}
.carte-article:nth-child(even) {
  clip-path: polygon(0 0, calc(100% - 2px) 0, 100% 16%, calc(100% - 5px) 33%, calc(100% - 1px) 49%, calc(100% - 6px) 66%, 100% 82%, calc(100% - 3px) 100%, 0 100%);
}
.carte-article:nth-child(3n) {
  clip-path: polygon(0 0, calc(100% - 5px) 0, calc(100% - 1px) 14%, calc(100% - 6px) 30%, 100% 47%, calc(100% - 2px) 63%, calc(100% - 6px) 80%, 100% 100%, 0 100%);
}

.carte-article:hover,
.carte-article:focus-within {
  transform: translateY(-3px);
  border-color: var(--seuil);
}

/* Balayage de jauge sous la carte, meme geste que le lien de navigation actif */
.carte-article::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--seuil);
  transition: width 240ms var(--sortie);
}

.carte-article:hover::after,
.carte-article:focus-within::after { width: 100%; }

.carte-article__vignette {
  margin: 0;
  padding: 10px 10px 0;
  background: var(--tirage);
  position: relative;
}

.carte-article__vignette img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.86);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 88% 100%, 76% calc(100% - 8px), 63% calc(100% - 2px), 51% calc(100% - 9px), 39% calc(100% - 3px), 26% 100%, 14% calc(100% - 7px), 0 calc(100% - 2px));
}

.carte-article__angle {
  display: inline-block;
  background: var(--seuil);
  color: var(--seuil-texte);
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.63rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
}

.carte-article__vignette .carte-article__angle {
  position: absolute;
  left: 18px;
  bottom: 12px;
  z-index: 2;
}

.carte-article__corps {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.35rem 1.5rem;
}

.carte-article__index {
  font-family: var(--releve);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--petrole);
  margin: 0 0 0.7rem;
  max-width: none;
}

.carte-article__titre {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 0.6rem;
  max-width: none;
}

.carte-article__vignette + .carte-article__corps .carte-article__titre { margin-top: 0; }

.carte-article__titre a {
  color: var(--encre);
  text-decoration: none;
}

.carte-article__titre a:hover,
.carte-article__titre a:focus-visible { color: var(--seuil); }

.carte-article__extrait {
  font-size: 0.95rem;
  line-height: 1.66;
  color: var(--encre-douce);
  margin: 0 0 1.1rem;
  max-width: none;
}

.carte-article__releve {
  margin: auto 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--filet);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--petrole);
  font-variant-numeric: tabular-nums;
  max-width: none;
}

/* --------------------------------------------------------------------------
   Section Derniers articles de la page d accueil
   -------------------------------------------------------------------------- */

.derniers-articles__pied {
  margin: 2.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.6rem;
  max-width: none;
}

.derniers-articles__pied span {
  font-family: var(--releve);
  font-size: 0.86rem;
  color: var(--encre-douce);
}

/* Liste d articles en releve, employee sur auteur.html et sur le plan du site */
.releve-articles {
  list-style: none;
  margin: 1.4rem 0 2rem;
  padding: 0;
  border-top: 1px solid var(--filet);
  max-width: none;
}

.releve-articles li {
  border-bottom: 1px solid var(--filet);
  padding: 0.85rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 1.4rem;
  align-items: baseline;
  margin: 0;
}

.releve-articles a {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--encre);
}

.releve-articles a:hover { color: var(--seuil); text-decoration: underline; }

.releve-articles time {
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--petrole);
  font-variant-numeric: tabular-nums;
}

.releve-articles--sommaire li { grid-template-columns: 1fr; gap: 0.28rem; }

.releve-articles__note {
  font-family: var(--courant);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--encre-douce);
}

/* --------------------------------------------------------------------------
   Page d article, colonne de lecture
   -------------------------------------------------------------------------- */

.page-article { padding: 2.4rem 0 4.4rem; }

.colonne-article {
  width: min(760px, 100%);
  margin-inline: auto;
}

.entete-article { margin-bottom: 1.8rem; }

.entete-article h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.releve-article {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrole);
  font-variant-numeric: tabular-nums;
  margin: 0 0 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--filet);
  max-width: none;
}

.releve-article .est-seuil { color: var(--seuil); }

.exergue-article {
  font-family: var(--courant);
  font-size: 1.16rem;
  line-height: 1.64;
  color: var(--encre);
  background: var(--papier-rose);
  border-left: 4px solid var(--seuil);
  padding: 1.25rem 1.5rem 1.7rem;
  margin: 0 0 2rem;
  max-width: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 88% 100%, 76% calc(100% - 8px), 63% calc(100% - 2px), 51% calc(100% - 9px), 39% calc(100% - 3px), 26% 100%, 14% calc(100% - 7px), 0 calc(100% - 2px));
}

.image-une {
  margin: 0 0 2.4rem;
  padding: 10px;
  background: var(--tirage);
  border: 1px solid var(--filet);
}

.image-une img {
  width: 100%;
  filter: saturate(0.86);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 89% 100%, 78% calc(100% - 9px), 66% calc(100% - 2px), 54% calc(100% - 10px), 41% calc(100% - 3px), 28% 100%, 15% calc(100% - 8px), 0 calc(100% - 2px));
}

/* --------------------------------------------------------------------------
   Corps redactionnel, balises nues sans aucune classe
   Tout ce qui suit met en forme le HTML semantique verse par la redaction.
   -------------------------------------------------------------------------- */

.corps-article {
  max-width: 68ch;
  font-size: 1.06rem;
  line-height: 1.72;
}

.corps-article h2 {
  font-family: var(--titre);
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 2.9rem 0 1rem;
}

.corps-article h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 6px;
  margin-bottom: 0.85rem;
  background: linear-gradient(to right, var(--seuil) 62%, var(--filet) 62%);
}

.corps-article h3 {
  font-family: var(--titre);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 2rem 0 0.7rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--seuil);
}

.corps-article p { margin: 0 0 1.15em; max-width: none; }

.corps-article strong { font-weight: 600; color: var(--encre); }
.corps-article em { font-style: italic; }

.corps-article a {
  color: var(--seuil);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.corps-article a:hover,
.corps-article a:focus-visible {
  color: var(--petrole);
  text-decoration-thickness: 2px;
}

.corps-article ul,
.corps-article ol {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: none;
}

.corps-article ul > li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
}

.corps-article ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 9px;
  background: var(--seuil);
}

.corps-article ol { counter-reset: releve-pas; }

.corps-article ol > li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.6rem;
  counter-increment: releve-pas;
}

.corps-article ol > li::before {
  content: counter(releve-pas, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.16em;
  font-family: var(--releve);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--seuil);
  font-variant-numeric: tabular-nums;
}

.corps-article li > ul,
.corps-article li > ol { margin: 0.55rem 0 0; }

.corps-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.9rem 0 2.1rem;
  font-size: 0.95rem;
  background: var(--tirage);
  border: 1px solid var(--filet);
}

.corps-article thead th {
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrole);
  background: var(--papier-rose);
  border-bottom: 2px solid var(--filet);
}

.corps-article th,
.corps-article td {
  text-align: left;
  vertical-align: top;
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid var(--filet);
}

.corps-article tbody th {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--encre);
}

.corps-article td { font-variant-numeric: tabular-nums; }

.corps-article tbody tr:last-child th,
.corps-article tbody tr:last-child td { border-bottom: 0; }

.corps-article blockquote {
  margin: 2rem 0;
  padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 4px solid var(--seuil);
  font-family: var(--courant);
  font-weight: 500;
  font-style: italic;
  font-size: 1.14rem;
  line-height: 1.62;
  color: var(--encre);
}

.corps-article blockquote p:last-child { margin-bottom: 0; }

.corps-article aside {
  background: var(--tirage);
  border: 1px solid var(--filet);
  border-left: 4px solid var(--petrole);
  padding: 1.35rem 1.45rem 1.75rem;
  margin: 2rem 0;
  font-size: 1rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 88% 100%, 76% calc(100% - 8px), 63% calc(100% - 2px), 51% calc(100% - 9px), 39% calc(100% - 3px), 26% 100%, 14% calc(100% - 7px), 0 calc(100% - 2px));
}

.corps-article aside > :last-child { margin-bottom: 0; }

.corps-article figure {
  margin: 2rem 0;
  padding: 10px;
  background: var(--tirage);
  border: 1px solid var(--filet);
}

.corps-article figure img {
  width: 100%;
  filter: saturate(0.86);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 88% 100%, 76% calc(100% - 8px), 63% calc(100% - 2px), 51% calc(100% - 9px), 39% calc(100% - 3px), 26% 100%, 14% calc(100% - 7px), 0 calc(100% - 2px));
}

.corps-article figcaption {
  font-family: var(--releve);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--petrole);
  margin-top: 0.7rem;
  padding: 0 0.2rem;
}

/* --------------------------------------------------------------------------
   Appel a l action de fin d article
   -------------------------------------------------------------------------- */

.appel-article {
  background: var(--papier-rose);
  border: 1px solid var(--filet);
  padding: 1.7rem 1.8rem 2.2rem;
  margin: 2.8rem 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 89% 100%, 78% calc(100% - 12px), 67% calc(100% - 3px), 55% calc(100% - 13px), 44% calc(100% - 5px), 32% 100%, 21% calc(100% - 10px), 11% calc(100% - 4px), 0 calc(100% - 12px));
}

.appel-article__intitule {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 0 0 0.7rem;
  max-width: none;
}

.appel-article p { color: var(--encre-douce); }
.appel-article .bouton-plein { margin-top: 0.4rem; }

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

.encart-auteur {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.4rem;
  align-items: start;
  background: var(--tirage);
  border: 1px solid var(--filet);
  padding: 1.5rem 1.6rem 1.8rem;
  margin: 2.6rem 0;
}

.encart-auteur img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  padding: 6px;
  background: var(--tirage);
  border: 1px solid var(--filet);
  filter: saturate(0.86);
}

.encart-auteur__nom {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.14rem;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 0 0 0.15rem;
  max-width: none;
}

.encart-auteur__role {
  font-family: var(--releve);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--petrole);
  margin: 0 0 0.75rem;
  max-width: none;
}

.encart-auteur p {
  font-size: 0.98rem;
  color: var(--encre-douce);
  margin-bottom: 0.8rem;
  max-width: none;
}

.encart-auteur p:last-child { margin-bottom: 0; }

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

.lire-aussi {
  margin-top: 3.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--filet);
}

.lire-aussi__intitule {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.42rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 0 0 0.4rem;
  max-width: none;
}

.lire-aussi__soutien {
  font-family: var(--releve);
  font-size: 0.86rem;
  color: var(--encre-douce);
  margin: 0 0 1.5rem;
  max-width: none;
}

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

@media (max-width: 1080px) {
  .planche-articles { grid-template-columns: repeat(2, 1fr); }
  .entete-article h1 { font-size: 2.2rem; }
}

@media (max-width: 700px) {
  .planche-articles { grid-template-columns: 1fr; }
  .tete-magazine { padding: 2.4rem 0 2rem; }
  .entete-article h1 { font-size: 1.95rem; }
  .corps-article h2 { font-size: 1.5rem; }
  .corps-article table { font-size: 0.86rem; }
  .corps-article th,
  .corps-article td { padding: 0.6rem 0.55rem; }
  .encart-auteur { grid-template-columns: 1fr; }
  .releve-articles li { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .carte-article,
  .carte-article::after { transition-duration: 60ms; }
  .carte-article:hover,
  .carte-article:focus-within { transform: none; }
}

@media print {
  .carte-article::after { display: none; }
  .appel-article,
  .lire-aussi { display: none; }
  .corps-article { max-width: none; }
}
