/* =============================================================
   Polices auto-hébergées (Poppins + Mulish) — aucune requête vers
   Google Fonts : conforme RGPD/CNIL et plus rapide au chargement.
   ============================================================= */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/a71fb8fd-123e-4deb-b058-1f6c0da60231.woff2) format('woff2');
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cffe1c12-a603-4242-9e62-ea7caea16b6c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/5e0f5037-5538-416b-92fb-becde90c9592.woff2) format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/4056ba39-f838-4d25-a43c-f3288622bb41.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/711100a2-01ac-43f3-aed3-882af31a2151.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/a71fb8fd-123e-4deb-b058-1f6c0da60231.woff2) format('woff2');
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cffe1c12-a603-4242-9e62-ea7caea16b6c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/5e0f5037-5538-416b-92fb-becde90c9592.woff2) format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/4056ba39-f838-4d25-a43c-f3288622bb41.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/711100a2-01ac-43f3-aed3-882af31a2151.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/a71fb8fd-123e-4deb-b058-1f6c0da60231.woff2) format('woff2');
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cffe1c12-a603-4242-9e62-ea7caea16b6c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/5e0f5037-5538-416b-92fb-becde90c9592.woff2) format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/4056ba39-f838-4d25-a43c-f3288622bb41.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/711100a2-01ac-43f3-aed3-882af31a2151.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/a71fb8fd-123e-4deb-b058-1f6c0da60231.woff2) format('woff2');
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/cffe1c12-a603-4242-9e62-ea7caea16b6c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/5e0f5037-5538-416b-92fb-becde90c9592.woff2) format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/4056ba39-f838-4d25-a43c-f3288622bb41.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/711100a2-01ac-43f3-aed3-882af31a2151.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ee04cc7b-77b0-406d-bc44-bab451c66c7a.woff2) format('woff2');
  unicode-range:
    U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
    U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/b9c38e7f-3d6d-481f-8f4d-ed5c552cd959.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/14aa02b7-47cc-4875-b3b5-46273028dbbc.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/a63decf1-a4c0-4546-8e93-20f2cd4766b3.woff2) format('woff2');
  unicode-range:
    U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
    U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/6b28014e-3b85-43e6-bec8-97599f63613a.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/f4e9c8a8-d3c1-4a50-b104-75b65d036def.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/f85e7612-1187-4ff6-b4e0-8692da451661.woff2) format('woff2');
  unicode-range:
    U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
    U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/999df955-b2f5-4a9f-b706-d90d67e8a176.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/f1040731-e285-4b29-bc00-71bc95dbb0a0.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* =============================================================
   Saint Thomas d'Aquin — PROPOSITION 2 « Plein écran / éditorial »
   Mise en page bord-à-bord (full-bleed), sans marges latérales.
   Dominante bordeaux + orange, bleu en secondaire.
   ============================================================= */

:root {
  --bleu: #173f8f;
  --bleu-fonce: #0f2f6f;
  --bordeaux: #7e1628;
  --bordeaux-cl: #9a2235;
  --orange: #f2aa5c;
  --orange-fort: #e8943b;
  --creme: #fff4e9;
  --creme-2: #fbe9da;
  --bleu-pale: #eef1fa;
  --rose-pale: #ead7da;
  --ink: #211712;
  --ink-doux: #6a5a50;

  --font-titre: 'Poppins', system-ui, sans-serif;
  --font-texte: 'Mulish', system-ui, sans-serif;

  --pad: clamp(
    20px,
    4.5vw,
    90px
  ); /* respiration intérieure (pas de marge externe) */
  --r-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-texte);
  color: var(--ink);
  background: var(--creme);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-titre);
  line-height: 1.02;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--bordeaux);
  outline-offset: 3px;
}

/* Utilitaires */
.eyebrow {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordeaux);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: currentColor;
}
.eyebrow.light {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1rem;
  padding: 1em 1.7em;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  transition:
    transform 0.18s,
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn .arrow {
  transition: transform 0.18s;
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn-orange {
  background: var(--orange);
  color: #3a2208;
}
.btn-orange:hover {
  background: var(--orange-fort);
}
.btn-bordeaux {
  background: var(--bordeaux);
  color: #fff;
}
.btn-bordeaux:hover {
  background: var(--bordeaux-cl);
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--bordeaux);
  border-color: rgba(126, 22, 40, 0.3);
}
.btn-outline:hover {
  border-color: var(--bordeaux);
  background: rgba(126, 22, 40, 0.05);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

/* Placeholders image (full-bleed) */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(126, 22, 40, 0.08) 0 16px,
      rgba(126, 22, 40, 0.13) 16px 32px
    ),
    var(--creme-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(126, 22, 40, 0.6);
  text-align: center;
  padding: 0.5em 1.1em;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--r-pill);
  max-width: 80%;
}
.ph.blue {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(23, 63, 143, 0.08) 0 16px,
      rgba(23, 63, 143, 0.13) 16px 32px
    ),
    var(--bleu-pale);
}
.ph.blue::after {
  color: rgba(23, 63, 143, 0.62);
}
/* Photo réelle déposée dans un emplacement plein cadre */
.ph .ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.no-anim {
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.reveal[data-delay='1'] {
  transition-delay: 0.08s;
}
.reveal[data-delay='2'] {
  transition-delay: 0.16s;
}
.reveal[data-delay='3'] {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* =============================================================
   HEADER (pleine largeur)
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 244, 233, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(126, 22, 40, 0.12);
  transition: box-shadow 0.25s;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(126, 22, 40, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  padding-inline: var(--pad);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: none;
  background: var(--bordeaux);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.02rem;
}
.brand-logo {
  height: 72px;
  width: auto;
  display: block;
  flex: none;
  border-radius: 8px;
}
.brand-text b {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--bordeaux);
  display: block;
  line-height: 1.05;
}
.brand-text span {
  font-size: 0.74rem;
  color: var(--ink-doux);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.main-nav a {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.5em 0.8em;
  border-radius: var(--r-pill);
  transition:
    color 0.15s,
    background 0.15s;
}
.main-nav a:hover {
  color: var(--bordeaux);
  background: rgba(126, 22, 40, 0.07);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header-cta .btn {
  padding: 0.65em 1.25em;
  font-size: 0.92rem;
}
.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  border-radius: 12px;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: var(--bordeaux);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.2s;
}
.burger span:nth-child(1) {
  top: 17px;
}
.burger span:nth-child(2) {
  top: 23px;
}
.burger span:nth-child(3) {
  top: 29px;
}
body.nav-open .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .burger span:nth-child(2) {
  opacity: 0;
}
body.nav-open .burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 380px);
  z-index: 70;
  background: var(--creme);
  box-shadow: -20px 0 60px rgba(33, 23, 18, 0.2);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0.1, 0.1, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
  overflow-y: auto;
}
body.nav-open .mobile-nav {
  transform: none;
}
.mobile-nav .mn-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.mobile-nav a.mn-link {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--bordeaux);
  padding: 0.85em 0.4em;
  border-bottom: 1px solid rgba(126, 22, 40, 0.12);
  display: flex;
  justify-content: space-between;
}
.mn-cta {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.7rem;
}
.mn-close {
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(126, 22, 40, 0.1);
  border-radius: 12px;
  font-size: 1.4rem;
  color: var(--bordeaux);
}
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(33, 23, 18, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 65;
}
body.nav-open .nav-scrim {
  opacity: 1;
  visibility: visible;
}

