/* components.css */

/* =========================
   BARRE DE CHARGEMENT AJAX NAV
========================= */

html::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--btn-gold-start), var(--btn-gold-end));
  z-index: 9999;
  transition: width .3s ease, opacity .2s ease;
  opacity: 0;
}

html.alc-nav-loading::before {
  width: 70%;
  opacity: 1;
}


/* =========================
   LECTEUR AUDIO
========================= */

.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: rgba(4, 4, 8, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Espace sous la page quand le lecteur est visible */
body:has(#alc-player:not([hidden])) {
  padding-bottom: 58px;
}

/* ─── Barre de progression ─── */
.audio-player__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
  z-index: 2;
  transition: height .15s ease;
}

.audio-player__progress:hover {
  height: 5px;
}

.audio-player__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--btn-gold-start), var(--btn-gold-end));
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  transition: width .25s linear;
}

/* ─── Contenu ─── */
.audio-player__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* ─── Bouton Play/Pause ─── */
.audio-player__btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}

.audio-player__play {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--btn-gold-start), var(--btn-gold-end));
  color: #1a1209;
  box-shadow: 0 2px 10px rgba(211, 211, 86, .22);
}

.audio-player__play:hover {
  transform: scale(1.10);
  box-shadow: 0 4px 18px rgba(255, 165, 20, .38);
}

.audio-player__play:active {
  transform: scale(.95);
}

/* ─── Bouton Mute ─── */
.audio-player__mute {
  width: 28px;
  height: 28px;
  background: transparent;
  color: var(--text-on-dark);
  opacity: .55;
}

.audio-player__mute:hover {
  opacity: 1;
  color: #ffe96b;
  transform: scale(1.08);
}

/* ─── Icônes ─── */
.audio-player__icon {
  width: 16px;
  height: 16px;
}

/* Play/Pause : bonne icône selon l'état */
.audio-player__play .audio-player__icon--pause { display: none; }
.audio-player__play[data-playing="true"] .audio-player__icon--play  { display: none; }
.audio-player__play[data-playing="true"] .audio-player__icon--pause { display: block; }

/* Mute : bonne icône selon l'état */
.audio-player__mute .audio-player__icon--sound  { display: none; }
.audio-player__mute[data-muted="true"]  .audio-player__icon--muted { display: block; }
.audio-player__mute[data-muted="true"]  .audio-player__icon--sound  { display: none; }
.audio-player__mute[data-muted="false"] .audio-player__icon--muted { display: none; }
.audio-player__mute[data-muted="false"] .audio-player__icon--sound  { display: block; }

/* ─── Zone piste ─── */
.audio-player__track-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.audio-player__note {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--btn-gold-end);
  opacity: .7;
  line-height: 1;
}

/* ─── Sélecteur de piste ─── */
.audio-player__select {
  flex: 1;
  min-width: 0;
  max-width: 320px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  border-radius: 0;
  color: var(--text-on-dark);
  font-family: var(--font-sans);
  font-size: 12px;
  padding: 2px 20px 2px 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  letter-spacing: 0.01em;
  transition: border-color .2s, color .2s;
}

.audio-player__select:hover,
.audio-player__select:focus {
  outline: none;
  border-bottom-color: rgba(255, 233, 107, .4);
  color: #fff;
}

.audio-player__select option {
  background: #111;
  color: #dfdfdf;
}

/* ─── Temps ─── */
.audio-player__time {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  letter-spacing: 0.06em;
  min-width: 38px;
  text-align: right;
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
  .audio-player__time {
    display: none;
  }
  .audio-player__select {
    font-size: 11px;
    max-width: 160px;
  }
}

