/* ==========================================================================
   Corollya, feuille de style unique.
   Atelier floral, mode clair integral, panneau lateral fixe et pavage hexagonal.
   Vocabulaire de classes issu du metier: etabli, panneau, deroule, planche,
   fiche, releve, pan, cliche, cartouche, reglette, brassee, bordereau.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons de la marque
   -------------------------------------------------------------------------- */

:root {
  --coton: #F7F5EE;
  --kraft: #EDEBE0;
  --blanc: #FFFFFF;
  --encre: #1D2A19;
  --encre-douce: #55604F;
  --tige: #356E28;
  --tige-sombre: #2B5A20;
  --tige-claire: #6B9A5F;
  --sur-tige: #FFFFFF;
  --tablier: #4E7086;
  --tablier-sombre: #3C5769;
  --sable: #D8D5C6;

  --titre: 'Poppins', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --courant: 'Onest', 'Helvetica Neue', Arial, sans-serif;
  --releve: 'Courier Prime', 'Courier New', monospace;

  --panneau: 288px;
  --utile: 940px;
  --gouttiere: 28px;
  --coupe: 18px;
  --coupe-y: 10.4px;

  --filet: 1px solid var(--sable);
  --pose: 0 1px 0 rgba(29, 42, 25, 0.04), 0 10px 26px rgba(29, 42, 25, 0.05);
  --pose-haute: 0 2px 0 rgba(29, 42, 25, 0.05), 0 18px 44px rgba(29, 42, 25, 0.09);

  --pavage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='48.5' viewBox='0 0 84 48.5'%3E%3Cg fill='none' stroke='%23356E28' stroke-width='1'%3E%3Cpolygon points='14,24.25 28,0 56,0 70,24.25 56,48.5 28,48.5'/%3E%3Cpolygon points='-28,0 -14,-24.25 14,-24.25 28,0 14,24.25 -14,24.25'/%3E%3Cpolygon points='56,0 70,-24.25 98,-24.25 112,0 98,24.25 70,24.25'/%3E%3Cpolygon points='-28,48.5 -14,24.25 14,24.25 28,48.5 14,72.75 -14,72.75'/%3E%3Cpolygon points='56,48.5 70,24.25 98,24.25 112,48.5 98,72.75 70,72.75'/%3E%3C/g%3E%3C/svg%3E");

  --pavage-tablier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='48.5' viewBox='0 0 84 48.5'%3E%3Cg fill='none' stroke='%234E7086' stroke-width='1'%3E%3Cpolygon points='14,24.25 28,0 56,0 70,24.25 56,48.5 28,48.5'/%3E%3Cpolygon points='-28,0 -14,-24.25 14,-24.25 28,0 14,24.25 -14,24.25'/%3E%3Cpolygon points='56,0 70,-24.25 98,-24.25 112,0 98,24.25 70,24.25'/%3E%3Cpolygon points='-28,48.5 -14,24.25 14,24.25 28,48.5 14,72.75 -14,72.75'/%3E%3Cpolygon points='56,48.5 70,24.25 98,24.25 112,48.5 98,72.75 70,72.75'/%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. Remise a plat
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--coton);
  color: var(--encre);
  font-family: var(--courant);
  font-size: 1.05rem;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--titre);
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 0.55em;
  color: var(--encre);
}

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

p { margin: 0 0 1.05em; max-width: 68ch; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 500; }

:focus-visible {
  outline: 3px solid var(--tablier);
  outline-offset: 2px;
  border-radius: 1px;
}

::selection { background: var(--tige); color: var(--sur-tige); }

.cy-saut {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--tige);
  color: var(--sur-tige);
  padding: 12px 20px;
  font-family: var(--releve);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 400;
}
.cy-saut:focus { left: 8px; top: 8px; color: var(--sur-tige); }

.cy-hors-vue {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Forme signature: le pan hexagonal a 30 degres
   -------------------------------------------------------------------------- */

.cy-pan {
  position: relative;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
}

.cy-pan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 21px;
  height: 2px;
  background: var(--tige);
  transform-origin: left top;
  transform: translate(0, 0) rotate(30deg);
  pointer-events: none;
}

.cy-pan--menu { --coupe: 12px; --coupe-y: 6.9px; }
.cy-pan--menu::before { width: 14px; }

/* --------------------------------------------------------------------------
   4. Charpente: panneau lateral fixe, contenu qui defile a droite
   -------------------------------------------------------------------------- */

.cy-etabli {
  display: grid;
  grid-template-columns: var(--panneau) minmax(0, 1fr);
  min-height: 100vh;
}

.cy-panneau {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--panneau);
  background: var(--coton);
  border-right: var(--filet);
  display: flex;
  flex-direction: column;
  padding: 30px 26px 24px;
  z-index: 200;
  overflow-y: auto;
}

.cy-marque {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--encre);
  margin-bottom: 18px;
}

.cy-marque:hover { color: var(--encre); }

.cy-marque svg { flex: 0 0 auto; }

.cy-marque__mot {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.42rem;
  letter-spacing: 0.02em;
}

.cy-panneau__position {
  font-size: 0.86rem;
  color: var(--encre-douce);
  margin: 0 0 22px;
  padding-bottom: 20px;
  border-bottom: var(--filet);
  max-width: none;
}

