/* ==========================================================================
   Ensemble Scolaire Antoine Gapp — Feuille de style principale
   Palette, typographie, layouts, composants.
   Tous les réglages couleurs sont centralisés dans :root pour faciliter
   les modifications globales.
   ========================================================================== */

/* ---------- 1. Palette & tokens ---------- */
:root {
  --primary:        #1B3A6B;   /* base — titres, boutons, logo (inchangé pour la lisibilité) */
  --primary-700:    #102244;   /* hover des boutons (inchangé, doit rester foncé) */
  --primary-800:    #244E91;   /* ⬆ éclairci — fond Hero, section Voice Gapp */
  --primary-900:    #152D54;   /* ⬆ éclairci — fond footer */
  --primary-400:    #3A62B8;
  --primary-300:    #6384CC;
  --primary-50:     #EBF0FA;
  --primary-100:    #C8D5F0;

  --gold:           #F5B800;
  --gold-600:       #CC9500;
  --gold-400:       #FAC933;
  --gold-300:       #FCD95C;
  --gold-50:        #FFF8D6;
  --gold-100:       #FDEEA8;

  --podcloud:       #e91e8c;   /* rose podCloud */
  --podcloud-hover: #c2185b;

  --text:           #1f2937;
  --muted:          #6b7280;
  --muted-light:    #9ca3af;
  --border:         #e5e7eb;
  --bg:             #ffffff;
  --bg-alt:         #f8f9fa;
  --bg-soft:        rgba(235,240,250,0.4);

  --shadow-card:    0 2px 16px 0 rgba(27,58,107,0.08);
  --shadow-hover:   0 12px 32px 0 rgba(27,58,107,0.18);
  --shadow-lg:      0 25px 50px -12px rgba(0,0,0,0.25);

  --radius:         1rem;       /* 16px */
  --radius-lg:      1.25rem;    /* 20px */
  --radius-sm:      0.5rem;     /* 8px */
  --radius-pill:    9999px;

  --container:      1280px;
  --header-h:       80px;

  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- 2. Reset léger ---------- */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
.page-head__video { height: 100% !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--primary); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 3. Utilitaires ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.eyebrow {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section {
  padding: 5rem 0;
}
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section--alt { background: var(--bg-soft); }
.section--dark { background: var(--primary-800); color: #fff; position: relative; overflow: hidden; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--gradient { background: linear-gradient(135deg, var(--primary-50) 0%, #fff 50%, rgba(251,245,224,0.3) 100%); }

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 0;
}
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  font-weight: 600;
  font-size: .875rem;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(27,58,107,0.2);
}
.btn--primary:hover { background: var(--primary-700); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(27,58,107,0.3); }
.btn--gold {
  background: var(--gold);
  color: var(--primary-900);
  box-shadow: 0 4px 12px rgba(201,162,39,0.3);
}
.btn--gold:hover { background: var(--gold-600); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.2); }
.btn--podcloud {
  background: var(--podcloud);
  color: #fff;
  box-shadow: 0 4px 12px rgba(233,30,140,0.3);
}
.btn--podcloud:hover { background: var(--podcloud-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(233,30,140,0.4); }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }

/* ---------- 5. Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo {
  display: flex; align-items: center; gap: .75rem;
}
.logo__mark {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(27,58,107,0.2);
  outline: 2px solid rgba(201,162,39,0.3);
  outline-offset: 2px;
}
/* Variante quand un fichier logo (SVG/PNG) est défini : le logo respire,
   pas de fond ni d'anneau (pour ne pas dénaturer ses couleurs). */
.logo__mark--img {
  width: auto;
  height: 52px;
  background: transparent;
  box-shadow: none;
  outline: none;
  border-radius: 0;
  padding: 0;
}
.logo__mark--img img {
  height: 100%;
  width: auto;
  display: block;
}
/* Sur fond sombre (footer), assure que le logo reste lisible */
.logo__mark--on-dark { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25)); }
.logo__text { line-height: 1.15; }
.logo__small {
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold);
}
.logo__main { font-weight: 700; color: var(--primary); font-size: 1.0625rem; }

