/* ==========================================================================
   École Lerel — feuille de style principale
   ========================================================================== */

:root {
  /* Piles de polices — une seule source de vérité, cf. body et h1-h4 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Noto Serif", serif;

  --bg: #121013;
  --bg-elevated: #1a171d;
  --bg-elevated-2: #221e26;
  --line: rgba(244, 242, 247, 0.1);
  --text: #f4f2f7;
  --text-muted: #b3aebd;
  --text-faint: #8a8494;
  --accent: #a855f7;
  --accent-soft: #c084fc;
  --accent-dim: rgba(168, 85, 247, 0.14);
  --on-accent: #14101a;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --container: 1180px;
  --nav-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Un élément porteur de l'attribut hidden doit le rester : aucune règle
   display, si spécifique soit-elle, ne doit pouvoir le neutraliser. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3vw + 1rem, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 1.1em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-soft);
  display: inline-block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

section {
  position: relative;
}

.section-pad {
  padding: clamp(64px, 10vw, 130px) 0;
}

.text-center { text-align: center; }

.lede {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem);
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.link-arrow svg {
  transition: transform 0.3s var(--ease);
  width: 16px;
  height: 16px;
}
.link-arrow:hover svg {
  transform: translateX(5px);
}

/* ---------- Accessibilité : lien d'évitement ---------- */

/* Sorti du flux vers le haut plutôt que masqué : display:none ou
   visibility:hidden le retireraient de l'ordre de tabulation. */
.skip-link {
  position: absolute;
  top: -120px;
  left: 12px;
  z-index: 200;
  padding: 0.85em 1.7em;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}

/* Cible du lien d'évitement : le focus s'y pose par programme (tabindex="-1"),
   inutile d'y dessiner un cadre. */
main:focus {
  outline: none;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(18, 16, 19, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  z-index: 110;
}

/* <picture> remplace <img> comme élément flex : sans display, l'inline par
   défaut réintroduit l'interlignage sous le logo. */
.brand picture {
  display: flex;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-word small {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  z-index: 110;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), top 0.35s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-open .nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Verrou de défilement du fond pendant que le menu mobile est ouvert.
   Le JS ajoute un padding-right compensatoire pour éviter le saut de mise en page. */
body.nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: 0;
    background: #0d0b0f;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  }

  .nav-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav a { font-size: 1.4rem; color: var(--text); }
  .nav-cta { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Déclarée ici et non en style inline : le preload scanner du navigateur
     peut ainsi la découvrir tôt (LCP). Chemin relatif à assets/css/. */
  background-image: url('../img/theatre-ambiance.jpg');
  background-image: -webkit-image-set(url('../img/theatre-ambiance.webp') type('image/webp'),
                                      url('../img/theatre-ambiance.jpg') type('image/jpeg'));
  background-image: image-set(url('../img/theatre-ambiance.webp') type('image/webp'),
                              url('../img/theatre-ambiance.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 30%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,16,19,0.55) 0%, rgba(18,16,19,0.86) 60%, var(--bg) 100%),
    radial-gradient(60% 60% at 15% 15%, rgba(168,85,247,0.22), transparent 70%);
}

.hero-content {
  max-width: 720px;
  animation: rise 1s var(--ease) both;
}

.hero h1 {
  margin-bottom: 0.35em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-soft);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 2.2em;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-meta div {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.hero-meta strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text);
}

.hero-meta span {
  font-size: 0.82rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  padding: calc(var(--nav-h) + 70px) 0 60px;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(closest-side, rgba(168,85,247,0.16), transparent);
  z-index: -1;
  pointer-events: none;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 1.2em;
}
.breadcrumb a:hover { color: var(--accent-soft); }

/* ---------- Cards / Grid ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.course-card {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168,85,247,0.4);
}

.course-card .num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--accent-soft);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 0.6em 0 0.4em;
}

.course-card .quote {
  font-style: italic;
  color: var(--text-faint);
  margin-bottom: 1em;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .feature-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-row { grid-template-columns: 1fr; }
}

.feature-item {
  padding: 26px 4px;
  border-top: 1px solid var(--line);
}

.feature-item .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-item h4 {
  margin-bottom: 0.4em;
}
.feature-item p {
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Founder / media-text ---------- */

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media { order: 2; }

@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

.split-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
}

/* Même raison que .brand picture : le wrapper doit reprendre le comportement
   bloc de l'<img> qu'il remplace, sinon interlignage parasite dans le cadre. */
.split-media picture {
  display: block;
  height: 100%;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.split-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  z-index: 2;
  pointer-events: none;
}

.frame-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(18,16,19,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  z-index: 3;
}

/* ---------- Timeline (bio) ---------- */

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.timeline-item .year {
  font-family: var(--font-serif);
  color: var(--accent-soft);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.3em;
  display: block;
}

/* ---------- Reviews / CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--bg-elevated), #26202c);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(36px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-banner h3 { margin-bottom: 0.3em; }
.cta-banner p { margin: 0; }

.stars {
  color: var(--accent-soft);
  letter-spacing: 3px;
  font-size: 1.1rem;
}

/* ---------- Schedule table ---------- */

.schedule-group {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 32px;
}

.schedule-group + .schedule-group { margin-top: 20px; }

.schedule-group h3 {
  color: var(--accent-soft);
  margin-bottom: 1em;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.schedule-row:first-of-type { border-top: none; }

.schedule-row .day {
  font-weight: 600;
  min-width: 190px;
}

.schedule-row .what {
  color: var(--text-muted);
  flex: 1;
  text-align: right;
}

@media (max-width: 560px) {
  .schedule-row { flex-direction: column; gap: 4px; }
  .schedule-row .what { text-align: left; }
}

/* ---------- Pricing ---------- */

.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(168,85,247,0.5);
  background: linear-gradient(180deg, var(--bg-elevated), #271f2e);
  box-shadow: var(--shadow);
}

.price-card .tag {
  align-self: flex-start;
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.price-row:first-of-type { border-top: none; }
.price-row .amount {
  font-family: var(--font-serif);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.price-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-faint);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 5vw, 60px);
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-item:first-child { border-top: none; padding-top: 0; }

.contact-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 { margin-bottom: 0.2em; }
.contact-item p { margin: 0; }
.contact-item a:hover { color: var(--accent-soft); }

.map-frame {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 30px;
}
/* Le filtre d'assombrissement ne vise que la carte Google une fois chargée :
   appliqué au conteneur, il inverserait aussi le texte du placeholder. */
.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
  filter: grayscale(0.4) invert(0.92) contrast(0.9);
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 320px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-elevated);
  color: var(--text-muted);
  text-align: center;
}

.map-placeholder p {
  margin: 0;
}

.map-address {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.1em;
}

.footer-col a, .footer-col span {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.8em;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--accent-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------- Reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Misc page-specific content blocks ---------- */

.prose p { color: var(--text-muted); }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.4em; }

.pull-quote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  margin: 2em 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.6em 0;
}
.badge-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Impression
   ========================================================================== */

@media print {
  /* Tout le thème passe par les variables : on bascule la palette d'un bloc
     plutôt que de neutraliser chaque règle une par une. */
  :root {
    --bg: #ffffff;
    --bg-elevated: #ffffff;
    --bg-elevated-2: #ffffff;
    --line: #bbbbbb;
    --text: #000000;
    --text-muted: #1a1a1a;
    --text-faint: #444444;
    --accent: #000000;
    --accent-soft: #000000;
    --accent-dim: transparent;
    --shadow: none;
  }

  html,
  body {
    background: #ffffff;
    color: #000000;
    overflow: visible;
  }

  body {
    font-size: 11pt;
  }

  .site-header,
  .nav-toggle,
  .skip-link,
  .hero-bg,
  .map-frame,
  .cta-banner,
  .btn {
    display: none !important;
  }

  /* Halo violet écrit en dur : visible si l'utilisateur coche
     « Graphiques d'arrière-plan » dans la boîte d'impression. */
  .page-hero::before {
    display: none;
  }

  /* Sans ça, toute section non encore révélée par l'observateur s'imprime
     blanche : c'est le cas dès que l'on imprime sans avoir fait défiler. */
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Même piège pour le hero, dont l'apparition passe par une animation. */
  .hero-content {
    animation: none !important;
  }

  /* Fonds sombres et ombres écrits en dur, hors variables. */
  .price-card.featured,
  .frame-tag,
  .main-nav {
    background: #ffffff !important;
    border-color: #bbbbbb !important;
    box-shadow: none !important;
  }

  .course-card,
  .price-card,
  .schedule-group,
  .split-media {
    box-shadow: none !important;
  }

  .course-card,
  .price-card,
  .schedule-group,
  .timeline-item {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  h2, h3, h4 {
    page-break-after: avoid;
    break-after: avoid;
  }

  .hero {
    min-height: 0;
    padding-top: 0;
  }

  .page-hero {
    padding-top: 0;
  }

  .section-pad {
    padding: 22px 0;
  }

  .site-footer {
    margin-top: 24px;
    padding-top: 24px;
  }

  /* Les liens du contenu exposent leur destination, la navigation non :
     y répéter les URL n'apporterait rien sur papier. */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    word-break: break-all;
  }

  .brand[href^="http"]::after,
  .main-nav a[href^="http"]::after,
  .breadcrumb a[href^="http"]::after,
  .footer-cols a[href^="http"]::after {
    content: "";
  }
}