@media (min-width: 768px) {
  .audio-player__inner {
    gap: 14px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .audio-player__play {
    width: 40px;
    height: 40px;
  }
  .audio-player__mute {
    width: 36px;
    height: 36px;
  }
  .audio-player__icon {
    width: 20px;
    height: 20px;
  }
  .audio-player__select {
    font-size: 15px;
    max-width: 420px;
  }
  .audio-player__note {
    font-size: 16px;
  }
  .audio-player__time {
    font-size: 13px;
    min-width: 52px;
  }
  .audio-player__progress {
    height: 4px;
  }
  .audio-player__progress:hover {
    height: 6px;
  }
}

@media (min-width: 820px) {
  .audio-player__inner {
    gap: 16px;
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .audio-player__play {
    width: 44px;
    height: 44px;
  }
  .audio-player__mute {
    width: 40px;
    height: 40px;
  }
  .audio-player__icon {
    width: 22px;
    height: 22px;
  }
  .audio-player__select {
    font-size: 17px;
  }
  .audio-player__note {
    font-size: 18px;
  }
  .audio-player__time {
    font-size: 14px;
  }
}

@media (min-width: 992px) {
  .audio-player__inner {
    gap: 18px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .audio-player__play {
    width: 50px;
    height: 50px;
  }
  .audio-player__mute {
    width: 44px;
    height: 44px;
  }
  .audio-player__icon {
    width: 26px;
    height: 26px;
  }
  .audio-player__select {
    font-size: 19px;
    max-width: 500px;
  }
  .audio-player__note {
    font-size: 20px;
  }
  .audio-player__time {
    font-size: 15px;
    min-width: 70px;
  }
  .audio-player__progress {
    height: 5px;
  }
  .audio-player__progress:hover {
    height: 7px;
  }
}



/* =========================

   HEADER + NAV (MOBILE FIRST)

========================= */



.site-header {

  position: sticky;

  top: 0;

  left: 0;

  width: 100%;

  z-index: 1000;

  color: var(--text-on-dark);

  background: rgba(0, 0, 0, .92);

  backdrop-filter: blur(6px);

}



.header-inner {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 5px 0;

  gap: 10px;

  max-width: 1600px;

  margin: auto;

}



.brand {

  font-family: var(--font-serif);

  letter-spacing: .06em;

  font-size: 20px;

  text-transform: uppercase;

  text-decoration: none;

  color: inherit;

  white-space: nowrap;

}



.brand:hover {

  color: var(--link-hover);

}



/* =========================

   BURGER (mobile)

========================= */



.burger {

  width: 60px;

  height: 60px;

  border: 0;

  background: transparent;

  color: inherit;

  display: grid;

  place-items: center;

  cursor: pointer;

  position: relative;

  z-index: 1200;

}



.burger-lines {

  width: 30px;

  height: 3px;

  background: var(--text-on-dark);

  position: relative;

}



.burger-lines::before,

.burger-lines::after {

  content: "";

  position: absolute;

  left: 0;

  width: 30px;

  height: 3px;

  background: var(--text-on-dark);

}



.burger-lines::before {

  top: -10px;

}



.burger-lines::after {

  top: 10px;

}



.burger-lines,

.burger-lines::before,

.burger-lines::after {

  transition:

    transform .25s ease,

    opacity .2s ease,

    top .25s ease;

}



.burger[aria-expanded="true"] .burger-lines {

  background: transparent;

  /* barre du milieu disparaît */

}



.burger[aria-expanded="true"] .burger-lines::before {

  top: 0;

  transform: rotate(45deg);

}



.burger[aria-expanded="true"] .burger-lines::after {

  top: 0;

  transform: rotate(-45deg);

}



@media (min-width: 768px) {

  .burger {

    width: 60px;

    height: 60px;

  }



  .burger-lines {

    width: 40px;

    height: 4px;

  }



  .burger-lines::before,

  .burger-lines::after {

    width: 40px;

    height: 4px;

  }



  .burger-lines::before {

    top: -12px;

  }



  .burger-lines::after {

    top: 12px;

  }

}



@media (min-width: 992px) {

  .burger {

    width: 80px;

    height: 80px;

  }



  .burger-lines {

    width: 55px;

    height: 5px;

  }



  .burger-lines::before,

  .burger-lines::after {

    width: 55px;

    height: 5px;

  }



  .burger-lines::before {

    top: -17px;

  }



  .burger-lines::after {

    top: 17px;

  }

}



/* =========================

   NAV + SUBMENUS (clean)

========================= */



.site-nav {

  position: absolute;

  top: 100%;

  left: 0;

  width: 100%;

  background: #000;

  padding: 30px 24px;

  z-index: 1150;

  color: var(--text-on-dark);



  opacity: 0;

  transform: translateY(-10px);

  pointer-events: none;

  transition: opacity .2s ease, transform .2s ease;

  border-bottom: solid 6px white;

}



.site-nav.is-open {

  opacity: 1;

  transform: translateY(0);

  pointer-events: auto;

}



.site-nav>ul {

  list-style: none;

  padding: 0;

  margin: 0;

  display: flex;

  flex-direction: column;

  gap: 30px;

}



.site-nav>ul>li>a,

.site-nav>ul>li>.nav-parent {

  font-size: 18px;

  font-family: var(--font-sans);

  color: inherit;

  text-decoration: none;

}



.nav-parent {

  background: none;

  border: 0;

  padding: 0;

  cursor: pointer;

  text-align: left;

  color: inherit;

  font: inherit;

}



/* ===== SUBMENU mobile (parent cliquable + toggle sur chevron) ===== */



/* le <li> parent reste "position:relative" comme avant */

.has-submenu {

  position: relative;

  display: flex;

  align-items: center;

  gap: 12px;

  flex-wrap: wrap;

}



/* lien parent (cliquable) */

.nav-parent-link {

  font-size: 18px;

  font-family: var(--font-sans);

  color: inherit;

  text-decoration: none;

  padding: 8px 0;

  line-height: 1.2;

}



/* bouton chevron : zone cliquable confortable, mais rendu discret */

.nav-parent-toggle {

  background: none;

  border: 0;

  cursor: pointer;

  color: inherit;

  padding: 10px;

  margin-left: 20px;

  margin-bottom: 3px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

}



/* chevron visuel */

.nav-parent-toggle::after {

  content: "";

  width: 10px;

  height: 10px;

  border-right: 2px solid currentColor;

  border-bottom: 2px solid currentColor;

  transform: rotate(45deg);

  transition: transform .18s ease, opacity .18s ease;

  opacity: .9;

}



/* ouvert -> chevron vers le haut */

.nav-parent-toggle[aria-expanded="true"]::after {

  transform: rotate(-135deg);

  opacity: 1;

}



/* sous-menu : repasse bien en dessous */

.submenu {

  width: 100%;

  flex-basis: 100%;

  list-style: none;

  margin: 10px 0 0;

  padding: 14px 0 14px 18px;

  display: none;

  gap: 30px;

  border-top: 2px solid rgba(255, 255, 255, .16);

  border-bottom: 2px solid rgba(255, 255, 255, .10);

}



/* ouverture via le bouton chevron */

.nav-parent-toggle[aria-expanded="true"]+.submenu {

  display: grid;

}



.submenu a {

  font-size: 17px;

  font-family: var(--font-sans);

  opacity: .95;

  color: inherit;

  text-decoration: none;

}





/* =========================

   DESKTOP & TABLETTES

========================= */



@media (max-width: 375px) and (max-height: 890px) {

  .brand {

    font-size: 17px;

  }

}



@media (min-width: 768px) {



  .header-inner {

    padding: 30px 0;

  }



  .brand {

    font-size: 30px;

  }



  .site-nav>ul {

    gap: 40px;

  }



  .site-nav>ul>li>a,

  .site-nav>ul>li>.nav-parent {

    font-size: 26px;

  }



  .site-nav a {

    font-size: 22px;

  }



  .nav-parent-toggle::after {

    width: 15px;

    height: 15px;

    border-right: 3px solid currentColor;

    border-bottom: 3px solid currentColor;

  }

}



@media (min-width: 820px) {



  .site-nav>ul {

    gap: 50px;

  }



  .site-nav>ul>li>a,

  .site-nav>ul>li>.nav-parent {

    font-size: 32px;

  }



  .site-nav a {

    font-size: 30px;

  }



  .nav-parent-toggle::after {

    width: 18px;

    height: 18px;

    border-right: 3px solid currentColor;

    border-bottom: 3px solid currentColor;

  }

}



@media (min-width: 992px) {



  .brand {

    font-size: 40px;

  }



  .site-nav>ul {

    gap: 60px;

  }



  .site-nav>ul>li>a,

  .site-nav>ul>li>.nav-parent {

    font-size: 32px;

  }



  .site-nav a {

    font-size: 30px;

  }



  .nav-parent-toggle::after {

    width: 20px;

    height: 20px;

    border-right: 4px solid currentColor;

    border-bottom: 4px solid currentColor;

  }

}



@media (min-width: 1200px) {



  .site-header {

    position: absolute;

    top: 0;

    left: 50%;

    transform: translateX(-50%);

    max-width: 2000px;

    z-index: 10;

    background: linear-gradient(to bottom,

        rgba(0, 0, 0, 0.55),

        rgba(0, 0, 0, 0.15));

    backdrop-filter: blur(2px);

  }



  .header-inner {

    width: 100%;

    margin: auto;

  }



  .brand {

    font-size: 25px;

  }



  .site-header::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 2px;

    max-width: 1600px;

    margin: auto;

    background: rgba(255, 255, 255, 0.25);

  }



  .burger {

    display: none;

  }



  .site-nav {

    position: static;

    opacity: 1;

    pointer-events: auto;

    transform: none;

    background: transparent;

    padding: 0;

    border-bottom: none;

  }



  .site-nav>ul {

    flex-direction: row;

    align-items: center;

    justify-content: flex-end;

    gap: 50px;

  }



  .site-nav>ul>li>a,

  .site-nav>ul>li>.nav-parent {

    font-size: 18px;

    font-family: var(--font-sans);

    color: var(--text-on-dark);

  }



  .submenu {

    position: absolute;

    top: calc(100% + 8px);

    left: 0;

    width: max-content;

    min-width: 220px;



    margin: 0;

    padding: 12px;



    background: rgba(0, 0, 0, .92);

    backdrop-filter: blur(6px);

    border-radius: 14px;

    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);



    display: grid;

    grid-template-columns: 1fr;

    gap: 1px;



    opacity: 0;

    transform: translateY(6px);

    pointer-events: none;

    transition: opacity .18s ease, transform .18s ease;

    gap: 20px;

  }



  .nav-parent-toggle {

    display: none;

  }



  /* zone tampon pour ne pas “perdre” le hover */

  .submenu::before {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    top: -12px;

    height: 12px;

  }



  .has-submenu:hover>.submenu,

  .has-submenu:focus-within>.submenu {

    opacity: 1;

    transform: translateY(0);

    pointer-events: auto;

  }



  .submenu a {

    display: block;

    padding: 7px 12px;

    border-radius: 10px;

    font-size: 18px;

    font-family: var(--font-sans);

    color: var(--text-on-dark);

    opacity: 1;

    white-space: nowrap;

  }



  .submenu a:hover,

  .submenu a:focus-visible {

    background: rgba(255, 255, 255, .08);

    color: var(--link-hover);

  }



  .site-nav>ul>li>a:hover,

  .site-nav>ul>li>.nav-parent:hover {

    color: var(--link-hover);

  }

}



/* =========================

   BUTTONS (réutilisables)

========================= */



.btn {

  border: 0;

  border-radius: 12px;

  padding: 12px 18px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-weight: 500;

  box-shadow: var(--shadow);

  cursor: pointer;

  transition: background .2s ease, transform .2s ease;

  text-decoration: none;

}



.btn-blue {

  background: var(--btn-blue);

  color: var(--btn-blue-text);

  box-shadow: 3px 5px 12px rgba(56, 56, 56, 0.55);

}



.btn-blue:hover,

.btn-blue:focus-visible {

  background: var(--btn-blue-hover);

  color: var(--btn-blue-text);

  text-decoration: none;

  box-shadow: 3px 5px 12px rgba(56, 56, 56, 0.55);

  transform: translateY(-1px);

}



.btn-gold {

  background: linear-gradient(90deg, var(--btn-gold-start), var(--btn-gold-end));

  color: #222;

  box-shadow: 3px 5px 12px rgba(56, 56, 56, 0.55);

}



.btn-gold:hover,

.btn-gold:focus-visible {

  background: linear-gradient(90deg, var(--btn-gold-hover-start), var(--btn-gold-hover-end));

  color: #222;

  text-decoration: none;

  box-shadow: 3px 5px 12px rgba(56, 56, 56, 0.55);

  transform: translateY(-1px);

}



.btn:active {

  transform: translateY(1px);

}



/* =========================

   HERO

========================= */



.hero {

  position: relative;

  overflow: hidden;

  background-image: var(--hero-bg-mobile);

  background-position: center top;

  background-repeat: no-repeat;

  display: flex;

  align-items: flex-start;

  padding-top: 0;

  color: var(--text-on-dark);

  z-index: 2;

  /* padding-bottom: 50px; */

  background-size: cover;

  min-height: clamp(200px, 40vh, 300px);
}




.hero__inner {

  width: 100%;

  margin: 0;

  padding: 10px 16px;

  position: relative;
  z-index: 2;

}



.hero__kicker {

  margin: 0 0 18px;

  font-weight: 500;

  color: #fff;

}



.hero__kicker2 {

  display: none;

}



.hero__title {

  margin: 0 0 18px;

  color: var(--bg-page);

  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);

}