/* =============================================================
   HERO — split plein écran, image bord droit
   ============================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: clamp(560px, 86vh, 920px);
}
.hero-copy {
  background: linear-gradient(155deg, var(--bleu), var(--bleu-fonce));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px) var(--pad);
  position: relative;
  overflow: hidden;
}
.hero-copy .eyebrow {
  color: var(--orange);
}
.hero-copy .blob {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(242, 170, 92, 0.22),
    transparent 70%
  );
  bottom: -160px;
  left: -120px;
  pointer-events: none;
}
/* Blason du lycée incrusté dans le hero */
.hero-crest {
  position: absolute;
  right: clamp(20px, 3vw, 52px);
  bottom: clamp(24px, 4vh, 48px);
  height: clamp(150px, 22vh, 250px);
  width: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.35));
}
.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-top: 1.4rem;
}
.hero h1 .accent {
  color: var(--orange);
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 40ch;
}
.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero-meta {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.hero-meta div {
  border-left: 3px solid var(--orange);
  padding-left: 0.9rem;
}
.hero-meta b {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  display: block;
  line-height: 1;
}
.hero-meta span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero-visual {
  position: relative;
}
.hero-visual .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-tag {
  position: absolute;
  left: clamp(16px, 2vw, 32px);
  bottom: clamp(16px, 2vw, 32px);
  background: rgba(33, 23, 18, 0.78);
  color: #fff;
  backdrop-filter: blur(6px);
  padding: 0.7em 1.2em;
  border-radius: var(--r-pill);
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.hero-tag .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

/* =============================================================
   POURQUOI — bande pleine largeur, grille sans gouttière
   ============================================================= */
.why {
  background: var(--creme);
  padding-bottom: clamp(52px, 6.5vw, 96px);
}
.why-head {
  padding: clamp(56px, 7vw, 104px) var(--pad) clamp(28px, 3vw, 44px);
  max-width: 920px;
}
.why-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-top: 0.7rem;
  text-wrap: balance;
}
.why-head p {
  margin-top: 1.1rem;
  color: var(--ink-doux);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  max-width: 60ch;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(126, 22, 40, 0.16);
}
.why-card {
  padding: clamp(28px, 3vw, 48px) clamp(24px, 2.4vw, 44px);
  border-right: 1px solid rgba(126, 22, 40, 0.16);
  border-bottom: 1px solid rgba(126, 22, 40, 0.16);
  position: relative;
  transition: background 0.2s;
}
.why-card:nth-child(3n) {
  border-right: none;
}
.why-card:hover {
  background: var(--creme-2);
}
.why-num {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--orange);
  line-height: 1;
}
.why-card h3 {
  font-size: 1.3rem;
  color: var(--bordeaux);
  margin: 1rem 0 0.5rem;
}
.why-card p {
  color: var(--ink-doux);
  font-size: 0.98rem;
}

/* =============================================================
   CHIFFRES — bande bleue pleine largeur
   ============================================================= */
.stats {
  background: var(--bleu);
  color: #fff;
  padding: clamp(48px, 6vw, 88px) var(--pad);
}
.stats-head {
  max-width: 760px;
  margin-bottom: clamp(30px, 3.5vw, 52px);
}
.stats-head .eyebrow {
  color: var(--orange);
}
.stats-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  margin-top: 0.6rem;
  color: #fff;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.stat {
  border-top: 3px solid var(--orange);
  padding-top: 1rem;
}
.stat .num {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.05em;
}
.stat .num .suffix {
  color: var(--orange);
  font-size: 0.65em;
}
.stat .label {
  margin-top: 0.5rem;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.82);
}
.stat .prov {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--orange);
  border: 1px dashed rgba(242, 170, 92, 0.6);
  border-radius: var(--r-pill);
  padding: 0.2em 0.7em;
}

/* =============================================================
   STA — 3 lignes plein écran alternées (image/texte)
   ============================================================= */
.sta-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 52vh, 640px);
}
.sta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 88px) var(--pad);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sta-letter {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.8;
  opacity: 0.16;
  position: absolute;
  top: clamp(10px, 2vw, 30px);
  right: clamp(16px, 3vw, 50px);
}
.sta-text h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}
.sta-text .sd {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  opacity: 0.92;
  max-width: 46ch;
}
.sta-text ul {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.55rem;
  max-width: 46ch;
}
.sta-text li {
  position: relative;
  padding-left: 1.5em;
  opacity: 0.95;
}
.sta-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
}
.sta-img {
  position: relative;
}
.sta-img .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sta-band.savoir .sta-text {
  background: linear-gradient(150deg, var(--bleu), var(--bleu-fonce));
}
.sta-band.talent .sta-text {
  background: linear-gradient(150deg, #f3b36b, #e0852c);
  color: #3a2208;
}
.sta-band.accueil .sta-text {
  background: linear-gradient(150deg, var(--bordeaux-cl), var(--bordeaux));
}
.sta-band.talent .sta-img {
  order: -1;
} /* alterne : image à gauche pour Talent */

/* =============================================================
   GESTION MENTALE — split plein écran, image bord gauche
   ============================================================= */
.gm {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: var(--creme-2);
}
.gm-img {
  position: relative;
  min-height: clamp(420px, 56vh, 720px);
}
.gm-img .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gm-since {
  position: absolute;
  right: -40px;
  bottom: clamp(30px, 5vw, 60px);
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-titre);
  box-shadow: 0 20px 50px rgba(126, 22, 40, 0.3);
}
.gm-since b {
  font-size: 2rem;
  line-height: 1;
}
.gm-since span {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  opacity: 0.9;
}
.gm-body {
  padding: clamp(44px, 6vw, 96px) var(--pad);
  align-self: center;
}
.gm-body h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  color: var(--bordeaux);
  margin-top: 0.7rem;
}
.gm-body p.lead {
  margin-top: 1.2rem;
  color: var(--ink-doux);
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  max-width: 56ch;
}
.gm-record {
  margin-top: 1.5rem;
  background: #fff;
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  border-left: 5px solid var(--orange);
  box-shadow: 0 10px 30px rgba(126, 22, 40, 0.08);
}
.gm-record b {
  color: var(--bordeaux);
  font-family: var(--font-titre);
}
.gm-actions {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.9rem;
}
.gm-actions li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.96rem;
  color: #5a2730;
}
.gm-actions .chk {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bordeaux);
  flex: none;
  position: relative;
  margin-top: 0.05em;
}
.gm-actions .chk::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(40deg);
}
.gm-cta {
  margin-top: 1.8rem;
}

/* =============================================================
   ENSEIGNEMENT — pleine largeur
   ============================================================= */