.cy-sillon { list-style: none; margin: 0 0 22px; padding: 0; }
.cy-sillon li { margin: 0; }

.cy-sillon a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-family: var(--releve);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--encre-douce);
  text-decoration: none;
}

.cy-sillon a:hover { color: var(--tige); }

.cy-repere {
  flex: 0 0 auto;
  width: 13px;
  height: 15px;
  fill: none;
  stroke: var(--sable);
  stroke-width: 2;
  animation: cy-oscille 3.2s ease-in-out infinite alternate;
}

.cy-sillon a:hover .cy-repere { stroke: var(--tige); }

.cy-sillon a.est-active { color: var(--encre); }
.cy-sillon a.est-active .cy-repere { fill: var(--tige); stroke: var(--tige); }

.cy-panneau__pied {
  margin-top: auto;
  padding-top: 20px;
  border-top: var(--filet);
  font-size: 0.8rem;
  color: var(--encre-douce);
}

.cy-panneau__pied p { margin: 12px 0 0; }

.cy-voie {
  font-family: var(--releve);
  font-size: 0.76rem;
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   5. Colonne qui defile
   -------------------------------------------------------------------------- */

.cy-deroule {
  grid-column: 2;
  min-width: 0;
}

.cy-planche {
  padding: 84px clamp(24px, 4vw, 64px);
  position: relative;
}

.cy-planche > * { max-width: var(--utile); }

.cy-planche--kraft { background: var(--kraft); }
.cy-planche--serree { padding-top: 60px; padding-bottom: 60px; }

.cy-grille {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gouttiere);
  max-width: var(--utile);
}

.cy-releve-titre {
  font-family: var(--releve);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tige);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cy-releve-titre::before {
  content: "";
  width: 12px;
  height: 14px;
  background: var(--tige);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: 0 0 auto;
}

.cy-releve-titre--tablier { color: var(--tablier); }
.cy-releve-titre--tablier::before { background: var(--tablier); }

.cy-chapo {
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--encre-douce);
  max-width: 62ch;
}

.cy-note {
  font-family: var(--releve);
  font-size: 0.8rem;
  color: var(--encre-douce);
}

.cy-chiffre {
  font-family: var(--releve);
  font-weight: 700;
  color: var(--tige);
  font-variant-numeric: tabular-nums;
}

.cy-achat { color: var(--tablier); }

/* --------------------------------------------------------------------------
   6. Boutons
   -------------------------------------------------------------------------- */

.cy-bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  font-family: var(--courant);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  position: relative;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
  transition: background-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.cy-bouton__chevron {
  font-family: var(--releve);
  font-weight: 700;
  transition: transform 0.18s ease;
}

.cy-bouton:hover .cy-bouton__chevron { transform: translateX(3px); }

.cy-bouton--tige { background: var(--tige); color: var(--sur-tige); }
.cy-bouton--tige:hover { background: var(--tige-sombre); color: var(--sur-tige); transform: translateY(-1px); }
.cy-bouton--tige:active { transform: translateY(0); }

.cy-bouton--kraft {
  background: var(--blanc);
  color: var(--encre);
  box-shadow: inset 0 0 0 1.5px var(--tige);
}
.cy-bouton--kraft:hover {
  background: var(--kraft);
  color: var(--encre);
  box-shadow: inset 0 0 0 2px var(--tige);
}

.cy-bouton--panneau { width: 100%; justify-content: center; height: 48px; font-size: 0.95rem; }

.cy-bouton--large { width: 100%; justify-content: center; }

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

/* --------------------------------------------------------------------------
   7. Barre superieure et menu, sous 1024 pixels
   -------------------------------------------------------------------------- */

.cy-barre {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--coton);
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 300;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.cy-barre.est-posee {
  border-bottom: var(--filet);
  box-shadow: 0 2px 10px rgba(29, 42, 25, 0.06);
}

.cy-declic {
  background: var(--blanc);
  color: var(--encre);
  border: 1.5px solid var(--tige);
  height: 42px;
  padding: 0 16px;
  font-family: var(--releve);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 6.9px);
}

.cy-declic:hover { background: var(--kraft); }

.cy-tiroir {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--coton);
  z-index: 350;
  padding: 84px 24px 32px;
  overflow-y: auto;
}

.cy-tiroir.est-ouvert { display: block; }

.cy-tiroir .cy-sillon a { font-size: 0.95rem; padding: 13px 0; border-bottom: var(--filet); }
.cy-tiroir .cy-repere { width: 16px; height: 18px; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.cy-hero {
  position: relative;
  padding: 78px clamp(24px, 4vw, 64px) 70px;
  overflow: hidden;
  border-bottom: var(--filet);
}

.cy-hero::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -190px;
  width: 620px;
  height: 620px;
  background-image: var(--pavage);
  background-size: 168px 97px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.cy-hero > * { position: relative; z-index: 1; }

.cy-hero__grille {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gouttiere);
  align-items: center;
  max-width: var(--utile);
}

.cy-hero__mots { grid-column: span 7; }
.cy-hero__image { grid-column: span 5; }

.cy-hero h1 { margin-bottom: 18px; }

.cy-hero__sous {
  font-size: 1.16rem;
  color: var(--encre-douce);
  max-width: 54ch;
}

.cy-caution {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blanc);
  border: var(--filet);
  padding: 12px 18px 12px 16px;
  font-family: var(--releve);
  font-size: 0.8rem;
  color: var(--encre-douce);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 8.1px);
}

