/* ==========================================================================
   Puymaurin — feuille de style unique
   Tokens (couleurs, typographie, rythmes) : tout se règle ci-dessous.
   ========================================================================== */

:root {
  /* Couleurs */
  --encre: #16222b;          /* fond sombre, texte fort */
  --encre-2: #1e2d38;        /* variante (cartes sur fond sombre) */
  --ivoire: #faf7f2;         /* fond clair chaud */
  --ivoire-2: #f2ece2;       /* variante (sections encadrées) */
  --papier: #ffffff;
  --texte: #2b333a;
  --texte-doux: #5b656d;
  --texte-inverse: #eef1f3;
  --texte-inverse-doux: #b9c2c9;
  --dore: #c9963f;           /* accent — filets, kickers, liens */
  --dore-clair: #dfb268;
  --dore-texte: #876123;     /* or foncé : texte doré sur fond clair (contraste ≥ 4,5:1) */
  --brique: #a8552f;         /* brique toulousaine — touches secondaires */
  --ligne: #e3dccd;
  --ligne-sombre: #31424f;

  /* Typographie */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-0: 1rem;
  --fs-1: clamp(1.125rem, 1rem + .4vw, 1.3rem);
  --fs-2: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  --fs-3: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  --fs-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem);

  /* Rythmes */
  --wrap: 68rem;
  --pas: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --rayon: 4px;
  --transition: .45s cubic-bezier(.2, .7, .3, 1);
}

/* --- Polices (variables, wght conservé) ---------------------------------- */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* --- Base ----------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-0);
  line-height: 1.65;
  color: var(--texte);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--encre);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-4); }
h2 { font-size: var(--fs-3); }
h3 { font-size: var(--fs-2); }
/* .h4 : l'allure d'un h4 sur un titre de niveau supérieur (hiérarchie
   des titres respectée pour les lecteurs d'écran et les moteurs). */
h4, .h4 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.12rem;
  line-height: 1.2;
  color: var(--encre);
  margin: 0 0 .5em;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 460;
  color: var(--brique);
}

p { margin: 0 0 1em; }

a { color: inherit; }
p a, li a, address a {
  color: var(--encre);
  text-decoration-color: var(--dore);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .2em;
  transition: color .2s;
}
p a:hover, li a:hover, address a:hover { color: var(--brique); }

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

address { font-style: normal; }

ul { padding-left: 1.2em; }

blockquote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--dore);
  background: var(--ivoire-2);
  font-family: var(--serif);
  font-size: var(--fs-1);
  color: var(--encre);
}
blockquote p:last-child { margin-bottom: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.mt-3 { margin-top: 1.5rem; }
/* empêche une coupure à l'intérieur d'un mot composé (« centre-ville ») */
.insecable { white-space: nowrap; }
.center { text-align: center; }
.center .btn { margin-top: 1rem; }

::selection { background: var(--dore); color: var(--encre); }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--encre);
  color: var(--texte-inverse);
  border-radius: 0 0 var(--rayon) var(--rayon);
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* --- En-tête -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ivoire) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ligne);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--serif);
  font-weight: 620;
  font-size: 1.45rem;
  letter-spacing: .01em;
  color: var(--encre);
  margin: 0;
}
.brand__baseline {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dore-texte);
  font-weight: 560;
}
.brand__name--footer { color: var(--texte-inverse); font-size: 1.6rem; }

.site-nav ul {
  display: flex;
  gap: clamp(.8rem, 2vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 480;
  color: var(--texte);
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: var(--brique); }
.site-nav a[aria-current="page"] {
  color: var(--encre);
  font-weight: 620;
  border-bottom-color: var(--dore);
}

/* Bouton menu (mobile) */
.menu-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  background: none;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: .5rem .8rem;
  font: inherit;
  font-size: .85rem;
  color: var(--encre);
  cursor: pointer;
}
.menu-toggle__box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.menu-toggle__box span {
  height: 2px;
  background: var(--encre);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__box span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__box span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

@media (max-width: 47.99rem) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--ivoire);
    border-bottom: 1px solid var(--ligne);
    display: none;
    box-shadow: 0 18px 30px -18px rgb(22 34 43 / .25);
  }
  .site-nav.est-ouverte { display: block; }
  /* Sans JS, pas de bouton Menu : la navigation s'affiche sous le logo. */
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header__bar { flex-wrap: wrap; padding-top: .9rem; }
  html:not(.js) .site-nav {
    display: block;
    position: static;
    flex-basis: 100%;
    border-bottom: 0;
    box-shadow: none;
  }
  html:not(.js) .site-nav ul { padding-inline: 0; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: .5rem clamp(1.25rem, 4vw, 2.5rem) 1rem;
  }
  .site-nav li + li { border-top: 1px solid var(--ligne); }
  .site-nav a {
    display: block;
    padding: .8rem 0;
    font-size: 1rem;
    border-bottom: none;
  }
  .site-nav a[aria-current="page"] { color: var(--brique); }
}

