/* ==========================================================================
   Borderea, feuille de style unique
   Vocabulaire des classes: talon, marge, pli, feuillet, postale, tirage,
   cachet, rides, timbre, releve, geste, tenue, soiree, consoeur, tarif,
   question, guichet, souche.
   ========================================================================== */

:root {
  --fond: #F5F3FB;
  --fond-sable: #EBE8F6;
  --surface: #FFFFFF;
  --encre: #211C42;
  --encre-douce: #56517A;
  --sauge: #3B5C29;
  --sauge-sombre: #2E4820;
  --sauge-claire: #7C9A6B;
  --indigo: #453A94;
  --indigo-clair: #6A5FBE;
  --lavande: #DAD5EC;
  --lavande-pale: #EFECF9;
  --sur-accent: #FFFFFF;

  --cadre: 14px;
  --rayon: 18px;
  --rayon-signature: 2px;
  --gouttiere: 28px;
  --marge-page: 24px;
  --largeur: 1120px;

  --titre: "Epilogue", "Trebuchet MS", sans-serif;
  --courant: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --accent: "Unna", Georgia, "Times New Roman", serif;

  --ombre-basse: 0 2px 10px rgba(33, 28, 66, .05), 0 18px 40px rgba(33, 28, 66, .06);
  --ombre-tirage: 0 3px 12px rgba(33, 28, 66, .06), 0 26px 54px rgba(33, 28, 66, .08);
  --duree: 220ms;
}

/* --------------------------------------------------------- bases */

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--courant);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.68;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: 3.4rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

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

strong { font-weight: 600; }

a {
  color: var(--indigo);
  text-decoration: none;
  border-bottom: 2px solid var(--sauge-claire);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}
a:hover { color: var(--sauge); border-color: var(--sauge); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 3px;
}

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

.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--encre);
  padding: 14px 22px;
  z-index: 90;
  border: 1.5px solid var(--indigo);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
}
.evitement:focus { left: 16px; top: 16px; }

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

/* --------------------------------------------------------- ossature */

.marge {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--marge-page);
}

.marge--etroite { max-width: 760px; }

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

.pli--sable { background: var(--fond-sable); }

.pli--serre { padding: 60px 0; }

.pli__entete { margin-bottom: 44px; max-width: 720px; }

.cachet {
  font-family: var(--accent);
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--indigo);
  display: block;
  margin-bottom: 14px;
}

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

/* trois rides courtes, signature posee sous chaque titre de section */
.paraphe {
  display: block;
  width: 64px;
  height: 14px;
  margin: 0 0 18px;
  animation: flotte-court 11s ease-in-out infinite;
}
.paraphe path {
  fill: none;
  stroke: var(--sauge-claire);
  stroke-width: 1.5;
}

/* --------------------------------------------------------- forme signature */

.feuillet {
  background: var(--surface);
  padding: var(--cadre);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  box-shadow: var(--ombre-basse);
}

.feuillet__filet {
  border: 1px solid var(--lavande);
  border-radius: 12px;
  border-top-left-radius: var(--rayon-signature);
  height: 100%;
  padding: 24px 26px 26px;
}

/* --------------------------------------------------------- motif rides */

.rides {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.rides path {
  fill: none;
  stroke: var(--lavande);
  stroke-width: 1.5;
  opacity: .55;
}
.rides--sauge path {
  stroke: var(--sauge-claire);
  opacity: .18;
}

.rides-bande {
  position: absolute;
  left: 50%;
  width: 148%;
  transform: translateX(-50%);
  animation: flotte 14s ease-in-out infinite;
}

.rides-bande--hero { bottom: -18px; animation-delay: -2s; }
.rides-bande--tarifs {
  bottom: 0; right: -8%; left: auto;
  width: 62%;
  transform: none;
  animation-delay: -8s;
}

.separateur-rides {
  height: 48px;
  overflow: hidden;
  position: relative;
  background: var(--fond);
}
.separateur-rides .rides {
  position: absolute;
  left: 50%;
  top: -46px;
  width: 132%;
  transform: translateX(-50%);
  animation: flotte 14s ease-in-out infinite -5s;
}

/* --------------------------------------------------------- en tete */

.talon {
  position: relative;
  z-index: 40;
  background: transparent;
  transition: background var(--duree) ease, box-shadow var(--duree) ease,
              border-color var(--duree) ease, padding var(--duree) ease;
  border-bottom: 1px solid transparent;
  padding: 22px 0;
}

.talon.est-collee {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 12px 0;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--lavande);
  box-shadow: 0 1px 14px rgba(33, 28, 66, .06);
}