.cy-caution b {
  font-weight: 700;
  color: var(--tige);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   9. Cliches photographiques et cartouches
   -------------------------------------------------------------------------- */

.cy-cliche {
  position: relative;
  border: var(--filet);
  background: var(--blanc);
  padding: 7px;
}

.cy-cliche img {
  width: 100%;
  filter: saturate(0.92) brightness(1.03);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 12.7px);
}

.cy-cliche::after {
  content: "";
  position: absolute;
  inset: 7px;
  background: linear-gradient(180deg, rgba(247, 245, 238, 0.16), rgba(78, 112, 134, 0.1));
  pointer-events: none;
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 12.7px);
}

.cy-cartouche {
  position: absolute;
  left: 7px;
  bottom: 7px;
  z-index: 2;
  background: var(--blanc);
  background-image: var(--pavage);
  background-size: 42px 24px;
  border-top: 2px solid var(--tige);
  font-family: var(--releve);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre);
  padding: 7px 14px;
}

.cy-cliche--large { max-width: none; }

/* --------------------------------------------------------------------------
   10. Probleme, trois fiches de quatre colonnes
   -------------------------------------------------------------------------- */

.cy-fiche {
  background: var(--blanc);
  border: var(--filet);
  padding: 26px 24px 22px;
  position: relative;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cy-fiche:hover { transform: translateY(-2px); box-shadow: var(--pose); }

.cy-fiche h3 { margin-bottom: 10px; }
.cy-fiche p { font-size: 0.99rem; margin-bottom: 0.8em; }
.cy-fiche p:last-child { margin-bottom: 0; }

.cy-fiche--tiers { grid-column: span 4; }
.cy-fiche--moitie { grid-column: span 6; }

.cy-etiquette {
  display: inline-block;
  font-family: var(--releve);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tablier);
  background: var(--kraft);
  padding: 4px 10px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   11. Solution, bande continue de quatre passages numerotes
   -------------------------------------------------------------------------- */

.cy-bande {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: var(--filet);
  background: var(--blanc);
  max-width: var(--utile);
}

.cy-passage {
  padding: 26px 22px 24px;
  border-right: var(--filet);
  position: relative;
}

.cy-passage:last-child { border-right: 0; }

.cy-puce {
  width: 42px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kraft);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-family: var(--releve);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tige);
  margin-bottom: 16px;
  animation: cy-oscille 3.2s ease-in-out infinite alternate;
}

.cy-passage:nth-child(2) .cy-puce { animation-delay: 0.4s; }
.cy-passage:nth-child(3) .cy-puce { animation-delay: 0.8s; }
.cy-passage:nth-child(4) .cy-puce { animation-delay: 1.2s; }

.cy-passage h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cy-passage p { font-size: 0.95rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Fonctionnalites, grille de trois par deux
   -------------------------------------------------------------------------- */

.cy-brassee {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gouttiere);
  max-width: var(--utile);
}

.cy-outil {
  background: var(--blanc);
  border: var(--filet);
  padding: 24px 22px 20px;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cy-outil:hover { transform: translateY(-2px); box-shadow: var(--pose); }

.cy-picto {
  width: 44px;
  height: 50px;
  margin-bottom: 14px;
  animation: cy-oscille 3.2s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}

.cy-outil:nth-child(2) .cy-picto { animation-delay: 0.4s; }
.cy-outil:nth-child(3) .cy-picto { animation-delay: 0.8s; }
.cy-outil:nth-child(4) .cy-picto { animation-delay: 1.2s; }
.cy-outil:nth-child(5) .cy-picto { animation-delay: 1.6s; }
.cy-outil:nth-child(6) .cy-picto { animation-delay: 2s; }

.cy-outil:hover .cy-picto { animation-duration: 1.6s; animation-name: cy-oscille-vive; }

.cy-picto__cadre { fill: var(--kraft); stroke: var(--tige); stroke-width: 1.5; }
.cy-picto__trait { fill: none; stroke: var(--tige); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cy-picto__point { fill: var(--tablier); }

.cy-outil h3 { font-size: 1.14rem; margin-bottom: 8px; }
.cy-outil p { font-size: 0.96rem; margin-bottom: 0; }

@keyframes cy-oscille {
  from { transform: rotate(-2.5deg); }
  to { transform: rotate(2.5deg); }
}

@keyframes cy-oscille-vive {
  from { transform: rotate(-4deg); }
  to { transform: rotate(4deg); }
}

/* --------------------------------------------------------------------------
   13. Avantages, quatre chiffres sur une reglette
   -------------------------------------------------------------------------- */

.cy-reglette {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--tige);
  border-bottom: var(--filet);
  max-width: var(--utile);
  background: var(--blanc);
}

.cy-cran {
  padding: 24px 20px 22px;
  border-right: var(--filet);
}

.cy-cran:last-child { border-right: 0; }

.cy-cran__valeur {
  font-family: var(--releve);
  font-size: 2.05rem;
  font-weight: 700;
  color: var(--tige);
  line-height: 1.1;
  display: block;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.cy-cran h3 { font-size: 1.02rem; margin-bottom: 6px; }
.cy-cran p { font-size: 0.9rem; color: var(--encre-douce); margin-bottom: 0; }

.cy-gains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gouttiere);
  margin-top: 34px;
  max-width: var(--utile);
}

