/* ═══════════════════════════════════════════════════════════════════════
   Cours de français — Gouvieux
   Feuille unique. Le site a porté trois propositions graphiques jusqu'au
   choix de la cliente (2026-09-03) ; seule la retenue subsiste ici, les
   autres sont récupérables via le tag git « trois-designs ».

   Design note. The subject is French schoolwork, so the page is built on
   the object every French pupil knows: the cahier Seyès, its violet-blue
   ruling and rose margin line. The hero heading sits ON the ruling, like
   handwriting. That is the one bold move; everything else stays quiet.

   Paper is white, not cream — French exercise paper is white, and cream
   plus terracotta is the house style of every generated page this year.
   Colour comes from ink: bleu encre, the blue of a schoolroom pen.

   Type: Spectral (Production Type, Paris — a serif drawn for screens) for
   voice; Archivo for the interface. Both self-hosted: faster, and no
   visitor IP is handed to a font CDN on a site that registers children.
   ═══════════════════════════════════════════════════════════════════════ */

/* ------------------------------------------------------------- fonts */

/* ------------------------------------------------------------ tokens */
:root {
  /* paper & ink */
  --paper:      #fdfdfb;   /* exercise-book white */
  --wash:       #f4f6fb;   /* faintest blue tint */
  --card:       #ffffff;
  --ink:        #16224a;   /* bleu encre */
  --ink-2:      #4d5878;   /* softened ink, still AA on paper */
  --seyes:      #b9c5e8;   /* the ruling */
  --seyes-pale: #d5ddf1;
  --marge:      #cf7f92;   /* the margin line — decoration only */
  --marge-ink:  #ad4f68;   /* the same rose, darkened to pass AA as text */
  --marge-pale: #f0dae0;
  --line:       #e4e8f1;

  /* type */
  --voice: Spectral, ui-serif, Georgia, serif;
  --ui:    Archivo, ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* rhythm */
  --pitch: 3.4rem;         /* ruling pitch — the hero h1 line-height IS this */
  --rule-y: -0.93rem;      /* shifts the rule onto the type baseline */
  --marge-x: 2.25rem;      /* where the rose margin line falls */
  --indent: 3.25rem;       /* text starts after the margin */
  --wrap:  60rem;
  --r:     4px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--voice);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ---------------------------------------------------------- typography */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.05rem, 5vw, 2.95rem); line-height: 1.14; }
h2 { font-size: clamp(1.3rem, 3vw, 1.55rem); line-height: 1.25; }
h3 { font-size: 1.05rem; }

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

a { color: var(--ink); text-decoration-color: var(--seyes);
    text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-color: var(--marge); }

strong { font-weight: 600; }

.eyebrow {
  font: 500 .78rem/1 var(--ui); text-transform: uppercase;
  letter-spacing: .13em; color: var(--ink-2);
}
.small { font: 400 .875rem/1.6 var(--ui); color: var(--ink-2); }
.small p { max-width: 68ch; }

/* ═══ THE SIGNATURE — cahier Seyès ═══════════════════════════════════
   Horizontal ruling at the heading's exact line-height, plus the rose
   vertical margin line. Only the hero earns the full treatment.        */
.cahier {
  position: relative;
  padding: var(--pitch) 0 calc(var(--pitch) * 1.05) var(--indent);
  background-image:
    /* rose margin line */
    linear-gradient(to right,
      transparent 0 var(--marge-x), var(--marge-pale) var(--marge-x) calc(var(--marge-x) + 1px),
      transparent calc(var(--marge-x) + 1px)),
    /* the ruling */
    repeating-linear-gradient(to bottom,
      transparent 0 calc(var(--pitch) - 1px),
      var(--seyes-pale) calc(var(--pitch) - 1px) var(--pitch));
  background-position: 0 0, 0 var(--rule-y);
}
.cahier h1 { line-height: var(--pitch); margin-bottom: 0; }

