@import url("https://fonts.googleapis.com/css2?family=Pacifico&display=swap");

:root {
  color-scheme: light;
  --mdi-topbar-h: 40px;
  --mdi-navbar-h: 64px;
}

html {
  scroll-padding-top: calc(var(--mdi-navbar-h) + 12px);
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #0b2545;
  background: #fff;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body a {
  text-decoration: none;
}

.before-section-title {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b2545;
  margin-bottom: 4px;
}

.section-title {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #0d6efd;
  margin: 0;
  margin-top: -12px;
}

.section-subtitle {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.4rem;
  font-weight: 400;
}

.shadow-soft {
  box-shadow: 0 2px 10px rgba(13, 110, 253, 0.08);
}

.back_img {
  position: relative;
  background: transparent;
}
.back_img img {
  position: relative;
  z-index: 2;
}
.back_img::after {
  content: "";
  display: block;
  position: absolute;
  inset: -5% 10% 90% 70%;
  background: linear-gradient(90deg, rgba(0, 75, 145, 0.44), rgba(0, 145, 230, 0.44));
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }
}

@media (min-width: 992px) {
  .pt-lg-6 {
    padding-top: 4.5rem !important;
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== Micro-interaction CTA / boutons (site institutionnel) ===== */
.btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.28);
}
.btn:active {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
  .btn:hover,
  .btn:focus-visible {
    transform: none;
  }
}

.topbar-auth {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1031;
  background: linear-gradient(90deg, rgba(0, 75, 145, 0.44), rgba(0, 145, 230, 0.44));
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Masquée dès que la navbar passe en mode fixe/compact */
.topbar-auth.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.topbar-auth a {
  opacity: 0.95;
}
.topbar-auth a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: transparent;
  /* padding-top réservé pour laisser passer la topbar au repos */
  padding: calc(var(--mdi-topbar-h) + 0.85rem) 0 0.85rem !important;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.hero-navbar .navbar-brand {
  font-weight: 700;
}
.hero-navbar .navbar-brand img {
  width: 100px;
  height: auto;
  transition: width 0.3s ease, filter 0.3s ease;
}
.hero-navbar .nav-link {
  font-weight: 500;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8274509804) !important;
}

/* "Boutique" reprend la police manuscrite du logo MDI Boutique (cf. shop/assets/css/theme.css .brand-suffix) */
.hero-navbar .nav-link.nav-link--shop {
  font-family: "Pacifico", cursive;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* ===== Mode fixe / compact (au défilement) ===== */
.hero-navbar.is-fixed {
  padding: 0.4rem 0 !important;
  background: #fff;
  box-shadow: 0 4px 18px rgba(13, 44, 90, 0.1);
}
.hero-navbar.is-fixed .navbar-brand img {
  width: 66px;
}
.hero-navbar.navbar-light .nav-link,
.hero-navbar.navbar-light .navbar-brand {
  color: #222 !important;
}
/* Le logo SVG est blanc : on l'assombrit sur fond clair (mode fixe). */
.hero-navbar.navbar-light .navbar-brand img {
  filter: brightness(0) saturate(100%);
}

/* ===== Menu déroulé sur mobile / tablette ===== */
@media (max-width: 991.98px) {
  .hero-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
  }
  .hero-navbar.navbar-light .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.25);
  }
  .hero-navbar .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 0.85rem;
    background: rgba(9, 24, 42, 0.97);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
  .hero-navbar.navbar-light .navbar-collapse {
    background: #fff;
    box-shadow: 0 18px 40px rgba(13, 110, 253, 0.14);
  }
  .hero-navbar .navbar-nav {
    gap: 0 !important;
    width: 100%;
  }
  .hero-navbar .navbar-nav .nav-link {
    padding: 0.75rem 0.4rem;
  }
  .hero-navbar .navbar-nav > .nav-item + .nav-item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-navbar.navbar-light .navbar-nav > .nav-item + .nav-item {
    border-top-color: rgba(0, 0, 0, 0.08);
  }
  .hero-navbar .dropdown-menu {
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0.35rem 0.85rem;
  }
  .hero-navbar .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.82);
    padding: 0.5rem 0.4rem;
    white-space: normal;
  }
  .hero-navbar.navbar-light .dropdown-menu .dropdown-item {
    color: #333;
  }
  .hero-navbar .dropdown-menu .dropdown-item:hover,
  .hero-navbar .dropdown-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.08);
  }
  .hero-navbar.navbar-light .dropdown-menu .dropdown-item:hover,
  .hero-navbar.navbar-light .dropdown-menu .dropdown-item:focus {
    background: rgba(0, 0, 0, 0.05);
  }
  .hero-navbar .dropdown-menu .dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.14);
  }
}

.site-footer {
  background: radial-gradient(900px 500px at 85% 15%, rgba(13, 110, 253, 0.18), transparent 70%), linear-gradient(160deg, #090c11 0%, #0b1f35 50%, #070a0f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer .footer-title {
  color: #fff;
}
.site-footer .footer-text,
.site-footer .footer-copy,
.site-footer .page-subtext {
  color: rgba(255, 255, 255, 0.72);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}
.site-footer a:hover {
  color: #0091e6;
}
.site-footer .footer-divider {
  background: rgba(255, 255, 255, 0.12);
}
.site-footer .footer-social-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.site-footer .footer-social-link:hover {
  background: rgba(13, 110, 253, 0.25);
  border-color: rgba(13, 110, 253, 0.35);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
}
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}
.footer-brand .footer-logo-mark {
  font-weight: 800;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.footer-brand .footer-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-brand .footer-text {
  margin: 0.85rem 0 1rem;
  color: #fff;
  line-height: 1.65;
  max-width: 420px;
}

.footer-title {
  font-weight: 700;
  color: #0b2545;
  font-size: 1rem;
  margin: 0.1rem 0 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li + li {
  margin-top: 0.45rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-links a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.footer-contact li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.55rem;
  align-items: start;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
}
.footer-contact i {
  color: #0d6efd;
  margin-top: 0.15rem;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.footer-contact a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.55rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(13, 110, 253, 0.1);
  background: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #004b91;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.footer-social-link:hover {
  background: rgba(13, 110, 253, 0.1);
  border-color: rgba(13, 110, 253, 0.25);
  color: #0d6efd;
}

.footer-cta {
  margin-top: 0.25rem;
}

.footer-divider {
  height: 1px;
  background: rgba(13, 110, 253, 0.12);
  margin: 2rem 0 1.25rem;
}

.footer-bottom {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #fff;
  font-size: 0.92rem;
}

.footer-legal {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
}
.footer-legal a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-legal a:hover {
  color: #0d6efd;
  text-decoration: underline;
}
.footer-legal .sep {
  color: rgba(0, 0, 0, 0.35);
}

.search-box {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-video, .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  z-index: 0;
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin-inline: auto;
}

#hero-content {
  margin-top: 15vh;
}

.hero-title-premium {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.15;
  background: linear-gradient(90deg, #fff 0%, #e5ecfa 30%, #e6edff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeDown 1.2s ease both;
}

.hero-subtitle-premium {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 780px;
  margin: 1rem auto 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
  animation: fadeUp 1.4s ease both;
}

#about {
  background: #fff;
}
#about .section-sub-title {
  color: rgba(0, 0, 0, 0.6);
}
#about .section-title {
  color: #0d6efd;
}

