/* =============================================================================
   Institut Étienne Jodelle — feuille de style principale
   Design dérivé de la maquette client (palette, typographies, composants).
   CSS vanilla, variables :root, sans dépendance externe.
   ============================================================================= */

/* --- 1. Design tokens ------------------------------------------------------ */
:root {
  /* Couleurs — reprises telles quelles de la maquette client */
  --navy: #082d57;
  --navy-dark: #061f3d;
  --blue: #0d3c70;
  --gold: #e1b343;
  --gold-light: #f8dc7f;
  --cream: #f6f3ec;
  --soft-blue: #edf4fb;
  --ink: #172331;
  --muted: #647180;
  --line: #dce2e7;
  --white: #ffffff;

  /* Typographie */
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Roboto", Arial, sans-serif;

  /* Échelle & forme */
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 48px -24px rgba(8, 45, 87, 0.35);
  --shadow-sm: 0 10px 24px -12px rgba(8, 45, 87, 0.28);
  --container: 1180px;
  --header-h: 116px;
}

/* --- 2. Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* Garantit que l'attribut [hidden] masque toujours l'élément, quelle que soit
   la spécificité d'une classe qui fixerait par ailleurs son display (flex/grid/block).
   Sans cette règle, une classe comme .article-card{display:flex} peut annuler
   [hidden]{display:none} du fait d'une spécificité CSS égale. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0 0 0.5em; line-height: 1.18; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* --- 3. Fonts (auto-hébergées — voir README pour déposer les fichiers) ----- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBold.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* --- 4. Layout utilitaires --------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--cream { background: var(--cream); }
.section--soft { background: var(--soft-blue); }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px; background: var(--navy); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm); z-index: 10000; transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* --- 5. Eyebrow / titres de section ------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before { content: "◆"; font-size: 0.6rem; }
.section--navy .eyebrow, .section--dark .eyebrow { color: var(--gold); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--navy .section-head p { color: rgba(255,255,255,0.78); }

/* --- 6. Boutons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.03em; padding: 15px 28px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-light); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-arrow::after { content: "→"; }

/* --- 7. Barre utilitaire + en-tête ------------------------------------------- */
.topbar {
  background: var(--navy-dark); color: rgba(255,255,255,0.86);
  font-size: 0.82rem; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--gold); font-weight: 600; }
.topbar .topbar-right { color: rgba(255,255,255,0.6); }

.site-header {
  position: sticky; top: 0; z-index: 500; background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.05rem; letter-spacing: 0.01em; }
.brand-text span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink);
  padding: 10px 12px; border-radius: 999px; transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--soft-blue); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 12px 22px; font-size: 0.85rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--white); position: relative; cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; top: var(--header-h); background: var(--white);
    flex-direction: column; align-items: stretch; padding: 20px; gap: 4px;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .header-actions .btn span.btn-label-full { display: none; }
}

/* --- 8. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--soft-blue) 0%, var(--white) 65%);
  padding: 76px 0 64px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0;
}
.hero::before { width: 420px; height: 420px; background: radial-gradient(circle, rgba(225,179,67,0.35), rgba(225,179,67,0) 70%); top: -160px; right: -120px; }
.hero::after { width: 320px; height: 320px; background: radial-gradient(circle, rgba(8,45,87,0.12), rgba(8,45,87,0) 70%); bottom: -140px; left: -100px; }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-strip {
  margin-top: 56px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy);
}
.hero-strip span { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
/* Voir section 23 pour la mise en page définitive du collage héro (.hero-gallery). */

/* Hero secondaire (pages intérieures) */
.page-hero { background: var(--navy); color: var(--white); padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(225,179,67,0.28), rgba(225,179,67,0) 70%); top: -140px; right: -80px;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 760px; }
.page-hero .lede { color: rgba(255,255,255,0.8); max-width: 640px; font-size: 1.05rem; }
.page-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.page-hero-facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.page-hero-facts div { display: flex; flex-direction: column; }
.page-hero-facts strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.page-hero-facts span { font-size: 0.82rem; color: rgba(255,255,255,0.72); }