.accroche {
  font: 400 clamp(1.08rem, 2.4vw, 1.28rem)/1.6 var(--voice);
  color: var(--ink-2); margin: 1.4rem 0 0 var(--indent); max-width: 42ch;
}

/* ------------------------------------------------------------- header */
.site-header {
  border-bottom: 1px solid var(--line); background: var(--card);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 14px rgba(22, 26, 20, .05);
}
/* Dès que brand + nav + CTA ne tiennent plus sur une ligne (re-mesuré avec
   l'item Contact : D1/D3 753px, D2 842px), on bascule : logo centré,
   les éléments de navigation centrés dessous. */
@media (max-width: 54rem) {
  /* .site-header préfixe pour battre le space-between de la base quel que soit l'ordre */
  .site-header .header-inner { justify-content: center; row-gap: .45rem; column-gap: 1.4rem; }
  .site-header .brand { flex-basis: 100%; justify-content: center; }
  .site-header .brand-text { text-align: center; }
  .site-header nav ul { justify-content: center; }
}
@media (max-width: 40rem) {
  .site-header .header-inner { padding-block: .55rem; row-gap: .3rem; column-gap: 1rem; }
  .site-header .brand-text span { display: none; }
  .site-header .brand-text { font-size: 1.05rem !important; }
  .site-header .brand-logo { width: 28px; height: 28px; }
  .site-header nav ul { gap: .8rem; }
  .site-header nav a { font-size: .84rem !important; }
  .header-cta { min-height: 36px; padding: .45rem .8rem; font-size: .8rem; }
}
.header-inner {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  align-items: center; justify-content: space-between; padding-block: .95rem;
}
.brand {
  font: 600 1.02rem/1.2 var(--voice); color: var(--ink);
  text-decoration: none; letter-spacing: -.01em;
}
.brand-text { display: block; }
.brand-text span { display: block; font: 500 .76rem/1.4 var(--ui);
              text-transform: uppercase; letter-spacing: .14em; color: var(--marge-ink); }
.site-header nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header nav a {
  font: 500 .875rem/1 var(--ui); color: var(--ink-2);
  text-decoration: none; padding: .7rem 0; display: inline-block;
}
.site-header nav a:hover { color: var(--ink); }
.site-header nav a[aria-current="page"] {
  color: var(--ink); box-shadow: inset 0 -2px 0 var(--marge);
}

main { padding-block: 0 4.5rem; }

/* -------------------------------------------------------------- proof */
.proof {
  display: grid; gap: 0; margin: 2.75rem 0 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 44rem) { .proof { grid-template-columns: repeat(3, 1fr); } }
.proof > div { padding: 1.35rem 1.5rem 1.35rem 0; }
@media (min-width: 44rem) {
  .proof > div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}
@media (max-width: 43.99rem) { .proof > div + div { border-top: 1px solid var(--line); } }
.proof dt { font: 600 1.02rem/1.3 var(--voice); margin-bottom: .15rem; }
.proof dd { margin: 0; font: 400 .875rem/1.55 var(--ui); color: var(--ink-2); }

/* -------------------------------------------------------------- prose */
.prose { max-width: 34rem; }
.lead { font-size: 1.14rem; }

/* -------------------------------------------------------------- cards */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.6rem 1.75rem;
}

.stages { display: grid; gap: 1.25rem; margin-block: 2rem; }
@media (min-width: 46rem) { .stages { grid-template-columns: 1fr 1fr; } }

.stage { display: flex; flex-direction: column; }
.stage .num {
  font: 500 .78rem/1 var(--ui); letter-spacing: .13em; text-transform: uppercase;
  color: var(--marge-ink); display: block; margin-bottom: .5rem;
}
.stage h2 { margin-bottom: .45rem; }
.stage p { font-size: 1rem; }

.facts { margin: auto 0 0; padding-top: 1.1rem; border-top: 1px solid var(--seyes-pale); }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .34rem 0; }
.facts dt { font: 500 .78rem/1.5 var(--ui); text-transform: uppercase;
            letter-spacing: .08em; color: var(--ink-2); }