.partners-section {
  background: radial-gradient(900px 600px at 90% 10%, rgba(13, 110, 253, 0.08), transparent 70%), radial-gradient(800px 600px at 10% 100%, rgba(0, 153, 255, 0.08), transparent 70%), linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.partners-marquee {
  --gap: 2.25rem;
  --speed: 28s;
  overflow: hidden;
  position: relative;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(13, 110, 253, 0.1);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: -moz-max-content;
  width: max-content;
  padding: 1.25rem 1.5rem;
  animation: partnersScroll var(--speed) linear infinite;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.partners-track img {
  height: 44px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.partners-track img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

@keyframes partnersScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
  }
}
#boutique {
  background: radial-gradient(1000px 600px at 80% 0%, rgba(0, 153, 255, 0.18), transparent 70%), linear-gradient(160deg, #0a1422 0%, #0e2a46 100%);
  color: rgba(255, 255, 255, 0.92);
}
#boutique .section-title {
  color: #fff;
}
#boutique .before-section-title {
  color: rgba(255, 255, 255, 0.85);
}
#boutique .lead {
  color: rgba(255, 255, 255, 0.75);
}

.boutique-header {
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .boutique-header {
    flex-direction: column;
    text-align: center;
  }
}

#cont_cat_index {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: 0.3rem;
}
#cont_cat_index .produit_index {
  position: relative;
  background-color: #fff;
  color: #0b2545;
  border-radius: 3px;
  overflow: hidden;
}
#cont_cat_index .produit_index .cont_img_index {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#cont_cat_index .produit_index .cont_img_index::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgb(0, 0, 0), transparent 120%);
}
#cont_cat_index .produit_index .cont_img_index img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.5s all ease-in-out;
}
#cont_cat_index .produit_index:hover img {
  transform: scale(1.15);
}
#cont_cat_index .produit_index .cont_text_index {
  position: relative;
  z-index: 11;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}
#cont_cat_index .produit_index .cont_text_index h5 {
  text-transform: uppercase;
}
#cont_cat_index .produit_index .cont_text_index p {
  font-size: 0.9rem;
  line-height: 1.1rem;
  flex-grow: 1;
  padding-left: 0.5rem;
}
#cont_cat_index .produit_index .cont_text_index a {
  color: #fff;
}

/* --- Disposition 6 colonnes : les 3 premiers types sont mis en avant --- */
#cont_cat_index .produit_index:nth-child(1) {
  grid-column: 1 / 4;
}
#cont_cat_index .produit_index:nth-child(2) {
  grid-column: 1 / 4;
}
#cont_cat_index .produit_index:nth-child(3) {
  grid-column: 4 / 7;
  grid-row: 1 / 3;
}
#cont_cat_index .produit_index:nth-child(n + 4) {
  grid-column: span 2;
}
/* 1 à 2 types : pleine largeur, pas de disposition spéciale */
#cont_cat_index[data-count="1"] .produit_index,
#cont_cat_index[data-count="2"] .produit_index {
  grid-column: 1 / -1;
  grid-row: auto;
}

/* ===== Boutique — cartes enrichies (rendu dynamique via js/boutique-types.js) ===== */
#cont_cat_index.is-grid .produit_index {
  border-radius: 5px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
#cont_cat_index.is-grid .produit_index:hover,
#cont_cat_index.is-grid .produit_index:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.4);
}
#cont_cat_index.is-grid .produit_index:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
#cont_cat_index.is-grid .produit_index--noimg {
  background: linear-gradient(150deg, #0b2545 0%, #13315c 55%, #1f4b7a 100%);
}
#cont_cat_index.is-grid .produit_index .cont_img_index img {
  transform: scale(1.02);
  filter: saturate(1.05);
  transition: transform 0.6s ease, filter 0.6s ease;
}
#cont_cat_index.is-grid .produit_index:hover .cont_img_index img {
  transform: scale(1.1);
  filter: saturate(1.14) brightness(1.03);
}
#cont_cat_index.is-grid .produit_index .cont_img_index::after {
  background: linear-gradient(
    to bottom,
    rgba(4, 12, 24, 0.85) 0%,
    rgba(4, 12, 24, 0.34) 45%,
    rgba(4, 12, 24, 0.1) 72%,
    rgba(4, 12, 24, 0.28) 100%
  );
  transition: opacity 0.35s ease;
}
#cont_cat_index.is-grid .produit_index:hover .cont_img_index::after {
  opacity: 0.82;
}
#cont_cat_index.is-grid .produit_index .cont_text_index {
  position: absolute;
  inset: 0;
  height: auto;
  justify-content: flex-start;
  gap: 0.3rem;
  padding: 1.1rem 1rem;
  text-align: left;
}
#cont_cat_index.is-grid .produit_index .cont_text_index h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
#cont_cat_index.is-grid .produit_index .cont_text_index p {
  flex-grow: 0;
  margin: 0;
  padding-left: 0;
  font-size: 0.88rem;
  line-height: 1.3rem;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
          line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#cont_cat_index.is-grid .produit_index__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  transition: background-color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}
#cont_cat_index.is-grid .produit_index:hover .produit_index__cta {
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}
#cont_cat_index.is-grid .produit_index__cta i {
  transition: transform 0.25s ease;
}
#cont_cat_index.is-grid .produit_index:hover .produit_index__cta i {
  transform: translateX(3px);
}

/* Type 3 : bloc principal (3 colonnes × 2 lignes), davantage mis en valeur */
#cont_cat_index.is-grid .produit_index:nth-child(3) .cont_text_index {
  padding: 1.5rem 1.4rem;
  gap: 0.45rem;
}
#cont_cat_index.is-grid .produit_index:nth-child(3) .cont_text_index h5 {
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}
#cont_cat_index.is-grid .produit_index:nth-child(3) .cont_text_index p {
  font-size: 0.95rem;
  line-height: 1.42rem;
  -webkit-line-clamp: 4;
          line-clamp: 4;
  max-width: 34ch;
}
#cont_cat_index.is-grid .produit_index:nth-child(3) .produit_index__cta {
  margin-top: 0.55rem;
  font-size: 0.85rem;
}

/* ===== Tablette : 2 colonnes ===== */
@media (max-width: 992px) {
  #cont_cat_index {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(215px, auto);
  }
  #cont_cat_index .produit_index:nth-child(1),
  #cont_cat_index .produit_index:nth-child(2),
  #cont_cat_index .produit_index:nth-child(n + 4) {
    grid-column: auto;
    grid-row: auto;
  }
  #cont_cat_index .produit_index:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  #cont_cat_index.is-grid .produit_index:nth-child(3) .cont_text_index {
    padding: 1.2rem 1.15rem;
  }
  #cont_cat_index.is-grid .produit_index:nth-child(3) .cont_text_index h5 {
    font-size: 1.3rem;
  }
}