/* --- Héros ---------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--encre);
  color: var(--texte-inverse);
  padding-block: var(--pas);
  overflow: hidden;
}
.hero--photo { min-height: min(78vh, 40rem); display: flex; align-items: flex-end; }
.hero--photo .wrap { position: relative; z-index: 2; width: 100%; padding-block: var(--pas) 0; }

.hero__bg { position: absolute; inset: 0; z-index: 0; }
/* <picture> est en ligne par défaut : sans ceci, sur mobile (héros plus haut
   que la photo), une bande sombre apparaît sous l'image. */
.hero__bg picture { display: block; height: 100%; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgb(22 34 43 / .93) 0%, rgb(22 34 43 / .66) 45%, rgb(22 34 43 / .38) 100%);
}

.hero h1 { color: var(--texte-inverse); }
.hero__title { margin-bottom: .35em; }
.hero__title em { color: var(--dore-clair); }

.hero__sub {
  max-width: 34em;
  font-size: var(--fs-1);
  color: var(--texte-inverse-doux);
  margin-bottom: 1.6em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}
.hero--photo .hero__actions { margin-bottom: var(--pas); }
.hero:not(.hero--photo) .wrap { position: relative; z-index: 2; }

.kicker {
  font-size: .78rem;
  font-weight: 620;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dore-texte);
  margin: 0 0 1rem;
}
.hero .kicker, .section--dark .kicker { color: var(--dore); }
.kicker::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 2rem;
  height: 1.5px;
  background: var(--dore);
  margin-right: .7rem;
}

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

.btn {
  display: inline-block;
  padding: .78rem 1.5rem;
  background: var(--dore);
  color: var(--encre);
  font-weight: 620;
  font-size: .92rem;
  letter-spacing: .02em;
  text-decoration: none;
  border-radius: var(--rayon);
  border: 1.5px solid var(--dore);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--dore-clair); border-color: var(--dore-clair); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn--ghost:hover {
  background: transparent;
  color: var(--dore-texte);
  border-color: var(--dore-texte);
}
.hero .btn--ghost:hover, .section--dark .btn--ghost:hover {
  color: var(--dore-clair);
  border-color: var(--dore-clair);
}

/* --- Sections --------------------------------------------------------------*/

.section { padding-block: var(--pas); }

.section__head { max-width: 46rem; margin-bottom: 2.5rem; }
.section__head.center { margin-inline: auto; }
/* dans une section centrée, la colonne de texte doit rester centrée elle aussi */
.center .prose { margin-inline: auto; }

.section--dark {
  background: var(--encre);
  color: var(--texte-inverse-doux);
}
.section--dark h2, .section--dark h3 { color: var(--texte-inverse); }
.section--dark p a, .section--dark li a { color: var(--texte-inverse); }
.section--dark p a:hover, .section--dark li a:hover { color: var(--dore-clair); }

.section--framed {
  background: var(--ivoire-2);
  border-block: 1px solid var(--ligne);
}

/* Deux colonnes texte / image */
.grid-split {
  display: grid;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .grid-split { grid-template-columns: 1fr 1.15fr; }
  .grid-split--reverse > :first-child { order: 2; }
  .grid-split--tight { grid-template-columns: 1fr 1fr; align-items: start; }
}
.grid-split picture img {
  border-radius: var(--rayon);
  box-shadow: 0 24px 48px -24px rgb(22 34 43 / .35);
}