.cy-gain {
  border-left: 2px solid var(--tablier);
  padding: 4px 0 4px 18px;
}

.cy-gain h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cy-gain p { font-size: 0.97rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   14. Preuve sociale
   -------------------------------------------------------------------------- */

.cy-temoins {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gouttiere);
  max-width: var(--utile);
}

.cy-temoignage {
  background: var(--blanc);
  border: var(--filet);
  padding: 24px 22px 20px;
  margin: 0;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
  display: flex;
  flex-direction: column;
}

.cy-temoignage blockquote {
  margin: 0 0 16px;
  font-size: 0.99rem;
}

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

.cy-temoignage figcaption {
  margin-top: auto;
  padding-top: 14px;
  border-top: var(--filet);
  font-family: var(--releve);
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--encre-douce);
}

.cy-temoignage figcaption b { display: block; color: var(--encre); font-weight: 700; }

.cy-bandeau {
  margin-top: 36px;
  background: var(--kraft);
  background-image: var(--pavage);
  background-size: 126px 72.75px;
  border: var(--filet);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--utile);
}

.cy-bandeau div {
  padding: 22px 18px;
  border-right: var(--filet);
  text-align: left;
}

.cy-bandeau div:last-child { border-right: 0; }

.cy-bandeau span {
  display: block;
  font-family: var(--releve);
  font-size: 1.72rem;
  font-weight: 700;
  color: var(--tige);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.cy-bandeau p {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: var(--encre-douce);
}

/* --------------------------------------------------------------------------
   15. Tarifs
   -------------------------------------------------------------------------- */

.cy-planche--tarifs { background-color: var(--kraft); position: relative; overflow: hidden; }

.cy-planche--tarifs::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pavage);
  background-size: 84px 48.5px;
  opacity: 0.5;
  pointer-events: none;
}

.cy-planche--tarifs > * { position: relative; z-index: 1; }

.cy-encadres {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gouttiere);
  align-items: start;
  max-width: var(--utile);
  padding-top: 16px;
}

.cy-encadre {
  background: var(--blanc);
  border: var(--filet);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
}

.cy-encadre--avant {
  margin-top: -16px;
  border-color: var(--tige);
  box-shadow: var(--pose-haute);
}

.cy-fanion {
  display: inline-block;
  font-family: var(--releve);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--tige);
  color: var(--sur-tige);
  padding: 4px 10px;
  margin-bottom: 12px;
}

.cy-encadre h3 { font-size: 1.24rem; margin-bottom: 12px; }

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

.cy-unite {
  font-family: var(--releve);
  font-size: 0.78rem;
  color: var(--encre-douce);
  display: block;
  margin: 8px 0 16px;
}

.cy-cible {
  font-size: 0.93rem;
  color: var(--encre-douce);
  padding-bottom: 16px;
  border-bottom: var(--filet);
}

.cy-inclus {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  font-size: 0.93rem;
}

.cy-inclus li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
}

.cy-inclus li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 12.7px;
  background: var(--tige);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.cy-encadre .cy-bouton { margin-top: auto; }

.cy-tva {
  margin-top: 26px;
  font-family: var(--releve);
  font-size: 0.8rem;
  color: var(--encre-douce);
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */

.cy-questions { max-width: 720px; }

.cy-question {
  border-bottom: var(--filet);
  background: transparent;
}

.cy-question:first-child { border-top: var(--filet); }

.cy-question summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 0;
  position: relative;
  font-family: var(--titre);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--encre);
}

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

.cy-question summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 22px;
  width: 13px;
  height: 15px;
  background: var(--sable);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: background-color 0.2s ease, transform 0.25s ease;
}

.cy-question[open] summary::after { background: var(--tige); transform: rotate(180deg); }
.cy-question summary:hover::after { background: var(--tige-claire); }

.cy-question__corps { padding: 0 0 20px; }
.cy-question__corps p { font-size: 0.99rem; margin-bottom: 0.7em; }
.cy-question__corps p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   17. Contact et bordereau
   -------------------------------------------------------------------------- */

.cy-planche--contact { background: var(--coton); border-top: var(--filet); }

.cy-contact__grille {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gouttiere);
  max-width: var(--utile);
}

.cy-bordereau { grid-column: span 7; }
.cy-recap { grid-column: span 5; }

.cy-formulaire {
  background: var(--blanc);
  border: var(--filet);
  padding: 26px 24px 24px;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
}

.cy-champ { margin-bottom: 16px; }

.cy-champ label {
  display: block;
  font-family: var(--releve);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-douce);
  margin-bottom: 6px;
}

.cy-champ input[type="text"],
.cy-champ input[type="email"],
.cy-champ select,
.cy-champ textarea {
  width: 100%;
  font-family: var(--courant);
  font-size: 1rem;
  color: var(--encre);
  background: var(--coton);
  border: 1px solid var(--sable);
  padding: 11px 13px;
  border-radius: 0;
}

.cy-champ textarea { resize: vertical; min-height: 120px; }

.cy-champ input:focus,
.cy-champ select:focus,
.cy-champ textarea:focus {
  border-color: var(--tige);
  background: var(--blanc);
}

.cy-aveu {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--encre-douce);
  margin: 20px 0 22px;
  line-height: 1.55;
}