/* --- 9. Cartes ------------------------------------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); height: 100%;
}
.feature-card { text-align: left; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--soft-blue); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.08rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; font-size: 0.96rem; }

.program-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease; height: 100%;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card figure { margin: 0; position: relative; }
.program-card img { height: 190px; object-fit: cover; width: 100%; }
.program-card .tag {
  position: absolute; top: 16px; left: 16px; background: var(--gold); color: var(--navy-dark);
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.program-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.program-card-body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.program-card-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; flex: 1; }
.program-card-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); }
.program-card-link { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-top: 6px; }
.program-card-link::after { content: " →"; }
.program-card:hover .program-card-link { color: var(--blue); }

.stat-box { text-align: center; }
.stat-box strong { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); }
.stat-box span { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 4px; }
.section--navy .stat-box span { color: rgba(255,255,255,0.75); }

.team-card { text-align: center; }
.team-card img { width: 148px; height: 148px; object-fit: cover; border-radius: 50%; margin: 0 auto 20px; border: 4px solid var(--soft-blue); }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { color: var(--gold); font-weight: 700; font-family: var(--font-display); font-size: 0.85rem; margin-bottom: 12px; display: block; }
.team-card p { color: var(--muted); font-size: 0.94rem; }

.testimonial-card { position: relative; }
.testimonial-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { font-style: italic; color: var(--ink); }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700;
}
.testimonial-author strong { display: block; font-size: 0.94rem; }
.testimonial-author span { display: block; font-size: 0.8rem; color: var(--muted); }
.testimonial-author span.testimonial-avatar {
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold); line-height: 1;
}

.article-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); height: 100%; }
.article-card img { height: 190px; object-fit: cover; }
.article-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-category { font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-shadow, var(--navy)); background: var(--soft-blue); color: var(--navy); display: inline-block; padding: 4px 12px; border-radius: 999px; }
.article-card-body h3 { font-size: 1.1rem; }
.article-card-body p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.article-meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 12px; }

.pricing-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; background: var(--white); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; position: relative; }
.pricing-card.is-featured { border-color: var(--gold); box-shadow: var(--shadow); }
.pricing-badge { position: absolute; top: -14px; left: 32px; background: var(--gold); color: var(--navy-dark); font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.pricing-card .kicker { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-card h3 { font-size: 1.2rem; margin-top: 6px; }
.pricing-card .price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--navy); margin: 10px 0; }
.pricing-card .price small { font-family: var(--font-sans); font-weight: 400; font-size: 0.95rem; color: var(--muted); }
.pricing-card .reg { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.pricing-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.pricing-list li { display: flex; gap: 10px; font-size: 0.92rem; align-items: flex-start; }
.pricing-list li::before { content: "✓"; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* --- 10. Filières / tableau récap ------------------------------------------ */
.filiere-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: var(--white); box-shadow: var(--shadow-sm); scroll-margin-top: 130px; }
.filiere-number { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--gold); }
.filiere-card h3 { margin-top: 6px; }
.filiere-card ul { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.filiere-card ul li { font-size: 0.94rem; padding-left: 20px; position: relative; }
.filiere-card ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.filiere-option-title { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 14px; margin-bottom: 8px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
table.recap { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
table.recap th, table.recap td { padding: 16px 20px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
table.recap thead th { background: var(--navy); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.03em; }
table.recap tbody tr:last-child td { border-bottom: none; }
table.recap tbody tr:nth-child(even) { background: var(--cream); }

.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-index {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800;
}
.step h4 { margin-bottom: 4px; font-size: 1.02rem; }
.step p { color: var(--muted); margin-bottom: 0; font-size: 0.94rem; }

/* --- 11. FAQ (details/summary natif) ---------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700; color: var(--navy); gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-num { color: var(--gold); margin-right: 10px; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); flex-shrink: 0; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: 0.96rem; }

/* --- 12. CTA bande ------------------------------------------------------------ */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: var(--white); border-radius: var(--radius-lg); padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 0; max-width: 480px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- 13. Formulaires --------------------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-sans); font-size: 0.98rem; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--cream); color: var(--ink); width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.contact-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { width: 100%; justify-content: center; }
.form-feedback { margin-top: 14px; font-size: 0.92rem; font-weight: 600; }
.form-feedback[data-state="ok"] { color: #1a7f37; }
.form-feedback[data-state="error"] { color: #b42318; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

/* --- 14. Contact — infos -------------------------------------------------- */
.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--soft-blue); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-item h4 { margin-bottom: 2px; font-size: 0.98rem; }
.contact-info-item p, .contact-info-item a { color: var(--muted); font-size: 0.94rem; }
.contact-info-item a:hover { color: var(--navy); }
.map-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--soft-blue); border-radius: var(--radius); padding: 20px 22px; margin-top: 10px;
}
.map-link strong { font-family: var(--font-display); color: var(--navy); font-size: 0.95rem; }

/* --- 15. Filtres actualités -------------------------------------------------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; padding: 10px 20px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* --- 16. Article (page détail actualité) ------------------------------------ */
.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin: -8px 0 40px; box-shadow: var(--shadow); }
.article-hero-img img { width: 100%; height: 380px; object-fit: cover; }
.article-body { max-width: 760px; margin: 0 auto; font-size: 1.03rem; }
.article-body h2 { margin-top: 2em; font-size: 1.4rem; }
.article-body p { color: var(--ink); }
.article-body ul { margin: 0 0 1.2em; display: flex; flex-direction: column; gap: 8px; }
.article-body ul li { padding-left: 22px; position: relative; }
.article-body ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.article-back { font-family: var(--font-display); font-weight: 700; color: var(--navy); display: inline-flex; gap: 8px; margin-bottom: 28px; }
.article-back::before { content: "←"; }
.article-share { display: flex; gap: 10px; margin-top: 40px; flex-wrap: wrap; }

