:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #cf2e2e;
  --brand-gradient: linear-gradient(135deg, #cf2e2e 0%, #991b1b 100%);
  --success-gradient: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  --dark: #0f172a;
  --border: rgba(0, 0, 0, .08);
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 20px;
  --font-main: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.transparent {
  background: linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0));
}

.site-header.solid {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand-logo {
  height: 42px;
  width: auto;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  opacity: .92;
  transition: all .2s ease;
}

.site-header.solid .nav a {
  color: #1e293b;
}

.nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
  color: var(--brand);
}

.site-header.solid .nav a:hover {
  color: var(--brand);
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
}

.site-header.solid .nav-cta {
  border: 1px solid var(--border);
}

.nav-toggle {
  display: none;
  font-size: 22px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
  border-radius: 12px;
  padding: 8px 10px;
}

.site-header.solid .nav-toggle {
  color: #111;
  border: 1px solid var(--border);
}

/* compenser le header fixed uniquement au début des pages */
.page-start {
  padding-top: 120px;
  /* place pour le header */
}

/* Hero */
.hero-landing {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding-top: 84px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}

.hero-card {
  width: min(680px, 100%);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 40px;
}

.kicker {
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(0, 0, 0, .6);
}

.hero-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.hero-sub {
  margin: 14px 0 18px;
  color: rgba(0, 0, 0, .70);
  font-size: 16px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}

/* Sections */
.section {
  padding: 70px 0;
}

.page-hero {
  padding: 110px 0 40px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25)), url("/assets/hero-page.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
}

.page-hero p {
  margin: 10px 0 0;
  max-width: 70ch;
  opacity: .92;
}

.script-title {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 24px;
  color: var(--brand);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.script-title.small {
  font-size: clamp(20px, 2.6vw, 32px);
  margin-bottom: 10px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.card-pad {
  padding: 18px;
}

/* Grids */
.grid-3 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.media-card img,
.bref-card img,
.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.bref-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.bref-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}

.bref-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.bref-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .72) 100%);
  color: #fff;
}

.bref-overlay h3 {
  margin: 0 0 8px;
}

.bref-overlay p {
  margin: 0 0 12px;
  opacity: .92;
}

/* Bandeau */
.section-band {
  background: #fafafa;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.band {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}

.band-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  transition: transform .2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
}

.btn-success {
  background: var(--success-gradient);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, .9);
  color: #1f2937;
  border: 1px solid rgba(0, 0, 0, .1);
  backdrop-filter: blur(4px);
}

.btn-small {
  padding: 10px 14px;
  font-size: 14px;
}

.block {
  width: 100%;
}

/* Footer */
.site-footer.dark {
  background: var(--dark);
  color: rgba(255, 255, 255, .86);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr .8fr;
  gap: 22px;
  padding: 42px 0;
}

.footer-title {
  margin: 0 0 12px;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, .80);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-sep {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom {
  padding: 18px 0 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, .70);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .10);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .12);
}

/* ==========================
   FOOTER SOCIALS
   ========================== */

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: transform .2s ease, background .2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .18);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
}

/* Couleurs fixes des réseaux */
.footer-socials a.facebook svg {
  fill: #1877F2;
}

.footer-socials a.instagram svg {
  fill: #E1306C;
}

.footer-socials a.youtube svg {
  fill: #FF0000;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {

  .grid-3,
  .bref-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .band {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 20px;
    top: 70px;
    display: none;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    color: #111 !important;
    opacity: 1;
  }
}

/* ==========================
   PAGE À PROPOS — Ajustements
   ========================== */

.about-hero {
  padding-top: 110px;
  /* laisse la place au header fixed */
  padding-bottom: 40px;
}

.about-hero-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.1fr .9fr;
  align-items: start;
}

.about-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  background: #000;
}

.about-video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  /* force un format propre */
  object-fit: cover;
  /* remplissage sans déformation */
  max-width: 100%;
}

@media (max-width: 600px) {
  .about-video {
    width: 100% !important;
    height: auto !important;
  }
}

.about-hero-text p {
  color: rgba(0, 0, 0, .72);
  line-height: 1.7;
}

.display {
  margin: 6px 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
}

.muted {
  color: var(--muted);
}

/* Cartes profils */
.profile-card {
  display: grid;
  gap: 16px;
  grid-template-columns: 140px 1fr;
  align-items: start;

  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
  margin-top: 18px;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  /* carré propre */
  border-radius: 18px;
  object-fit: cover;
  /* recadre sans étirer */
  object-position: center;
  /* centre le visage */
  border: 1px solid var(--border);
  background: #f3f4f6;
  display: block;
}

/* Texte des profils */
.profile-card h3 {
  margin: 0 0 8px;
}