/* ===== Mobile : 1 colonne, hauteurs homogènes ===== */
@media (max-width: 575px) {
  #cont_cat_index {
    grid-template-columns: 1fr;
    grid-auto-rows: 205px;
  }
  #cont_cat_index .produit_index:nth-child(1),
  #cont_cat_index .produit_index:nth-child(2),
  #cont_cat_index .produit_index:nth-child(3),
  #cont_cat_index .produit_index:nth-child(n + 4) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  #cont_cat_index.is-grid .produit_index:nth-child(3) .cont_text_index h5 {
    font-size: 1.1rem;
  }
  #cont_cat_index.is-grid .produit_index:nth-child(3) .cont_text_index p {
    font-size: 0.88rem;
    line-height: 1.3rem;
    -webkit-line-clamp: 2;
            line-clamp: 2;
  }
  #cont_cat_index.is-grid .produit_index .cont_text_index {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cont_cat_index .produit_index,
  #cont_cat_index .produit_index img,
  #cont_cat_index.is-grid .produit_index .cont_img_index::after,
  #cont_cat_index.is-grid .produit_index__cta,
  #cont_cat_index.is-grid .produit_index__cta i {
    transition: none;
  }
}

#cont_steps_sell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 2rem 3rem;
}

.step_cell {
  position: relative;
  display: flex;
  flex-direction: column;
}
.step_cell > span {
  font-size: 5rem;
  font-weight: 700;
  opacity: 0.3;
  position: absolute;
  top: -3rem;
}
.step_cell h5 {
  padding-left: 3rem;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 1px;
}

.sep_boutique {
  margin: auto;
  width: 50%;
  height: 0;
  border-top: 1px solid #5e7799;
  border-bottom: 1px solid #3a5072;
}

#rea_wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#index_portfolio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 0.1rem;
}
@media (max-width: 768px) {
  #index_portfolio {
    place-content: center;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 576px) {
  #index_portfolio {
    place-content: center;
    grid-template-columns: repeat(2, 1fr);
  }
}
#index_portfolio .rea_item {
  border-radius: 0.11rem;
  overflow: hidden;
  will-change: transform;
  box-shadow: 0 2px 10px rgba(13, 110, 253, 0.08);
}
#index_portfolio .rea_item:hover img {
  scale: 1.1;
}
#index_portfolio .rea_item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 2.1s scale ease;
  will-change: scale;
}

/* ===== EVENTS (INDEX) ===== */
.events-preview {
  padding: 3rem 0 4.5rem;
  background: radial-gradient(900px 600px at 90% 10%, rgba(13, 110, 253, 0.08), transparent 70%), radial-gradient(800px 600px at 10% 100%, rgba(0, 153, 255, 0.08), transparent 70%), linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.events-head {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
@media (max-width: 768px) {
  .events-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.section-kicker {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 0.35rem;
}

.events-cta {
  white-space: nowrap;
}

/* Bloc (fond blur + border soft) */
.events-block {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 0.35rem;
  padding: 1.25rem;
  box-shadow: 0 1px 5px rgba(13, 110, 253, 0.05);
  backdrop-filter: blur(6px);
}

.events-block-title {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #0b2545;
  margin-bottom: 0.9rem;
}

/* Cartes */
.event-card {
  background: #fff;
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 0.35rem;
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 2px 10px rgba(13, 110, 253, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.18);
  border-color: rgba(13, 110, 253, 0.25);
}

.event-card--featured {
  padding: 1.1rem 1.1rem 1.15rem;
}

.img_event {
  width: 100%;
  aspect-ratio: 7/3;
  overflow: hidden;
  border-radius: 0.35rem;
  border: 1px solid rgba(13, 110, 253, 0.1);
}
.img_event img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Badges */
.event-badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(13, 110, 253, 0.18);
  background: rgba(13, 110, 253, 0.08);
  color: #004b91;
}

.event-badge--upcoming {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  border-color: rgba(13, 110, 253, 0.25);
}

.event-badge--past {
  background: rgba(0, 153, 255, 0.1);
  color: #0070c9;
  border-color: rgba(0, 153, 255, 0.22);
}

.event-badge--type {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Text */
.event-title {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 600;
  color: #0b2545;
  font-size: 1.02rem;
  margin: 0 0 0.35rem;
}

.event-meta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.62);
  margin-bottom: 0.55rem;
}
.event-meta i {
  color: #0d6efd;
}

.event-text {
  margin: 0 0 0.8rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 0.94rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.55;
}

/* Mini items */
.event-mini {
  margin-top: 0.75rem;
  background: #fff;
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.75rem;
}

.event-mini-date {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 700;
  color: #0d6efd;
  font-size: 0.9rem;
}

.event-mini-title {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 600;
  color: #0b2545;
  font-size: 0.95rem;
}

.event-mini-meta {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.88rem;
}

.events-more {
  display: inline-block;
  margin-top: 1rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.25s ease;
}
.events-more:hover {
  text-decoration: underline;
  color: #0070c9;
}

.events-page .events-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.events-page .event-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem 1rem;
  color: #4b5563;
  font-size: 0.95rem;
}
.events-page .event-badge--role {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}
.events-page .event-speakers,
.events-page .event-speakers-mini {
  margin-top: 1rem;
}
.events-page .event-subtitle {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #15334a;
}
.events-page .event-speakers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.events-page .speaker-chip {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(21, 51, 74, 0.08);
  border-radius: 14px;
  background: #f8fbfd;
  min-width: 180px;
}
.events-page .speaker-role {
  font-size: 0.85rem;
  color: #0f766e;
  font-weight: 600;
}
.events-page .speaker-theme {
  color: #6b7280;
}
.event-badge {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(13, 110, 253, 0.18);
  background: rgba(13, 110, 253, 0.08);
  color: #004b91;
}

.event-badge--upcoming {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  border-color: rgba(13, 110, 253, 0.25);
}

.event-badge--past {
  background: rgba(0, 153, 255, 0.1);
  color: #0070c9;
  border-color: rgba(0, 153, 255, 0.22);
}

.event-badge--type {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Text */
.event-title {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 600;
  color: #0b2545;
  font-size: 1.02rem;
  margin: 0 0 0.35rem;
}

.event-meta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.62);
  margin-bottom: 0.55rem;
}
.event-meta i {
  color: #0d6efd;
}

.event-text {
  margin: 0 0 0.8rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 0.94rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.55;
}

/* Mini items */
.event-mini {
  margin-top: 0.75rem;
  background: #fff;
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.75rem;
}

.event-mini-date {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 700;
  color: #0d6efd;
  font-size: 0.9rem;
}

.event-mini-title {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 600;
  color: #0b2545;
  font-size: 0.95rem;
}