.hero__text,

.hero__text1,

.hero__text2 {

  margin: 0 0 14px;

  color: var(--text-on-dark);

  max-width: 640px;

}

.hero__text,
.hero__text1 {
  padding-bottom: 10px;
}



.hero__text1,

.hero__text2 {

  display: none;

}



.hero__cta {

  display: none;

}



/* =========================

   HERO - TABLET / DESKTOP

========================= */



@media (min-width: 768px) {

  .hero {

    padding-top: 20px;

    background-image: var(--hero-bg-768);

    background-position: center bottom;

    min-height: clamp(560px, 40vh, 800px);

  }



  .hero__title {

    margin-bottom: 60px;

  }

}



@media (min-width: 820px) {

  .hero {

    padding-top: 20px;

    background-image: var(--hero-bg-820);

  }



  .hero__inner {

    width: min(1700px, calc(100% - 64px));

    margin: auto;

    padding: 0px 0 80px;

  }

}



@media (min-width: 1200px) {

  .hero {

    padding-top: 80px;

    background-image: var(--hero-bg-desktop);

    background-position: center top;

    min-height: clamp(900px, 70vh, 1000px);

  }



  .kicker {

    display: flex;

    gap: 8px;

  }



  .hero__inner {

    width: min(1700px, calc(100% - 64px));

    margin: auto;

    padding: 0 0 100px;

  }



  .hero__kicker2 {

    display: block;



    margin: 0 0 18px;

    font-weight: 500;

    color: #fff;

  }



  .hero__text1,

  .hero__text2 {

    display: block;

  }



  .hero__cta {

    margin-top: 50px;

    display: inline-block;

  }

}