.nav {
  display: none;
  align-items: center;
  gap: .125rem;
}
.nav a {
  padding: .5rem .75rem;
  font-size: .875rem; font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
  text-align: center;
}
.nav a:hover { color: var(--primary); background: var(--primary-50); }
.nav a.is-active { color: var(--primary); background: var(--primary-50); }

@media (min-width: 1280px) { .nav { display: flex; } }

.header__cta {
  display: none;
  align-items: center;
  gap: .5rem;
}
@media (min-width: 768px) { .header__cta { display: flex; } }
.menu-toggle {
  display: inline-flex; padding: .5rem;
  color: var(--text); border-radius: var(--radius-sm);
}
.menu-toggle:hover { background: #f3f4f6; }
@media (min-width: 1280px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: .75rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: .625rem 1rem;
  font-size: .875rem; font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  margin: 0 1rem;
}
.mobile-menu a:hover { background: var(--primary-50); color: var(--primary); }
.mobile-menu a.is-active { background: var(--primary-50); color: var(--primary); }
.mobile-menu .btn { margin: .5rem 1rem 0; display: flex; }

/* ---------- 6. Hero ---------- */
.main { padding-top: var(--header-h); }
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,162,39,0.12) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-300) 55%, #e8f2ff 100%);
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  /* Overlay aligné sur le nouveau --primary-800 éclairci (rgb 36,78,145) */
  background: linear-gradient(to right, rgba(36,78,145,0.8), rgba(27,58,107,0.5) 50%, transparent);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1fr; } }

.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero__badge::before {
  content: ''; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--gold); }
.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.hero__lede {
  color: rgba(255,255,255,0.75);
  max-width: 36rem;
  margin-bottom: 2rem;
}
.hero__buttons {
  display: flex; flex-wrap: wrap; gap: .75rem;
}

.hero__visual {
  display: none; position: relative;
}
@media (min-width: 1024px) { .hero__visual { display: block; } }
.hero__tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.hero__tiles > div { display: flex; flex-direction: column; gap: 1rem; }
.hero__tiles > div:nth-child(2) { padding-top: 3rem; }
.tile {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile--gold { aspect-ratio: 4/5; background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); color: rgba(10,22,48,0.7); }
.tile--blue-mid { aspect-ratio: 1; background: linear-gradient(135deg, var(--primary-400), var(--primary-700)); color: rgba(255,255,255,0.8); }
.tile--light { aspect-ratio: 1; background: linear-gradient(135deg, var(--primary-50), var(--primary-100)); color: var(--primary-700); }
.tile--dark { aspect-ratio: 4/5; background: linear-gradient(135deg, var(--primary), var(--primary-800)); color: var(--gold); }

.hero__floating {
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  background: #fff; color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  max-width: 18rem;
}
.hero__floating .icon-box {
  width: 48px; height: 48px;
  background: var(--gold-50); color: var(--gold-600);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.hero__floating .big-num { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.hero__floating .small { font-size: .875rem; color: var(--muted); }

.hero__wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  width: 100%; color: #fff;
}

/* ---------- 7. Cards & Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
.grid--quick { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .grid--quick { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid--quick { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid #f1f3f5;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card__body { padding: 1.5rem; }
.card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.card__desc { font-size: .875rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.6; }

.card__media {
  height: 12rem;
  position: relative;
  overflow: hidden;
}
.card__media--primary { background: linear-gradient(135deg, var(--primary), var(--primary-800)); }
.card__media--gold    { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }
.card__media--primary-light { background: linear-gradient(135deg, var(--primary-400), var(--primary-700)); }
.card__media--primary-dark  { background: linear-gradient(135deg, var(--primary-700), var(--primary-900)); }
.card__media--gold-dark { background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__identity { text-align: center; margin-bottom: .75rem; }
.card__title { font-size: 1.125rem; font-weight: 700; margin-bottom: .25rem; }
.card__city { font-size: .8125rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.card__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  padding: .25rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 600;
}
.card__badge--gold { color: var(--gold-600); }
.card__icon {
  position: absolute; bottom: 1rem; right: 1rem;
  width: 6rem; height: 6rem;
  color: rgba(255,255,255,0.3);
}

.card__actions { display: flex; flex-direction: column; gap: .5rem; }
.card__actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.btn-small {
  text-align: center;
  border: 1px solid var(--border);
  color: var(--text);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .75rem; font-weight: 500;
  transition: all .15s;
}
.btn-small:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- 8. Qui sommes-nous ---------- */
.about {
  position: relative; overflow: hidden;
}
.about__grid {
  display: grid; gap: 3.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1fr 1fr; } }