.facts dd { margin: 0; font: 500 .95rem/1.5 var(--ui); text-align: right; }
.facts dd.todo { color: var(--ink-2); font-style: italic; font-weight: 400;
                 font-family: var(--voice); }

/* ------------------------------------------------------------ buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .7rem 1.5rem; border-radius: var(--r); cursor: pointer;
  font: 500 .935rem/1 var(--ui); text-decoration: none;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:hover { background: #0e1836; border-color: #0e1836; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--seyes); }
.btn-ghost:hover { background: var(--wash); border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 38px; padding: .4rem 1rem; font-size: .85rem; }

/* -------------------------------------------------------------- forms */
.form { max-width: 34rem; margin-inline: auto; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.form fieldset + fieldset { padding-top: 1.4rem; border-top: 1px solid var(--line); }
legend {
  font: 500 .78rem/1 var(--ui); text-transform: uppercase; letter-spacing: .13em;
  color: var(--marge-ink); padding: 0 0 .35rem;
}

label { display: block; margin-block: .95rem; font: 500 .82rem/1.4 var(--ui); color: var(--ink-2); }

input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], select, textarea {
  display: block; width: 100%; margin-top: .35rem; min-height: 44px;
  padding: .62rem .75rem; font: 400 1rem/1.5 var(--voice); color: var(--ink);
  background: var(--card); border: 1px solid var(--seyes);
  border-radius: var(--r); transition: border-color 160ms ease, box-shadow 160ms ease;
}
input[type=number] { max-width: 8rem; }
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-2); }
input:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--seyes-pale);
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.choices { display: grid; gap: .6rem; }
label.radio {
  display: flex; align-items: flex-start; gap: .7rem; margin: 0; min-height: 44px;
  padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer; font: 400 1rem/1.5 var(--voice); color: var(--ink);
  transition: border-color 160ms ease, background 160ms ease;
}
label.radio:hover { border-color: var(--seyes); background: var(--wash); }
label.radio:has(input:checked) { border-color: var(--ink); background: var(--wash); }
label.radio input { width: auto; min-height: 0; margin: .35rem 0 0; accent-color: var(--ink); }