.teach {
  padding: clamp(56px, 7vw, 104px) var(--pad);
  background: var(--creme);
}
.teach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 72px);
  align-items: center;
}
.teach h2 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  margin-top: 0.7rem;
}
.teach .lead {
  margin-top: 1.1rem;
  color: var(--ink-doux);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  max-width: 52ch;
}
.teach-list {
  margin-top: 1.8rem;
  display: grid;
  gap: 1.4rem;
}
.teach-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.teach-list .tb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-titre);
  font-weight: 700;
  flex: none;
}
.teach-list b {
  font-family: var(--font-titre);
  color: var(--bordeaux);
  display: block;
  font-size: 1.06rem;
  margin-bottom: 0.15rem;
}
.teach-list span.t-d {
  color: var(--ink-doux);
  font-size: 0.96rem;
}
.spec {
  background: var(--bordeaux);
  color: #fff;
  border-radius: 24px;
  padding: clamp(28px, 3vw, 48px);
}
.spec h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.spec-pills span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.55em 1.1em;
  border-radius: var(--r-pill);
}
.spec-pills span.art {
  background: var(--orange);
  border-color: transparent;
  color: #3a2208;
}
.spec .note {
  margin-top: 1.3rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* =============================================================
   VIE LYCÉENNE — galerie pleine largeur sans gouttière
   ============================================================= */
.vie {
  background: var(--ink);
  color: #fff;
}
.vie-head {
  padding: clamp(56px, 7vw, 100px) var(--pad) clamp(28px, 3vw, 44px);
  max-width: 760px;
}
.vie-head .eyebrow {
  color: var(--orange);
}
.vie-head h2 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  margin-top: 0.6rem;
  color: #fff;
}
.vie-head p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
}
.vie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.vie-card {
  padding: clamp(26px, 2.6vw, 42px) clamp(22px, 2vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}
.vie-card:nth-child(4n) {
  border-right: none;
}
.vie-card:hover {
  background: rgba(255, 255, 255, 0.05);
}
.vie-card .vd {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.vie-card h3 {
  font-size: 1.12rem;
  color: #fff;
  margin-bottom: 0.35rem;
}
.vie-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}
.vie-card .vw {
  display: block;
  width: fit-content;
  white-space: nowrap;
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--orange);
}

/* =============================================================
   INSTAGRAM — bande pleine largeur, 6 carrés bord-à-bord
   ============================================================= */
/* Instagram — version contenue (reprise & adaptée de la proposition 1) */
.insta {
  background: var(--creme);
  padding: clamp(56px, 7vw, 100px) var(--pad);
}
.insta-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.insta-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-top: 0.5rem;
}
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}
.insta-grid .ph {
  aspect-ratio: 1/1;
  border-radius: 18px;
}
.insta-foot {
  text-align: center;
  margin-top: 1.6rem;
}
.insta-note {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.78rem;
  color: var(--ink-doux);
  background: #fff;
  border: 1px dashed rgba(126, 22, 40, 0.25);
  border-radius: var(--r-pill);
  padding: 0.6em 1.2em;
  display: inline-block;
}

/* =============================================================
   FOOTER — pleine largeur
   ============================================================= */
/* CTA « Envie d'en savoir plus » — carte flottante (design C.html) */
.footer-cta {
  position: relative;
  z-index: 3;
  width: calc(100% - 2 * var(--pad));
  max-width: 1180px;
  margin: clamp(-205px, -16vw, -150px) auto clamp(44px, 5vw, 68px);
  background: linear-gradient(120deg, var(--bordeaux), var(--bordeaux-cl));
  color: #fff;
  border-radius: 34px;
  padding: clamp(36px, 4.5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 40px 90px rgba(126, 22, 40, 0.3);
}
.footer-cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  max-width: 20ch;
}
.footer-cta p {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
}
.footer-cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(44px, 5vw, 64px) var(--pad) 2rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 52px);
  padding-bottom: 2.6rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col ul {
  display: grid;
  gap: 0.7rem;
}
.footer-col a:hover {
  color: #fff;
}
.footer-brand .brand-mark {
  background: var(--orange);
  color: #3a2208;
}
.footer-brand .brand-logo {
  height: 72px;
}
.footer-brand .brand-text b {
  color: #fff;
}
.footer-brand .brand-text span {
  color: rgba(255, 255, 255, 0.66);
}
.footer-brand p {
  margin-top: 1.1rem;
  font-size: 0.94rem;
  max-width: 34ch;
}
.insta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.7em 1.2em;
  border-radius: var(--r-pill);
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 1.2rem;
  transition: background 0.18s;
}
.insta-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.footer-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.96rem;
  margin-bottom: 0.7rem;
}
.footer-contact .ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  flex: none;
  display: grid;
  place-items: center;
  color: var(--orange);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.66);
}
.footer-bottom a {
  margin-left: 1.2rem;
}
.footer-bottom a:first-child {
  margin-left: 0;
}

/* Bandeau inter-propositions */
.switch-bar {
  background: var(--bleu-fonce);
  color: #fff;
  padding: 0.8rem var(--pad);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
  text-align: center;
}
.switch-bar > span {
  white-space: nowrap;
}
.switch-bar a {
  font-family: var(--font-titre);
  font-weight: 600;
  color: var(--orange);
  border-bottom: 2px solid transparent;
}
.switch-bar a:hover {
  border-color: var(--orange);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1080px) {
  .header-cta .btn-outline {
    display: none;
  }
}
@media (max-width: 980px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 320px;
    order: -1;
  }
  .hero-crest {
    height: clamp(96px, 16vw, 140px);
    bottom: 16px;
    right: 16px;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-card:nth-child(3n) {
    border-right: 1px solid rgba(126, 22, 40, 0.16);
  }
  .why-card:nth-child(2n) {
    border-right: none;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .sta-band {
    grid-template-columns: 1fr;
  }
  .sta-img {
    min-height: 300px;
    order: -1 !important;
  }
  .gm {
    grid-template-columns: 1fr;
  }
  .gm-img {
    min-height: 320px;
  }
  .gm-since {
    right: clamp(16px, 4vw, 32px);
  }
  .teach-grid {
    grid-template-columns: 1fr;
  }
  .gm-actions {
    grid-template-columns: 1fr;
  }
  .vie-grid {
    grid-template-columns: 1fr 1fr;
  }
  .vie-card:nth-child(4n) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }
  .vie-card:nth-child(2n) {
    border-right: none;
  }
  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-card {
    border-right: none !important;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .vie-grid {
    grid-template-columns: 1fr;
  }
  .vie-card {
    border-right: none !important;
  }
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    justify-content: center;
  }
}

/* =============================================================
   ============  STYLE B — NOUVEAUX BLOCS (retours clients)  ===
   ============================================================= */

/* Badge "géré dans WordPress" / repère éditorial */
.wp-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--bleu);
  background: rgba(23, 63, 143, 0.08);
  border: 1px dashed rgba(23, 63, 143, 0.4);
  border-radius: var(--r-pill);
  padding: 0.25em 0.8em;
}
.section-head {
  padding: clamp(56px, 7vw, 104px) var(--pad) clamp(28px, 3vw, 44px);
  max-width: 880px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  margin-top: 0.7rem;
  text-wrap: balance;
}
.section-head p {
  margin-top: 1.1rem;
  color: var(--ink-doux);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  max-width: 62ch;
}
.section-head.center p {
  margin-inline: auto;
}
.section {
  padding-bottom: clamp(52px, 6.5vw, 96px);
}
.section-foot {
  padding: 0 var(--pad);
  text-align: center;
  margin-top: clamp(28px, 3vw, 44px);
}