.event-mini-meta {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.88rem;
}

.events-more {
  display: inline-block;
  margin-top: 1rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.25s ease;
}
.events-more:hover {
  text-decoration: underline;
  color: #0070c9;
}

.events-page .section-title {
  letter-spacing: -0.02em;
}
.events-page #upcoming {
  padding-top: 1rem;
}
.events-page .upcoming-grid:empty {
  display: none;
}
.events-page .featured-event-card {
  margin-bottom: 2rem;
}
.events-page .featured-event-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(360px, 1.08fr);
  background: linear-gradient(135deg, #10324f 0%, #1c4f75 100%);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 50, 79, 0.18);
}
.events-page .featured-event-media {
  position: relative;
  min-height: 240px;
  max-height: 320px;
}
.events-page .featured-event-media img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.events-page .featured-event-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 23, 37, 0.05), rgba(8, 23, 37, 0.35));
}
.events-page .featured-event-date {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  width: 78px;
  height: 88px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: #10324f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}
.events-page .featured-event-date span {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 800;
}
.events-page .featured-event-date small {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}
.events-page .featured-event-content {
  padding: 2rem 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.events-page .featured-event-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0;
  color: #fff;
}
.events-page .featured-event-kicker {
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.events-page .featured-event-summary {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 58ch;
  margin: 0;
}
.events-page .featured-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
.events-page .featured-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.92rem;
}
.events-page .featured-event-speakers {
  color: rgba(255, 255, 255, 0.88);
}
.events-page .featured-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.events-page .featured-event-actions .btn {
  min-width: 170px;
  border-radius: 999px;
  padding-inline: 1.1rem;
  font-weight: 600;
}
.events-page .event-full-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(16, 50, 79, 0.08);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 14px 35px rgba(16, 50, 79, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.events-page .event-full-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(16, 50, 79, 0.14);
  border-color: rgba(13, 110, 253, 0.18);
}
.events-page .event-card-media {
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 20px;
  min-height: 220px;
}
.events-page .event-card-media img {
  width: 100%;
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.events-page .event-full-card:hover .event-card-media img {
  transform: scale(1.05);
}
.events-page .event-date-box {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 68px;
  height: 78px;
  background: rgba(255, 255, 255, 0.96);
  color: #10324f;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}
.events-page .event-date-box span {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
}
.events-page .event-date-box small {
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.events-page .event-full-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.events-page .event-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f3f8fb;
  border: 1px solid rgba(16, 50, 79, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: #3d5f78;
  font-size: 0.88rem;
  font-weight: 600;
}
.events-page .event-title-lg {
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  color: #15334a;
}
.events-page .event-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.7rem 0.9rem;
  color: #4b5563;
  font-size: 0.95rem;
}
.events-page .event-meta-grid span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: #f8fbfd;
  border: 1px solid rgba(16, 50, 79, 0.06);
}
.events-page .event-desc,
.events-page .timeline-text {
  color: #566574;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.events-page .event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.events-page .event-actions .btn {
  border-radius: 999px;
  padding-inline: 1rem;
  font-weight: 600;
}
.events-page .event-speakers,
.events-page .event-speakers-mini {
  margin-top: 1rem;
}
.events-page .event-subtitle {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #15334a;
}
.events-page .event-speakers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.events-page .speaker-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(21, 51, 74, 0.08);
  border-radius: 16px;
  background: #f8fbfd;
  min-width: 220px;
}
.events-page .speaker-chip strong {
  display: block;
  margin-bottom: 0.15rem;
}
.events-page .speaker-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd 0%, #00b6d7 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: 0 0 42px;
}
.events-page .speaker-role {
  display: block;
  font-size: 0.85rem;
  color: #0f766e;
  font-weight: 600;
}
.events-page .speaker-theme {
  display: block;
  color: #6b7280;
  margin-top: 0.1rem;
}
.events-page .events-preview {
  background: linear-gradient(180deg, #f6fbff 0%, #eef5fb 100%);
  border-top: 1px solid rgba(16, 50, 79, 0.05);
  border-bottom: 1px solid rgba(16, 50, 79, 0.05);
}
.events-page .events-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.events-page .filter-pill {
  border: 1px solid rgba(16, 50, 79, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: #23445e;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(16, 50, 79, 0.04);
}
.events-page .filter-pill:hover, .events-page .filter-pill.is-active {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(13, 110, 253, 0.2);
}
.events-page .events-timeline {
  position: relative;
  padding-left: 1.5rem;
}
.events-page .events-timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.35));
}
.events-page .timeline-year {
  position: relative;
  margin: 1.25rem 0 0.9rem;
  padding-left: 1.2rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #15334a;
}
.events-page .timeline-year::before {
  content: "";
  position: absolute;
  left: -0.12rem;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0d6efd;
  box-shadow: 0 0 0 8px rgba(13, 110, 253, 0.12);
}
.events-page .timeline-item {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}
.events-page .timeline-dot {
  position: absolute;
  left: -0.04rem;
  top: 1.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7cb3ff;
  box-shadow: 0 0 0 8px rgba(124, 179, 255, 0.15);
}
.events-page .timeline-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 50, 79, 0.08);
  border-radius: 22px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 14px 30px rgba(16, 50, 79, 0.06);
}
.events-page .timeline-title {
  font-size: 1.1rem;
  color: #15334a;
  margin-bottom: 0.75rem;
}
.events-page .empty-state {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px dashed rgba(16, 50, 79, 0.18);
  background: #f8fbfd;
  color: #466074;
}
.events-page .empty-state__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  font-size: 1.2rem;
  flex: 0 0 48px;
}
.events-page .empty-state p {
  color: #667786;
}
@media (max-width: 991.98px) {
  .events-page .featured-event-shell {
    grid-template-columns: 1fr;
  }
  .events-page .featured-event-media {
    min-height: 260px;
  }
}
@media (max-width: 767.98px) {
  .events-page .featured-event-content,
  .events-page .event-full-card,
  .events-page .timeline-card {
    padding: 1rem;
  }
  .events-page .featured-event-actions .btn,
  .events-page .event-actions .btn {
    width: 100%;
  }
  .events-page .events-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
  }
  .events-page .filter-pill {
    white-space: nowrap;
  }
  .events-page .event-meta-grid {
    grid-template-columns: 1fr;
  }
}