.hp { position: absolute; left: -9999px; }
.privacy { margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------ notices */
.alert, .notice {
  border-radius: var(--r); padding: 1rem 1.25rem; margin-block: 1.5rem;
  font: 400 .95rem/1.6 var(--ui);
}
.alert  { background: #fdf2f4; border: 1px solid var(--marge-pale); color: #8e2540; }
.notice { background: var(--wash); border: 1px solid var(--seyes); }
.alert ul { margin: .5rem 0 0; padding-left: 1.15rem; }
.warn { color: #8e2540; }

/* ------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding-block: 2rem; }
.site-footer p { margin: .15rem 0; font: 400 .875rem/1.6 var(--ui); color: var(--ink-2); max-width: none; }
.site-footer a { color: var(--ink-2); display: inline-block; padding-block: .35rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 70; background: var(--card);
              padding: .7rem 1.1rem; border: 1px solid var(--ink); border-radius: var(--r); }

/* -------------------------------------------------------------- admin */
.admin { background: var(--wash); }
.admin .wrap { padding-block: 2rem 4rem; }
.admin-bar { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: baseline;
             justify-content: space-between; border-bottom: 1px solid var(--seyes);
             padding-bottom: .9rem; margin-bottom: 1.75rem; }
.admin-bar h1 { font-size: 1.35rem; margin: 0; }
.admin-bar nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.admin-bar nav a { font: 500 .875rem/1 var(--ui); color: var(--ink-2); text-decoration: none; padding: .5rem 0; }
.admin-bar nav a.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--marge); }
.admin .card { margin-bottom: 1.25rem; }
.admin .card h2 { font-size: 1.1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.login { max-width: 21rem; }
form.inline { display: flex; gap: .5rem; align-items: center; margin-top: 1.1rem; }
form.inline select { width: auto; margin: 0; }
.inscription h2 { font-size: 1.05rem; }
.inscription .facts { border-top: 0; padding-top: .5rem; }
.inscription .facts div { border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------- mobile */
@media (max-width: 40rem) {
  :root { --marge-x: 1rem; --indent: 1.75rem; --pitch: 2.9rem; --rule-y: -0.8rem; }
  .accroche { margin-left: var(--indent); }
}

/* ---------------------------------------------------------- a11y prefs */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ═══════════════ generic media blocks (rendered only when the active
   design provides the asset — design 0 renders none of them) ═══════════ */

.page-hero { display: grid; gap: 1.75rem; align-items: center; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; height: auto; display: block; }
.hero-cta { margin-top: 1.6rem; }

.proof > div { position: relative; }
.proof-ico { display: block; width: 46px; height: 46px; margin-bottom: .65rem; }
.proof-ico img { width: 100%; height: 100%; object-fit: contain; display: block; }

.teacher { display: flex; gap: 1.75rem; align-items: center; flex-wrap: wrap; position: relative; }
.teacher-photo { border-radius: 50%; width: 132px; height: 132px; object-fit: cover; flex: none; }
.teacher .prose { flex: 1 1 18rem; }
.teacher-side { display: none; }

.stage-badge { width: 68px; height: 68px; object-fit: contain; display: block; margin-bottom: .8rem; }

.place-card { text-align: center; margin-block: 2.5rem; }
.place-card img { max-width: min(34rem, 100%); height: auto; display: block; margin-inline: auto; }
.place-card p { max-width: 44ch; margin: .75rem auto 0; }

.form-side { display: none; }
.merci-ico { display: block; margin-top: 1.5rem; }
.privacy-lock { display: block; margin-bottom: .5rem; }

.footer-ornament { text-align: center; padding: 1.25rem 0 .5rem; }
.footer-ornament img { max-height: 44px; width: auto; }
.footer-place { display: flex; align-items: center; gap: .5rem; }
.footer-place .ico { flex: none; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-logo { display: block; width: 40px; height: 40px; object-fit: contain; }


/* ─── admin : filtres, pagination, sélecteur de statut lisible ─── */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.5rem; }
.filters a {
  display: inline-block; padding: .55rem 1.05rem; border-radius: 999px;
  font: 500 .875rem/1 var(--ui); text-decoration: none; color: var(--ink-2);
  border: 1px solid var(--line); background: var(--card);
}
.filters a:hover { border-color: var(--ink-2); color: var(--ink); }
.filters a.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters-export { margin-left: auto; font: 400 .875rem/1 var(--ui); }

.pager { display: flex; gap: 1.25rem; align-items: center; justify-content: center;
         margin-top: 1.75rem; font: 500 .9rem/1 var(--ui); }
.pager span { color: var(--ink-2); }

/* le menu déroulant de statut doit se lire sans plisser les yeux */
form.inline select {
  min-width: 15rem; min-height: 44px;
  font: 400 1rem/1.4 var(--ui); padding: .55rem .75rem;
}
@media (max-width: 40rem) { form.inline { flex-wrap: wrap; } form.inline select { width: 100%; } }

/* CTA du header (stylé par chaque design) */
.header-cta { min-height: 40px; padding: .55rem 1.2rem; font-size: .875rem; }

/* intro sous le h1 de la page inscription : même largeur que le conteneur du titre */
.intro-page { max-width: none; }

/* ═══════════════════════════════════════════════════════════════════
   Design 3 — le MIX demandé par la cliente (2026-09-03) :
   « l'illustration du 1 pour la 1ère page, le bandeau bleu marine du 2 ».
   Base = design 1 v2 (crème, rose, EB Garamond/Lato, hero bureau) ;
   header et footer = marine + or du design 2 ; vraies photos
   (portrait scolaire en médaillon, maison de Gouvieux en bas de page).
   ═══════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'EB Garamond'; src: url(/assets/fonts/ebgaramond-400-normal.woff2) format('woff2');
             font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url(/assets/fonts/ebgaramond-400-italic.woff2) format('woff2');
             font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Lato; src: url(/assets/fonts/lato-400-normal.woff2) format('woff2');
             font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Lato; src: url(/assets/fonts/lato-700-normal.woff2) format('woff2');
             font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Lato; src: url(/assets/fonts/lato-400-italic.woff2) format('woff2');
             font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #faf6ef;
  --wash:  #edf0e1;          /* sauge pâle */
  --card:  #ffffff;
  --ink:   #2f382a;          /* vert profond */
  --ink-2: #5d6353;
  --seyes: #cfd6bd;          /* bordures des champs */
  --seyes-pale: #e4e8d5;
  --marge: #dcc3c1;
  --marge-ink: #a3555e;      /* rose foncé AA */
  --line:  #e4dfd0;
  --accent: #a3555e;
  --sauge: #7d8a66;
  --sauge-deep: #5f6d48;
  --marine: #0d1b34;         /* le bandeau du design 2 */
  --gold:   #c2a15c;
  --voice: 'EB Garamond', Georgia, serif;
  --ui: Lato, system-ui, sans-serif;
  --r: 8px;
  --shadow: 0 1px 2px rgba(47, 56, 42, .05), 0 10px 28px rgba(47, 56, 42, .07);
}

::selection { background: var(--marge); color: var(--ink); }

/* — plus de Seyès : titres éditoriaux, rameau en lieu d'eyebrow — */
.cahier { background-image: none; padding: 0; }
.cahier h1 {
  line-height: 1.08; letter-spacing: -.01em; font-weight: 600;
  font-size: clamp(2.3rem, 5.2vw, 3.3rem); margin-bottom: 0;
}
.cahier h1::before {
  content: ""; display: block; width: 34px; height: 26px; margin-bottom: 1rem;
  background: url(/assets/img/ornement-rameau.png) no-repeat center / contain;
}
.accroche {
  margin: 1.2rem 0 0; font: italic 400 clamp(1.15rem, 2.5vw, 1.4rem)/1.55 var(--voice);
  color: var(--ink-2); max-width: 40ch;
}

/* hero : bouton primaire + lien secondaire (au lieu de deux boutons) */
.hero-cta { align-items: center; gap: 1.4rem; }
.hero-cta .btn-ghost {
  border: 0; background: transparent; padding: .5rem 0; min-height: 0;
  color: var(--ink); font: 700 .9rem/1 var(--ui);
  text-decoration: underline; text-decoration-color: var(--sauge);
  text-underline-offset: .3em; text-decoration-thickness: 2px;
}
.hero-cta .btn-ghost:hover {
  background: transparent; text-decoration-color: var(--marge-ink);
  box-shadow: none; transform: none;
}
main { padding-top: 3rem; }

/* header : le bandeau marine du design 2, brand ivoire, lys or */
.site-header { background: var(--marine); border-bottom: 3px solid var(--gold); }
.header-inner { padding-block: 1.05rem; }
.brand-text { font-family: var(--voice); font-size: 1.3rem; font-weight: 600; color: #f2efe7; }
.brand-text span { color: var(--gold); letter-spacing: .16em; }
.site-header nav a { font: 700 .875rem/1 var(--ui); color: #d9dce4; letter-spacing: .01em; }
.site-header nav a:hover { color: #ffffff; }
.site-header nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }

/* hero : image dominante fondue, débordant à droite */
.hero-media img {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 88%, transparent);
}
@media (min-width: 52rem) {
  .page-hero { grid-template-columns: .88fr 1.12fr; gap: 2.5rem; }
  .hero-media {
    margin-right: calc(-1 * (100vw - min(100vw - 2.5rem, var(--wrap))) / 2);
  }
  .hero-media img {
    width: 100%; min-height: 470px; max-height: 560px; object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%);
    mask-image: linear-gradient(to right, transparent 0, #000 32%);
  }
}
@media (max-width: 51.99rem) {
  .hero-media { margin-inline: -1.25rem; }
  .hero-media img { height: 44vh; min-height: 300px; object-fit: cover; }
}
body { overflow-x: clip; }

/* proof : bandeau sauge pâle, icônes en médaillon blanc */
.proof {
  border: 0; background: var(--wash); border-radius: 12px;
  padding: 1.4rem 1.75rem; margin-top: 3.25rem;
}
.proof > div,
.proof > div + div { border: 0 !important; padding: 1.1rem 1rem; text-align: center; }
.proof-ico {
  width: 58px; height: 58px; margin: 0 auto .8rem; border-radius: 50%;
  background: var(--card); box-shadow: 0 1px 2px rgba(47, 56, 42, .1);
  display: flex; align-items: center; justify-content: center;
}
.proof-ico img { width: 55%; height: 55%; }
.proof dt { font-family: var(--voice); font-size: 1.18rem; font-weight: 600; }
.proof dd { font-size: .875rem; }

/* cartes : ombre douce, angles sobres */
.card { border-color: var(--line); box-shadow: var(--shadow); padding: 1.9rem 2rem; }
.stage { text-align: center; align-items: center; }
.stage .num { color: var(--marge-ink); font-weight: 700; letter-spacing: .16em; }
.stage-badge { width: 64px; height: 64px; }
.stage h2 { font-size: 1.45rem; }
.stage .facts { width: 100%; border-top-color: var(--seyes-pale); }
.facts dt { font-weight: 700; }

/* enseignante : portrait cerclé, vase en marge */
.teacher { padding-right: 8rem; }
.teacher-photo {
  width: 138px; height: 138px;
  border: 4px solid var(--card); box-shadow: var(--shadow);
}
.teacher .eyebrow { color: var(--marge-ink); font-weight: 700; }
.teacher-side { display: block; position: absolute; right: 1.5rem; bottom: 0; width: 6.75rem; opacity: .92; }
@media (max-width: 48rem) { .teacher { padding-right: 1.9rem; } .teacher-side { display: none; } }

/* boutons : structurés, Lato 700 */
.btn {
  background: var(--accent); border-color: var(--accent); color: #fff;
  border-radius: 6px; font: 700 .9rem/1 var(--ui); letter-spacing: .02em;
  padding: .8rem 1.6rem;
  transition: background 160ms ease, border-color 160ms ease,
              box-shadow 160ms ease, transform 160ms ease;
}
.btn:hover {
  background: #8e444d; border-color: #8e444d; filter: none;
  box-shadow: 0 6px 16px rgba(163, 85, 94, .28); transform: translateY(-1px);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--sauge); }
.btn-ghost:hover {
  background: var(--wash); border-color: var(--sauge-deep); color: var(--ink);
  box-shadow: none; transform: none;
}
.header-cta { padding: .55rem 1.2rem; }

/* lieu : la vraie maison (bords fondus dans le crème) */
.place-card img { max-width: min(46rem, 100%); }

/* footer : marine du design 2, lys or entre filets */
.footer-ornament { display: flex; align-items: center; gap: 1rem; justify-content: center; padding-inline: 2rem; }
.footer-ornament::before, .footer-ornament::after {
  content: ""; height: 1px; background: var(--gold); flex: 0 1 10rem;
}
.footer-ornament img { max-height: 34px; }
.site-footer { background: var(--marine); border-top: 0; }
.site-footer p, .site-footer a { color: #e8e4d8; }

/* formulaire */
legend { color: var(--marge-ink); font-weight: 700; }
input:focus, select:focus, textarea:focus {
  border-color: var(--sauge-deep); box-shadow: 0 0 0 3px var(--seyes-pale);
}
label.radio:has(input:checked) { border-color: var(--sauge-deep); background: var(--wash); }