/* --- SPÉCIALITÉS (remontées très haut) ----------------------- */
.spec-feature {
  background: linear-gradient(160deg, var(--bordeaux), var(--bordeaux-cl));
  color: #fff;
  padding: clamp(48px, 6vw, 90px) var(--pad);
  position: relative;
  overflow: hidden;
}
.spec-feature .blob {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(242, 170, 92, 0.18),
    transparent 70%
  );
  top: -180px;
  right: -140px;
  pointer-events: none;
}
.spec-feature .sf-head {
  max-width: 820px;
  position: relative;
  z-index: 2;
}
.spec-feature .eyebrow {
  color: var(--orange);
}
.spec-feature h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-top: 0.6rem;
  color: #fff;
}
.spec-feature .sf-lead {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  max-width: 60ch;
}
.spec-cards {
  position: relative;
  z-index: 2;
  margin-top: clamp(32px, 3.5vw, 52px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.spec-card-b {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  transition:
    transform 0.2s,
    background 0.2s;
}
.spec-card-b:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
}
.spec-card-b .sc-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(242, 170, 92, 0.22);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}
.spec-card-b h3 {
  font-size: 1.12rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.spec-card-b p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.spec-card-b.art {
  background: var(--orange);
  border-color: transparent;
}
.spec-card-b.art .sc-ic {
  background: rgba(58, 34, 8, 0.18);
  color: #3a2208;
}
.spec-card-b.art h3 {
  color: #3a2208;
}
.spec-card-b.art p {
  color: #5a3c14;
}
.spec-extra {
  position: relative;
  z-index: 2;
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.spec-extra .lbl {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 0.4rem;
}
.spec-extra span.pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.5em 1em;
  border-radius: var(--r-pill);
}

/* --- ACTUALITÉS (distinct d'Instagram, géré WordPress) ------- */
.news {
  background: var(--creme);
}
.news-grid {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.news-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(126, 22, 40, 0.1);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(126, 22, 40, 0.12);
}
.news-thumb {
  position: relative;
  aspect-ratio: 16/10;
}
.news-thumb .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.news-cat {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  background: var(--bordeaux);
  color: #fff;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  padding: 0.35em 0.9em;
  border-radius: var(--r-pill);
}
.news-cat.ev {
  background: var(--bleu);
}
.news-cat.vie {
  background: var(--orange);
  color: #3a2208;
}
.news-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-date {
  font-size: 0.82rem;
  color: var(--ink-doux);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.news-body h3 {
  font-size: 1.2rem;
  color: var(--bordeaux);
  margin: 0.5rem 0 0.5rem;
  line-height: 1.2;
}
.news-body p {
  font-size: 0.94rem;
  color: var(--ink-doux);
  flex: 1;
}
.news-body .news-link {
  margin-top: 1rem;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bleu);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.news-body .news-link:hover {
  gap: 0.7em;
}

/* --- DÉCOUVRIR LE LYCÉE — galerie photos --------------------- */
.gallery {
  background: #fff;
}
.gallery-grid {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: clamp(10px, 1.2vw, 16px);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  background: var(--bleu-pale);
}
.gallery-item .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gallery-item .ph::after {
  font-size: 0.66rem;
}
.gallery-item.tall {
  grid-row: span 2;
}
.gallery-item.wide {
  grid-column: span 2;
}
.gallery-item .gi-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.4rem 1.1rem 0.9rem;
  color: #fff;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.92rem;
  background: linear-gradient(transparent, rgba(15, 10, 8, 0.72));
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.gallery-item:hover .gi-cap {
  opacity: 1;
  transform: none;
}
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(23, 63, 143, 0);
  transition: background 0.25s;
}
.gallery-item:hover::before {
  background: rgba(23, 63, 143, 0.12);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 10, 8, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox img,
.lightbox .lb-ph {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox .lb-ph {
  width: min(900px, 90vw);
  aspect-ratio: 3/2;
}
.lb-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-close:hover {
  background: rgba(255, 255, 255, 0.28);
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}
.lb-prev {
  left: 24px;
}
.lb-next {
  right: 24px;
}

/* --- TÉMOIGNAGES -------------------------------------------- */
.testi {
  background: var(--bleu-pale);
  position: relative;
  overflow: hidden;
}
.testi-track {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.testi-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem 1.9rem;
  box-shadow: 0 14px 40px rgba(15, 47, 111, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
}
.testi-card .quote {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--orange);
  height: 0.5em;
}
.testi-card p {
  margin-top: 1.1rem;
  font-size: 1.02rem;
  color: var(--ink);
  flex: 1;
  line-height: 1.55;
}
.testi-who {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testi-who .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-titre);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}
.testi-who b {
  font-family: var(--font-titre);
  color: var(--bordeaux);
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
}
.testi-who span {
  font-size: 0.84rem;
  color: var(--ink-doux);
}

/* --- COMMENT VENIR AU LYCÉE --------------------------------- */
.access {
  background: var(--ink);
  color: #fff;
}
.access-grid {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.5vw, 60px);
  align-items: stretch;
}
.access-modes {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.access-mode {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
}
.access-mode .am-ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.access-mode.metro .am-ic {
  background: rgba(23, 63, 143, 0.25);
  color: #9db8ef;
}
.access-mode.bus .am-ic {
  background: rgba(242, 170, 92, 0.2);
  color: var(--orange);
}
.access-mode.velib .am-ic {
  background: rgba(31, 138, 91, 0.22);
  color: #5cc99a;
}
.access-mode.car .am-ic {
  background: rgba(154, 34, 53, 0.28);
  color: #e88;
}
.access-mode h3 {
  font-family: var(--font-titre);
  font-size: 1.06rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.access-mode .lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.access-mode .ln {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 0.4em;
  border-radius: 50%;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
}
.access-mode p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}
.access-map {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 340px;
  background: var(--bleu-fonce);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.access-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.02);
}
.access-map .am-card {
  position: relative;
  z-index: 2;
  margin: 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.access-map .am-card .addr b {
  font-family: var(--font-titre);
  color: var(--bordeaux);
  display: block;
}
.access-map .am-card .addr span {
  font-size: 0.9rem;
  color: var(--ink-doux);
}

/* --- BARRE UTILITAIRE (accès rapide infos pratiques) -------- */
.utilbar {
  background: var(--bleu-fonce);
  color: #fff;
  font-size: 0.84rem;
}
.utilbar-inner {
  padding: 0.5rem var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 42px;
}
.utilbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  opacity: 0.9;
  white-space: nowrap;
}
.utilbar a:hover {
  opacity: 1;
}
.utilbar .ub-right {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.utilbar .ub-alert {
  color: var(--orange);
  font-weight: 600;
}

/* --- PAGES DÉDIÉES (hero secondaire + contenu article) ------ */
.page-hero {
  background: linear-gradient(150deg, var(--bleu), var(--bleu-fonce));
  color: #fff;
  padding: clamp(56px, 8vw, 120px) var(--pad) clamp(48px, 6vw, 90px);
  position: relative;
  overflow: hidden;
}
.page-hero .blob {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(242, 170, 92, 0.18),
    transparent 70%
  );
  bottom: -200px;
  right: -120px;
  pointer-events: none;
}
.page-hero .crumbs {
  position: relative;
  z-index: 2;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 0.5em;
  align-items: center;
  margin-bottom: 1.2rem;
}
.page-hero .crumbs a {
  color: var(--orange);
}
.page-hero .eyebrow {
  color: var(--orange);
}
.page-hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-top: 0.6rem;
  line-height: 1;
}
.page-hero .ph-lead {
  position: relative;
  z-index: 2;
  margin-top: 1.3rem;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
}
.article {
  padding: clamp(48px, 6vw, 90px) var(--pad);
  background: var(--creme);
}
.article-wrap {
  max-width: 1140px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.prose {
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  color: var(--ink);
  line-height: 1.7;
}
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--bordeaux);
  margin: 2rem 0 0.8rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  margin-bottom: 1.1rem;
  color: var(--ink-doux);
}
.prose ul.bullets {
  margin: 1rem 0 1.4rem;
  display: grid;
  gap: 0.6rem;
}
.prose ul.bullets li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--ink-doux);
}
.prose ul.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
}
.aside-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: 0 14px 40px rgba(15, 47, 111, 0.07);
  border: 1px solid rgba(126, 22, 40, 0.08);
  position: sticky;
  top: 96px;
}
.aside-card h3 {
  font-size: 1.16rem;
  color: var(--bordeaux);
  margin-bottom: 1rem;
}
.aside-card .fact {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(126, 22, 40, 0.1);
}
.aside-card .fact:last-of-type {
  border-bottom: none;
}
.aside-card .fact .fi {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bleu-pale);
  color: var(--bleu);
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--font-titre);
  font-weight: 700;
}
.aside-card .fact b {
  font-family: var(--font-titre);
  color: var(--ink);
  display: block;
  font-size: 0.96rem;
}
.aside-card .fact span {
  font-size: 0.86rem;
  color: var(--ink-doux);
}