.profile-card p {
  margin: 0 0 10px;
  color: rgba(0, 0, 0, .72);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-avatar {
    width: 100%;
    height: 260px;
    /* grand visuel sur mobile */
    border-radius: 18px;
  }
}

.nav a.active {
  opacity: 1;
  transform: translateY(-1px);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-header.solid .nav a.active {
  color: var(--brand);
}

/* Hover “soft lift” sur cartes */
.bref-card,
.profile-card {
  transition: transform .18s ease, box-shadow .25s ease;
}

.bref-card:hover,
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
}

/* Boutons plus vivants */
.btn {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
}

.btn:hover {
  box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
}

/* ==========================
   COURS — grille + modal vidéo
   ========================== */

.courses-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
  transition: transform .18s ease, box-shadow .25s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
}

.course-thumb {
  width: 100%;
  height: 210px;
  background: #111;
  background-size: cover;
  background-position: center;
}

.course-body {
  padding: 14px;
}

.course-title {
  margin: 0 0 6px;
}

.course-desc {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.course-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* CTA */
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Modal vidéo */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.video-modal.open {
  display: block;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
}

.video-dialog {
  position: relative;
  width: min(980px, 92vw);
  margin: 8vh auto 0;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .40);
  border: 1px solid rgba(255, 255, 255, .12);
}

.video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 18px;
}

.video-close:hover {
  background: rgba(255, 255, 255, .20);
}

.video-frame {
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .cta-card {
    flex-direction: column;
    align-items: stretch;
  }
}

.planning-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 14px;
}

.tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.tab.active {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

.planning-day {
  display: none;
}

.planning-day.active {
  display: block;
}

.slot {
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .06);
}

.slot strong {
  display: block;
  margin-bottom: 4px;
}

.note {
  margin-top: 10px;
  font-size: .95rem;
}

/* Couleurs (proches du planning original) */
.yellow {
  background: #FFE082;
}

.green {
  background: #A5D6A7;
}

.red {
  background: #EF9A9A;
}

.pink {
  background: #F8BBD0;
}

.blue {
  background: #B3E5FC;
}

.gray {
  background: #E0E0E0;
}

.white {
  background: #ffffff;
}

.nav-item.has-submenu {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.submenu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
}

.chevron {
  font-size: .75em;
  opacity: .7;
  transition: transform .2s ease;
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
  padding: 8px 0;
  display: none;
  z-index: 9999;
  /* important */
}

.submenu a {
  display: block;
  padding: 10px 14px;
  white-space: nowrap;
}

.submenu a:hover {
  background: rgba(0, 0, 0, .04);
}

.submenu.open {
  display: block;
}

/* Desktop hover (optionnel, agréable) */
@media (hover:hover) {
  .has-submenu:hover .submenu {
    display: block;
  }

  .has-submenu:hover .chevron {
    transform: rotate(180deg);
  }
}

/* Mobile: sous-menu dans le menu burger */
.nav.open .submenu {
  position: static;
  box-shadow: none;
  border: 0;
  padding: 6px 0 0 12px;
  display: none;
}

.nav.open .submenu.open {
  display: block;
}

/* ==========================
   TABLEAUX – MODALITÉS & TARIFS
   ========================== */

.table-wrap {
  margin-top: 22px;
  overflow-x: auto;
}

.pricing-table {
  width: 70%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
}

.pricing-table thead th {
  background: var(--brand);
  color: #fff;
  padding: 14px;
  text-align: left;
  font-size: 15px;
}

.pricing-table tbody td {
  padding: 14px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.pricing-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.pricing-table td strong {
  color: var(--brand);
}

/* Texte note */
.note {
  margin-top: 12px;
  font-size: .95rem;
}

.cta-inline {
  text-align: center;
  padding: 40px 0;
}

.cta-inline-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
}

.cta-inline-text {
  margin: 0 0 18px;
  color: var(--muted);
}


/* Dans la section Modalités, enlève les cadres */
#modalites .card,
#modalites .cta-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Enlève aussi le padding interne "carte" */
#modalites .card-pad {
  padding: 0 !important;
}


/* ==========================
     MOBILE “STACKED TABLE”
     ========================== */