.value-card {
  display: flex; gap: 1rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--primary);
}
.value-card--gold { border-left-color: var(--gold); }
.value-card .icon-box {
  width: 48px; height: 48px;
  background: var(--primary-50); color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-card--gold .icon-box { background: var(--gold-50); color: var(--gold-600); }
.value-card h3 { font-size: 1.0625rem; margin-bottom: .25rem; }
.value-card p { font-size: .875rem; color: var(--muted); margin: 0; }

/* ---------- 9. Accès rapides ---------- */
.quick {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all .2s;
}
.quick:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.quick .icon-box {
  width: 56px; height: 56px;
  margin: 0 auto .75rem;
  background: var(--primary-50); color: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.quick:hover .icon-box { background: var(--primary); color: #fff; }
.quick__label { font-size: .875rem; font-weight: 600; color: var(--primary); }
.quick--gold { background: var(--gold-50); border-color: var(--gold-100); }
.quick--gold .icon-box { background: var(--gold-100); color: var(--gold-600); }
.quick--gold:hover { border-color: var(--gold); }
.quick--gold:hover .icon-box { background: var(--gold); color: #fff; }
.quick--gold .quick__label { color: var(--gold-600); }

/* ---------- 10. Portes ouvertes ---------- */
.po-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--primary);
  padding: 1.5rem;
}
.po-card--gold { border-top-color: var(--gold); }
.po-card__header {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem;
}
.po-card__header .icon-box {
  width: 48px; height: 48px;
  background: var(--primary-50); color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.po-card--gold .po-card__header .icon-box { background: var(--gold-50); color: var(--gold-600); }
.po-card__site { font-weight: 700; color: var(--primary); font-size: 1.0625rem; }
.po-card__ville { font-size: .875rem; color: var(--muted); }

.po-slot {
  display: flex; align-items: flex-start; gap: .75rem;
  background: rgba(235,240,250,0.5);
  border-radius: var(--radius-sm);
  padding: .75rem;
  margin-bottom: .75rem;
}
.po-card--gold .po-slot { background: rgba(251,245,224,0.5); }
.po-date {
  width: 40px; height: 40px;
  background: #fff; color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700; font-size: .75rem;
  flex-shrink: 0;
}
.po-date small { font-size: .625rem; text-transform: uppercase; }
.po-card--gold .po-date { color: var(--gold-600); }
.po-slot__time { font-size: .875rem; }
.po-slot__time strong { color: var(--primary); }
.po-slot__note { color: var(--muted); }

.po-cta-wrap { text-align: center; margin-top: 2.5rem; }

/* ---------- 11. Actualités ---------- */
.news-head {
  display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .news-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.news-link {
  font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: .5rem;
}
.news-link:hover { color: var(--gold); }
.news-date { font-size: .75rem; color: var(--muted); margin-bottom: .5rem; }

/* ---------- 12. Voice Gapp ---------- */
.voice-grid {
  position: relative;
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .voice-grid { grid-template-columns: 3fr 2fr; } }
.voice-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem 1rem;
  background: rgba(201,162,39,0.2);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 600;
  color: var(--gold); text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 1.25rem;
}
.voice-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}
.voice-title .accent { color: var(--gold); }
.voice-text { color: rgba(255,255,255,0.85); font-size: 1.125rem; margin-bottom: 2rem; }
.voice-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }

.player {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.player__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.player__head .icon-box {
  width: 56px; height: 56px;
  background: var(--gold); color: var(--primary-900);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.player__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); }
.player__title { font-weight: 700; font-size: 1.0625rem; color: #fff; }
.player__body { background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 1rem; }
.player__bar {
  display: flex; align-items: center; gap: .75rem;
}
.play-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold); color: var(--primary-900);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.progress {
  flex: 1;
  height: 6px; background: rgba(255,255,255,0.1);
  border-radius: var(--radius-pill); overflow: hidden;
}
.progress::after {
  content: ''; display: block;
  height: 100%; width: 33%; background: var(--gold);
}
.player__times {
  display: flex; justify-content: space-between;
  font-size: .75rem; color: rgba(255,255,255,0.6);
  margin-top: .5rem;
}
.player p { color: rgba(255,255,255,0.7); font-size: .875rem; margin: 0; }

/* ---------- 13. Footer ---------- */
.footer {
  background: var(--primary-900);
  color: #fff;
}
.footer__top {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  padding: 4rem 0;
}
@media (min-width: 640px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: repeat(4, 1fr); } }
.footer h4 {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  margin-bottom: 1rem;
}
.footer ul li { padding: .25rem 0; font-size: .875rem; color: rgba(255,255,255,0.8); }
.footer a:hover { color: var(--gold); }
.footer__brand .logo__mark { background: var(--primary); }
.footer__brand .logo__mark--img { background: transparent; }
.footer__brand p { color: rgba(255,255,255,0.7); font-size: .875rem; }
.footer__phone { color: var(--gold); font-weight: 600; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer__bottom .container {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.5rem 1rem;
  font-size: .875rem; color: rgba(255,255,255,0.6);
}
@media (min-width: 640px) { .footer__bottom .container { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.5rem; } }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- 14. Page header (interior pages) ---------- */
.page-head {
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 50%, rgba(251,245,224,0.3) 100%);
  padding: 4rem 0;
}
.breadcrumb { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .here { color: var(--primary); font-weight: 600; }
.page-head h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.page-head__lede { font-size: 1.125rem; color: var(--muted); max-width: 50rem; }

/* Variante vidéo fond */
.page-head--video {
  position: relative; overflow: hidden;
  padding: 6rem 0;
  background: var(--primary);
}
.page-head__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  pointer-events: none;
}
.page-head__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(21,45,84,.70) 0%, rgba(27,58,107,.55) 100%);
}
.page-head__content { position: relative; z-index: 2; }
.page-head--video .breadcrumb,
.page-head--video .breadcrumb a { color: rgba(255,255,255,.75); }
.page-head--video .breadcrumb a:hover { color: var(--gold); }
.page-head--video .breadcrumb .here { color: var(--gold); font-weight: 600; }
.page-head--video h1 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.page-head--video .page-head__lede {
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}