/* Formulaire (Signaler un abus) */
.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 20px 60px rgba(15, 47, 111, 0.08);
  border: 1px solid rgba(126, 22, 40, 0.08);
}
.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row label {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.form-row .req {
  color: var(--bordeaux);
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-texte);
  font-size: 1rem;
  padding: 0.8em 1em;
  border: 1.5px solid rgba(126, 22, 40, 0.18);
  border-radius: 12px;
  background: var(--creme);
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
}
.form-row textarea {
  min-height: 140px;
  resize: vertical;
}
.form-note {
  font-size: 0.86rem;
  color: var(--ink-doux);
  margin: 0.2rem 0 1.4rem;
}
.form-confirm {
  display: none;
  background: rgba(31, 138, 91, 0.1);
  border: 1px solid rgba(31, 138, 91, 0.4);
  color: #1f8a5b;
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.form-confirm.show {
  display: block;
}

/* RESPONSIVE — nouveaux blocs */
@media (max-width: 980px) {
  .spec-cards {
    grid-template-columns: 1fr 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item.wide {
    grid-column: span 2;
  }
  .testi-track {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .access-grid {
    grid-template-columns: 1fr;
  }
  .article-wrap {
    grid-template-columns: 1fr;
  }
  .aside-card {
    position: static;
  }
  .utilbar .ub-right .ub-hide {
    display: none;
  }
}
@media (max-width: 560px) {
  .spec-cards {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }
  .gallery-item.tall {
    grid-row: span 1;
  }
  .form-row.two {
    grid-template-columns: 1fr;
  }
  .utilbar-inner {
    font-size: 0.78rem;
  }
  .access-map .am-card {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =============================================================
   ===========  STYLE C — SITE STRUCTURÉ (menus + pages)  ======
   ============================================================= */

/* --- Menu principal avec sous-catégories --------------------- */
.main-nav {
  position: relative;
}
.has-sub {
  position: relative;
}
.has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.has-sub > a::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  opacity: 0.6;
}
.has-sub:hover > a::after,
.has-sub:focus-within > a::after {
  transform: rotate(225deg) translateY(-2px);
}
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  min-width: 290px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(33, 23, 18, 0.18);
  border: 1px solid rgba(126, 22, 40, 0.1);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
  z-index: 80;
  display: grid;
  gap: 2px;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.submenu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.submenu a {
  display: block;
  font-family: var(--font-texte);
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--ink);
  padding: 0.62em 0.9em;
  border-radius: 12px;
  line-height: 1.3;
}
.submenu a:hover {
  background: var(--creme-2);
  color: var(--bordeaux);
}
.submenu .sub-head {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bordeaux);
  padding: 0.6em 0.9em 0.3em;
}
.main-nav a[aria-current='page'] {
  color: var(--bordeaux);
  background: rgba(126, 22, 40, 0.08);
}

/* Sous-menus mobile (accordéon) */
.mn-group {
  border-bottom: 1px solid rgba(126, 22, 40, 0.12);
}
.mn-group > button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--bordeaux);
  padding: 0.85em 0.4em;
  text-align: left;
}
.mn-group > button .chev {
  transition: transform 0.25s;
}
.mn-group.open > button .chev {
  transform: rotate(180deg);
}
.mn-sub {
  display: none;
  padding: 0 0 0.8rem 0.6rem;
  gap: 0.1rem;
}
.mn-group.open .mn-sub {
  display: grid;
}
.mn-sub a {
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0.5em 0.4em;
  border: none;
  display: block;
  font-family: var(--font-texte);
}
.mn-sub a:hover {
  color: var(--bordeaux);
}

/* --- Cartes « raisons » CLIQUABLES --------------------------- */
a.why-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.why-card {
  position: relative;
  padding-bottom: clamp(52px, 4.4vw, 68px);
}
.why-card .why-go {
  position: absolute;
  left: clamp(24px, 2.4vw, 44px);
  bottom: clamp(24px, 2.4vw, 38px);
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bordeaux);
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  transition: gap 0.2s;
}
a.why-card:hover .why-go {
  gap: 0.85em;
}
a.why-card:hover {
  background: var(--creme-2);
}
a.why-card:focus-visible {
  outline: 3px solid var(--bordeaux);
  outline-offset: -3px;
}

/* --- Grille de rubriques (hub) ------------------------------- */
.hub {
  background: var(--creme);
}
.hub-grid {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}
.hub-card {
  background: #fff;
  border: 1px solid rgba(126, 22, 40, 0.1);
  border-radius: 22px;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(126, 22, 40, 0.12);
  border-color: transparent;
}
.hub-card .hc-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: var(--bleu-pale);
  color: var(--bleu);
  margin-bottom: 0.3rem;
}
.hub-card h3 {
  font-size: 1.14rem;
  color: var(--bordeaux);
}
.hub-card p {
  font-size: 0.94rem;
  color: var(--ink-doux);
  flex: 1;
}
.hub-card .hc-go {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bleu);
  display: inline-flex;
  gap: 0.4em;
  align-items: center;
  transition: gap 0.2s;
}
.hub-card:hover .hc-go {
  gap: 0.75em;
}
.hub.dark {
  background: var(--ink);
}
.hub.dark .section-head h2,
.hub.dark .section-head .eyebrow {
  color: #fff;
}
.hub.dark .section-head .eyebrow {
  color: var(--orange);
}
.hub.dark .section-head p {
  color: rgba(255, 255, 255, 0.7);
}
.hub.dark .hub-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}
.hub.dark .hub-card h3 {
  color: #fff;
}
.hub.dark .hub-card p {
  color: rgba(255, 255, 255, 0.68);
}
.hub.dark .hub-card .hc-ic {
  background: rgba(242, 170, 92, 0.18);
  color: var(--orange);
}
.hub.dark .hub-card .hc-go {
  color: var(--orange);
}
.hub.pale {
  background: var(--bleu-pale);
}

/* --- Bandeau résultats du bac -------------------------------- */
.bac-strip {
  background: linear-gradient(120deg, var(--bordeaux), var(--bordeaux-cl));
  color: #fff;
  padding: clamp(36px, 4.5vw, 64px) var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.bac-figs {
  display: flex;
  gap: clamp(28px, 4vw, 64px);
  flex-wrap: wrap;
}
.bac-figs div b {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  display: block;
}
.bac-figs div b span {
  font-size: inherit;
  color: inherit;
}
.bac-figs div b .pc {
  color: var(--orange);
  font-size: 0.55em;
}
.bac-figs div > span {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
}

/* --- Documents à télécharger --------------------------------- */
.docs-list {
  padding: 0 var(--pad);
  display: grid;
  gap: 0.7rem;
  max-width: 900px;
  margin-inline: auto;
}
.doc-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid rgba(126, 22, 40, 0.1);
  border-radius: 16px;
  padding: 1.05rem 1.3rem;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.doc-row:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 34px rgba(126, 22, 40, 0.1);
}
.doc-row .d-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--rose-pale);
  color: var(--bordeaux);
  display: grid;
  place-items: center;
  flex: none;
}
.doc-row .d-ic svg {
  width: 24px;
  height: 24px;
  display: block;
}
.doc-row .d-meta {
  flex: 1;
}
.doc-row .d-meta b {
  font-family: var(--font-titre);
  color: var(--ink);
  display: block;
  font-size: 1rem;
}
.doc-row .d-meta span {
  font-size: 0.85rem;
  color: var(--ink-doux);
}
.doc-row .d-dl {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bleu);
  white-space: nowrap;
}