.prose { max-width: 38rem; }
.lead {
  font-family: var(--serif);
  font-size: var(--fs-1);
  color: var(--encre);
  line-height: 1.5;
}
.section--dark .lead { color: var(--texte-inverse); }

/* --- Cartes (accueil) --------------------------------------------------------*/

.cards {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 48rem) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.8rem 1.6rem;
  background: var(--encre-2);
  border: 1px solid var(--ligne-sombre);
  border-top: 3px solid var(--dore);
  border-radius: var(--rayon);
}
.card h3 { color: var(--texte-inverse); font-size: 1.3rem; }
.card p { flex: 1; font-size: .95rem; }
.card .btn { align-self: flex-start; }

/* --- Bandeau photo pleine largeur -------------------------------------------*/

.band {
  position: relative;
  max-height: 24rem;
  overflow: hidden;
  background: var(--encre);
}
.band img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  opacity: .85;
}
.band__quote {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 4rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  background: linear-gradient(to top, rgb(22 34 43 / .88), transparent);
  color: var(--texte-inverse);
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs-2);
  text-align: center;
  text-shadow: 0 1px 8px rgb(22 34 43 / .6);
}

/* --- Parcours (listes numérotées) --------------------------------------------*/

.parcours {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
.parcours__item {
  display: grid;
  gap: .5rem 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--ligne);
}
@media (min-width: 48rem) {
  .parcours__item { grid-template-columns: 6rem 1fr; }
}
.num-giant {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--dore-texte);
}
.section--dark .num-giant { color: var(--dore); }
.parcours__ages {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 480;
  letter-spacing: .04em;
  color: var(--texte-doux);
  white-space: nowrap;
}

/* Encart clair : sous-bloc mis en avant dans une section claire
   (The Grade, temps forts…). */
.encart {
  padding: 1.3rem 1.5rem;
  background: var(--ivoire-2);
  border-left: 3px solid var(--dore);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  margin-block: 1.5rem;
}
.encart > :last-child { margin-bottom: 0; }
.encart ul { margin-bottom: 0; }
.encart h3 { font-size: 1.25rem; }
.section--framed .encart { background: var(--ivoire); }

/* Listes de dates : plusieurs colonnes dès qu'il y a de la place */
.dates {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: .2rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}
.dates li { padding-left: .9rem; position: relative; }
.dates li::before {
  content: "";
  position: absolute;
  left: 0; top: .7em;
  width: .4rem; height: 1px;
  background: var(--dore);
}
.note { font-size: .92rem; color: var(--texte-doux); }

.duo { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .duo { grid-template-columns: 1fr 1fr; } }

/* Tableaux d'horaires */
.table-scroll { overflow-x: auto; margin-block: 1rem; }
.horaires {
  border-collapse: collapse;
  min-width: 18rem;
  font-size: .95rem;
}
.horaires td {
  padding: .55rem .9rem;
  border-bottom: 1px solid var(--ligne);
}
/* IBAN : chiffres à chasse fixe, jamais coupé en fin de ligne. */
.iban {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: .02em;
}

.horaires td:first-child {
  font-variant-numeric: tabular-nums;
  font-weight: 620;
  color: var(--brique);
  white-space: nowrap;
}

/* --- Encadrés (grilles de points de formation) --------------------------------*/

.encadres {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 48rem) { .encadres { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .encadres { grid-template-columns: repeat(3, 1fr); } }

.encadre {
  padding: 1.5rem 1.4rem;
  background: var(--encre-2);
  border: 1px solid var(--ligne-sombre);
  border-radius: var(--rayon);
}
.encadre h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.encadre p { margin: 0; font-size: .93rem; }

/* --- Infos pratiques, brochure ------------------------------------------------*/

.infos-pratiques p {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-block: .6rem;
  margin: 0;
  border-bottom: 1px solid var(--ligne);
}
.infos-pratiques strong {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texte-doux);
  padding-top: .2em;
}

.brochure-apercu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.brochure-apercu img {
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  box-shadow: 0 16px 32px -20px rgb(22 34 43 / .4);
}
figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--texte-doux); }

/* Portrait (photo en hauteur) : on borne la largeur pour qu'il ne dévore pas
   la colonne, et on centre la légende dessous. */
.portrait { max-width: 24rem; margin-inline: auto; }
.portrait figcaption {
  margin-top: .8rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: .92rem;
}