/* =========================

   FOOTER (mobile-first)

========================= */



.site-footer {

  position: relative;

  background: var(--footer-bg-mobile) center top / cover no-repeat;

  min-height: clamp(1350px, 70vw, 1400px);

  max-width: 2000px;

  margin: auto;

  overflow: hidden;

  display: flex;

  align-items: flex-end;

}



.footer__panel {

  margin: 0 auto 18px;

}



.footer__grid {

  display: grid;

  grid-template-columns: 1fr;

  gap: 50px;

  align-items: stretch;

  margin-bottom: 30px;

}



.footer__col {

  width: min(420px, 100%);

  margin-inline: auto;

  display: flex;

  flex-direction: column;

  justify-content: center;

}



/* Logo */

.footer__logo {

  width: 200px;

  height: auto;

  display: block;

  margin: 6px auto 10px;

  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));

  transition: transform .2s ease, opacity .2s ease;

  /* filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); */

  /* filter:

    drop-shadow(0 1px 0 rgba(255, 240, 180, 0.25))

    drop-shadow(0 6px 14px rgba(0,0,0,0.35)); */

}

.footer__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .9;
  text-decoration: none;
}

.footer__logo-link:hover {
  opacity: 1;
}

.footer__logo-link:hover .footer__logo {
  transform: translateY(-2px);
}