/* --- Encart portes ouvertes / visite ------------------------- */
.visit-box {
  background: var(--bleu);
  color: #fff;
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: clamp(20px, 2.5vw, 32px);
}
.visit-box h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.visit-box p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  max-width: 52ch;
}

/* --- Fil de rubriques liées (bas de page interne) ------------ */
.related {
  background: var(--creme-2);
  padding: clamp(44px, 5vw, 76px) var(--pad) clamp(120px, 12vw, 180px);
}
#infos {
  padding-bottom: clamp(120px, 12vw, 180px);
}
.related h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--bordeaux);
  margin-bottom: 1.4rem;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin-inline: auto;
}
.related-grid a {
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(126, 22, 40, 0.1);
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  transition:
    transform 0.18s,
    color 0.18s;
}
.related-grid a:hover {
  transform: translateY(-3px);
  color: var(--bordeaux);
}
.related-grid a span {
  color: var(--orange);
}

/* --- Encadré info dans le contenu ---------------------------- */
.callout {
  background: #fff;
  border-left: 5px solid var(--orange);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
  box-shadow: 0 10px 30px rgba(126, 22, 40, 0.07);
}
.callout b {
  font-family: var(--font-titre);
  color: var(--bordeaux);
}
.callout.todo {
  border-left-color: var(--bleu);
  background: var(--bleu-pale);
  box-shadow: none;
}
.callout.todo b {
  color: var(--bleu);
}

/* --- Tableau simple ------------------------------------------ */
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(126, 22, 40, 0.06);
}
.tbl th,
.tbl td {
  text-align: left;
  padding: 0.85em 1.1em;
  border-bottom: 1px solid rgba(126, 22, 40, 0.1);
  font-size: 0.96rem;
}
.tbl th {
  background: var(--bordeaux);
  color: #fff;
  font-family: var(--font-titre);
  font-weight: 600;
}
.tbl tr:last-child td {
  border-bottom: none;
}

/* --- Responsive Style C -------------------------------------- */
@media (max-width: 1180px) {
  .main-nav a {
    font-size: 0.88rem;
    padding: 0.5em 0.6em;
  }
}
@media (max-width: 980px) {
  .hub-grid {
    grid-template-columns: 1fr 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .bac-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
  .bac-figs {
    gap: 1.6rem;
  }
  .doc-row {
    flex-wrap: wrap;
  }
}

/* --- Frise chronologique (page Histoire) --------------------- */
.timeline {
  position: relative;
  margin: 1.8rem 0 0.5rem;
  padding-left: 0;
  display: grid;
  gap: 1.1rem;
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
}
.tl-year {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--bordeaux);
  border-radius: var(--r-pill);
  padding: 0.45em 1em;
  white-space: nowrap;
  min-width: 104px;
  text-align: center;
  flex: none;
  position: relative;
  z-index: 2;
}
.tl-item:nth-child(2) .tl-year {
  background: var(--bleu);
}
.tl-item:nth-child(3) .tl-year {
  background: var(--orange);
  color: #3a2208;
}
.tl-item:nth-child(4) .tl-year {
  background: var(--bleu-fonce);
}
.tl-body {
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 10px 30px rgba(126, 22, 40, 0.07);
  border: 1px solid rgba(126, 22, 40, 0.08);
}
.tl-body b {
  font-family: var(--font-titre);
  color: var(--bordeaux);
  display: block;
  margin-bottom: 0.25rem;
}
.tl-body p {
  margin: 0;
  color: var(--ink-doux);
  font-size: 0.98rem;
}

/* --- Bloc dates clés (inscriptions) -------------------------- */
.dates-box {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0;
}
.date-card {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(126, 22, 40, 0.1);
  box-shadow: 0 10px 30px rgba(126, 22, 40, 0.06);
}
.date-card .dc-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--rose-pale);
  color: var(--bordeaux);
}
.date-card.open .dc-ic {
  background: rgba(242, 170, 92, 0.25);
  color: #8a5a15;
}
.date-card b {
  font-family: var(--font-titre);
  color: var(--bordeaux);
  display: block;
  font-size: 1.06rem;
}
.date-card .dc-when {
  display: block;
  font-family: var(--font-titre);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.15rem;
}
.date-card .dc-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: var(--ink-doux);
}
.po-list {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.3rem;
}
.po-list span {
  font-family: var(--font-titre);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.po-list span em {
  font-style: normal;
  color: var(--bordeaux);
}
@media (max-width: 560px) {
  .tl-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .date-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Correctif mobile : bas de page (carte CTA) --------------
   Sur petits écrans la carte ne remonte plus sur la section
   précédente et ses boutons tiennent dans la largeur (ex. Galaxy S8+ 360px). */
@media (max-width: 760px) {
  .footer-cta {
    padding: clamp(24px, 6vw, 36px);
  }
  .footer-cta h2 {
    max-width: none;
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .footer-cta p {
    max-width: none;
  }
  .footer-cta-actions {
    width: 100%;
    display: grid;
    gap: 0.7rem;
  }
  .footer-cta-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
    padding-inline: 1.1em;
  }
}
@media (max-width: 420px) {
  .footer-cta-actions .btn {
    font-size: 0.94rem;
  }
}

/* --- Figure iconographique (portrait / photo légendée) ------- */
.fig-icono {
  margin: 1.4rem 0 1.8rem;
}
.fig-icono .ph {
  aspect-ratio: 16/10;
  border-radius: 18px;
}
.fig-icono figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-doux);
  font-style: italic;
}
/* Variante portrait : visuel à gauche, légende à droite */
.fig-icono.portrait .ph {
  aspect-ratio: 3/4;
}
@media (min-width: 700px) {
  .fig-icono.portrait {
    display: grid;
    grid-template-columns: minmax(0, 290px) 1fr;
    gap: clamp(18px, 2.4vw, 34px);
    align-items: center;
  }
  .fig-icono.portrait figcaption {
    margin-top: 0;
    font-size: 0.95rem;
  }
}

/* --- Citation / témoignage ----------------------------------- */
.quote-card {
  margin: 1.4rem 0 1.6rem;
  padding: 1.6rem 1.8rem;
  background: #fff;
  border-radius: 20px;
  border-left: 5px solid var(--orange);
  box-shadow: 0 12px 34px rgba(15, 47, 111, 0.07);
  position: relative;
}
.quote-card p {
  margin: 0 0 0.8rem;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
}
.quote-card p:last-of-type {
  margin-bottom: 0;
}
.quote-card cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--bordeaux);
  font-style: normal;
}
.quote-card cite::before {
  content: '\2014\00a0';
}

/* --- Pied de page : connexion aux ressources internes -------- */
.footer-login {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.3rem 0 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.8em 1.4em;
  border-radius: var(--r-pill);
  transition:
    background 0.18s,
    border-color 0.18s;
}
.btn-login:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}
.footer-login .fl-note {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 560px) {
  .footer-login {
    padding-top: 1.1rem;
  }
  .btn-login {
    width: 100%;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
  }
}