.cy-aveu input { margin-top: 4px; flex: 0 0 auto; width: 17px; height: 17px; accent-color: var(--tige); }
.cy-aveu label { font-family: var(--courant); text-transform: none; letter-spacing: 0; font-size: 0.9rem; }

.cy-suite {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--encre-douce);
}

.cy-recap__bloc {
  background: var(--kraft);
  border: var(--filet);
  padding: 22px 20px;
  margin-bottom: 20px;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
}

.cy-recap__bloc h3 { font-size: 1.08rem; }
.cy-recap__bloc p { font-size: 0.93rem; margin-bottom: 0; }

.cy-lignes { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.cy-lignes li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--sable);
  font-family: var(--releve);
  font-size: 0.82rem;
}
.cy-lignes li:last-child { border-bottom: 0; }
.cy-lignes b { color: var(--tige); font-weight: 700; }

/* --------------------------------------------------------------------------
   18. Pied de page
   -------------------------------------------------------------------------- */

.cy-pied {
  background: var(--blanc);
  border-top: 2px solid var(--tige);
  padding: 54px clamp(24px, 4vw, 64px) 28px;
}

.cy-pied__colonnes {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 34px;
  max-width: var(--utile);
  margin-bottom: 34px;
}

.cy-pied h2 {
  font-family: var(--releve);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tige);
  margin-bottom: 14px;
}

.cy-pied p { font-size: 0.9rem; color: var(--encre-douce); }
.cy-pied ul { list-style: none; padding: 0; margin: 0; }
.cy-pied li { margin-bottom: 8px; }
.cy-pied a { font-size: 0.9rem; color: var(--encre); text-decoration: none; }
.cy-pied a:hover { color: var(--tige); text-decoration: underline; }

.cy-reseaux { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; }
.cy-reseaux a {
  font-family: var(--releve);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-douce);
}

.cy-pied__barre {
  border-top: var(--filet);
  padding-top: 20px;
  max-width: var(--utile);
  font-size: 0.83rem;
  color: var(--encre-douce);
}

.cy-pied__barre p { margin: 0 0 6px; max-width: none; font-size: 0.83rem; }

/* --------------------------------------------------------------------------
   19. Pages internes
   -------------------------------------------------------------------------- */

.cy-fil {
  font-family: var(--releve);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre-douce);
  margin-bottom: 22px;
}

.cy-fil a { color: var(--encre-douce); text-decoration: none; }
.cy-fil a:hover { color: var(--tige); }

.cy-texte { max-width: 700px; }
.cy-texte h2 { font-size: 1.62rem; margin-top: 44px; }
.cy-texte h3 { font-size: 1.16rem; margin-top: 28px; }
.cy-texte h2:first-of-type { margin-top: 26px; }
.cy-texte li { font-size: 1rem; }

.cy-auteur__tete {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 40px;
  max-width: var(--utile);
}

.cy-portrait {
  border: var(--filet);
  background: var(--blanc);
  padding: 7px;
}

.cy-portrait img { clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 10.4px); }

.cy-encart {
  background: var(--kraft);
  border-left: 2px solid var(--tige);
  padding: 20px 22px;
  margin: 30px 0;
  max-width: 700px;
}

.cy-encart p:last-child { margin-bottom: 0; }
.cy-encart h3 { margin-top: 0; }

.cy-tableau-legal {
  width: 100%;
  max-width: 700px;
  border-collapse: collapse;
  font-size: 0.94rem;
  margin-bottom: 26px;
}

.cy-tableau-legal th,
.cy-tableau-legal td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: var(--filet);
  vertical-align: top;
}

.cy-tableau-legal th {
  font-family: var(--releve);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-douce);
  width: 38%;
}

.cy-plan-liste { list-style: none; padding: 0; max-width: 720px; }

.cy-plan-liste li {
  border-bottom: var(--filet);
  padding: 15px 0;
}

.cy-plan-liste a { font-family: var(--titre); font-weight: 500; font-size: 1.05rem; text-decoration: none; }
.cy-plan-liste a:hover { text-decoration: underline; }
.cy-plan-liste p { margin: 5px 0 0; font-size: 0.93rem; color: var(--encre-douce); }