.footer__h3 {

  margin: 0 0 10px;

  font-size: 16px;

  letter-spacing: .06em;

  text-transform: uppercase;

  opacity: .9;

  text-align: center;

}



.footer__col--social .footer__h3 {

  margin-top: 45px;

}



.footer__contact {

  display: flex;

  flex-direction: column;

  gap: 20px;

}



.footer__contact-item {

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 5px;

  margin: auto;

}



.footer__contact-item a {

  font-weight: 500;

}



.footer__contact-item a:hover {

  color: var(--link-hover);

}



.footer__contact-item img {

  width: 25px;

  height: 25px;

  margin-top: 2px;

  margin: auto;

}



.footer__text {

  margin: 0;

  opacity: .92;

  line-height: 1.55;

  font-size: 17px;

  font-weight: 400;

  text-align: center;

}



.footer__links {

  list-style: none;

  padding: 0;

  margin: 0;

  display: grid;

  gap: 15px;

  text-align: center;

}



.footer__links a {

  text-decoration: none;

  opacity: .9;

  font-size: 18px;

  font-weight: 500;

}



.footer__links a:hover {

  color: var(--link-hover);

  opacity: 1;

}



.footer__social {

  display: flex;

  justify-content: center;

  gap: 25px;

  flex-wrap: wrap;

  margin-top: 5px;

}