/* --- Hero : photo portrait (enseigne + élèves dans le bas de l'image) ---
   On ancre le recadrage vers le bas pour que l'enseigne et les élèves
   restent visibles, et on donne de la hauteur au cadre sur petits écrans. */
.hero-visual .ph-img {
  object-position: 50% 88%;
}
@media (max-width: 980px) {
  .hero-visual {
    min-height: clamp(420px, 58vw, 500px);
  }
  .hero-visual .ph-img {
    object-position: 50% 92%;
  }
}
@media (max-width: 560px) {
  .hero-visual {
    min-height: clamp(380px, 86vw, 440px);
  }
}

/* =============================================================
   PASSE FINALE AVANT MISE EN LIGNE (17/09)
   ============================================================= */

/* --- Sous-menu : intitulés longs sur une seule ligne --------- */
.submenu a {
  white-space: nowrap;
}
.submenu {
  min-width: max-content;
}
@media (max-width: 980px) {
  .mn-sub a {
    white-space: normal;
  }
}

/* --- Bloc « figure marquante » (histoire du lycée) ----------- */
.highlight-figure {
  position: relative;
  margin: 1.6rem 0 2rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(150deg, var(--bleu), var(--bleu-fonce));
  color: #fff;
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(15, 47, 111, 0.22);
  overflow: hidden;
}
.highlight-figure::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(242, 170, 92, 0.22),
    transparent 70%
  );
  right: -90px;
  bottom: -120px;
  pointer-events: none;
}
.hf-tag {
  display: inline-block;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(242, 170, 92, 0.5);
  border-radius: var(--r-pill);
  padding: 0.32em 0.9em;
  margin-bottom: 1rem;
}
.highlight-figure h3 {
  font-family: var(--font-titre);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  color: #fff;
  margin: 0 0 0.8rem;
  line-height: 1.15;
}
.highlight-figure p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 2;
}
.highlight-figure strong {
  color: #fff;
}
.hf-facts {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}
.hf-facts li {
  border-top: 3px solid var(--orange);
  padding-top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hf-facts b {
  font-family: var(--font-titre);
  font-size: 1.16rem;
  color: #fff;
}
.hf-facts span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 640px) {
  .hf-facts {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

/* --- « Suivez-nous » : réseaux sociaux ----------------------- */
.socials {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.social-btn {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    transform 0.18s,
    background 0.18s,
    border-color 0.18s;
}
.social-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}
.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}
.footer-socials h4 {
  margin-bottom: 0.4rem;
}
.footer-socials .fs-note {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-top: 0.9rem;
}

/* Bloc dédié avant le footer (page d'accueil) */
.follow {
  background: var(--creme);
  padding: clamp(40px, 4.5vw, 64px) var(--pad) clamp(48px, 5.5vw, 76px);
  text-align: center;
}
.follow h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  color: var(--bordeaux);
  margin-bottom: 0.7rem;
}
.follow p {
  color: var(--ink-doux);
  max-width: 52ch;
  margin: 0 auto 1.8rem;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}
.follow .socials {
  justify-content: center;
  gap: 1rem;
}
.follow .social-btn {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(126, 22, 40, 0.12);
  box-shadow: 0 10px 30px rgba(15, 47, 111, 0.08);
}
.follow .social-btn svg {
  width: 38px;
  height: 38px;
}
.follow .social-btn:hover {
  background: #fff;
  border-color: rgba(126, 22, 40, 0.3);
  box-shadow: 0 18px 44px rgba(15, 47, 111, 0.14);
}
.follow .handle {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-titre);
  font-weight: 600;
  color: var(--bleu);
}
@media (max-width: 560px) {
  .follow .social-btn {
    width: 62px;
    height: 62px;
  }
  .follow .social-btn svg {
    width: 32px;
    height: 32px;
  }
}

/* --- Bandeau cookies ---------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 130%);
  bottom: 18px;
  z-index: 300;
  width: min(940px, calc(100vw - 32px));
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(15, 47, 111, 0.28);
  border: 1px solid rgba(126, 22, 40, 0.1);
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cookie-banner.show {
  transform: translate(-50%, 0);
}
.cookie-banner h2 {
  font-family: var(--font-titre);
  font-size: 1.12rem;
  color: var(--bordeaux);
  margin: 0 0 0.4rem;
}
.cookie-banner p {
  font-size: 0.94rem;
  color: var(--ink-doux);
  margin: 0 0 1rem;
}
.cookie-banner p a {
  color: var(--bleu);
  text-decoration: underline;
}
.cb-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cb-actions .btn {
  padding: 0.72em 1.3em;
  font-size: 0.94rem;
}
.cb-prefs {
  display: none;
  margin: 0.2rem 0 1rem;
  border-top: 1px solid rgba(126, 22, 40, 0.12);
  padding-top: 0.9rem;
}
.cb-prefs.show {
  display: block;
}
.cb-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(126, 22, 40, 0.08);
}
.cb-row:last-child {
  border-bottom: none;
}
.cb-row b {
  font-family: var(--font-titre);
  font-size: 0.96rem;
  color: var(--ink);
  display: block;
}
.cb-row span {
  font-size: 0.86rem;
  color: var(--ink-doux);
}
.cb-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--bordeaux);
  flex: none;
  margin-top: 0.25rem;
}
@media (max-width: 560px) {
  .cb-actions {
    display: grid;
  }
  .cb-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Carte tierce en attente de consentement ---------------- */
.consent-block {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  padding: 1.6rem;
  background: var(--bleu-pale);
}
.consent-block p {
  font-size: 0.94rem;
  color: var(--ink-doux);
  max-width: 36ch;
  margin: 0;
}
.consent-block b {
  font-family: var(--font-titre);
  color: var(--bordeaux);
}

/* --- Page 404 ------------------------------------------------ */
.err-page {
  text-align: center;
  padding: clamp(60px, 9vw, 130px) var(--pad);
  background: var(--creme);
}
.err-code {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 0.9;
  color: var(--bleu);
  letter-spacing: -0.04em;
}
.err-code span {
  color: var(--orange);
}
.err-page h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  color: var(--bordeaux);
  margin: 0.6rem 0 0.8rem;
}
.err-page p {
  color: var(--ink-doux);
  max-width: 48ch;
  margin: 0 auto 1.8rem;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
}
.err-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.err-links {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(126, 22, 40, 0.14);
  max-width: 620px;
  margin-inline: auto;
}
.err-links h2 {
  font-family: var(--font-titre);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-doux);
  margin-bottom: 1rem;
}
.err-links div {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.err-links a {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bleu);
  background: #fff;
  border: 1px solid rgba(23, 63, 143, 0.16);
  padding: 0.55em 1.1em;
  border-radius: var(--r-pill);
}
.err-links a:hover {
  border-color: var(--bleu);
}
@media (max-width: 560px) {
  .err-actions {
    display: grid;
  }
  .err-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Pages légales ------------------------------------------ */
.legal .prose h2 {
  margin-top: 2.2rem;
}
.legal .prose h3 {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  color: var(--ink);
  margin: 1.5rem 0 0.5rem;
}
.legal .prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.6rem;
  font-size: 0.95rem;
}
.legal .prose th,
.legal .prose td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(126, 22, 40, 0.12);
  vertical-align: top;
}
.legal .prose th {
  font-family: var(--font-titre);
  color: var(--bordeaux);
  background: rgba(126, 22, 40, 0.04);
}
.legal .prose .maj {
  font-size: 0.88rem;
  color: var(--ink-doux);
  font-style: italic;
}