.talon__rang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logotype {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: .01em;
  color: var(--encre);
  border: 0;
  padding: 0;
}
.logotype:hover { color: var(--indigo); }

.logotype__marque {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  animation: respire 16s ease-in-out infinite;
}

.talon__ancres {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.talon__ancres a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--encre-douce);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}
.talon__ancres a:hover { color: var(--encre); border-bottom-color: var(--sauge-claire); }

.talon__action { display: flex; align-items: center; gap: 12px; }

.bouton-volet {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1.5px solid var(--lavande);
  border-radius: 10px;
  border-top-left-radius: var(--rayon-signature);
  cursor: pointer;
}
.bouton-volet svg { width: 22px; height: 16px; }
.bouton-volet path { fill: none; stroke: var(--indigo); stroke-width: 1.6; }

.volet {
  position: fixed;
  inset: 0;
  background: var(--surface);
  z-index: 60;
  padding: 28px var(--marge-page) 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 260ms ease, visibility 0s linear 260ms;
}
.volet[hidden] { display: block; }
.volet.est-ouvert {
  transform: translateY(0);
  visibility: visible;
  transition: transform 260ms ease, visibility 0s linear 0s;
}

.volet__rang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}
.volet__fermer {
  background: none;
  border: 1.5px solid var(--lavande);
  border-radius: 10px;
  border-top-left-radius: var(--rayon-signature);
  width: 46px; height: 46px;
  font-size: 1.3rem;
  color: var(--indigo);
  cursor: pointer;
  line-height: 1;
}
.volet__liens {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 4px;
}
.volet__liens a {
  display: block;
  font-size: 1.25rem;
  font-family: var(--titre);
  font-weight: 500;
  color: var(--encre);
  padding: 12px 0;
  border-bottom: 1px solid var(--lavande);
}

body.corps-bloque { overflow: hidden; }

/* --------------------------------------------------------- boutons */

.timbre {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--courant);
  font-size: 1rem;
  font-weight: 600;
  color: var(--sur-accent);
  background: var(--sauge);
  border: 1.5px solid var(--sauge);
  border-radius: 10px;
  border-top-left-radius: var(--rayon-signature);
  cursor: pointer;
  text-align: center;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  padding-bottom: 0;
}
.timbre:hover {
  background: var(--sauge-sombre);
  border-color: var(--sauge-sombre);
  color: var(--sur-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(59, 92, 41, .22);
}
.timbre:active { transform: none; box-shadow: none; }

.timbre--verso {
  background: var(--surface);
  color: var(--encre);
  border: 1.5px solid var(--lavande);
}
.timbre--verso:hover {
  background: var(--lavande-pale);
  border-color: var(--indigo);
  color: var(--encre);
  box-shadow: none;
  transform: translateY(-2px);
}

.timbre--compact { min-height: 44px; padding: 0 20px; font-size: .9375rem; }

.paire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* --------------------------------------------------------- hero postale */

.hero {
  position: relative;
  padding: 40px 0 96px;
  overflow: hidden;
}

.postale {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  padding: 56px;
  box-shadow: var(--ombre-tirage);
}
.postale::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--lavande);
  border-radius: 12px;
  border-top-left-radius: var(--rayon-signature);
  pointer-events: none;
}

.postale__corps {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: 48px;
  align-items: center;
}

.postale h1 { margin-bottom: .4em; }
.postale__sous { font-size: 1.1875rem; color: var(--encre-douce); }

.attente {
  border-left: 2px solid var(--lavande);
  padding-left: 34px;
}
.attente__somme {
  font-family: var(--accent);
  font-weight: 400;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--indigo);
  display: block;
  margin: 6px 0 12px;
  font-variant-numeric: tabular-nums;
}
.attente__contexte {
  font-size: .9375rem;
  color: var(--encre-douce);
  margin: 0;
}