.footer__social a {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  opacity: .9;

  text-decoration: none;

}



.footer__social a:hover {

  opacity: 1;

}



.footer__social img {

  width: 35px;

  height: 35px;

  display: block;

  transition: transform .2s ease, opacity .2s ease;

}



.footer__social a:hover img {

  transform: translateY(-2px);

}



.footer__copy {

  margin: 0;

  font-size: 12px;

  opacity: .75;

  text-align: center;

  color: #fff;

  padding-top: 20px;

  border-top: 2px solid rgba(255, 255, 255, 0.12);

}



.footer-bottom {

  margin-top: 40px;

  padding-top: 18px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  color: rgba(255, 255, 255, 0.6);

  font-size: 0.9rem;

}



/* =========================

   BREAKPOINTS

========================= */



@media (min-width: 768px) and (max-width: 1199px) {

  .footer__col--infos {

    justify-content: flex-start;

  }

}



@media (min-width: 768px) {

  .site-footer {

    min-height: clamp(1050px, 70vw, 1100px);

  }



  .footer__grid {

    grid-template-columns: 1fr 1fr;

    gap: 100px 20px;

    margin-bottom: 40px;

  }



  .footer__logo {

    width: 320px;

  }



  .footer__h3 {

    font-size: 22px;

  }



  .footer__links a {

    font-size: 24px;

  }



  .footer__col--social .footer__h3 {

    margin-top: 60px;

  }


  .footer__contact-item img {

    width: 30px;

    height: 30px;

  }



  .footer__text {

    font-size: 20px;

  }



  .footer__social {

    gap: 30px;

    margin-top: 10px;

  }



  .footer__social img {

    width: 55px;

    height: 55px;

  }



  .footer__copy {

    font-size: 18px;

  }

}



@media (min-width: 820px) {

  .site-footer {

    min-height: clamp(1170px, 70vw, 1200px);

  }



  .footer__grid {

    margin-bottom: 50px;

  }



  .footer__logo {

    width: 370px;

  }



  .footer__h3 {

    font-size: 28px;

  }



  .footer__links a {

    font-size: 28px;

  }



  .footer__contact-item img {

    width: 35px;

    height: 35px;

  }



  .footer__text {

    font-size: 24px;

  }



  .footer__social {

    gap: 35px;

  }



  .footer__social img {

    width: 60px;

    height: 60px;

  }



  .footer__copy {

    font-size: 22px;

  }

}



@media (min-width: 992px) {

  .site-footer {

    min-height: clamp(1350px, 70vw, 1400px);

  }



  .footer__grid {

    gap: 100px 0px;

    margin-bottom: 60px;

  }



  .footer__logo {

    width: 450px;

  }



  .footer__contact-item img {

    width: 45px;

    height: 45px;

  }



  .footer__h3 {

    font-size: 32px;

  }



  .footer__links a {

    font-size: 32px;

  }



  .footer__col--social .footer__h3 {

    margin-top: 80px;

  }



  .footer__text {

    font-size: 30px;

  }



  .footer__social img {

    width: 70px;

    height: 70px;

  }



  .footer__copy {

    font-size: 25px;

  }

}



@media (min-width: 1200px) {

  .site-footer {

    background: var(--footer-bg-desktop) center top / cover no-repeat;

    min-height: clamp(700px, 70vw, 980px);

  }



  .footer__panel {

    margin-bottom: 28px;

  }



  .footer__grid {

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

    margin-bottom: 36px;

  }



  .footer__col {

    width: fit-content;

    justify-content: start;

  }



  .footer__social {

    gap: 30px;

  }



  .footer__col--social .footer__h3 {

    text-align: center;

  }



  .footer__h3 {

    font-size: 18px;

    text-align: start;

  }



  .footer__contact-item {

    display: flex;

    flex-direction: row;

    align-items: flex-start;

    margin: 0;

    gap: 10px;

  }



  .footer__contact-item img {

    width: 30px;

    height: 30px;

    margin: 0;

  }



  .footer__text {

    font-size: 18px;

    text-align: start;

  }



  .footer__logo {

    width: 300px;

  }



  .footer__links {

    text-align: left;

  }



  .footer__links a {

    font-size: 18px;

  }



  .footer__social img {

    width: 50px;

    height: 50px;

  }



  .footer__copy {

    font-size: 16px;

  }

}