/* --- Formulaires : leurre anti-spam (invisible) -------------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =============================================================
   MOT DE LA CHEFFE D'ÉTABLISSEMENT
   Bloc éditorial : portrait + lettre d'accueil + acrostiche STA.
   Utilisé sur l'accueil et sur la page « Le projet d'établissement ».
   ============================================================= */
.welcome {
  background: var(--creme-2);
  padding: clamp(48px, 6vw, 96px) var(--pad);
  position: relative;
  overflow: hidden;
}
.welcome::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 63, 143, 0.1), transparent 70%);
  right: -180px;
  top: -220px;
  pointer-events: none;
}
.welcome-grid {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

/* Portrait */
.welcome-portrait {
  position: relative;
}
.welcome-portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 47, 111, 0.2);
}
.welcome-portrait figcaption {
  margin-top: 1rem;
  text-align: center;
}
.welcome-portrait b {
  display: block;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--bordeaux);
  line-height: 1.2;
}
.welcome-portrait span {
  font-size: 0.9rem;
  color: var(--ink-doux);
}

/* Lettre */
.welcome-body .eyebrow {
  margin-bottom: 0.8rem;
}
.welcome-body h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  color: var(--bleu-fonce);
  margin: 0 0 1.2rem;
  text-wrap: balance;
}
.welcome-body p {
  color: var(--ink-doux);
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.welcome-body p.lead {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.35vw, 1.28rem);
  font-weight: 600;
  font-family: var(--font-titre);
  line-height: 1.45;
}
.welcome-body strong {
  color: var(--bordeaux);
}

/* Acrostiche S / T / A */
.acrostiche {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.acrostiche li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 8px 24px rgba(15, 47, 111, 0.06);
}
.acrostiche .ac-letter {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.32rem;
  color: #fff;
  flex: none;
}
.acrostiche li:nth-child(1) .ac-letter {
  background: var(--bleu);
}
.acrostiche li:nth-child(2) .ac-letter {
  background: var(--orange);
  color: #3a2208;
}
.acrostiche li:nth-child(3) .ac-letter {
  background: var(--bordeaux);
}
.acrostiche b {
  font-family: var(--font-titre);
  font-weight: 600;
  color: var(--bleu-fonce);
  display: block;
  font-size: 1.02rem;
  line-height: 1.25;
}
.acrostiche span {
  display: block;
  font-size: 0.94rem;
  color: var(--ink-doux);
  line-height: 1.45;
}

/* Signature */
.welcome-sign {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 2px solid rgba(126, 22, 40, 0.16);
}
.welcome-sign b {
  display: block;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--bordeaux);
}
.welcome-sign span {
  font-size: 0.92rem;
  color: var(--ink-doux);
}

@media (max-width: 860px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .welcome-portrait {
    max-width: 240px;
    margin-inline: auto;
  }
}

/* --- Bas de page : resserrage des espacements -----------------
   « Suivez-nous » suit directement la grille Instagram (même fond
   crème) : on supprime le double espacement entre les deux, et la
   dernière section ne réserve que la hauteur utile au chevauchement
   de la carte « Envie d'en savoir plus ». */
.insta + .follow {
  padding-top: 0;
  margin-top: clamp(-8px, -1vw, -20px);
}
.insta + .follow h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}
.insta + .follow p {
  margin-bottom: 1.3rem;
}
.insta + .follow .handle {
  margin-top: 1rem;
}
main > section:last-child {
  padding-bottom: clamp(130px, 13vw, 190px);
}
@media (max-width: 760px) {
  main > section:last-child {
    padding-bottom: clamp(40px, 8vw, 64px);
  }
  .insta + .follow {
    margin-top: 0;
    padding-top: clamp(24px, 5vw, 36px);
  }
}

/* =============================================================
   RYTHME VERTICAL UNIFIÉ (page d'accueil et pages intérieures)
   -------------------------------------------------------------
   Toutes les sections partagent désormais le même espacement
   haut/bas, et le même écart entre le titre de section et son
   contenu. Trois variables pilotent l'ensemble : pour resserrer
   ou aérer tout le site, il suffit de les modifier ici.
   ============================================================= */
:root {
  --sec-y: clamp(54px, 6.5vw, 96px); /* haut et bas de chaque section */
  --sec-head: clamp(26px, 3vw, 42px); /* titre de section → contenu    */
  --sec-band: clamp(
    46px,
    5.5vw,
    80px
  ); /* bandeaux colorés, un peu plus compacts */
}

/* Sections neutres (fond clair) */
.why,
.welcome,
.insta,
.hub.section,
.news.section,
.gallery.section,
.testi.section,
.access.section,
.teach {
  padding-top: var(--sec-y);
  padding-bottom: var(--sec-y);
}

/* Bandeaux pleine largeur colorés */
.stats,
.bac-strip,
.spec-feature {
  padding-top: var(--sec-band);
  padding-bottom: var(--sec-band);
}

/* En-têtes de section : le haut est porté par la section elle-même */
.section-head,
.why-head,
.vie-head {
  padding-top: 0;
  padding-bottom: var(--sec-head);
}
.insta-head {
  margin-bottom: var(--sec-head);
}
.section-foot {
  margin-top: var(--sec-head);
}

/* La classe utilitaire .section ne double plus l'espacement */
.section {
  padding-bottom: var(--sec-y);
}

/* Les sections « vie lycéenne » (grilles bord à bord) gardent
   leur en-tête au-dessus d'une grille sans gouttière */
.hub.pale,
.hub.dark {
  padding-top: var(--sec-y);
  padding-bottom: var(--sec-y);
}

/* Exception assumée : la grille Instagram et « Suivez-nous »
   partagent le même fond crème et forment un seul ensemble. */
.insta {
  padding-bottom: 0;
}
.insta + .follow {
  padding-top: var(--sec-head);
  margin-top: 0;
  padding-bottom: var(--sec-y);
}

/* Dernière section : réserve la hauteur du chevauchement de la
   carte « Envie d'en savoir plus » (annulé en mobile, où la carte
   ne chevauche plus). */
main > section:last-child,
#infos {
  padding-bottom: clamp(130px, 13vw, 190px);
}
@media (max-width: 760px) {
  main > section:last-child,
  #infos {
    padding-bottom: var(--sec-y);
  }
}

/* --- Documents à télécharger : rubriques ------------------- */
.docs-section {
  background: var(--creme);
  padding-top: var(--sec-head);
}
.docs-group {
  max-width: 900px;
  margin: 0 auto var(--sec-head);
  padding: 0 var(--pad);
}
.docs-group:last-child {
  margin-bottom: 0;
}
.docs-group-head {
  margin-bottom: 1rem;
}
.docs-group-head h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--bordeaux);
  margin: 0 0 0.25rem;
}
.docs-group-head p {
  color: var(--ink-doux);
  font-size: 0.96rem;
  margin: 0;
}
.docs-group .docs-list {
  padding: 0;
  max-width: none;
}
.doc-row.is-pending {
  cursor: default;
  opacity: 0.62;
}
.doc-row.is-pending:hover {
  transform: none;
  box-shadow: none;
}
.doc-row.is-pending .d-dl {
  color: var(--ink-doux);
  background: transparent;
  border: 1px dashed rgba(126, 22, 40, 0.25);
}

/* Jonction « Suivez-nous » → « Préparer votre venue » (même fond crème) */
.follow {
  padding-bottom: clamp(20px, 2.4vw, 34px) !important;
}
.follow + .hub.section {
  padding-top: clamp(20px, 2.4vw, 34px) !important;
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