.tirage {
  position: relative;
  z-index: 3;
  background: var(--surface);
  padding: var(--cadre);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  box-shadow: var(--ombre-tirage);
}
.tirage img {
  border-radius: 8px;
  border-top-left-radius: var(--rayon-signature);
  filter: saturate(.88);
}
.tirage__voile {
  position: absolute;
  inset: var(--cadre);
  background: #B9AEE4;
  mix-blend-mode: multiply;
  opacity: .08;
  border-radius: 8px;
  border-top-left-radius: var(--rayon-signature);
  pointer-events: none;
}
.tirage__legende {
  font-size: .875rem;
  font-weight: 500;
  color: var(--encre-douce);
  margin: 12px 4px 2px;
}

.tirage--hero {
  max-width: 760px;
  margin: -40px 0 0 auto;
  transform: translateX(40px);
}

/* --------------------------------------------------------- bandeau chiffres */

.chiffres {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gouttiere);
}
.chiffres li {
  margin: 0;
  background: var(--surface);
  padding: var(--cadre);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  box-shadow: var(--ombre-basse);
}
.chiffres__interieur {
  border: 1px solid var(--lavande);
  border-radius: 12px;
  border-top-left-radius: var(--rayon-signature);
  padding: 20px 20px 22px;
  height: 100%;
}
.chiffres__valeur {
  font-family: var(--accent);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--indigo);
  display: block;
  margin-bottom: 8px;
}
.chiffres__libelle {
  font-size: .9375rem;
  color: var(--encre-douce);
  margin: 0;
}

/* --------------------------------------------------------- probleme */

.releve {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gouttiere);
  align-items: start;
}
.releve__bloc h3 { color: var(--encre); }
.releve__bloc p { color: var(--encre-douce); }

.note-marge {
  margin-top: var(--gouttiere);
  background: var(--lavande-pale);
  border: 1px solid var(--lavande);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  padding: 26px 28px;
}
.note-marge p { color: var(--encre); margin: 0; }

/* --------------------------------------------------------- solution */

.bande-gestes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gouttiere);
  counter-reset: geste;
  position: relative;
}
.bande-gestes::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 46px;
  height: 1px;
  background: var(--lavande);
}
.geste { position: relative; }
.geste__numero {
  position: relative;
  z-index: 2;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--lavande);
  color: var(--indigo);
  font-family: var(--accent);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.geste h3 { margin-bottom: .4em; }
.geste p { color: var(--encre-douce); font-size: 1rem; }

/* --------------------------------------------------------- fonctionnalites */

.tenue {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gouttiere);
}
.tenue h3 { margin-bottom: .5em; }
.tenue p { color: var(--encre-douce); font-size: 1rem; }
.tenue__marque {
  width: 44px; height: 12px;
  margin-bottom: 16px;
  display: block;
}
.tenue__marque path { fill: none; stroke: var(--sauge-claire); stroke-width: 1.5; }

/* --------------------------------------------------------- avantages */

.soirees {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gouttiere);
}
.soiree {
  background: var(--surface);
  padding: var(--cadre);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  box-shadow: var(--ombre-basse);
}
.soiree__interieur {
  border: 1px solid var(--lavande);
  border-radius: 12px;
  border-top-left-radius: var(--rayon-signature);
  padding: 22px 22px 24px;
  height: 100%;
}
.soiree__gain {
  font-family: var(--accent);
  font-size: 2rem;
  color: var(--indigo);
  display: block;
  line-height: 1.1;
  margin-bottom: 10px;
}
.soiree h3 { font-size: 1.0625rem; margin-bottom: .45em; }
.soiree p { font-size: .9375rem; color: var(--encre-douce); }

/* --------------------------------------------------------- preuve */

.consoeurs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gouttiere);
}
.consoeur blockquote {
  margin: 0 0 20px;
  font-family: var(--accent);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--encre);
}
.consoeur blockquote p { max-width: none; }
.consoeur figcaption {
  border-top: 1px solid var(--lavande);
  padding-top: 16px;
  font-size: .9375rem;
  color: var(--encre-douce);
}
.consoeur figcaption b {
  display: block;
  font-family: var(--courant);
  font-weight: 600;
  color: var(--encre);
}

.recommandation {
  margin-top: var(--gouttiere);
  border: 1px dashed var(--lavande);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  padding: 26px 28px;
  background: var(--surface);
}
.recommandation p { color: var(--encre-douce); }
.recommandation h3 { font-size: 1.1rem; }

/* --------------------------------------------------------- tarifs */