/* =========================
   SCROLL TO TOP
========================= */

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 240, 180, 0.15);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  color: #f5e3a1;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, .45),
    0 0 0 0 rgba(255, 240, 180, 0);

  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(.95);
  transition:
    opacity .35s ease,
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .3s ease,
    border-color .3s ease,
    bottom .3s ease;

  z-index: 3000;
}

/* Remonte le bouton au-dessus du lecteur audio quand il est affiché */
body:has(#alc-player:not([hidden])) .scroll-top {
  bottom: 74px;
}

/* Apparition */
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Hover */
.scroll-top:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(255, 240, 180, 0.35);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, .6),
    0 0 0 8px rgba(255, 240, 180, 0.06);
}

/* Click */
.scroll-top:active {
  transform: translateY(-2px) scale(.98);
}

/* Focus clavier */
.scroll-top:focus-visible {
  outline: none;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, .6),
    0 0 0 8px rgba(255, 240, 180, 0.18);
}

/* Icône */
.scroll-top__icon {
  width: 30px;
  height: 30px;
  transition: transform .25s ease;
}

.scroll-top:hover .scroll-top__icon {
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .scroll-top {
    right: 35px;
    bottom: 35px;
    width: 60px;
    height: 60px;
  }

  .scroll-top__icon {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 820px) {
  .scroll-top {
    width: 70px;
    height: 70px;
  }

  .scroll-top__icon {
    width: 45px;
    height: 45px;
  }
}

@media (min-width: 992px) {
  .scroll-top {
    width: 80px;
    height: 80px;
  }

  .scroll-top__icon {
    width: 50px;
    height: 50px;
  }
}

@media (min-width: 1200px) {
  .scroll-top {
    width: 50px;
    height: 50px;
  }

  .scroll-top__icon {
    width: 30px;
    height: 30px;
  }
}

/* ==========================================================================
   Modale de bienvenue / lecteur audio
   ========================================================================== */

.welcome-modal[hidden] {
  display: none;
}

.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.welcome-modal__backdrop {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(24, 29, 35, 0.45),
      rgba(4, 6, 8, 0.88)
    );

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.welcome-modal__box {
  position: relative;
  z-index: 1;

  width: min(520px, 100%);
  padding: 46px 42px 40px;

  text-align: center;

  color: #eee;
  background: rgba(14, 17, 20, 0.96);

  border: 1px solid rgba(202, 174, 112, 0.42);
  border-radius: 4px;

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    inset 0 0 50px rgba(255, 255, 255, 0.015);
}

.welcome-modal__note {
  display: block;

  margin-bottom: 14px;

  color: #caae70;
  font-size: 30px;
  line-height: 1;
}

.welcome-modal__box h2 {
  margin: 0 0 20px;

  font-family: "Marcellus SC", serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.03em;

  color: #f3f0e9;
}

.welcome-modal__box p {
  max-width: 430px;
  margin: 0 auto 30px;

  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;

  color: rgba(255, 255, 255, 0.72);
}

.welcome-modal__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.welcome-modal__listen {
  padding: 13px 24px;

  border: 1px solid #caae70;
  border-radius: 2px;

  background: transparent;
  color: #e6d2a0;

  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;

  cursor: pointer;

  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.welcome-modal__listen:hover {
  background: #caae70;
  color: #111;
  transform: translateY(-1px);
}

.welcome-modal__continue {
  padding: 8px 12px;

  border: 0;
  background: transparent;

  color: rgba(255, 255, 255, 0.52);

  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;

  cursor: pointer;

  transition: color 180ms ease;
}

.welcome-modal__continue:hover {
  color: rgba(255, 255, 255, 0.9);
}

.welcome-modal__close {
  position: absolute;
  top: 12px;
  right: 15px;

  width: 34px;
  height: 34px;

  border: 0;
  background: transparent;

  color: rgba(255, 255, 255, 0.48);

  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  transition: color 180ms ease;
}

.welcome-modal__close:hover {
  color: #fff;
}


/* Mobile */

@media (max-width: 600px) {

  .welcome-modal {
    padding: 18px;
  }

  .welcome-modal__box {
    padding: 40px 24px 32px;
  }

  .welcome-modal__box p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .welcome-modal__listen {
    width: 100%;
  }
}


/* boutons taille police → définie dans base.css */