.event-details-page .section-title--sm {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin-bottom: 0.35rem;
}
.event-details-page .event-detail-hero-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.05fr);
  gap: 0;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(16, 50, 79, 0.08);
  box-shadow: 0 26px 60px rgba(16, 50, 79, 0.12);
}
.event-details-page .event-detail-media {
  position: relative;
  min-height: 100%;
  background: linear-gradient(135deg, #10324f 0%, #194d72 100%);
}
.event-details-page .event-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.event-details-page .event-detail-media.is-placeholder {
  min-height: 320px;
}
.event-details-page .event-detail-date-box {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 82px;
  height: 92px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: #10324f;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.event-details-page .event-detail-date-box span {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
}
.event-details-page .event-detail-date-box small {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.event-details-page .event-detail-main {
  padding: 2rem;
}
.event-details-page .event-detail-topline {
  margin-bottom: 1rem;
}
.event-details-page .event-detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.event-details-page .event-info-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
.event-details-page .event-info-pill--soft {
  background: #f3f8fb;
  border: 1px solid rgba(16, 50, 79, 0.08);
  color: #20445f;
}
.event-details-page .event-detail-main h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #15334a;
  margin-bottom: 0.9rem;
}
.event-details-page .event-detail-summary {
  color: #5c6d7c;
  line-height: 1.8;
  max-width: 60ch;
  margin-bottom: 1.2rem;
}
.event-details-page .event-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}
.event-details-page .detail-meta-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 18px;
  background: #f8fbfd;
  border: 1px solid rgba(16, 50, 79, 0.06);
}
.event-details-page .detail-meta-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  font-size: 1.05rem;
  flex: 0 0 42px;
}
.event-details-page .detail-meta-card small {
  display: block;
  color: #708191;
  margin-bottom: 0.15rem;
}
.event-details-page .detail-meta-card strong {
  color: #17374e;
  line-height: 1.45;
}
.event-details-page .event-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.event-details-page .event-detail-actions .btn {
  border-radius: 999px;
  min-width: 180px;
  font-weight: 600;
}
.event-details-page .detail-panel {
  background: #fff;
  border: 1px solid rgba(16, 50, 79, 0.08);
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(16, 50, 79, 0.08);
  padding: 1.5rem;
}
.event-details-page .rich-text {
  color: #566574;
  line-height: 1.85;
}
.event-details-page .rich-text p:last-child {
  margin-bottom: 0;
}
.event-details-page .scroll-hint {
  color: #6b7d8d;
  font-size: 0.92rem;
  font-weight: 600;
}
.event-details-page .speakers-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}
.event-details-page .speaker-detail-card {
  display: flex;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 1px solid rgba(16, 50, 79, 0.08);
  min-height: 100%;
}
.event-details-page .speaker-detail-avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd 0%, #00b6d7 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.05em;
  flex: 0 0 64px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 28px rgba(16, 50, 79, 0.12);
}
.event-details-page .speaker-detail-avatar.has-photo {
  background: #eaf3fb;
}
.event-details-page .speaker-detail-photo {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.event-details-page .speaker-detail-avatar.has-photo .speaker-detail-initials {
  display: none;
}
.event-details-page .speaker-detail-body h4 {
  font-size: 1rem;
  color: #15334a;
  margin-bottom: 0.25rem;
}
.event-details-page .speaker-detail-theme,
.event-details-page .speaker-detail-text {
  color: #5f6d7c;
  margin-bottom: 0.35rem;
  line-height: 1.65;
}
.event-details-page .registration-form .form-control {
  border-radius: 16px;
  border-color: rgba(16, 50, 79, 0.12);
  padding: 0.85rem 1rem;
  box-shadow: none;
}
.event-details-page .registration-form .form-control:focus {
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.08);
}
.event-details-page .form-note {
  color: #6d7f8f;
  font-size: 0.92rem;
}
.event-details-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.event-details-page .gallery-card {
  grid-column: span 4;
  overflow: hidden;
  border-radius: 22px;
  min-height: 220px;
  box-shadow: 0 18px 40px rgba(16, 50, 79, 0.12);
}
.event-details-page .gallery-card--featured {
  grid-column: span 8;
  min-height: 280px;
}
.event-details-page .gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.event-details-page .gallery-card:hover img {
  transform: scale(1.04);
}
.event-details-page .detail-sidebar {
  position: sticky;
  top: 1.5rem;
}
.event-details-page .detail-facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.event-details-page .detail-facts-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed rgba(16, 50, 79, 0.1);
}
.event-details-page .detail-facts-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.event-details-page .detail-facts-list span {
  color: #6f8191;
}
.event-details-page .detail-facts-list strong {
  color: #15334a;
  text-align: right;
}
.event-details-page .share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.event-details-page .share-link {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f8fb;
  border: 1px solid rgba(16, 50, 79, 0.08);
  color: #20445f;
  text-decoration: none;
  transition: all 0.25s ease;
}
.event-details-page .share-link:hover {
  background: #0d6efd;
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 991.98px) {
  .event-details-page .event-detail-hero-card {
    grid-template-columns: 1fr;
  }
  .event-details-page .detail-sidebar {
    position: static;
  }
  .event-details-page .gallery-card,
  .event-details-page .gallery-card--featured {
    grid-column: span 6;
  }
}
@media (max-width: 767.98px) {
  .event-details-page .event-detail-main,
  .event-details-page .detail-panel {
    padding: 1rem;
  }
  .event-details-page .event-detail-actions .btn {
    width: 100%;
  }
  .event-details-page .gallery-card,
  .event-details-page .gallery-card--featured {
    grid-column: span 12;
    min-height: 220px;
  }
  .event-details-page .event-detail-date-box {
    width: 74px;
    height: 84px;
    border-radius: 20px;
  }
}

/* =========================================================
   Correctifs module Événements MDI - intégrés sans recompilation SCSS
   ========================================================= */
.hero.hero--inner {
  min-height: auto;
  overflow: visible;
}
.hero.hero--inner .page-banner,
.hero.hero--inner .page-banner-inner {
  min-height: 430px;
}
/* La navbar est fixe : on réserve sa hauteur après la bannière des pages internes
   pour que le contenu ne passe pas sous la navbar compacte au défilement. */