.cy-etroit {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cy-etroit h1 { font-size: 2.5rem; }

/* --------------------------------------------------------------------------
   20. Animations au defilement
   -------------------------------------------------------------------------- */

.cy-monte {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.cy-monte.est-posee { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   21. Adaptations
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  h1 { font-size: 2.7rem; }
  .cy-brassee { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cy-bande { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cy-passage:nth-child(2) { border-right: 0; }
  .cy-passage:nth-child(1), .cy-passage:nth-child(2) { border-bottom: var(--filet); }
  .cy-pied__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .cy-etabli { grid-template-columns: minmax(0, 1fr); }
  .cy-panneau { display: none; }
  .cy-barre { display: flex; }
  .cy-deroule { grid-column: 1; padding-top: 64px; }
  .cy-hero { padding-top: 42px; }
  .cy-hero__grille { grid-template-columns: minmax(0, 1fr); }
  .cy-hero__mots, .cy-hero__image { grid-column: 1; }
  .cy-hero__image { order: -1; }
  .cy-hero::after { right: -280px; opacity: 0.4; }
  .cy-fiche--tiers, .cy-fiche--moitie { grid-column: span 12; }
  .cy-temoins { grid-template-columns: minmax(0, 1fr); }
  .cy-encadres { grid-template-columns: minmax(0, 1fr); }
  .cy-encadre--avant { margin-top: 0; }
  .cy-bordereau, .cy-recap { grid-column: span 12; }
  .cy-auteur__tete { grid-template-columns: minmax(0, 1fr); }
  .cy-portrait { max-width: 260px; }
  .cy-reglette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cy-cran:nth-child(2) { border-right: 0; }
  .cy-cran:nth-child(1), .cy-cran:nth-child(2) { border-bottom: var(--filet); }
  .cy-bandeau { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cy-bandeau div:nth-child(2) { border-right: 0; }
  .cy-bandeau div:nth-child(1), .cy-bandeau div:nth-child(2) { border-bottom: var(--filet); }
}

@media (max-width: 700px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.66rem; }
  body { font-size: 1.02rem; }
  .cy-planche { padding: 54px 20px; }
  .cy-hero { padding: 34px 20px 52px; }
  .cy-brassee { grid-template-columns: minmax(0, 1fr); }
  .cy-bande { grid-template-columns: minmax(0, 1fr); }
  .cy-passage { border-right: 0; border-bottom: var(--filet); }
  .cy-passage:last-child { border-bottom: 0; }
  .cy-gains { grid-template-columns: minmax(0, 1fr); }
  .cy-reglette { grid-template-columns: minmax(0, 1fr); }
  .cy-cran { border-right: 0; border-bottom: var(--filet); }
  .cy-cran:last-child { border-bottom: 0; }
  .cy-bandeau { grid-template-columns: minmax(0, 1fr); }
  .cy-bandeau div { border-right: 0; border-bottom: var(--filet); }
  .cy-bandeau div:last-child { border-bottom: 0; }
  .cy-pied__colonnes { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cy-duo { flex-direction: column; align-items: flex-start; }
  .cy-duo .cy-bouton { width: 100%; justify-content: center; }
  .cy-prix { font-size: 2.2rem; }
}

@media print {
  .cy-panneau, .cy-barre, .cy-tiroir, .cy-duo { display: none; }
  .cy-deroule { grid-column: 1; }
  body { background: #FFFFFF; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .cy-monte { opacity: 1; transform: none; }
  .cy-picto__cadre { stroke: var(--tablier); }
  .cy-repere { stroke: var(--tablier); }
}
/* ==========================================================================
   22. Le Cahier de chiffrage floral, section magazine.
   Ajout posterieur, aucune regle precedente n est modifiee.
   Meme palette, meme pan hexagonal a 30 degres, meme pavage, meme oscillation
   des reperes que le reste du site. Vocabulaire de classes prolonge:
   cahier (la grille), feuillet (une carte), colonne (le corps redactionnel),
   signature (l encart auteur), lire-aussi (le renvoi de fin d article).
   Le corps des articles est du HTML nu: toutes les balises y sont mises en
   forme comme descendantes de .cy-colonne, sans aucun attribut class.
   ========================================================================== */

/* --------------------------------------------------------------------------
   22.1 Titre de colonne du pied de page, variante sans balise de titre.
   Les pages du magazine emploient un paragraphe la ou le reste du site
   emploie un h2, pour garder une hierarchie de titres stricte dans l article.
   -------------------------------------------------------------------------- */

.cy-pied__titre {
  font-family: var(--releve);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tige);
  margin: 0 0 14px;
  max-width: none;
}

/* --------------------------------------------------------------------------
   22.2 Angle editorial, releve en Courier Prime avec repere hexagonal oscillant
   -------------------------------------------------------------------------- */

.cy-angle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  max-width: none;
  font-family: var(--releve);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tablier);
}

.cy-angle::before {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 12.7px;
  background: var(--tablier);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  animation: cy-oscille 3.2s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   22.3 Grille de cartes et carte d article
   -------------------------------------------------------------------------- */

.cy-cahier {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gouttiere);
  max-width: var(--utile);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cy-feuillet {
  background: var(--blanc);
  border: var(--filet);
  display: flex;
  flex-direction: column;
  margin: 0;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cy-feuillet:hover { transform: translateY(-2px); box-shadow: var(--pose); }

.cy-feuillet:nth-child(2) .cy-angle::before { animation-delay: 0.4s; }
.cy-feuillet:nth-child(3) .cy-angle::before { animation-delay: 0.8s; }
.cy-feuillet:nth-child(4) .cy-angle::before { animation-delay: 1.2s; }
.cy-feuillet:nth-child(5) .cy-angle::before { animation-delay: 1.6s; }
.cy-feuillet:nth-child(6) .cy-angle::before { animation-delay: 2s; }
.cy-feuillet:nth-child(7) .cy-angle::before { animation-delay: 2.4s; }
.cy-feuillet:nth-child(8) .cy-angle::before { animation-delay: 2.8s; }
.cy-feuillet:nth-child(9) .cy-angle::before { animation-delay: 3.2s; }

.cy-feuillet:hover .cy-angle::before {
  animation-name: cy-oscille-vive;
  animation-duration: 1.6s;
}

.cy-feuillet__cliche {
  position: relative;
  margin: 0;
  background: var(--kraft);
  border-bottom: var(--filet);
  overflow: hidden;
}

.cy-feuillet__cliche img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.92) brightness(1.03);
  transition: transform 0.35s ease;
}

.cy-feuillet:hover .cy-feuillet__cliche img { transform: scale(1.02); }

.cy-feuillet__angle {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  background-color: var(--blanc);
  background-image: var(--pavage-tablier);
  background-size: 42px 24.25px;
  border-top: 2px solid var(--tablier);
  padding: 7px 13px;
}

.cy-feuillet__texte {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 22px 20px;
}

.cy-feuillet__titre {
  font-family: var(--titre);
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.cy-feuillet__titre a {
  color: var(--encre);
  text-decoration: none;
}

.cy-feuillet__titre a:hover {
  color: var(--tige);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cy-feuillet__extrait {
  font-size: 0.95rem;
  color: var(--encre-douce);
  margin: 0 0 18px;
  flex: 1 1 auto;
  max-width: none;
}

.cy-feuillet__releve {
  margin: auto 0 0;
  padding-top: 13px;
  border-top: var(--filet);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  font-family: var(--releve);
  font-size: 0.75rem;
  color: var(--encre-douce);
  max-width: none;
  font-variant-numeric: tabular-nums;
}

.cy-feuillet__releve b { color: var(--tige); font-weight: 700; }

/* --------------------------------------------------------------------------
   22.4 Entete d article: fil d Ariane, releve, titre, chapeau, image a la une
   -------------------------------------------------------------------------- */

.cy-article__releve {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 18px;
  margin: 0 0 18px;
  max-width: none;
  font-family: var(--releve);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-douce);
}

.cy-article__releve span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.cy-article__releve span::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 11.5px;
  background: var(--sable);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.cy-article__releve span:first-child { color: var(--tablier); }

.cy-article__releve span:first-child::before {
  background: var(--tablier);
  animation: cy-oscille 3.2s ease-in-out infinite alternate;
}

.cy-article__titre { max-width: 22ch; }

.cy-exergue {
  background: var(--kraft);
  border: var(--filet);
  border-left: 2px solid var(--tige);
  padding: 20px 24px;
  margin: 24px 0 32px;
  max-width: 68ch;
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--encre);
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
}

.cy-cliche--une {
  max-width: var(--utile);
  margin: 0 0 8px;
}

.cy-cliche--une img { aspect-ratio: 3 / 2; object-fit: cover; }

.cy-credit {
  font-family: var(--releve);
  font-size: 0.74rem;
  color: var(--encre-douce);
  margin: 0 0 8px;
  max-width: none;
}

/* --------------------------------------------------------------------------
   22.5 Corps redactionnel, HTML nu, mesure de lecture de 68 caracteres.
   Aucune de ces balises ne porte de classe: elles sont mises en forme
   uniquement par leur position dans .cy-colonne.
   -------------------------------------------------------------------------- */

.cy-colonne {
  max-width: 68ch;
  margin-top: 38px;
  font-size: 1.05rem;
  line-height: 1.68;
}

.cy-colonne > *:first-child { margin-top: 0; }

.cy-colonne h2 {
  position: relative;
  font-size: 1.74rem;
  font-weight: 600;
  margin: 52px 0 14px;
  padding-left: 28px;
  max-width: none;
}

.cy-colonne h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.24em;
  width: 15px;
  height: 17.3px;
  background: var(--tige);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.cy-colonne h3 {
  font-size: 1.24rem;
  font-weight: 500;
  margin: 32px 0 10px;
  padding-left: 14px;
  border-left: 2px solid var(--tige-claire);
  max-width: none;
}

.cy-colonne p { margin: 0 0 1.15em; }

.cy-colonne strong { font-weight: 500; color: var(--encre); }
.cy-colonne em { font-style: italic; }

.cy-colonne a {
  color: var(--tige);
  text-decoration: underline;
  text-decoration-color: var(--tige-claire);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cy-colonne a:hover {
  color: var(--tige-sombre);
  text-decoration-color: var(--tige);
}

.cy-colonne ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3em;
}

.cy-colonne ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.55em;
}

.cy-colonne ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 11px;
  height: 12.7px;
  background: var(--tige);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.cy-colonne ol {
  list-style: none;
  counter-reset: cy-pas;
  padding: 0;
  margin: 0 0 1.3em;
}

.cy-colonne ol > li {
  counter-increment: cy-pas;
  position: relative;
  padding-left: 38px;
  margin-bottom: 0.7em;
  min-height: 26px;
}

.cy-colonne ol > li::before {
  content: counter(cy-pas);
  position: absolute;
  left: 0;
  top: 0.02em;
  width: 24px;
  height: 27.7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kraft);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-family: var(--releve);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tige);
  font-variant-numeric: tabular-nums;
}