.bordereau-prix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gouttiere);
  align-items: start;
  position: relative;
  z-index: 2;
}
.tarif { position: relative; }
.tarif--surleve { transform: translateY(-16px); }
.tarif--surleve .feuillet { box-shadow: var(--ombre-tirage); }
.tarif--surleve .feuillet__filet { border-color: var(--indigo); }

.tarif__etiquette {
  position: absolute;
  top: -14px; left: 26px;
  background: var(--indigo);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
  border-top-left-radius: var(--rayon-signature);
}
.tarif h3 { margin-bottom: .35em; }
.tarif__prix {
  font-family: var(--accent);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--indigo);
  display: block;
  margin: 14px 0 4px;
}
.tarif__unite { font-size: .875rem; color: var(--encre-douce); display: block; margin-bottom: 16px; }
.tarif__cible { font-size: .9375rem; color: var(--encre-douce); }
.tarif__inclus {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  border-top: 1px solid var(--lavande);
  padding-top: 18px;
}
.tarif__inclus li {
  position: relative;
  padding-left: 26px;
  font-size: .9375rem;
  margin-bottom: .6em;
}
.tarif__inclus li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 14px; height: 2px;
  background: var(--sauge-claire);
  border-radius: 2px;
}
.tarif .timbre { width: 100%; }