.hero--inner + main {
  margin-top: var(--mdi-navbar-h);
}
.page-banner {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background-color: #10324f;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 30%), radial-gradient(circle at left center, rgba(255,255,255,.08), transparent 24%), linear-gradient(135deg, #0e2e49 0%, #194a70 58%, #22628d 100%);
  transform: scale(1.02);
}
.page-banner--events::before {
  background: radial-gradient(circle at 85% 18%, rgba(255,255,255,.18), transparent 18%), radial-gradient(circle at 12% 22%, rgba(255,255,255,.09), transparent 22%), linear-gradient(135deg, rgba(9,33,52,.95) 0%, rgba(19,67,101,.92) 55%, rgba(25,96,140,.9) 100%);
}
.page-banner--detail::before {
  background: radial-gradient(circle at 82% 20%, rgba(255,255,255,.16), transparent 20%), radial-gradient(circle at 15% 18%, rgba(255,255,255,.08), transparent 24%), linear-gradient(135deg, rgba(11,36,57,.97) 0%, rgba(16,50,79,.94) 58%, rgba(20,74,112,.92) 100%);
}
.page-banner .hero-overlay {
  z-index: 1;
  background: linear-gradient(to bottom, rgba(4, 18, 30, .16), rgba(4, 18, 30, .54));
}
.page-banner-inner {
  position: relative;
  z-index: 2;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 8.5rem 0 3rem;
}
.page-banner-copy {
  max-width: 760px;
}
.page-banner-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.84);
  font-size: .95rem;
  font-weight: 500;
}
.page-banner-breadcrumbs a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s ease;
}
.page-banner-breadcrumbs a:hover {
  opacity: .82;
}
.page-banner-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .48rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-banner .section-title {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}
.page-banner .page-subtext {
  max-width: 60ch;
  color: rgba(255,255,255,.9);
  margin-bottom: 0;
}
.page-banner-chips,
.page-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.4rem;
}
.page-banner-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .62rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
}
.page-banner-actions .btn {
  border-radius: 999px;
  font-weight: 600;
}
.events-page .featured-event-summary {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-details-page .event-detail-media {
  min-height: 420px;
  max-height: 560px;
}
.event-details-page .event-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-details-page .event-detail-media.is-placeholder {
  min-height: 320px;
}
.event-details-page .event-detail-media.is-placeholder::before {
  content: "Image de l’événement";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.78);
  font-weight: 700;
}
.event-details-page .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(16, 50, 79, .12);
  border-radius: 16px;
  background: #fff;
}
.event-details-page .registration-form .form-select {
  border-radius: 16px;
  border-color: rgba(16, 50, 79, .12);
  padding: .85rem 1rem;
  box-shadow: none;
}
.event-details-page .registration-form .form-select:focus {
  border-color: rgba(13,110,253,.45);
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.08);
}
@media (max-width: 991.98px) {
  .hero.hero--inner .page-banner,
  .hero.hero--inner .page-banner-inner,
  .page-banner,
  .page-banner-inner {
    min-height: 380px;
  }
  .page-banner-inner {
    padding-top: 7.75rem;
  }
  .event-details-page .event-detail-media {
    min-height: auto;
    aspect-ratio: 16 / 9;
    max-height: none;
  }
}
@media (max-width: 767.98px) {
  .hero.hero--inner .page-banner,
  .hero.hero--inner .page-banner-inner,
  .page-banner,
  .page-banner-inner {
    min-height: 340px;
  }
  .page-banner-inner {
    padding: 7.25rem 0 2.25rem;
  }
  .page-banner .section-title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }
  .page-banner-breadcrumbs {
    font-size: .88rem;
  }
  .page-banner-chips span {
    font-size: .86rem;
    min-height: 38px;
    padding-inline: .85rem;
  }
}

/*# sourceMappingURL=main.css.map */

/* Correctif : photos des intervenants sur index.html et events.html */
.events-page .speaker-chip {
  align-items: center;
}

.events-page .speaker-avatar {
  position: relative;
  overflow: hidden;
}

.events-page .speaker-avatar img,
.events-preview .home-event-speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.events-page .speaker-avatar.has-photo {
  background: #fff;
  color: transparent;
}

.events-page .speaker-avatar.has-photo .speaker-avatar-initials,
.events-preview .home-event-speaker-avatar.has-photo > span {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.events-page .event-speakers-list--compact {
  margin-top: 0.65rem;
}

.events-page .event-speakers-list--compact .speaker-chip {
  min-width: 0;
  padding: 0.55rem 0.65rem;
}

.events-page .event-speakers-list--compact .speaker-avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 0.68rem;
}

.events-page .featured-event-speakers-list,
.events-preview .home-event-speakers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.events-page .featured-event-speakers .speaker-chip {
  min-width: 0;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.events-page .featured-event-speakers .speaker-role,
.events-page .featured-event-speakers .speaker-theme {
  color: rgba(255, 255, 255, 0.82);
}

.events-page .speaker-more,
.events-preview .home-event-speaker-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  font-weight: 700;
  font-size: 0.82rem;
}

.events-preview .home-event-speakers {
  margin: 0.75rem 0 1rem;
}

.events-preview .home-event-speakers > strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #15334a;
  font-size: 0.9rem;
}

.events-preview .home-event-speaker-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: #f8fbfd;
  border: 1px solid rgba(21, 51, 74, 0.08);
}