.cy-colonne li ul,
.cy-colonne li ol { margin: 0.55em 0 0; }

.cy-colonne table {
  width: 100%;
  max-width: none;
  border-collapse: collapse;
  background: var(--blanc);
  border: var(--filet);
  font-size: 0.94rem;
  margin: 30px 0;
}

.cy-colonne thead th {
  background: var(--kraft);
  border-bottom: 2px solid var(--tige);
  font-family: var(--releve);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre);
}

.cy-colonne th,
.cy-colonne td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: var(--filet);
}

.cy-colonne tbody th {
  font-family: var(--releve);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--encre);
}

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

.cy-colonne tbody tr:nth-child(even) { background: rgba(237, 235, 224, 0.42); }

.cy-colonne blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--tige);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--encre);
  max-width: none;
}

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

.cy-colonne aside {
  background: var(--kraft);
  border: var(--filet);
  border-left: 2px solid var(--tablier);
  padding: 22px 24px 18px;
  margin: 32px 0;
  max-width: none;
  font-size: 0.99rem;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
}

.cy-colonne aside p:last-child,
.cy-colonne aside ul:last-child,
.cy-colonne aside ol:last-child { margin-bottom: 0; }

.cy-colonne figure {
  margin: 30px 0;
  border: var(--filet);
  background: var(--blanc);
  padding: 7px;
}