/* ---------- 15. Établissement détaillé ---------- */
.etab-section { padding: 4rem 0; }
.etab-section--alt { background: rgba(235,240,250,0.3); }
.etab-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) { .etab-grid { grid-template-columns: 2fr 3fr; } }
.etab-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-800));
  color: rgba(255,255,255,0.3);
  overflow: hidden;
}
.etab-photo--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }
.etab-photo--mid  { background: linear-gradient(135deg, var(--primary-400), var(--primary-700)); }
.etab-photo img { width: 100%; height: 100%; object-fit: cover; }

.etab h2 { font-size: clamp(1.875rem, 4vw, 2.25rem); margin-bottom: 1rem; }
.etab p.lede { font-size: 1.125rem; color: var(--text); line-height: 1.7; margin-bottom: 1.5rem; }
.etab h3 { font-size: 1.0625rem; margin-bottom: .75rem; }
.tag {
  display: inline-block;
  background: var(--primary-50); color: var(--primary);
  padding: .25rem .75rem; border-radius: var(--radius-pill);
  font-size: .8125rem; font-weight: 500; margin-right: .5rem; margin-bottom: .5rem;
}
.muted-italic { font-size: .875rem; color: var(--muted); font-style: italic; margin-bottom: 1.5rem; }
.info-list li { display: flex; align-items: center; gap: .5rem; padding: .25rem 0; color: var(--text); }
.info-list svg { color: var(--primary); width: 20px; height: 20px; }