.mention-tarif {
  margin-top: 36px;
  font-size: .9375rem;
  color: var(--encre-douce);
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------- faq */

.questions { max-width: 720px; }
.question {
  background: var(--surface);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  padding: 6px 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(33, 28, 66, .04);
}
.question summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 18px 40px 18px 12px;
  position: relative;
  color: var(--encre);
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 12px; height: 12px;
  border-right: 1.6px solid var(--indigo);
  border-bottom: 1.6px solid var(--indigo);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 200ms ease;
}
.question[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.question__reponse { padding: 0 12px 20px; color: var(--encre-douce); }

/* --------------------------------------------------------- formulaire */

.guichet {
  background: var(--surface);
  padding: var(--cadre);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  box-shadow: var(--ombre-tirage);
}
.guichet__filet {
  border: 1px solid var(--lavande);
  border-radius: 12px;
  border-top-left-radius: var(--rayon-signature);
  padding: 44px;
}
.guichet__corps {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.guichet__mot p { color: var(--encre-douce); }
.guichet__mot ul { list-style: none; padding: 0; margin-top: 22px; }
.guichet__mot li {
  position: relative;
  padding-left: 26px;
  font-size: .9375rem;
  color: var(--encre-douce);
}
.guichet__mot li::before {
  content: "";
  position: absolute;
  left: 0; top: .7em;
  width: 14px; height: 2px;
  background: var(--sauge-claire);
}

.champ { margin-bottom: 18px; }
.champ label {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.champ input[type="text"],
.champ input[type="email"],
.champ select,
.champ textarea {
  width: 100%;
  font-family: var(--courant);
  font-size: 1rem;
  color: var(--encre);
  background: var(--fond);
  border: 1.5px solid var(--lavande);
  border-radius: 10px;
  border-top-left-radius: var(--rayon-signature);
  padding: 12px 14px;
}
.champ textarea { resize: vertical; min-height: 120px; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus { background: var(--surface); }
.champ--duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.champ--duo .champ { margin-bottom: 0; }

.champ-accord {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9375rem;
  color: var(--encre-douce);
  margin: 22px 0 24px;
}
.champ-accord input { margin-top: .35em; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--sauge); }

.apres-envoi {
  margin-top: 20px;
  font-size: .875rem;
  color: var(--encre-douce);
}

/* --------------------------------------------------------- pied de page */

.souche {
  background: var(--encre);
  color: #D9D5EE;
  padding: 66px 0 0;
  margin-top: 0;
}
.souche a { color: #D9D5EE; border-bottom-color: rgba(217, 213, 238, .35); }
.souche a:hover { color: #fff; border-bottom-color: var(--sauge-claire); }
.souche h2 {
  font-size: .8125rem;
  font-family: var(--accent);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A9A2D0;
  margin-bottom: 18px;
}
.souche__colonnes {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.souche__colonnes ul { list-style: none; padding: 0; margin: 0; }
.souche__colonnes li { margin-bottom: .55em; font-size: .9375rem; }
.souche__phrase { font-size: .9375rem; color: #B6AFDB; }
.souche .logotype { color: #fff; }
.souche .logotype:hover { color: #fff; }
.souche__reseaux {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: .875rem;
}
.souche__editeur { font-size: .875rem; color: #B6AFDB; }
.souche__barre {
  margin-top: 54px;
  border-top: 1px solid rgba(217, 213, 238, .18);
  padding: 22px 0 30px;
  font-size: .8125rem;
  color: #A9A2D0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
}

/* --------------------------------------------------------- pages internes */

.page-titre {
  padding: 56px 0 34px;
  background: var(--fond-sable);
}
.fil { font-size: .875rem; color: var(--encre-douce); margin-bottom: 16px; }
.fil a { border-bottom-color: var(--lavande); }

.texte-legal { padding: 54px 0 84px; }
.texte-legal h2 { font-size: 1.7rem; margin-top: 2em; }
.texte-legal h2:first-of-type { margin-top: 0; }
.texte-legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.texte-legal p, .texte-legal li { color: var(--encre-douce); }
.texte-legal .feuillet__filet p:last-child { margin-bottom: 0; }

.fiche-identite {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fiche-identite li {
  border-bottom: 1px solid var(--lavande);
  padding: 10px 0;
  font-size: .9375rem;
}
.fiche-identite li:last-child { border-bottom: 0; }

.portrait {
  float: right;
  margin: 0 0 26px 32px;
  max-width: 280px;
}
.portrait img { border-radius: 8px; border-top-left-radius: var(--rayon-signature); }

.plan-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.plan-liste li {
  background: var(--surface);
  border: 1px solid var(--lavande);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  padding: 20px 24px;
}
.plan-liste strong { font-family: var(--titre); font-size: 1.05rem; }
.plan-liste p { margin: 6px 0 0; font-size: .9375rem; color: var(--encre-douce); }

.page-simple {
  padding: 90px 0 100px;
  text-align: left;
}
.page-simple .feuillet__filet { padding: 46px 48px 50px; }

/* --------------------------------------------------------- apparition */

.monte { transition: opacity 500ms ease, transform 500ms ease; }
.avec-script .monte { opacity: 0; transform: translateY(12px); }
.avec-script .monte.est-vue { opacity: 1; transform: none; }

@keyframes flotte {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}
@keyframes flotte-libre {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes flotte-court {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes respire {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

.rides-bande--tarifs { animation-name: flotte-libre; }

/* --------------------------------------------------------- adaptations */

@media (max-width: 1024px) {
  :root { --marge-page: 24px; }
  .postale { padding: 40px; }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soirees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guichet__corps { grid-template-columns: 1fr; gap: 34px; }
  .guichet__filet { padding: 30px; }
}

@media (min-width: 1025px) {
  :root { --marge-page: 48px; }
}

@media (max-width: 900px) {
  .talon__ancres { display: none; }
  .talon__action .timbre { display: none; }
  .bouton-volet { display: inline-flex; }
  h1 { font-size: 2.6rem; }
  .postale__corps { grid-template-columns: 1fr; gap: 34px; }
  .attente { border-left: 0; border-top: 2px solid var(--lavande); padding-left: 0; padding-top: 26px; }
  .bande-gestes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bande-gestes::before { display: none; }
  .consoeurs { grid-template-columns: 1fr; }
  .bordereau-prix { grid-template-columns: 1fr; }
  .tarif--surleve { transform: none; }
  .tirage--hero { transform: none; margin: 24px 0 0; max-width: 100%; }
  .portrait { float: none; margin: 0 0 26px; max-width: 100%; }
}

@media (max-width: 720px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.85rem; }
  .pli { padding: 60px 0; }
  .postale { padding: 26px; }
  .postale::after { inset: 10px; }
  .tenue { grid-template-columns: 1fr; }
  .releve { grid-template-columns: 1fr; }
  .champ--duo { grid-template-columns: 1fr; }
  .champ--duo .champ { margin-bottom: 18px; }
  .souche__colonnes { grid-template-columns: 1fr; gap: 34px; }
  .page-simple .feuillet__filet { padding: 28px; }
}

@media (max-width: 640px) {
  .attente__somme { font-size: 3.4rem; }
  .chiffres { grid-template-columns: 1fr; }
  .soirees { grid-template-columns: 1fr; }
  .bande-gestes { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rides-bande,
  .separateur-rides .rides,
  .paraphe,
  .logotype__marque { animation: none !important; }
  .monte { opacity: 1; transform: none; transition: none; }
  .timbre:hover { transform: none; }
  * { transition-duration: 1ms !important; }
}

@media print {
  .talon, .volet, .bouton-volet, .rides-bande, .separateur-rides { display: none; }
  body { background: #fff; }
}

/* ==========================================================================
   Le Carnet des règlements, section magazine
   Ajoutee en fin de feuille, aucune regle precedente n est modifiee.
   Vocabulaire des classes: carnet, sommaire, fiche, exergue, plume,
   lire-aussi, aussi, suite. Meme forme signature que le reste du site:
   cadre blanc de 14 pixels, filet interieur lavande de 1 pixel, coin
   superieur gauche adouci a 2 pixels, rides de sable en decor flottant.
   ========================================================================== */

/* --------------------------------------------------------- entete du magazine */

.carnet-tete {
  position: relative;
  overflow: hidden;
  padding: 58px 0 92px;
  background: var(--fond-sable);
}
.carnet-tete .rides-bande {
  bottom: -10px;
  height: 86px;
  overflow: hidden;
  animation-delay: -6s;
}
.carnet-tete .rides { height: 208px; }
.carnet-tete__mot {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.carnet-tete__mot .chapeau { margin-bottom: 0; }

/* --------------------------------------------------------- grille des cartes */

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

/* --------------------------------------------------------- carte d article */

.fiche {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  padding: var(--cadre);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  box-shadow: var(--ombre-basse);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.fiche:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-tirage);
}
.fiche:focus-within { box-shadow: var(--ombre-tirage); }

.fiche__filet {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  border: 1px solid var(--lavande);
  border-radius: 12px;
  border-top-left-radius: var(--rayon-signature);
  padding: 12px 12px 24px;
}

.fiche__tirage {
  position: relative;
  margin: 0 0 20px;
}
.fiche__tirage img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  border-top-left-radius: var(--rayon-signature);
  filter: saturate(.88);
}
.fiche__voile {
  position: absolute;
  inset: 0;
  background: #B9AEE4;
  mix-blend-mode: multiply;
  opacity: .08;
  border-radius: 8px;
  border-top-left-radius: var(--rayon-signature);
  pointer-events: none;
}

.fiche__texte {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0 14px;
}
.fiche__angle {
  font-family: var(--accent);
  font-size: .8125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--indigo);
  display: block;
  margin-bottom: 12px;
}
.fiche__titre {
  font-family: var(--titre);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.24;
  margin: 0 0 .55em;
  text-wrap: balance;
}
.fiche__titre a {
  color: var(--encre);
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
}
.fiche__titre a:hover { color: var(--indigo); border-bottom-color: var(--sauge-claire); }

.fiche__extrait {
  font-size: .9375rem;
  color: var(--encre-douce);
  flex: 1 1 auto;
  margin-bottom: 18px;
  max-width: none;
}
.fiche__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--lavande);
  font-size: .8125rem;
  color: var(--encre-douce);
  list-style: none;
}
.fiche__pied li { margin: 0; }

/* --------------------------------------------------------- entete d article */

.carnet-entete {
  position: relative;
  overflow: hidden;
  padding: 46px 0 74px;
  background: var(--fond-sable);
}
.carnet-entete .rides-bande {
  bottom: -10px;
  height: 78px;
  overflow: hidden;
  animation-delay: -9s;
}
.carnet-entete .rides { height: 208px; }
.carnet-entete__mot {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.carnet-entete h1 { font-size: 2.9rem; margin-bottom: .45em; }

.carnet-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-size: .875rem;
  color: var(--encre-douce);
}
.carnet-meta li { margin: 0; }
.carnet-meta__angle {
  font-family: var(--accent);
  font-size: .8125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--indigo);
}

/* --------------------------------------------------------- corps d article */

.carnet-article { padding: 40px 0 80px; }
.carnet-article .tirage { max-width: 900px; }

.exergue {
  font-size: 1.1875rem;
  line-height: 1.62;
  color: var(--encre);
  border-left: 2px solid var(--sauge-claire);
  padding-left: 26px;
  margin: 0 0 38px;
  max-width: 62ch;
}

.carnet-corps {
  max-width: 68ch;
  margin: 40px 0 0;
  font-size: 1.0625rem;
}
.carnet-corps > :first-child { margin-top: 0; }

.carnet-corps h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--encre);
  margin: 2.2em 0 .65em;
  padding-top: 30px;
  position: relative;
}
/* petite signature de trois rides posee sous chaque intertitre, en sauge */
.carnet-corps h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 14px;
  background-image: repeating-linear-gradient(to bottom,
    var(--sauge-claire) 0, var(--sauge-claire) 1.5px, transparent 1.5px, transparent 6px);
  opacity: .85;
  animation: flotte-court 11s ease-in-out infinite;
}
.carnet-corps h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--encre);
  margin: 1.9em 0 .5em;
}

.carnet-corps p {
  margin: 0 0 1.2em;
  max-width: none;
  color: var(--encre);
}
.carnet-corps a {
  color: var(--indigo);
  border-bottom: 2px solid var(--sauge-claire);
  padding-bottom: 2px;
}
.carnet-corps a:hover { color: var(--sauge); border-color: var(--sauge); }
.carnet-corps strong { font-weight: 600; color: var(--encre); }
.carnet-corps em { font-style: italic; }

.carnet-corps ul,
.carnet-corps ol {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
}
.carnet-corps li { margin-bottom: .65em; }
.carnet-corps ul li {
  position: relative;
  padding-left: 28px;
}
.carnet-corps ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--sauge-claire);
}
.carnet-corps ol { counter-reset: point-carnet; }
.carnet-corps ol li {
  position: relative;
  padding-left: 42px;
  counter-increment: point-carnet;
  min-height: 28px;
}
.carnet-corps ol li::before {
  content: counter(point-carnet);
  position: absolute;
  left: 0;
  top: .02em;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--lavande);
  border-radius: 50%;
  font-family: var(--accent);
  font-size: .95rem;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}
.carnet-corps li ul,
.carnet-corps li ol { margin: .6em 0 0; }

.carnet-corps table {
  width: 100%;
  margin: 0 0 1.8em;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--lavande);
  border-radius: 12px;
  border-top-left-radius: var(--rayon-signature);
  overflow: hidden;
  font-size: .9375rem;
  font-variant-numeric: tabular-nums;
}
.carnet-corps caption {
  caption-side: bottom;
  text-align: left;
  font-size: .875rem;
  color: var(--encre-douce);
  padding-top: 10px;
}
.carnet-corps th,
.carnet-corps td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--lavande);
}
.carnet-corps thead th {
  background: var(--lavande-pale);
  font-family: var(--titre);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--encre);
  letter-spacing: -.01em;
}
.carnet-corps tbody th { font-weight: 600; color: var(--encre); }
.carnet-corps tbody td { color: var(--encre-douce); }
.carnet-corps tbody tr:last-child th,
.carnet-corps tbody tr:last-child td { border-bottom: 0; }