@media (max-width:640px) {
  .pricing-table thead {
    display: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table {
    border-radius: 18px;
  }

  .pricing-table tr {
    padding: 10px 12px;
  }

  .pricing-table td {
    border-top: 0;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .pricing-table td::before {
    content: attr(data-label);
    font-weight: 800;
    color: var(--muted);
    flex: 0 0 46%;
  }

  .pricing-table td {
    border-bottom: 1px solid rgba(0, 0, 0, .06);
  }

  .pricing-table tr:last-child td:last-child {
    border-bottom: 0;
  }
}

/* ==========================
   INTERVENANTS
   ========================== */

.center {
  text-align: center;
}

.intervenants-hero {
  padding-top: 110px;
  /* place pour header fixed */
  padding-bottom: 10px;
}

.intervenants-title {
  margin-bottom: 6px;
}

.intervenants-subtitle {
  margin: 0;
  font-weight: 700;
  color: rgba(0, 0, 0, .65);
}

.intervenants-media {
  padding-top: 30px;
}

.video-shell {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .10);
  background: #000;

  max-width: 920px;
  margin: 0 auto;
}

/* IMPORTANT : ne pas forcer un aspect-ratio */
.intervenants-video {
  width: 100%;
  height: auto;
  display: block;

  /* limite la hauteur pour éviter un “truc géant” */
  max-height: 520px;

  /* centre la vidéo dans son espace */
  object-fit: contain;
  background: #000;
}

.intervenants-note {
  max-width: 80ch;
  margin: 14px auto 0;
  text-align: center;
}

.video-wrap {
  position: relative;
  background: #000;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55));
  color: #fff;
  transition: opacity .25s ease, transform .25s ease;
}

.video-shell {
  max-width: 920px;
  margin: 0 auto;
}

.intervenants-video {
  max-height: 520px;
  /* limite la hauteur */
}

main {
  padding-bottom: 100px;
}

/* ===== Fix CTA pleine largeur : espacement + centrage ===== */
.cta-bar-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: var(--cta-bar-bg, #7a7a7a);

  /* espace avec la section au-dessus et en dessous */
  margin-top: 80px;
  margin-bottom: 32px;

  /*centrage béton, même si .cta-inline a des styles */
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
  padding: 72px 20px;
}

/* force le centrage du texte */
.cta-bar-full .cta-inline-title,
.cta-bar-full .cta-inline-text {
  text-align: center !important;
}

/* limite la largeur du texte tout en restant centré */
.cta-bar-full .cta-inline-title,
.cta-bar-full .cta-inline-text {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* centre le bouton */
.cta-bar-full .btn {
  display: inline-block;
  margin-top: 12px;
}

.cta-bar-full {
  border-top: 1px solid rgba(255, 255, 255, .10);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

/* ===== Fix couleur texte CTA ===== */
.cta-bar-full,
.cta-bar-full h2,
.cta-bar-full p,
.cta-bar-full a {
  color: #ffffff !important;
}



/* ===== Spectacles page ===== */
.page-pad {
  padding-top: 110px;
}

.page-head {
  margin-bottom: 18px;
}

.page-subtitle {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.shows-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

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

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

.show-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
}

.show-poster {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.show-body {
  padding: 14px 14px 16px;
}

.show-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.show-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .9rem;
  background: #f3f4f6;
  color: #333;
}

.show-text {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.show-more summary {
  cursor: pointer;
  font-weight: 700;
  margin: 0 0 10px;
}

.show-more p {
  margin: 0 0 12px;
  color: var(--muted);
}

.show-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* CTA bas de page */
.shows-cta {
  margin-top: 28px;
  padding: 26px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
  text-align: center;
}

.shows-cta-title {
  margin: 0 0 10px;
}

.shows-cta-text {
  margin: 0 auto 14px;
  max-width: 760px;
  color: var(--muted);
}

.shows-cta-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/*Domaine caritatif*/
.caritatif .centered {
  text-align: center;
}

.caritatif-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr;
  gap: 28px;
  margin-top: 40px;
}

.caritatif-card h2 {
  margin-bottom: 14px;
}

.cause h3 {
  margin: 18px 0 8px;
}

.cause ul {
  padding-left: 18px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.caritatif-visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.caption {
  margin-top: 10px;
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
}

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

/* =========================
   PAGE CARITATIF 
========================= */

.car-page .container {
  max-width: 1120px
}

/* HERO */
.car-hero {
  text-align: center;
  margin-bottom: 28px;
}

.car-title {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  line-height: 1.06;
}

.car-lead {
  margin: 0 auto;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.06rem;
}

.car-hero-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* LAYOUT */
.car-layout {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 40px;
  /* + d’air */
  align-items: start;
}

/* TITRES + TEXTES */
.car-h2 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.car-muted {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

/* GROUPES */
.car-group {
  padding: 14px 0;
}

.car-group+.car-group {
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.car-h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

/* LISTE CLEAN */
.car-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.car-list li {
  position: relative;
  padding-left: 16px;
  line-height: 1.6;
}

.car-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* ACTIONS */
.car-inline-actions,
.car-poster-actions,
.car-band-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* POSTER */
/* Cadre fixe avec ratio + image entière */
/* =========================
   IMAGE CARITATIVE 
========================= */

.car-poster {
  padding: 0;
  /* plus d'encadrement */
  background: none;
  border: 0;
  box-shadow: none;
}

.car-poster-frame {
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.car-poster-frame img {
  width: 100%;
  height: auto;
  /* ✅ image complète */
  display: block;
  object-fit: contain;
}

/* Ombre marquée, propre et moderne */
.car-poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;

  border-radius: 14px;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, .28),
    0 12px 25px rgba(0, 0, 0, .22);
}

/* BANDEAU FINAL (sobre, sans cadre) */
.car-band {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.car-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.car-band-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.car-band-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}

/* RESPONSIVE */
@media (max-width:980px) {
  .car-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .car-poster-frame img {
    height: 280px;
  }

  .car-band-inner {
    justify-content: center;
    text-align: center;
  }

  .car-band-actions {
    justify-content: center;
  }

  .car-inline-actions {
    justify-content: center;
  }
}

/* ==========================
   FOOTER - SUIVEZ NOUS
   ========================== */

.footer-follow {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  margin: 4px 0 6px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: transform .2s ease, background .2s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
}

/* Icônes */
.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  transition: fill .2s ease;
}

/* Couleurs officielles au hover */
.footer-socials a.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.footer-socials a.instagram:hover {
  background: radial-gradient(circle at 30% 30%,
      #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  border-color: transparent;
}

.footer-socials a.youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
}

/* ==========================
   CONTACT — Venez nous rencontrer
   ========================== */

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
}

.contact-full {
  grid-column: 1 / -1;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
}

.contact-alt {
  background: #fafafa;
}

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

/* Icônes footer en couleurs fixes (pas de hover color) */
.footer-socials svg {
  fill: currentColor;
}

.social-facebook {
  color: #1877F2;
}

.social-instagram {
  color: #E1306C;
}

.social-youtube {
  color: #FF0000;
}

/* Tu peux garder un léger lift sans changer la couleur */
.footer-socials a:hover {
  background: rgba(255, 255, 255, .18);
}

/* ==========================
   MEDIA (Sur la toile)
   ========================== */

.media-page .media-lead {
  margin: 10px 0 22px;
  color: var(--muted);
  max-width: 75ch;
  line-height: 1.7;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: start;
}

.media-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
}

.media-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.media-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.media-caption {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 14px;
  color: rgba(0, 0, 0, .72);
  line-height: 1.5;
}

.media-cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
     FOOTER SOCIALS - Couleurs fixes (pas de hover)
     ========================== */

.footer-follow {
  margin: 0;
  font-weight: 800;
  color: rgba(255, 255, 255, .85);
  text-align: center;
}

/* ==========================
     FOOTER SOCIALS - Couleurs & Hover
     ========================== */

.footer-socials a {
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease !important;
  transform: none;
  background: rgba(255, 255, 255, .10);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
}

.footer-socials svg {
  fill: currentColor;
  transition: fill .2s ease;
  width: 20px;
  height: 20px;
}

/* Couleurs par défaut (via href) */
.footer-socials a[href*="facebook"] svg {
  fill: #1877F2;
}

.footer-socials a[href*="instagram"] svg {
  fill: #E1306C;
}

.footer-socials a[href*="youtube"] svg {
  fill: #FF0000;
}

/* Interaction : Fond blanc discret + Icône ROUGE (Brand) */
.footer-socials a:hover,
.footer-socials a:active {
  transform: translateY(-3px) !important;
  background: rgba(255, 255, 255, .20) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
  border-color: rgba(255, 255, 255, .3);
}

.footer-socials a:hover svg,
.footer-socials a:active svg {
  fill: var(--brand) !important;
}

/* ==========================
   EVENEMENTS — Galerie
   ========================== */

.media-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.filter-btn {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.filter-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
  cursor: zoom-in;
  transition: transform .18s ease, box-shadow .25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .14);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 12px 12px 14px;
  display: grid;
  gap: 4px;
}

.gallery-item figcaption strong {
  font-size: 14px;
}

.gallery-item figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.gallery-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
}

.lightbox-dialog {
  position: relative;
  width: min(1100px, 92vw);
  margin: 6vh auto 0;
  background: #0b0b0b;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

.lightbox-img {
  width: 100%;
  height: min(70vh, 720px);
  object-fit: contain;
  display: block;
  background: #000;
}

.lightbox-caption {
  padding: 10px 14px 14px;
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  line-height: 1.5;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 18px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 26px;
  display: grid;
  place-items: center;
}

.lightbox-nav.prev {
  left: 10px;
}

.lightbox-nav.next {
  right: 10px;
}

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

  .gallery-item img {
    height: 220px;
  }
}

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

  .gallery-item img {
    height: 240px;
  }
}

.events-toc {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 22px;
}

.toc-link {
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
  transition: transform .15s ease;
}

.toc-link:hover {
  transform: translateY(-1px);
}
/* ==========================
   COOKIE BANNER
   ========================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: min(340px, calc(100% - 40px));
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,.12);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  margin: 0;
}

.cookie-text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 20px;
  }
}