/* ---------- 16. Infos pratiques ---------- */
.info-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #f1f3f5;
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}
.info-card h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.info-row {
  display: flex; justify-content: space-between;
  padding: .375rem 0;
  border-bottom: 1px dashed #f1f3f5;
}
.info-row:last-child { border-bottom: 0; }
.info-row strong { color: var(--primary); }

.info-card--dark {
  background: var(--primary); color: #fff;
}
.info-card--dark h2 { color: #fff; }
.info-card--dark .link-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.1);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
  font-size: .875rem;
}
.info-card--dark .link-row:hover { background: rgba(255,255,255,0.2); }

/* ---------- 17. Pilliers / aspects (éducatif / pastoral) ---------- */
.intro {
  max-width: 56rem; margin: 0 auto;
  padding: 0 1rem;
}
.intro p { font-size: 1.125rem; line-height: 1.75; color: var(--text); margin-bottom: 1rem; }

.pillars {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 72rem; margin: 4rem auto 0; padding: 0 1rem;
}
@media (min-width: 768px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar {
  background: rgba(235,240,250,0.4);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.pillar:nth-child(even) {
  background: rgba(251,245,224,0.5);
  border-left-color: var(--gold);
}
.pillar h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.pillar p { color: var(--text); margin: 0; }

.cta-banner {
  max-width: 56rem; margin: 4rem auto 0; padding: 2.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
}
.cta-banner h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 1.5rem; }

.aspects {
  max-width: 72rem; margin: 0 auto; padding: 0 1rem;
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .aspects { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .aspects { grid-template-columns: repeat(3, 1fr); } }
.aspect {
  background: #fff;
  border: 1px solid #f1f3f5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}
.aspect .icon-box {
  width: 48px; height: 48px;
  background: var(--primary-50); color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.aspect:nth-child(even) .icon-box { background: var(--gold-50); color: var(--gold-600); }
.aspect h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.aspect p { font-size: .875rem; color: var(--muted); margin: 0; }

/* ---------- 18. Voice Gapp page (épisodes) ---------- */
.ep-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .ep-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ep-grid { grid-template-columns: repeat(3, 1fr); } }
.ep {
  background: rgba(235,240,250,0.4);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.ep__cover {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 1rem;
}
.ep__num { font-size: .75rem; color: var(--muted); margin-bottom: .25rem; }
.ep h3 { font-size: 1rem; margin-bottom: .5rem; }
.ep p { font-size: .875rem; color: var(--muted); margin: 0; }

/* ---------- 18bis. Voice Gapp — Podcast au hasard ---------- */
.random-player {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: linear-gradient(135deg, #fff 0%, var(--primary-50) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid #f1f3f5;
}
@media (min-width: 768px) {
  .random-player { grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: center; }
}
.random-player__cover {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-800));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.random-player__cover img {
  width: 100%; height: 100%; object-fit: cover;
}
.random-player__body { display: flex; flex-direction: column; }
.random-player__meta {
  font-size: .8125rem;
  color: var(--muted);
  letter-spacing: .05em;
  margin-bottom: .5rem;
  text-transform: uppercase;
}
.random-player__meta .pill {
  display: inline-block;
  background: var(--gold-50);
  color: var(--gold-600);
  padding: .25rem .625rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  margin-right: .5rem;
}
.random-player__body h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  line-height: 1.3;
  margin-bottom: .75rem;
}
.random-player__desc {
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* Lecteur audio HTML5 — style harmonisé */
audio {
  width: 100%;
  border-radius: var(--radius-sm);
  outline: none;
}
audio::-webkit-media-controls-panel {
  background: var(--primary-50);
}

.random-actions {
  display: flex; gap: .75rem; flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* Épisodes dynamiques */
.ep {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid #f1f3f5;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.ep:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ep__cover {
  background: linear-gradient(135deg, var(--primary), var(--primary-800));
  overflow: hidden;
}
.ep__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.ep__meta {
  font-size: .75rem; color: var(--muted);
  margin-bottom: .25rem;
}
.ep__meta .pill-num {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary);
  padding: .125rem .5rem;
  border-radius: var(--radius-pill);
  font-weight: 600; margin-right: .375rem;
}
.ep h3 { font-size: 1rem; margin-bottom: .5rem; line-height: 1.35; }
.ep p { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; flex: 1; }
.ep audio { margin-top: auto; }

.feed-actions {
  display: flex; gap: .75rem; flex-wrap: wrap;
  margin-bottom: 2rem; align-items: center;
}
.feed-info {
  font-size: .875rem; color: var(--muted);
  margin-left: auto;
}
.feed-info .dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #10b981; border-radius: 50%;
  margin-right: .375rem;
  vertical-align: middle;
}

/* ---------- 19. Contact ---------- */

/* Ancres de navigation rapide */
.contact-anchors {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem;
}
.contact-anchors a {
  display: inline-block; padding: .375rem .875rem;
  background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-pill); font-size: .8125rem; font-weight: 600;
  transition: background .2s, border-color .2s;
}
.contact-anchors a:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.6); }