.carnet-corps aside {
  margin: 0 0 1.8em;
  background: var(--lavande-pale);
  border: 1px solid var(--lavande);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  padding: 24px 28px;
}
.carnet-corps aside p { color: var(--encre); }
.carnet-corps aside p:last-child,
.carnet-corps aside ul:last-child,
.carnet-corps aside ol:last-child { margin-bottom: 0; }

.carnet-corps blockquote {
  margin: 0 0 1.8em;
  padding: 2px 0 2px 26px;
  border-left: 2px solid var(--sauge-claire);
  font-family: var(--accent);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--encre);
}
.carnet-corps blockquote p { font-size: inherit; }
.carnet-corps blockquote p:last-child { margin-bottom: 0; }

.carnet-corps figure {
  margin: 0 0 1.8em;
  background: var(--surface);
  padding: var(--cadre);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  box-shadow: var(--ombre-basse);
}
.carnet-corps figure img {
  border-radius: 8px;
  border-top-left-radius: var(--rayon-signature);
  filter: saturate(.88);
}
.carnet-corps figcaption {
  font-size: .875rem;
  font-weight: 500;
  color: var(--encre-douce);
  margin: 12px 4px 0;
}

/* --------------------------------------------------------- appel a l action */

.carnet-appel {
  max-width: 68ch;
  margin: 46px 0 0;
  background: var(--surface);
  padding: var(--cadre);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  box-shadow: var(--ombre-basse);
}
.carnet-appel__filet {
  border: 1px solid var(--lavande);
  border-radius: 12px;
  border-top-left-radius: var(--rayon-signature);
  padding: 28px 30px 30px;
}
.carnet-appel p { color: var(--encre-douce); }
.carnet-appel .timbre { margin-top: 8px; }