/* --- Agenda ---------------------------------------------------------------- */

.agenda-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.agenda-tab {
  font: inherit;
  font-size: .9rem;
  font-weight: 560;
  padding: .55rem 1.1rem;
  background: transparent;
  color: var(--texte);
  border: 1.5px solid var(--ligne);
  border-radius: 99px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.agenda-tab:hover { border-color: var(--dore); color: var(--encre); }
.agenda-tab[aria-selected="true"] {
  background: var(--encre);
  color: var(--texte-inverse);
  border-color: var(--encre);
}

.agenda-panel iframe {
  width: 100%;
  height: min(75vh, 42rem);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  background: var(--papier);
}

.agenda-note {
  margin-top: 1rem;
  font-size: .88rem;
  color: var(--texte-doux);
}

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

.contact-grid {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }

.contact-bloc { margin-bottom: 1.8rem; }
.contact-bloc h2 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 620;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dore-texte);
  margin-bottom: .4rem;
}
.contact-bloc p { margin: 0; }

.contact-carte iframe {
  width: 100%;
  height: 26rem;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
}

/* Formulaire Google intégré (page Contact) */
.formulaire {
  width: 100%;
  height: 46rem;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  background: var(--papier);
}

/* Repère bien visible, dessiné par-dessus la carte (voir contact.html) */
.carte { position: relative; }
.carte iframe { pointer-events: none; display: block; }
.carte__pin,
.carte__etiquette {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}
.carte__pin {
  width: 2.2rem;
  height: auto;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 5px 7px rgb(22 34 43 / .45));
}
.carte__etiquette {
  transform: translate(-50%, .5rem);
  margin: 0;
  padding: .18rem .55rem;
  background: #f4001f;
  color: #fff;
  border-radius: var(--rayon);
  font-size: .78rem;
  font-weight: 620;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 4px 10px -4px rgb(22 34 43 / .5);
}

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

.site-footer {
  background: var(--encre);
  color: var(--texte-inverse-doux);
  padding-top: var(--pas);
  font-size: .93rem;
}
.site-footer__grid {
  display: grid;
  gap: 2.2rem;
  padding-bottom: 3rem;
}
@media (min-width: 48rem) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.site-footer__baseline {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dore);
  margin: -.2rem 0 1.2rem;
}
.site-footer__h {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 620;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-inverse);
  margin: 0 0 .9rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li { margin-bottom: .45rem; }
.site-footer a {
  color: var(--texte-inverse-doux);
  text-decoration: none;
  transition: color .2s;
}
.site-footer a:hover { color: var(--dore-clair); }
.site-footer address a { color: var(--texte-inverse); }

.site-footer__bottom {
  border-top: 1px solid var(--ligne-sombre);
  padding-block: 1.4rem;
  font-size: .82rem;
}
.site-footer__bottom p { margin: 0; }

/* --- Contenus tiers soumis à accord (Google) ---------------------------------*/

.tiers__accord {
  display: grid;
  place-content: center;
  gap: 1rem;
  min-height: 20rem;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  background: var(--papier);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  text-align: center;
}
.tiers__accord[hidden] { display: none; }
.tiers__accord p { max-width: 36em; margin: 0 auto; }
.tiers__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
  justify-content: center;
  align-items: center;
}
.tiers__memoire {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  color: var(--texte-doux);
  cursor: pointer;
}
.tiers__memoire input { width: 1.1rem; height: 1.1rem; accent-color: var(--dore-texte); }
.tiers__contenu:focus { outline: none; }
/* Sans JS, les boutons ne feraient rien : seul le lien direct reste. */
html:not(.js) .tiers__actions, html:not(.js) .tiers__retrait { display: none; }

/* --- Apparitions au défilement (.reveal) ---------------------------------------*/
/* Sans JS, tout reste visible : la classe `js` est posée par main.js. */

.js .reveal {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity var(--transition), transform var(--transition);
}
.js .reveal.est-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* --- Impression -----------------------------------------------------------------*/

@media print {
  .site-header, .site-footer, .menu-toggle, .hero__actions, .btn { display: none; }
  .hero { background: none; color: #000; padding-block: 1rem; }
  .hero h1 { color: #000; }
  .hero__bg { display: none; }
}