.cy-colonne figure img {
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 10.4px);
}

.cy-colonne figcaption {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 2px solid var(--tige);
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--encre-douce);
}

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

.cy-appel {
  background: var(--blanc);
  border: var(--filet);
  border-left: 3px solid var(--tige);
  padding: 26px 28px 24px;
  margin: 42px 0 0;
  max-width: 68ch;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
}

.cy-appel__titre {
  font-family: var(--titre);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--encre);
}

.cy-appel p { font-size: 0.99rem; }
.cy-appel .cy-bouton { margin-top: 6px; }

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

.cy-signature {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background: var(--blanc);
  border: var(--filet);
  border-top: 2px solid var(--tige);
  padding: 24px 26px;
  margin: 36px 0 0;
  max-width: 68ch;
}

.cy-signature__photo {
  border: var(--filet);
  background: var(--blanc);
  padding: 5px;
  margin: 0;
}

.cy-signature__photo img {
  width: 100%;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 6.9px);
}

.cy-signature__nom {
  font-family: var(--releve);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tige);
  margin: 0 0 8px;
  max-width: none;
}

.cy-signature__bio {
  font-size: 0.96rem;
  color: var(--encre-douce);
  margin: 0 0 0.7em;
}

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

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

.cy-lire-aussi {
  position: relative;
  overflow: hidden;
  background-color: var(--kraft);
  border-top: var(--filet);
  padding: 62px clamp(24px, 4vw, 64px) 66px;
}

.cy-lire-aussi::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pavage);
  background-size: 84px 48.5px;
  opacity: 0.5;
  pointer-events: none;
}

.cy-lire-aussi > * { position: relative; z-index: 1; max-width: var(--utile); }

.cy-lire-aussi__titre {
  font-family: var(--titre);
  font-size: 1.62rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.14;
  color: var(--encre);
  margin: 0 0 26px;
  max-width: none;
}

.cy-lire-aussi__grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gouttiere);
}

.cy-carte-liee {
  position: relative;
  background: var(--blanc);
  border: var(--filet);
  display: flex;
  flex-direction: column;
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--coupe-y));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cy-carte-liee:hover { transform: translateY(-2px); box-shadow: var(--pose); }

.cy-carte-liee img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: var(--filet);
  filter: saturate(0.92) brightness(1.03);
}

.cy-carte-liee__texte { padding: 18px 20px 18px; }

.cy-carte-liee__titre {
  font-family: var(--titre);
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.cy-carte-liee__titre a { color: var(--encre); text-decoration: none; }
.cy-carte-liee__titre a:hover { color: var(--tige); text-decoration: underline; text-underline-offset: 3px; }

/* Le titre est le seul lien de la carte: son etendue couvre la carte entiere,
   image comprise, sans dupliquer le lien pour les lecteurs d ecran. */
.cy-carte-liee__titre a::after { content: ""; position: absolute; inset: 0; }

.cy-carte-liee__accroche {
  font-size: 0.9rem;
  color: var(--encre-douce);
  margin: 0;
  max-width: none;
}

/* --------------------------------------------------------------------------
   22.9 Section du magazine sur la page d accueil
   -------------------------------------------------------------------------- */

.cy-planche--cahier {
  background: var(--coton);
  border-top: var(--filet);
  border-bottom: var(--filet);
}

.cy-cahier--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.cy-cahier__suite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 30px;
  max-width: var(--utile);
}

.cy-cahier__suite p {
  margin: 0;
  font-family: var(--releve);
  font-size: 0.8rem;
  color: var(--encre-douce);
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   22.10 Adaptations du magazine
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .cy-cahier,
  .cy-cahier--trois,
  .cy-lire-aussi__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cy-article__titre { max-width: none; }
}

@media (max-width: 1023px) {
  .cy-colonne { max-width: 68ch; }
  .cy-signature { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cy-signature__photo { max-width: 96px; }
}

@media (max-width: 700px) {
  .cy-cahier,
  .cy-cahier--trois,
  .cy-lire-aussi__grille { grid-template-columns: minmax(0, 1fr); }
  .cy-lire-aussi { padding: 48px 20px 52px; }
  .cy-colonne { margin-top: 30px; }
  .cy-colonne h2 { font-size: 1.5rem; margin-top: 40px; }
  .cy-colonne h3 { font-size: 1.14rem; }
  .cy-colonne table { display: block; overflow-x: auto; }
  .cy-exergue { padding: 18px 20px; font-size: 1.06rem; }
  .cy-appel { padding: 22px 22px 20px; }
  .cy-appel .cy-bouton { width: 100%; justify-content: center; }
  .cy-signature { padding: 20px 22px; }
}

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