/* --------------------------------------------------------- encart auteur */

.plume {
  max-width: 68ch;
  margin: 32px 0 0;
  background: var(--surface);
  padding: var(--cadre);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  box-shadow: var(--ombre-basse);
}
.plume__filet {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  border: 1px solid var(--lavande);
  border-radius: 12px;
  border-top-left-radius: var(--rayon-signature);
  padding: 24px 26px 26px;
}
.plume__photo {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  border-top-left-radius: var(--rayon-signature);
  object-fit: cover;
  filter: saturate(.88);
}
.plume__nom {
  font-family: var(--titre);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--encre);
  margin: 0 0 .5em;
}
.plume p { color: var(--encre-douce); font-size: .9375rem; }
.plume__lien { margin-bottom: 0; }

/* --------------------------------------------------------- bloc A lire aussi */

.lire-aussi {
  position: relative;
  overflow: hidden;
  padding: 70px 0 86px;
  background: var(--fond-sable);
}
.lire-aussi .rides-bande {
  bottom: -10px;
  height: 86px;
  overflow: hidden;
  animation-delay: -11s;
}
.lire-aussi .rides { height: 208px; }
.lire-aussi__mot { position: relative; z-index: 2; margin-bottom: 34px; }
.lire-aussi__titre {
  font-family: var(--titre);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--encre);
  margin: 0;
}
.lire-aussi__grille {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gouttiere);
}