/* --- 17. Partenaires strip -------------------------------------------------- */
.partners-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; align-items: center; opacity: 0.85; }
.partners-strip span { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.06em; color: var(--navy); font-size: 1.02rem; text-transform: uppercase; }

/* --- 18. Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.78); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text span { color: rgba(255,255,255,0.6); }
.footer-brand p { margin-top: 16px; font-size: 0.92rem; color: rgba(255,255,255,0.68); max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; transition: background-color .15s ease;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: var(--gold); }
.footer-col address { font-style: normal; font-size: 0.92rem; color: rgba(255,255,255,0.72); line-height: 1.7; }
.footer-bottom { padding: 24px 0 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.72); }
.footer-bottom a:hover { color: var(--gold); }
.footer-credit a { color: var(--gold); font-weight: 600; }

/* --- 19. Bandeau cookies (markup dans cookie-banner, styles ici) ------------ */
.cookie-notice {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9999;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem;
  max-width: 64rem; margin: 0 auto; padding: 1.1rem 1.4rem;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); font-size: 0.9rem; line-height: 1.5;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice__text { margin: 0; flex: 1 1 20rem; }
.cookie-notice__text a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.cookie-notice__btn {
  flex: 0 0 auto; padding: 0.7rem 1.4rem; border: 0; border-radius: 999px;
  background: var(--gold); color: var(--navy-dark); font: inherit; font-weight: 700; cursor: pointer;
  font-family: var(--font-display);
}
.cookie-notice__btn:hover { background: var(--gold-light); }
@media (prefers-reduced-motion: no-preference) {
  .cookie-notice { animation: cookie-notice-in 0.25s ease-out; }
  @keyframes cookie-notice-in { from { transform: translateY(0.5rem); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* --- 20. Page légale ---------------------------------------------------------- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 2em; font-size: 1.3rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { display: flex; flex-direction: column; gap: 8px; margin: 0 0 1.2em; }
.legal-content ul li { padding-left: 20px; position: relative; }
.legal-content ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* --- 21. Page 404 -------------------------------------------------------------- */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page .container { text-align: center; }
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 14vw, 7rem); color: var(--gold); line-height: 1; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* --- 22. Divers -------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
hr.divider { border: none; border-top: 1px solid var(--line); margin: 48px 0; }

/* --- 23. Collage héro (accueil) ----------------------------------------------- */
.hero-gallery { margin-top: 68px; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hero-gallery > a:not(.hero-gallery-float) img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow); height: 300px; width: 100%; object-fit: cover;
}
.hero-gallery-float { position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 230px; z-index: 2; }
.hero-gallery-float img {
  width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius-lg);
  border: 6px solid var(--white); box-shadow: var(--shadow); display: block;
}
.hero-gallery-badge {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  background: var(--navy); color: var(--white); font-family: var(--font-display); font-weight: 700;
  font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm);
}
@media (max-width: 780px) {
  .hero-gallery { margin-top: 130px; }
  .hero-gallery-float { width: 180px; top: -112px; }
  .hero-gallery-float img { height: 210px; }
  .hero-gallery > a:not(.hero-gallery-float) img { height: 220px; }
  .hero-gallery-badge { font-size: 0.58rem; padding: 7px 12px; }
}

/* --- 24. Explorez nos programmes (bento) --------------------------------------- */
.programs-explore { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 28px; align-items: center; }
.programs-col { display: flex; flex-direction: column; gap: 32px; justify-content: center; height: 100%; }
.program-mini { display: flex; gap: 16px; align-items: flex-start; }
.program-mini-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.82rem; color: var(--navy);
}
.program-mini h3 { font-size: 1rem; margin-bottom: 4px; }
.program-mini p { font-size: 0.87rem; color: var(--muted); margin-bottom: 0; }
.program-featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%); color: var(--white);
  border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; box-shadow: var(--shadow);
}
.program-featured-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--gold);
  color: var(--navy-dark); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.program-featured h3 { color: var(--white); font-size: 1.3rem; }