.events-preview .home-event-speaker-avatar {
  position: relative;
  overflow: hidden;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  background: linear-gradient(135deg, #0d6efd 0%, #00b6d7 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}

.events-preview .home-event-speaker-avatar.has-photo {
  background: #fff;
  color: transparent;
}

.events-preview .home-event-speaker-name {
  display: inline-block;
  max-width: 155px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #15334a;
  font-size: 0.84rem;
  font-weight: 600;
}


/* Correctif : affichage optimisé des intervenants sur events.html */
.events-page .event-speakers,
.events-page .event-speakers-mini {
  padding: 0.9rem;
  border: 1px solid rgba(16, 50, 79, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(246, 251, 255, 0.95), rgba(255, 255, 255, 0.95));
}

.events-page .event-speakers-heading,
.events-page .featured-event-speakers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.events-page .event-speakers-heading--compact {
  margin-bottom: 0.55rem;
}

.events-page .event-speakers-count,
.events-page .featured-event-speakers-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  font-size: 0.72rem;
  font-weight: 700;
}

.events-page .event-speakers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.events-page .speaker-chip {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(16, 50, 79, 0.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 50, 79, 0.06);
}

.events-page .speaker-chip--compact,
.events-page .event-speakers-list--compact .speaker-chip {
  padding: 0.45rem 0.6rem;
  gap: 0.5rem;
  box-shadow: none;
}

.events-page .speaker-chip-body {
  min-width: 0;
}

.events-page .speaker-chip strong {
  display: block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  color: #15334a;
  font-size: 0.88rem;
  line-height: 1.2;
}

.events-page .speaker-chip--compact strong {
  max-width: 130px;
  font-size: 0.82rem;
}

.events-page .speaker-avatar {
  position: relative;
  overflow: hidden;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd 0%, #00b6d7 100%);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.events-page .speaker-chip--compact .speaker-avatar,
.events-page .event-speakers-list--compact .speaker-avatar {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  font-size: 0.66rem;
}

.events-page .speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.events-page .speaker-avatar.has-photo {
  background: #fff;
  color: transparent;
}

.events-page .speaker-avatar.has-photo .speaker-avatar-initials {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.events-page .speaker-role {
  display: block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 700;
}

.events-page .speaker-chip--compact .speaker-role {
  max-width: 130px;
  font-size: 0.7rem;
}

.events-page .speaker-theme {
  display: block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6b7280;
  font-size: 0.74rem;
}

.events-page .featured-event-speakers {
  margin-top: 1rem;
}

.events-page .featured-event-speakers .speaker-chip {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  box-shadow: none;
}

.events-page .featured-event-speakers .speaker-chip strong,
.events-page .featured-event-speakers .speaker-role,
.events-page .featured-event-speakers .speaker-theme {
  color: #fff;
}

.events-page .featured-event-speakers-head span,
.events-page .featured-event-speakers .speaker-more {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.events-page .speaker-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  font-weight: 800;
  font-size: 0.8rem;
}

@media (max-width: 575.98px) {
  .events-page .event-speakers-heading,
  .events-page .featured-event-speakers-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .events-page .speaker-chip {
    width: 100%;
    border-radius: 16px;
  }

  .events-page .speaker-chip strong,
  .events-page .speaker-role,
  .events-page .speaker-theme {
    max-width: 100%;
  }
}

/* MDI 4.1 — Réalisations & contact */
.page-banner--realisations,
.page-banner--contact { min-height: 420px; background: linear-gradient(125deg, #081f34 0%, #087da7 58%, #12a9c7 100%); }
.mdi-content-page { min-height: 55vh; }
.realisations-filter { width: min(100%, 360px); }
.realisation-card { background:#fff; border:1px solid rgba(16,45,66,.12); border-radius:1.15rem; overflow:hidden; box-shadow:0 14px 40px rgba(8,31,52,.08); transition:transform .2s ease,box-shadow .2s ease; }
.realisation-card:hover { transform:translateY(-4px); box-shadow:0 18px 50px rgba(8,31,52,.14); }
.realisation-card-media { display:block; aspect-ratio:4/3; overflow:hidden; background:#edf4f7; }
.realisation-card-media img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.realisation-card:hover .realisation-card-media img { transform:scale(1.04); }
.realisation-card-body { padding:1.35rem; }
.realisation-placeholder { height:100%; display:grid; place-items:center; color:#6c8796; font-size:3rem; }
.realisation-gallery-button { width:100%; padding:0; border:0; border-radius:1rem; overflow:hidden; background:#edf4f7; aspect-ratio:4/3; }
.realisation-gallery-button img { width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.realisation-gallery-button:hover img { transform:scale(1.035); }
.showrooms-map { min-height:600px; border-radius:1.2rem; overflow:hidden; border:1px solid rgba(16,45,66,.12); box-shadow:0 16px 48px rgba(8,31,52,.12); }
.showroom-card,.contact-panel { background:#fff; border:1px solid rgba(16,45,66,.12); border-radius:1rem; padding:1.25rem; box-shadow:0 12px 34px rgba(8,31,52,.07); }
.contact-services { padding-left:1.2rem; }
.contact-services li { margin-bottom:.65rem; }
@media (max-width:991.98px){ .showrooms-map{min-height:430px}.page-banner--realisations,.page-banner--contact{min-height:350px} }


/* MDI 4.1.5 — Réalisations et Google Maps */
#index_portfolio .rea_item { position:relative; aspect-ratio:1; }
#index_portfolio .rea_item > a { display:block; width:100%; height:100%; color:#fff; }
#index_portfolio .rea_item__caption { position:absolute; inset:auto 0 0; display:flex; flex-direction:column; gap:.15rem; padding:2.5rem .8rem .75rem; background:linear-gradient(transparent,rgba(4,25,43,.86)); transform:translateY(35%); transition:transform .3s ease; }
#index_portfolio .rea_item:hover .rea_item__caption { transform:translateY(0); }
#index_portfolio .rea_item__caption small { opacity:.82; }
#index_portfolio .rea_item--empty { grid-column:1/-1; min-height:180px; aspect-ratio:auto; }

.showrooms-map-shell {
  position:relative;
  min-height:680px;
  border-radius:1.25rem;
  overflow:hidden;
  box-shadow:0 18px 50px rgba(8,31,52,.14);
  background:#edf4f7;
}

.showrooms-map {
  min-height:680px;
  width:100%;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.map-loading {
  height:100%;
  min-height:500px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  color:#5d7483;
}

.google-map-fallback {
  width:100%;
  min-height:680px;
  border:0;
}

.showrooms-map-cards {
  position:absolute;
  left:1rem;
  right:1rem;
  bottom:1rem;
  z-index:5;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.75rem;
  align-items:stretch;
  pointer-events:none;
}

.showrooms-map-cards .showroom-card {
  pointer-events:auto;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  background:rgba(255,255,255,.94);
  padding:.75rem;
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  align-items:start;
  gap:.7rem;
  min-width:0;
  max-height:none;
  overflow:visible;
  border:1px solid rgba(16,45,66,.12);
  border-radius:.9rem;
  box-shadow:0 12px 30px rgba(8,31,52,.14);
  transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease;
}

.showrooms-map-cards .showroom-card:hover {
  transform:translateY(-3px);
  background:rgba(255,255,255,.98);
  box-shadow:0 16px 36px rgba(8,31,52,.18);
}

.showroom-card__image {
  width:100%;
  height:110px;
  object-fit:cover;
  border-radius:.75rem;
}

.showrooms-map-cards .showroom-card__image {
  display:block;
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:.7rem;
}

.showroom-card__address {
  min-height:0;
}

.showrooms-map-cards .showroom-card__address {
  margin-bottom:.4rem;
  line-height:1.35;
}

.showrooms-map-cards .showroom-card > * {
  min-width:0;
}

.showrooms-map-cards .showroom-card .btn {
  padding:.38rem .58rem;
  font-size:.78rem;
  line-height:1.2;
}

.showrooms-mobile .nav-pills {
  gap:.5rem;
  padding-bottom:.25rem;
}

.showrooms-mobile .nav-link {
  white-space:nowrap;
  border:1px solid rgba(16,45,66,.15);
}

.google-map-info {
  display:grid;
  gap:.35rem;
  max-width:250px;
}

.google-map-info img {
  width:100%;
  height:105px;
  object-fit:cover;
  border-radius:.5rem;
}

.google-map-info span {
  color:#526b7a;
}

/* Desktop intermédiaire : 2 cartes par ligne */
@media (min-width:992px) and (max-width:1199.98px) {
  .showrooms-map-shell,
  .showrooms-map,
  .google-map-fallback {
    min-height:720px;
  }

  .showrooms-map-cards {
    left:.85rem;
    right:.85rem;
    bottom:.85rem;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.65rem;
  }

  .showrooms-map-cards .showroom-card {
    grid-template-columns:1fr;
    gap:.45rem;
    padding:.7rem;
    max-height:none;
    overflow:visible;
    background:rgba(255,255,255,.95);
    box-shadow:0 10px 24px rgba(8,31,52,.13);
  }

  .showrooms-map-cards .showroom-card__image {
    display:none;
  }

  .showrooms-map-cards .showroom-card__address {
    min-height:0;
  }
}

/* Mobile/tablette : conserver la présentation responsive existante */
@media (max-width:991.98px) {
  .showrooms-map-shell,
  .showrooms-map,
  .google-map-fallback {
    min-height:430px;
  }

  .showrooms-map-shell {
    overflow:hidden;
  }

  .showrooms-map-cards .showroom-card {
    max-height:none;
    overflow:visible;
  }

  .showroom-card__image {
    height:180px;
  }
}


/* =========================================================
   MDI — À PROPOS / MDI EN CHIFFRES (refonte premium)
   ========================================================= */
.about-premium{position:relative;overflow:hidden;background:radial-gradient(900px 520px at 85% 5%,rgba(13,110,253,.07),transparent 68%),linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.about-premium__content{display:flex;flex-direction:column;justify-content:center}.about-premium__heading .section-title{margin-top:-6px}.about-premium__lead{max-width:62ch;color:#334e68;line-height:1.75}.about-premium__more{display:inline-flex;align-items:center;gap:.15rem;width:fit-content;text-decoration:none}.about-premium__more i{font-size:1.25rem;transition:transform .25s ease}.about-premium__more[aria-expanded="true"] i{transform:rotate(180deg)}
.mdi-stats{position:relative;margin-top:.45rem;padding:1.2rem 1.25rem 1.15rem;border-radius:1.1rem;border:1px solid rgba(13,110,253,.10);background:linear-gradient(150deg,rgba(248,252,255,.98),rgba(239,247,255,.94));box-shadow:0 16px 42px rgba(16,50,79,.07)}.mdi-stats::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(circle at 90% 0%,rgba(0,145,230,.10),transparent 30%)}.mdi-stats__head{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.15rem .15rem .85rem}.mdi-stats__head>div{display:flex;align-items:center;gap:.65rem;min-width:0}.mdi-stats__eyebrow{width:34px;height:2px;flex:0 0 34px;border-radius:99px;background:linear-gradient(90deg,#0d6efd,#0091e6)}.mdi-stats__title{margin:0;font-size:.98rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#0b2545}.mdi-stats__subtitle{margin:0;max-width:245px;color:#7d9bb6;font-size:.78rem;font-style:italic;text-align:right}.mdi-stats__grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(13,110,253,.10)}.mdi-stat{position:relative;min-width:0;padding:1.05rem .8rem 1rem;text-align:center;transition:transform .25s ease,background-color .25s ease}.mdi-stat:nth-child(-n+3){border-bottom:1px solid rgba(13,110,253,.10)}.mdi-stat:not(:nth-child(3n)){border-right:1px solid rgba(13,110,253,.10)}.mdi-stat:hover{transform:translateY(-3px);background:rgba(255,255,255,.54)}.mdi-stat__icon{width:42px;height:42px;margin:0 auto .55rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(145deg,rgba(13,110,253,.13),rgba(0,145,230,.18));color:#0d6efd;font-size:1.18rem;box-shadow:inset 0 0 0 1px rgba(13,110,253,.08)}.mdi-stat__number{display:flex;align-items:baseline;justify-content:center;color:#0d6efd;font-weight:800;line-height:1;letter-spacing:-.035em;white-space:nowrap}.mdi-stat__prefix{font-size:1.45rem;margin-right:.05rem}.mdi-stat__value{font-size:clamp(1.8rem,3vw,2.45rem);font-variant-numeric:tabular-nums}.mdi-stat__label{margin:.4rem 0 0;color:#30516e;line-height:1.15}.mdi-stat__label strong,.mdi-stat__label span{display:block}.mdi-stat__label strong{color:#0b2545;font-size:.9rem;font-weight:750}.mdi-stat__label span{margin-top:.18rem;font-size:.74rem;color:#66839d;line-height:1.25}
.about-founder{position:relative;min-height:100%;display:flex;align-items:stretch}.about-founder__visual{position:relative;width:100%;min-height:520px;overflow:hidden;border-radius:1.5rem;background:linear-gradient(145deg,#edf5fb,#f8fbff);box-shadow:0 24px 60px rgba(16,50,79,.12)}.about-founder__visual::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 42%,rgba(8,31,52,.13) 100%),linear-gradient(90deg,rgba(255,255,255,.20),transparent 24%)}.about-founder__image{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:53% center}.about-founder__brand{position:absolute;z-index:2;top:2rem;right:1.6rem;display:flex;flex-direction:column;align-items:flex-end;color:rgba(0,91,176,.45);transform:perspective(500px) rotateY(-5deg);filter:blur(.15px);pointer-events:none}.about-founder__brand-main{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.5rem,5vw,4.5rem);font-weight:700;line-height:.92;letter-spacing:.06em}.about-founder__brand-sub{margin-top:.25rem;max-width:180px;font-family:Georgia,"Times New Roman",serif;font-size:.82rem;line-height:1.05;text-align:right;letter-spacing:.04em}.about-founder__quote{position:absolute;z-index:3;left:-2.2rem;right:1rem;bottom:1.1rem;margin:0;padding:1rem 1.15rem 1rem 3.3rem;border-radius:1rem;border:1px solid rgba(255,255,255,.66);background:rgba(255,255,255,.90);box-shadow:0 18px 48px rgba(16,50,79,.15);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.about-founder__quote-mark{position:absolute;left:1rem;top:.55rem;color:#0d6efd;font-family:Georgia,"Times New Roman",serif;font-size:3rem;font-weight:800;line-height:1}.about-founder__quote p{margin:0 0 .65rem;color:#163653;font-size:.9rem;line-height:1.45}.about-founder__quote footer{display:flex;flex-direction:column;gap:.05rem}.about-founder__quote strong{color:#0b2545;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.about-founder__quote footer span{color:#66839d;font-size:.72rem}
@media(max-width:1199.98px){.about-founder__visual{min-height:500px}.about-founder__quote{left:-1rem}}@media(max-width:991.98px){.about-founder{max-width:620px;margin-inline:auto}.about-founder__visual{min-height:560px}.about-founder__quote{left:1rem}.mdi-stats{max-width:720px;margin-inline:auto}}@media(max-width:767.98px){.mdi-stats__head{align-items:flex-start;flex-direction:column;gap:.4rem}.mdi-stats__subtitle{padding-left:2.7rem;max-width:none;text-align:left}.mdi-stats__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mdi-stat{padding:1rem .6rem}.mdi-stat:nth-child(-n+4){border-bottom:1px solid rgba(13,110,253,.10)}.mdi-stat:nth-child(3){border-right:1px solid rgba(13,110,253,.10)}.mdi-stat:nth-child(2n){border-right:0}.mdi-stat:nth-child(5){border-bottom:0}.about-founder__visual{min-height:500px;border-radius:1.15rem}.about-founder__brand{top:1.25rem;right:1rem}}@media(max-width:575.98px){.about-premium{padding-top:2.6rem!important}.about-founder__visual{min-height:440px}.about-founder__image{object-position:50% center}.about-founder__brand-main{font-size:2.35rem}.about-founder__brand-sub{max-width:145px;font-size:.7rem}.about-founder__quote{left:.7rem;right:.7rem;bottom:.7rem;padding:.85rem .9rem .85rem 2.9rem}.about-founder__quote p{font-size:.82rem}.mdi-stats{padding:1rem .8rem .85rem;border-radius:.9rem}.mdi-stat__icon{width:38px;height:38px;font-size:1.05rem}.mdi-stat__value{font-size:1.75rem}.mdi-stat__prefix{font-size:1.2rem}.mdi-stat__label strong{font-size:.82rem}.mdi-stat__label span{font-size:.68rem}}@media(prefers-reduced-motion:reduce){.mdi-stat,.about-premium__more i{transition:none}}