.aussi {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  padding: var(--cadre);
  border-radius: var(--rayon);
  border-top-left-radius: var(--rayon-signature);
  box-shadow: var(--ombre-basse);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.aussi:hover { transform: translateY(-3px); box-shadow: var(--ombre-tirage); }
.aussi__filet {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  border: 1px solid var(--lavande);
  border-radius: 12px;
  border-top-left-radius: var(--rayon-signature);
  padding: 12px 12px 22px;
}
.aussi__tirage { position: relative; margin: 0 0 18px; }
.aussi__tirage img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  border-top-left-radius: var(--rayon-signature);
  filter: saturate(.88);
}
.aussi__texte { padding: 0 14px; }
.aussi__titre {
  font-family: var(--titre);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 0 0 .5em;
}
.aussi__titre a { color: var(--encre); border-bottom: 2px solid transparent; padding-bottom: 1px; }
.aussi__titre a:hover { color: var(--indigo); border-bottom-color: var(--sauge-claire); }
.aussi__accroche {
  font-size: .9063rem;
  color: var(--encre-douce);
  margin: 0;
  max-width: none;
}

/* --------------------------------------------- derniers articles sur l accueil */

.carnet-suite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 38px;
}
.carnet-suite p {
  margin: 0;
  font-size: .9375rem;
  color: var(--encre-douce);
  max-width: 46ch;
}

/* --------------------------------------------------------- adaptations */

@media (max-width: 1024px) {
  .sommaire,
  .lire-aussi__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carnet-entete h1 { font-size: 2.5rem; }
}

@media (max-width: 720px) {
  .carnet-entete h1 { font-size: 2.1rem; }
  .carnet-corps h2 { font-size: 1.55rem; }
  .carnet-corps { max-width: 100%; }
  .carnet-corps table { display: block; overflow-x: auto; }
  .exergue { padding-left: 18px; }
  .plume__filet { grid-template-columns: 1fr; gap: 18px; }
  .lire-aussi { padding: 54px 0 64px; }
}

@media (max-width: 640px) {
  .sommaire,
  .lire-aussi__grille { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .carnet-corps h2::before { animation: none !important; }
  .fiche:hover,
  .aussi:hover { transform: none; }
}

/* Rubrique du pied de page sur les articles du magazine: le gabarit ne peut
   porter aucun h2 hors du corps redactionnel, la rubrique passe donc en
   paragraphe et reprend exactement l aspect des rubriques du reste du site. */

.souche__rubrique {
  font-family: var(--accent);
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A9A2D0;
  margin: 0 0 18px;
}