.program-featured > p { color: rgba(255,255,255,0.82); font-size: 0.92rem; }
.program-featured-list { display: flex; flex-direction: column; gap: 10px; margin: 22px 0; text-align: left; }
.program-featured-list li { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.08); border-radius: var(--radius); padding: 12px 16px; }
.program-featured-list .mini-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-light);
  color: var(--navy-dark); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.7rem;
}
.program-featured-list strong { display: block; font-size: 0.9rem; }
.program-featured-list span { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.72); }
.program-featured .btn { margin-top: 6px; }
@media (max-width: 980px) {
  .programs-explore { grid-template-columns: 1fr; }
  .programs-col { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .program-mini { flex: 1 1 260px; }
}

/* --- 25. Accompagnement & expérience (onglets) --------------------------------- */
.experience-tabs { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.experience-tab-list { display: flex; flex-direction: column; gap: 10px; }
.experience-tab {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  font-family: var(--font-display); font-weight: 700; color: var(--ink); cursor: pointer; font-size: 0.96rem;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.experience-tab-num { font-size: 0.78rem; color: var(--gold); font-weight: 800; flex-shrink: 0; }
.experience-tab.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.experience-tab.is-active .experience-tab-num { color: var(--gold-light); }
.experience-tab:hover:not(.is-active) { border-color: var(--navy); }
.experience-panel { display: none; }
.experience-panel.is-active { display: block; }
.experience-panel img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.experience-panel-body { margin-top: 24px; }
.experience-panel-kicker { font-family: var(--font-display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.experience-panel-body h3 { font-size: 1.35rem; }
.experience-panel-body p { color: var(--muted); margin-bottom: 0; }
@media (max-width: 900px) {
  .experience-tabs { grid-template-columns: 1fr; }
  .experience-panel img { height: 260px; }
}

/* =============================================================================
   Mise à jour novembre 2026 — retours cliente
   Les anciens attributs style="" ont été convertis en classes : la CSP stricte
   du .htaccess (default-src 'self') bloque les styles en ligne en production.
   ============================================================================= */

/* --- 26. Utilitaires (remplacent les styles en ligne) ------------------------ */
.u-muted { color: var(--muted); }
.u-navy { color: var(--navy); }
.u-display-navy { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.u-kicker-muted { color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }
.u-small { font-size: 0.85rem; }
.u-mb-0 { margin-bottom: 0; }
.u-mb-12 { margin-bottom: 12px; }
.u-mb-20 { margin-bottom: 20px; }
.u-mb-24 { margin-bottom: 24px; }
.u-mb-28 { margin-bottom: 28px; }
.u-mb-32 { margin-bottom: 32px; }
.u-mt-10 { margin-top: 10px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-28 { margin-top: 28px; }
.u-mt-32 { margin-top: 32px; }
.u-mt-2em { margin-top: 2em; }
.u-narrow-520 { max-width: 520px; margin-left: auto; margin-right: auto; }
.u-narrow-640 { max-width: 640px; margin-left: auto; margin-right: auto; }
.u-narrow-680 { max-width: 680px; margin-left: auto; margin-right: auto; }
.u-narrow-720 { max-width: 720px; margin-left: auto; margin-right: auto; }
.u-narrow-760 { max-width: 760px; margin-left: auto; margin-right: auto; }
.u-flex-center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.grid-media { align-items: center; gap: 56px; }
.grid-media--48 { gap: 48px; }
.grid-media--top { align-items: flex-start; gap: 48px; }
@media (max-width: 640px) { .grid-media { gap: 32px; } }
.media-img { border-radius: var(--radius-lg); box-shadow: var(--shadow); height: 420px; width: 100%; object-fit: cover; }
.media-img--soft { box-shadow: var(--shadow-sm); }
.media-img--tall { height: 520px; }
@media (max-width: 640px) { .media-img, .media-img--tall { height: 280px; } }
.feature-icon--center { margin: 0 auto 18px; }
.quote-lede { font-size: 1.1rem; color: var(--ink); font-style: italic; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; max-width: none; }
.section-head--split h2 { margin-bottom: 0; }
.cta-band--light { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cta-band--bare { background: transparent; padding: 0; }
.section--article { padding-top: 48px; }
.article-title { margin-top: 14px; max-width: 820px; }

/* Listes à puces simples (puce dorée, comme les fiches filières) */
.bullet-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; }
.bullet-list li { padding-left: 22px; position: relative; }
.bullet-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.bullet-list--wide { max-width: 720px; gap: 14px; margin-bottom: 0; }

/* Espacement des boutons placés sous un texte ou une liste */
.btn-spaced { margin-top: 16px; }
.programs-explore-cta { margin-top: 72px; }
@media (max-width: 980px) { .programs-explore-cta { margin-top: 48px; } }

/* --- 27. Menu déroulant « Nos formations » ----------------------------------- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown > a { padding-right: 6px; }
.nav-dropdown-toggle {
  width: 28px; height: 36px; border: 0; background: transparent; cursor: pointer;
  border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.nav-dropdown-toggle::before {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s ease;
}
.nav-dropdown-toggle:hover { background: var(--soft-blue); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; z-index: 600;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
/* Petit pont invisible pour ne pas perdre le survol entre le lien et le menu */
.nav-dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-dropdown-menu a { display: block; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.88rem; white-space: normal; }
.nav-dropdown-menu li:last-child { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.nav-dropdown-menu li:last-child a { color: var(--navy); font-weight: 700; }
@media (min-width: 1041px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-dropdown:hover .nav-dropdown-toggle::before,
  .nav-dropdown.is-open .nav-dropdown-toggle::before { transform: translateY(2px) rotate(-135deg); }
}
@media (max-width: 1040px) {
  .nav-dropdown { flex-wrap: wrap; }
  .nav-dropdown > a { flex: 1; }
  .nav-dropdown-toggle { width: 44px; height: 44px; }
  .nav-dropdown-menu {
    position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--gold);
    border-radius: 0; margin: 4px 0 8px 16px; padding: 0 0 0 8px; display: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu { display: flex; }
  .nav-dropdown.is-open .nav-dropdown-toggle::before { transform: translateY(2px) rotate(-135deg); }
  .main-nav .nav-dropdown-menu a { font-size: 0.98rem; padding: 10px 14px; }
}

/* --- 28. Instagram / WhatsApp ------------------------------------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + var(--cookie-offset, 0px)); z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #0b3d1f; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 12px 28px -10px rgba(11, 61, 31, 0.55);
  transition: transform .15s ease, bottom .2s ease;
}
.wa-float:hover { transform: translateY(-2px); }
@media (max-width: 640px) {
  .wa-float { padding: 14px; right: 16px; }
  .wa-float-label { display: none; }
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-icon--wa { color: #128c4b; }

/* --- 29. Page À propos : FAQ à gauche, photo à droite ------------------------ */
.faq-split-main { min-width: 0; }
.faq-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.faq-split .section-head { margin-bottom: 32px; }
.faq-split-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .faq-split { grid-template-columns: 1fr; gap: 36px; }
  .faq-split-img { height: 280px; }
}

/* --- 30. Nos formations : encart 20 € / heure centré ------------------------- */
.price-highlight { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 48px 36px; }
.price-highlight p { color: var(--muted); margin: 0; max-width: 300px; }

/* --- 31. Réussir son CESS : étapes sur fond bleu ----------------------------- */
.steps--light { max-width: 720px; margin: 0 auto; }
.section--navy .steps--light h4 { color: var(--white); }
.section--navy .steps--light p { color: var(--white); }
.steps-cta { margin-top: 56px; }

/* --- 32. Formation à l'école : espacements ----------------------------------- */
.section-head--compact { margin-bottom: 32px; }
.rhythm-grid .filiere-card { height: 100%; }
.subsection-head { margin-top: 80px; }
@media (max-width: 640px) { .subsection-head { margin-top: 56px; } }

/* --- 33. Formules & tarifs ---------------------------------------------------- */
.session-card {
  display: flex; align-items: center; gap: 36px; max-width: 920px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--gold); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 44px 48px;
}
.session-card-icon {
  flex-shrink: 0; width: 104px; height: 104px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1;
}
.session-card-icon sup { font-size: 1rem; margin-left: 2px; }
.session-card-body h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.session-card-body p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
@media (max-width: 640px) {
  .session-card { flex-direction: column; text-align: center; padding: 36px 24px; gap: 20px; }
}
.included-grid { align-items: stretch; }
.included-card h3 { font-size: 1.15rem; margin-bottom: 18px; }
.included-card .pricing-list { margin-bottom: 0; }
.included-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--soft-blue); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px;
}
.included-card--alt { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,0.88); }
.included-card--alt h3 { color: var(--white); }
.included-card--alt .included-icon { background: var(--gold); color: var(--navy-dark); }
.section--navy .steps--light .step-index { background: rgba(255,255,255,0.1); border: 1px solid rgba(225,179,67,0.6); }