/* Photo de l'établissement */
.contact-etab-photo {
  width: 100%; height: 240px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card); margin-bottom: 2rem;
}
.contact-etab-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-etab-photo--gradient { background: linear-gradient(135deg, var(--primary), var(--primary-800)); }
.contact-etab-photo--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }

/* Grille info + carte */
.contact-etab-body {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .contact-etab-body { grid-template-columns: 1fr 1.6fr; } }

/* Carte OpenStreetMap */
.contact-etab-map {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.contact-etab-map iframe {
  width: 100%; height: 320px; border: 0; display: block;
}
.contact-map-link {
  display: block; padding: .5rem .875rem;
  background: var(--bg-soft); text-align: right;
  font-size: .8rem; font-weight: 600; color: var(--primary);
  border-top: 1px solid var(--border);
  transition: color .2s;
}
.contact-map-link:hover { color: var(--gold); }

.contact-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }

.form {
  background: #fff;
  border: 1px solid #f1f3f5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}
.form h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.form__help { font-size: .875rem; color: var(--muted); margin-bottom: 1.5rem; }
.field { margin-bottom: 1.25rem; }
.field label {
  display: block; font-size: .875rem; font-weight: 500;
  color: var(--text); margin-bottom: .375rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .625rem .875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-50);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--row {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .field--row { grid-template-columns: 1fr 1fr; } }
.checkbox-row {
  display: flex; gap: .5rem; align-items: flex-start;
  font-size: .875rem; color: var(--muted);
  margin-bottom: 1.5rem;
}
.checkbox-row input { margin-top: .25rem; }

.alert-ok {
  background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: var(--radius); padding: 1rem 1.25rem;
  color: #065f46; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .75rem;
}
.alert-err {
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: var(--radius); padding: 1rem 1.25rem;
  color: #991b1b; margin-bottom: 1.5rem;
}

.aside-block {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.aside-block h3 { color: #fff; font-size: 1.0625rem; margin-bottom: 1rem; }
.aside-block .lbl { font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: .25rem; }
.aside-block .big { font-size: 1.25rem; font-weight: 700; color: #fff; }
.aside-block a:hover { color: var(--gold); }

.map-placeholder {
  background: #f3f4f6;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-light);
  text-align: center;
  margin-bottom: 1.25rem;
}

.aside-links {
  background: #fff; border: 1px solid #f1f3f5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
}
.aside-links h3 { font-size: 1rem; margin-bottom: .75rem; }
.aside-links a { display: block; padding: .25rem 0; color: var(--primary); font-size: .875rem; }
.aside-links a:hover { color: var(--gold); }

/* ---------- 20. Petits utilitaires ---------- */
.flex-gap { display: flex; gap: .75rem; flex-wrap: wrap; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }

/* ---------- 21. Print ---------- */
@media print {
  .header, .footer, .hero__floating, .menu-toggle { display: none; }
  .main { padding-top: 0; }
  .card { box-shadow: none; }
}
