:root {
  --bg: #111111;
  --panel: #111111;
  --panel-dark: #000000;
  --red: #f54042;
  --red-dark: #d1343e;
  --pink: #bf2f5f;
  --text: #ffffff;
  --muted: #ffffff;
  --wrap: 1366px;
  --wide: 1707px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Play, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::selection {
  background: var(--red);
  color: #fff;
}

.ambient-fireworks {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ambient-fireworks {
    display: none;
  }
}

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

.home-service-card picture,
.gallery-strip picture,
.about-team-image picture,
.material-photos picture {
  display: contents;
}

.service-feature-grid picture {
  display: block;
  width: 100%;
  max-width: 560px;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 300px 1fr 66px;
  align-items: center;
  min-height: 89px;
  padding-inline: max(20px, calc((100vw - var(--wrap)) / 2));
  background: rgba(17, 17, 17, 0.96);
  transition: background 180ms ease;
}

.brand {
  display: inline-flex;
  width: 230px;
  text-decoration: none;
}

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

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-right: 28px;
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 32px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--red);
}

.main-nav a[aria-current="page"]::after {
  content: "...";
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  color: var(--red);
  font-size: 1.45rem;
  letter-spacing: 4px;
  line-height: 1;
}

.social-link,
.footer-social {
  display: grid;
  width: 66px;
  height: 68px;
  place-items: center;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

h1,
h2,
h3 {
  font-family: Cairo, Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

strong {
  color: var(--red);
  font-weight: 900;
}

.button,
.ghost-button,
.footer-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 30px;
  border: 0;
  border-radius: 50px;
  background: var(--red-dark);
  color: #fff;
  font-family: Cairo, Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.ghost-button:hover,
.footer-cta-button:hover {
  transform: translateY(-2px);
  background: #ff4b4d;
}

.button-pill-light {
  min-width: 293px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 5px;
}

.button-pill-light:hover {
  background: #fff;
  color: var(--red);
}

.official-wrap {
  width: min(var(--wrap), calc(100vw - 40px));
  margin-inline: auto;
}

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

.hero-media,
.hero-media::after,
.hero-youtube,
.hero-video {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.42)),
    image-set(
      url("../img/prestations-publiques.webp") type("image/webp"),
      url("../img/prestations-publiques.png") type("image/png")
    ) center / cover no-repeat;
}

.hero-media::after {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.34) 82%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06));
  pointer-events: none;
}

.hero-youtube {
  left: 50%;
  top: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  max-width: none;
  border: 0;
  filter: brightness(1.28) saturate(1.08);
  object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-youtube:not([src]) {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(950px, 80vw);
  padding-top: clamp(285px, 31vh, 325px);
  margin-left: max(24px, calc((100vw - var(--wrap)) / 2 + 145px));
}

.hero-content h1 {
  margin-bottom: 42px;
  color: #fff;
  font-size: clamp(4rem, 5vw, 5.25rem);
  font-weight: 400;
  line-height: 1.12;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
}

.pyro-sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.pyro-sparks span {
  position: absolute;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px),
    conic-gradient(from 12deg, transparent 0 10deg, rgba(245, 64, 66, 0.82) 11deg 13deg, transparent 14deg 36deg);
  filter: drop-shadow(0 0 14px rgba(245, 64, 66, 0.42));
  opacity: 0.18;
  animation: spark-drift 7.2s ease-in-out infinite;
}

.pyro-sparks span:nth-child(1) {
  left: 9%;
  top: 30%;
}

.pyro-sparks span:nth-child(2) {
  right: 14%;
  top: 20%;
  width: 88px;
  animation-delay: -2s;
}

.pyro-sparks span:nth-child(3) {
  right: 28%;
  bottom: 22%;
  width: 98px;
  animation-delay: -4.4s;
}

.pyro-sparks span:nth-child(4) {
  left: 24%;
  bottom: 12%;
  width: 76px;
  animation-delay: -1.2s;
}

@keyframes spark-drift {
  0%,
  100% {
    transform: scale(0.84) rotate(0deg);
    opacity: 0.12;
  }

  45% {
    transform: scale(1.1) rotate(22deg);
    opacity: 0.32;
  }
}

.contact-hero-content {
  padding-top: 43vh;
}

.contact-hero-content h1 {
  font-size: clamp(4rem, 5.1vw, 5.2rem);
}

.gradient-hero {
  position: relative;
  min-height: 940px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.84)),
    image-set(
      url("../img/gradient-hero-qui-sommes-nous.webp") type("image/webp"),
      url("../img/gradient-hero-qui-sommes-nous.jpg") type("image/jpeg")
    ) center / cover no-repeat;
}

.gradient-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: image-set(
    url("../img/gradient-hero-qui-sommes-nous-superposition.webp") type("image/webp"),
    url("../img/gradient-hero-qui-sommes-nous-superposition.jpg") type("image/jpeg")
  ) center / cover no-repeat;
  opacity: 0.38;
  filter: blur(18px);
  transform: scale(1.015);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100vw - 40px));
  margin-inline: auto;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(4.6rem, 7vw, 7.5rem);
  font-weight: 500;
  line-height: 1;
}

.page-subtitle {
  margin: 0 0 34px;
  color: var(--red);
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.65em;
  text-transform: uppercase;
}

.stats-band {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4vh, 46px);
  transform: translateX(-50%);
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 44px);
  width: min(1400px, calc(100vw - 80px));
  margin: 0;
  padding: 0;
}

.stats-band::before {
  content: none;
}

.stat {
  position: relative;
  min-height: 170px;
  padding: 28px 18px 22px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  color: #fff;
  text-align: center;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 64, 66, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent);
}

.stat > * {
  position: relative;
  z-index: 1;
}

.stat div {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-height: 68px;
}

.stat strong,
.stat span {
  color: #fff;
  font-size: clamp(3.6rem, 5vw, 4.7rem);
  font-weight: 800;
  line-height: 1;
}

.stat span {
  font-weight: 300;
}

.stat p {
  margin: 12px 0 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}

.official-dark-gradient,
.home-about-section {
  position: relative;
  background: linear-gradient(180deg, #000 0%, #111 100%);
}

.home-about-section {
  padding: 54px 0 176px;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 22%, rgba(245, 64, 66, 0.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(191, 47, 95, 0.16), transparent 34%),
    linear-gradient(180deg, #000 0%, #111 76%);
}

.home-about-section::before,
.contact-spacer::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 45px;
  width: 350px;
  height: 350px;
  background: url("../img/animation-artifice.svg") center / contain no-repeat;
  opacity: 0.65;
}

.pyro-lines {
  position: absolute;
  inset: 0 auto 0 0;
  width: 310px;
  pointer-events: none;
  opacity: 0.5;
}

.pyro-lines::before,
.pyro-lines::after {
  content: "";
  position: absolute;
  left: -150px;
  width: 430px;
  height: 430px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-color: rgba(255, 255, 255, 0.34) transparent transparent rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.pyro-lines::before {
  top: 40px;
}

.pyro-lines::after {
  bottom: -90px;
  width: 520px;
  height: 520px;
  opacity: 0.72;
}

.official-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  align-items: center;
  width: min(1340px, calc(100vw - 80px));
  min-height: 760px;
  margin-inline: auto;
  padding: 78px 92px;
  border-radius: 20px;
  border: 1px solid rgba(245, 64, 66, 0.2);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(17, 17, 17, 0.9) 58%, rgba(0, 0, 0, 0.92)),
    radial-gradient(circle at 85% 12%, rgba(191, 47, 95, 0.22), transparent 34%),
    radial-gradient(circle at 8% 86%, rgba(245, 64, 66, 0.16), transparent 32%);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(14px);
}

.official-panel::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 22%, rgba(245, 64, 66, 0.34), transparent 34%),
    radial-gradient(circle at 82% 74%, rgba(191, 47, 95, 0.3), transparent 38%),
    linear-gradient(135deg, rgba(245, 64, 66, 0.16), rgba(255, 255, 255, 0.045) 44%, rgba(191, 47, 95, 0.14));
  filter: blur(10px);
  opacity: 0.78;
}

.split-copy h2 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(4.6rem, 5vw, 5.4rem);
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

.split-copy p {
  max-width: 620px;
  margin-bottom: 0;
  color: #fff;
  font-family: Cairo, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 2px;
}

.split-copy p + p {
  margin-top: 16px;
}

.split-copy strong {
  color: var(--red);
  font-weight: 900;
}

.official-panel .button-pill-light {
  justify-self: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.section-transition-glow {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(980px, calc(100vw - 40px));
  height: 96px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(245, 64, 66, 0.22), transparent 64%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.045));
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
}

.home-services-section,
.testimonials,
.manifestations,
.legal-content {
  background: #111;
}

.home-services-section {
  padding: 96px 0 78px;
  background:
    linear-gradient(180deg, #111 0%, #0b0b0b 100%),
    #111;
}

.section-title {
  width: min(var(--wrap), calc(100vw - 40px));
  margin: 0 auto 74px;
  color: #fff;
  font-size: clamp(4.6rem, 5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  width: min(var(--wrap), calc(100vw - 40px));
  margin-inline: auto;
}

.home-service-card {
  position: relative;
  min-height: 408px;
  overflow: hidden;
  padding: 0;
  border: 4px solid var(--red);
  border-radius: 20px;
  background: #080808;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.26),
    0 0 26px rgba(245, 64, 66, 0.18);
}

.home-service-card::before {
  content: none;
}

.home-service-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.04) saturate(1.12);
  opacity: 1;
  transition: transform 420ms ease, filter 420ms ease;
}

.home-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.16) 58%, rgba(0, 0, 0, 0)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 58%);
}

.home-service-card:hover .home-service-image {
  transform: scale(1.055);
  filter: brightness(1.12) saturate(1.18);
}

.home-service-card > div {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 42px;
}

.home-service-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(3.1rem, 4vw, 4.15rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: none;
}

.home-service-card h3 span {
  color: var(--red);
}

.home-service-card p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.86);
  font-family: Cairo, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.ghost-button {
  min-height: 46px;
  margin-top: 34px;
  padding-inline: 24px;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: transparent;
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease, background 260ms ease, color 260ms ease;
}

.home-service-card:hover .ghost-button,
.home-service-card:focus-within .ghost-button {
  opacity: 1;
  transform: translateY(0);
}

.ghost-button:hover,
.ghost-button:focus {
  background: var(--red);
  color: #fff;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(var(--wide), calc(100vw - 40px));
  margin: 0 auto;
  padding: 18px 0 34px;
  overflow: hidden;
  background: transparent;
}

.gallery-strip::before {
  content: none;
}

.gallery-strip picture {
  display: block;
  min-width: 0;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  filter: grayscale(1) brightness(0.72) contrast(1.08);
  animation: gallery-color-cycle 24s infinite both;
  transition: filter 320ms ease, transform 320ms ease, border-color 320ms ease;
}

.gallery-strip picture:nth-child(2) img {
  animation-delay: -4s;
}

.gallery-strip picture:nth-child(3) img {
  animation-delay: -8s;
}

.gallery-strip picture:nth-child(4) img {
  animation-delay: -12s;
}

.gallery-strip picture:nth-child(5) img {
  animation-delay: -16s;
}

.gallery-strip picture:nth-child(6) img {
  animation-delay: -20s;
}

.gallery-strip img:hover {
  animation: none;
  border-color: rgba(245, 64, 66, 0.34);
  filter: grayscale(0) brightness(0.92) contrast(1.02);
  transform: translateY(-2px);
}

.gallery-strip img:nth-child(2),
.gallery-strip img:nth-child(5) {
  transform: none;
}

@keyframes gallery-color-cycle {
  0%,
  13% {
    filter: grayscale(0) brightness(0.94) contrast(1.03) saturate(1.08);
    border-color: rgba(245, 64, 66, 0.28);
  }

  20%,
  100% {
    filter: grayscale(1) brightness(0.72) contrast(1.08);
    border-color: rgba(255, 255, 255, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-strip img {
    animation: none;
  }

  .gallery-strip picture:first-child img {
    filter: grayscale(0) brightness(0.94) contrast(1.03) saturate(1.08);
    border-color: rgba(245, 64, 66, 0.28);
  }
}

.lorraine-map-card {
  position: relative;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(245, 64, 66, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 64, 66, 0.14), transparent 34%),
    radial-gradient(circle at 90% 82%, rgba(191, 47, 95, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.9);
  box-shadow:
    0 28px 82px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(245, 64, 66, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lorraine-map-heading {
  margin: 0 0 18px;
}

.lorraine-map-heading p {
  margin: 0 0 4px;
  color: var(--red);
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lorraine-map-heading h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 900;
  line-height: 1.1;
}

.lorraine-map-body {
  display: block;
}

.lorraine-map-frame {
  position: relative;
  width: min(1040px, 100%);
  aspect-ratio: 1122 / 1402;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 52% 48%, rgba(245, 64, 66, 0.13), transparent 44%),
    linear-gradient(145deg, #171717 0%, #080808 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 38px rgba(0, 0, 0, 0.72);
}

.lorraine-map-frame::before,
.lorraine-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.lorraine-map-frame::before {
  background:
    radial-gradient(circle at 50% 52%, transparent 0 44%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 28%, rgba(245, 64, 66, 0.06) 78%, transparent);
  mix-blend-mode: screen;
}

.lorraine-map-frame::after {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.lorraine-map-viewport {
  position: absolute;
  inset: 0;
  transform: scale(1.03);
  transform-origin: 50% 50%;
}

.lorraine-map-frame picture {
  display: block;
  position: absolute;
  inset: 0;
}

.lorraine-map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

.lorraine-map-image.is-static-map {
  padding: 0;
}

.testimonials {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 74px;
  width: auto;
  margin-inline: 0;
  padding: 114px max(20px, calc((100vw - var(--wrap)) / 2)) 126px;
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 64, 66, 0.12), transparent 24%),
    radial-gradient(circle at 84% 24%, rgba(191, 47, 95, 0.12), transparent 30%),
    linear-gradient(180deg, #111 0%, #0b0b0b 100%);
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 58px max(12px, calc((100vw - var(--wrap)) / 2 - 18px)) 62px;
  border: 3px solid rgba(245, 64, 66, 0.86);
  border-radius: 22px;
  box-shadow:
    0 0 28px rgba(245, 64, 66, 0.14),
    inset 0 0 28px rgba(245, 64, 66, 0.06);
  pointer-events: none;
}

.testimonial-heading,
.testimonial-slider {
  position: relative;
  z-index: 1;
}

.quote-mark {
  margin-bottom: 26px;
  color: var(--red);
  font-size: 4rem;
  line-height: 1;
}

.section-kicker,
.eyebrow {
  margin-bottom: 18px;
  color: var(--red);
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.55em;
  text-transform: uppercase;
}

.testimonial-heading h2 {
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(4.4rem, 5vw, 5.4rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.52);
}

.testimonial-heading > p:not(.section-kicker) {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.8;
}

.testimonial-slider {
  position: relative;
  min-height: 386px;
}

.testimonial {
  display: none;
  min-height: 330px;
  padding: clamp(34px, 4vw, 58px);
  border: 2px solid rgba(245, 64, 66, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.94), rgba(0, 0, 0, 0.86)),
    radial-gradient(circle at 85% 16%, rgba(245, 64, 66, 0.26), transparent 36%),
    var(--panel);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(245, 64, 66, 0.12);
}

.testimonial.is-active {
  display: block;
}

.stars {
  margin-bottom: 18px;
  color: #f6c75a;
  font-size: 1.7rem;
  letter-spacing: 4px;
  text-shadow: 0 0 18px rgba(246, 199, 90, 0.34);
}

.testimonial blockquote {
  margin: 0 0 26px;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.8;
}

.testimonial-author {
  margin-bottom: 0;
  color: var(--red);
  font-weight: 900;
}

.testimonial-meta {
  color: rgba(255, 255, 255, 0.82);
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.testimonial-dots span.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--red);
}

.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 0;
}

.slider-controls button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.about-intro {
  padding: 0 0 76px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 645px 645px;
  gap: 75px;
  align-items: start;
  padding-top: 48px;
}

.about-team-image img {
  width: 645px;
  height: 715px;
  object-fit: cover;
  border-radius: 80px 0 80px 0;
}

.about-copy {
  padding-top: 10px;
}

.about-copy h2,
.service-copy h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(4.6rem, 5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.service-copy h2 {
  color: #fff;
}

.about-copy h2 span,
.service-copy h2 span,
.organisation-hero-title span,
.material-title span {
  color: var(--red);
}

.about-copy p:not(.eyebrow),
.service-copy p:not(.eyebrow),
.organisation-text p {
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.11em;
}

.about-copy p:not(.eyebrow) {
  margin-bottom: 32px;
}

.about-icon-row {
  display: grid;
  grid-template-columns: repeat(2, 285px);
  gap: 75px;
  margin-top: 58px;
}

.about-icon-row article {
  text-align: center;
}

.about-icon-row img {
  width: 128px;
  height: 128px;
  margin: 0 auto 28px;
  object-fit: contain;
}

.about-icon-row h3 {
  margin: 0;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.1;
}

.organisation-showcase {
  position: relative;
  min-height: 1508px;
  padding-top: 370px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.22) 0%, rgba(0, 0, 0, 0.82) 42%, rgba(17, 17, 17, 1) 100%),
    image-set(
      url("../img/background-organisation-spectacles.webp") type("image/webp"),
      url("../img/background-organisation-spectacles.jpg") type("image/jpeg")
    ) center top / 100% 695px no-repeat,
    #111;
}

.organisation-hero-title {
  width: min(var(--wrap), calc(100vw - 40px));
  margin: 0 auto 118px;
  text-align: center;
}

.organisation-hero-title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(4.6rem, 5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.organisation-panel {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
  gap: 42px;
  width: min(1500px, calc(100vw - 40px));
  min-height: 745px;
  margin-inline: auto;
  padding: 70px 42px;
  border-radius: 20px;
  border: 1px solid rgba(245, 64, 66, 0.34);
  background:
    radial-gradient(circle at 86% 12%, rgba(245, 64, 66, 0.16), transparent 30%),
    #111;
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.38);
}

.organisation-text p {
  margin-bottom: 36px;
}

.organisation-text strong {
  color: var(--red);
}

.map-hotspot {
  position: relative;
  width: 100%;
  align-self: center;
}

.map-hotspot img {
  width: 100%;
  height: 100%;
}

.map-hotspot .lorraine-map-card {
  width: 100%;
  padding: clamp(18px, 2.4vw, 30px);
}

.map-hotspot .lorraine-map-frame {
  width: min(980px, 100%);
}

.material-showcase {
  padding: 96px 0 86px;
  background: linear-gradient(179deg, #000 0%, rgba(17, 17, 17, 0) 100%), #111;
}

.material-layout {
  display: grid;
  grid-template-columns: 428px 1fr;
  gap: 42px;
}

.material-title {
  margin: 0;
  color: #fff;
  font-size: clamp(4.4rem, 5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 54px 64px;
}

.material-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: start;
}

.material-item img {
  width: 72px;
  height: 72px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 15%, rgba(245, 64, 66, 0.18), transparent 58%),
    rgba(0, 0, 0, 0.34);
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.34));
}

.material-item p {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 1.45vw, 1.56rem);
  font-weight: 700;
  line-height: 1.2;
}

.material-lead {
  color: var(--red);
  font-size: 1.14em;
  font-weight: 900;
}

.material-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(var(--wide), calc(100vw - 40px));
  margin: 0 auto;
  padding: 18px 0 44px;
  background: #111;
}

.material-photos picture {
  display: block;
  min-width: 0;
}

.material-photos img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  filter: saturate(0) brightness(0.78);
  transition: filter 300ms ease, border-color 300ms ease;
}

.material-photos img:hover {
  border-color: rgba(245, 64, 66, 0.34);
  filter: saturate(100%) brightness(0.96);
}

.material-cards {
  display: flex;
  gap: 0;
  background: #111;
}

.material-card {
  flex: 1 1 0;
  min-height: 500px;
  padding: 300px 8vw 40px;
  border: 5px solid #111;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.76)),
    image-set(
      url("../img/reference-mereville.webp") type("image/webp"),
      url("../img/reference-mereville.jpg") type("image/jpeg")
    ) center / cover no-repeat;
  text-align: center;
  transition: flex 300ms ease, filter 300ms ease;
}

.material-card:hover {
  flex: 2 1 0;
}

.material-card:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
    image-set(
      url("../img/regie-artifice.webp") type("image/webp"),
      url("../img/regie-artifice.jpg") type("image/jpeg")
    );
}

.material-card:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
    url("../img/reference-2024.jpg");
}

.material-card h3 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 1.38rem;
  font-weight: 700;
}

.material-card p {
  margin: 0;
  color: #fff;
  font-family: Play, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
}

.service-feature {
  padding: 86px 0;
  background: #111;
}

.service-feature-public {
  padding-bottom: 96px;
  background: linear-gradient(180deg, #111 0%, #000 100%);
}

.service-feature-public .service-feature-grid {
  align-items: center;
}

.service-feature-private {
  background: linear-gradient(180deg, #000 0%, #111 100%);
}

.service-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
}

.service-feature-grid-reverse {
  align-items: center;
}

.service-copy h2 {
  line-height: 1.1;
}

.service-copy p:not(.eyebrow) {
  margin-bottom: 28px;
}

.service-feature-image {
  width: 100%;
  max-width: 560px;
  height: clamp(420px, 42vw, 560px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 80px 0 80px 0;
}

.service-feature-public .service-feature-image {
  min-height: 0;
  margin-top: 0;
}

.video-grid {
  display: grid;
  background: #000;
}

.video-grid-public {
  grid-template-columns: repeat(2, 1fr);
  padding: 34px 0 70px;
}

.video-grid-private {
  grid-template-columns: repeat(3, 1fr);
  padding: 78px 0 70px;
}

.video-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-tile iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.manifestations {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 92px 0 106px;
  overflow-x: clip;
  overflow-y: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(245, 64, 66, 0.14), transparent 28%),
    linear-gradient(180deg, #111 0%, #000 100%);
}

.manifestations .official-wrap {
  width: min(1780px, calc(100vw - 24px));
}

.manifestations-heading {
  width: min(1120px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.manifestations-heading h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 4.35rem;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
}

.manifestations-heading p:not(.section-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
  line-height: 1.75;
}

/* Frise desktop : axe continu, mois integres a la ligne et points alternes. */
.timeline-container {
  width: min(100%, 1720px);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: clamp(10px, 1.5vw, 24px);
  overflow-x: visible;
  overflow-y: visible;
  overscroll-behavior-x: contain;
}

.timeline {
  position: relative;
  --timeline-dot-offset: 26px;
  --timeline-label-offset: 72px;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0;
  min-height: 430px;
  padding: 0 34px;
  /* Les libelles extremes peuvent depasser l'axe sans etre rognes. */
  overflow-x: visible;
  overflow-y: visible;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 6%, rgba(245, 64, 66, 0.62) 50%, rgba(255, 255, 255, 0.18) 94%, transparent 100%);
  box-shadow: 0 0 14px rgba(245, 64, 66, 0.18);
}

.timeline-item {
  position: relative;
  --timeline-label-extra: 0px;
  --timeline-connector-length: calc(var(--timeline-label-offset) + var(--timeline-label-extra) - var(--timeline-dot-offset) - 6px);
  min-width: 0;
  min-height: 414px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* La frise a besoin d'un axe fixe : l'animation reveal-up decalerait les points. */
.timeline-item.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.timeline-item > div:last-child {
  position: absolute;
  left: 50%;
  bottom: calc(50% + var(--timeline-label-offset) + var(--timeline-label-extra));
  width: clamp(152px, 13.2vw, 184px);
  max-width: 184px;
  min-height: 0;
  height: auto;
  margin-top: 0;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-item > div:last-child::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-1 * var(--timeline-connector-length));
  width: 2px;
  height: var(--timeline-connector-length);
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--event-color, var(--red)) 88%, #fff), rgba(255, 255, 255, 0.18));
  box-shadow: 0 0 10px color-mix(in srgb, var(--event-color, var(--red)) 38%, transparent);
  opacity: 0.92;
  transform: translateX(-50%);
}

.timeline-item:nth-child(even) > div:last-child {
  top: calc(50% + var(--timeline-label-offset) + var(--timeline-label-extra));
  bottom: auto;
}

.timeline-item:nth-child(even) > div:last-child::before {
  top: calc(-1 * var(--timeline-connector-length));
  bottom: auto;
  background: linear-gradient(0deg, color-mix(in srgb, var(--event-color, var(--red)) 88%, #fff), rgba(255, 255, 255, 0.18));
}

.timeline-right {
  margin-left: 0;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 1px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.timeline-marker::before {
  display: none;
}

.timeline-item:nth-child(even) .timeline-marker::before {
  display: none;
}

.timeline-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% - var(--timeline-dot-offset));
  z-index: 2;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: color-mix(in srgb, var(--event-color, var(--red)) 82%, #111);
  box-shadow: 0 0 10px color-mix(in srgb, var(--event-color, var(--red)) 26%, transparent);
  transform: translate(-50%, -50%);
}

.timeline-item:nth-child(even) .timeline-marker::after {
  top: calc(50% + var(--timeline-dot-offset));
}

.timeline-year {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 25px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--event-color, var(--red)) 72%, rgba(255, 255, 255, 0.24));
  background: linear-gradient(135deg, color-mix(in srgb, var(--event-color, var(--red)) 78%, #111), color-mix(in srgb, var(--event-dark, var(--red-dark)) 78%, #111));
  color: #fff;
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 8px #111, 0 5px 16px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%);
}

.timeline-year.is-empty {
  visibility: hidden;
}

.timeline-item.is-assemblee {
  --event-color: #e8e8e8;
  --event-dark: #777;
}

.timeline-item.is-mariage {
  --event-color: #bf2f5f;
  --event-dark: #7d183d;
}

.timeline-item.is-association {
  --event-color: #f0a832;
  --event-dark: #a86511;
}

.timeline-item.is-prive {
  --event-color: #f0a832;
  --event-dark: #a86511;
}

.timeline-item.is-brocante {
  --event-color: #d88a45;
  --event-dark: #995221;
}

.timeline-item.is-commune {
  --event-color: #45a8d8;
  --event-dark: #176f96;
}

.timeline-item.is-feerie {
  --event-color: #9d65ff;
  --event-dark: #5626a8;
}

.timeline-item.is-musique {
  --event-color: #22bfa4;
  --event-dark: #0f7464;
}

.timeline-item.is-fete-nationale {
  --event-color: #f54042;
  --event-dark: #a71925;
}

.timeline-item.is-month-fevrier {
  --event-color: #e8e8e8;
  --event-dark: #777;
}

.timeline-item.is-month-avril {
  --event-color: #bf2f5f;
  --event-dark: #7d183d;
}

.timeline-item.is-month-mai {
  --event-color: #f0a832;
  --event-dark: #a86511;
}

.timeline-item.is-month-juin {
  --event-color: #9d65ff;
  --event-dark: #5626a8;
}

.timeline-item.is-month-juillet {
  --event-color: #f54042;
  --event-dark: #a71925;
}

.timeline-item.is-month-aout {
  --event-color: #45a8d8;
  --event-dark: #176f96;
}

.timeline-item.is-month-hiver {
  --event-color: #b9d8ff;
  --event-dark: #375b82;
}

.timeline-item.is-month-a-venir {
  --event-color: #c9c9c9;
  --event-dark: #5f5f5f;
}

.timeline-item.is-month-decembre {
  --event-color: #e8e8e8;
  --event-dark: #8a2f39;
}

.timeline-item > div:last-child {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.timeline-item .timeline-type {
  color: var(--event-color, var(--red)) !important;
}

.timeline-item.is-cancelled > div:last-child {
  opacity: 0.58;
}

.timeline-item.is-cancelled .timeline-type,
.timeline-item.is-cancelled h3,
.timeline-item.is-cancelled .timeline-date {
  text-decoration: line-through;
  text-decoration-thickness: 0.12em;
  text-decoration-color: currentColor;
}

.timeline-type {
  margin-bottom: 7px !important;
  color: var(--red) !important;
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 0.725rem !important;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-align: center;
}

.timeline-item h3 {
  margin: 0;
  color: #fff;
  font-size: 1.36rem;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  overflow-wrap: normal;
  text-align: center;
  white-space: nowrap;
  word-break: normal;
}

.timeline-date {
  margin-top: 6px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 0.875rem !important;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 1680px) {
  .timeline {
    --timeline-dot-offset: 30px;
    --timeline-label-offset: 86px;
    min-height: 520px;
    padding: 0 28px;
  }

  .timeline-item {
    min-height: 500px;
  }

  .timeline-item > div:last-child {
    bottom: calc(50% + var(--timeline-label-offset) + var(--timeline-label-extra));
    width: clamp(220px, 12vw, 244px);
    max-width: 244px;
  }

  .timeline-item:nth-child(even) > div:last-child {
    top: calc(50% + var(--timeline-label-offset) + var(--timeline-label-extra));
  }

  .timeline-type {
    font-size: 0.91rem !important;
  }

  .timeline-item h3 {
    font-size: 1.7rem;
  }

  .timeline-date {
    font-size: 1.09rem !important;
  }
}

@media (min-width: 1241px) and (max-width: 1380px) {
  .timeline-item > div:last-child {
    width: 166px;
  }

  .timeline-type {
    font-size: 0.71rem !important;
  }

  .timeline-item h3 {
    font-size: 1.33rem;
  }

  .timeline-date {
    font-size: 0.85rem !important;
  }
}

.timeline-item p {
  margin: 0;
  color: #fff;
  font-size: 0.86rem;
}

.timeline-meta {
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: 0.72rem !important;
  line-height: 1.45;
}

@media (min-width: 981px) and (max-width: 1240px) {
  .timeline {
    padding-inline: 34px;
  }

  .timeline-item > div:last-child {
    width: 156px;
  }

  .timeline-type {
    font-size: 0.65rem !important;
  }

  .timeline-item h3 {
    font-size: 1.175rem;
  }

  .timeline-date {
    font-size: 0.8rem !important;
  }
}

@media (min-width: 981px) and (max-width: 1140px) {
  .timeline {
    padding-inline: 28px;
  }

  /* Garde les mois lisibles quand les premiers jalons sont tres rapproches. */
  .timeline-year {
    min-width: 70px;
    min-height: 23px;
    padding-inline: 7px;
    font-size: 0.6rem;
  }

  .timeline-item > div:last-child {
    width: 132px;
  }

  .timeline-type {
    font-size: 0.575rem !important;
  }

  .timeline-item h3 {
    font-size: 1.025rem;
  }

  .timeline-date {
    font-size: 0.725rem !important;
  }
}

@media (max-width: 980px) {
  .timeline-container {
    width: min(100%, 820px);
    overflow-x: clip;
    overflow-y: visible;
  }

  .timeline {
    display: block;
    width: min(780px, 100%);
    min-height: 0;
    padding: 8px 0 0 76px;
    overflow: visible;
  }

  .timeline::before {
    left: 29px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(245, 64, 66, 0.55), transparent);
    box-shadow: 0 0 12px rgba(245, 64, 66, 0.14);
  }

  .timeline-item,
  .timeline-right {
    width: auto;
    min-height: 0;
    margin: 0 0 18px;
    padding: 0;
  }

  .timeline-marker {
    position: absolute;
    left: -47px;
    top: 18px;
    transform: none;
  }

  .timeline-marker::before {
    display: none;
  }

  .timeline-marker::after {
    top: 50%;
  }

  .timeline-item:nth-child(even) .timeline-marker::after {
    top: 50%;
  }

  .timeline-item > div:last-child {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 18px 20px;
    transform: none;
  }

  .timeline-item > div:last-child::before {
    display: none;
  }

  .timeline-year {
    min-width: 84px;
    min-height: 24px;
    font-size: 0.66rem;
    top: 14px;
    bottom: auto;
    transform: translateX(-50%);
  }

  .timeline-item:nth-child(even) .timeline-year {
    top: 14px;
    bottom: auto;
  }

  .timeline-item h3 {
    font-size: 1.18rem;
  }

  .timeline-meta {
    font-size: 0.84rem !important;
  }
}

.contact-panel-section {
  position: relative;
  padding: 104px 0 118px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 64, 66, 0.14), transparent 27%),
    linear-gradient(180deg, #111 0%, #000 100%);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(420px, 1.26fr);
  gap: 54px;
  align-items: start;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(245, 64, 66, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.86);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.38);
}

.contact-panel-copy h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.contact-panel-copy p:not(.section-kicker) {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.75;
}

.email-contact-form {
  display: grid;
  gap: 18px;
}

.email-contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.email-contact-form input,
.email-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: 500 1rem Play, Helvetica, Arial, sans-serif;
  outline: 0;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.email-contact-form input {
  min-height: 56px;
  padding: 0 18px;
}

.email-contact-form textarea {
  min-height: 170px;
  padding: 16px 18px;
  resize: vertical;
}

.email-contact-form input:focus,
.email-contact-form textarea:focus {
  border-color: rgba(245, 64, 66, 0.72);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(245, 64, 66, 0.13);
}

.email-contact-form .button {
  justify-self: start;
  min-width: 220px;
}

.contact-spacer {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  background: linear-gradient(180deg, #000 0%, #111 100%);
}

.site-footer {
  position: relative;
  background: #111;
}

.footer-cta {
  min-height: 240px;
  display: grid;
  place-items: center;
}

.footer-cta-button {
  min-width: min(560px, calc(100vw - 40px));
  border-radius: 999px;
  font-size: 1.28rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--wrap), calc(100vw - 40px));
  min-height: 90px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom strong {
  color: #fff;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.footer-bottom a {
  color: var(--red);
  text-decoration: none;
}

.footer-social {
  background: rgba(255, 255, 255, 0.03);
  color: #fff !important;
}

.social-link:hover,
.footer-social:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.scroll-top {
  position: fixed;
  right: 0;
  bottom: 125px;
  z-index: 45;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 5px 0 0 5px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.legal-hero {
  min-height: 520px;
}

.legal-content {
  width: min(980px, calc(100vw - 40px));
  margin-inline: auto;
  padding: 120px 0;
}

.legal-content h2 {
  color: var(--red);
  font-size: 2rem;
}

.legal-content p {
  color: #fff;
}

/* Page 404 : explosion stylisée, sans image ni dépendance externe. */
.not-found-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(136px, 15vh, 190px) 0 clamp(82px, 11vh, 130px);
  background:
    radial-gradient(circle at 78% 26%, rgba(245, 64, 66, 0.26), transparent 28%),
    radial-gradient(circle at 18% 74%, rgba(191, 47, 95, 0.22), transparent 34%),
    linear-gradient(180deg, #000 0%, #111 58%, #080808 100%);
}

.not-found-page::before,
.not-found-page::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.not-found-page::before {
  inset: 96px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 64, 66, 0.72), transparent);
  opacity: 0.72;
}

.not-found-page::after {
  right: -120px;
  bottom: -140px;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 64, 66, 0.2), transparent 62%);
  filter: blur(14px);
}

.not-found-wrap {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  width: min(var(--wrap), calc(100vw - 40px));
  margin-inline: auto;
}

.not-found-copy h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 7.8rem;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.not-found-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-family: Cairo, Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.75;
}

.not-found-lead {
  color: #fff;
  font-size: 1.45rem;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.not-found-actions .ghost-button {
  opacity: 1;
  transform: none;
}

.not-found-note {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
}

.not-found-visual {
  position: relative;
  display: grid;
  min-height: clamp(360px, 42vw, 560px);
  place-items: center;
}

/* Page 404 : petites explosions decoratives autour du code. */
.not-found-fireworks {
  position: relative;
  display: grid;
  width: min(460px, 80vw);
  aspect-ratio: 1;
  place-items: center;
  isolation: isolate;
}

.not-found-fireworks::before {
  content: "";
  position: absolute;
  inset: 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 64, 66, 0.22), transparent 66%);
  filter: blur(18px);
}

.not-found-code {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-family: Cairo, Helvetica, Arial, sans-serif;
  font-size: 7.8rem;
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 4px 0 #000,
    0 0 22px rgba(255, 255, 255, 0.36),
    0 0 40px rgba(245, 64, 66, 0.22);
  transform: rotate(-4deg);
}

.mini-burst {
  position: absolute;
  width: var(--burst-size, 74px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 4%, #ffd9c9 5% 10%, rgba(245, 64, 66, 0.92) 11% 15%, transparent 16%),
    conic-gradient(
      from var(--burst-rotation, 0deg),
      transparent 0 8deg,
      rgba(255, 255, 255, 0.95) 8deg 11deg,
      transparent 11deg 30deg,
      rgba(245, 64, 66, 0.9) 30deg 35deg,
      transparent 35deg 58deg,
      rgba(191, 47, 95, 0.78) 58deg 64deg,
      transparent 64deg 92deg
    );
  filter: drop-shadow(0 0 14px rgba(245, 64, 66, 0.5));
  opacity: 0.92;
  animation: mini-burst-pulse 2600ms ease-in-out infinite;
}

.mini-burst::after {
  content: "";
  position: absolute;
  inset: 23%;
  border: 1px dashed rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.mini-burst-1 { --burst-size: 88px; --burst-rotation: 16deg; top: 4%; left: 18%; animation-delay: -120ms; }
.mini-burst-2 { --burst-size: 64px; --burst-rotation: 72deg; top: 17%; right: 6%; animation-delay: -420ms; }
.mini-burst-3 { --burst-size: 52px; --burst-rotation: 130deg; top: 34%; left: 2%; animation-delay: -720ms; }
.mini-burst-4 { --burst-size: 78px; --burst-rotation: 42deg; right: 12%; bottom: 19%; animation-delay: -980ms; }
.mini-burst-5 { --burst-size: 58px; --burst-rotation: 104deg; bottom: 12%; left: 16%; animation-delay: -1180ms; }
.mini-burst-6 { --burst-size: 42px; --burst-rotation: 184deg; top: 2%; right: 34%; animation-delay: -1450ms; }
.mini-burst-7 { --burst-size: 48px; --burst-rotation: 210deg; bottom: 36%; right: 1%; animation-delay: -1660ms; }
.mini-burst-8 { --burst-size: 36px; --burst-rotation: 250deg; bottom: 3%; left: 45%; animation-delay: -1880ms; }
.mini-burst-9 { --burst-size: 44px; --burst-rotation: 300deg; top: 52%; left: 22%; animation-delay: -2040ms; }
}

@keyframes mini-burst-pulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.62;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mini-burst {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .not-found-wrap {
    grid-template-columns: 1fr;
    width: min(820px, calc(100vw - 40px));
  }

  .not-found-visual {
    order: -1;
    min-height: 390px;
  }
}

@media (max-width: 920px) {
  .not-found-page {
    padding-top: 124px;
  }

  .not-found-copy h1 {
    font-size: 5.5rem;
  }

  .not-found-lead {
    font-size: 1.25rem;
  }

  .not-found-code {
    font-size: 6.2rem;
  }
}

@media (max-width: 620px) {
  .not-found-wrap {
    width: calc(100vw - 28px);
    gap: 24px;
  }

  .not-found-copy h1 {
    font-size: 3.6rem;
  }

  .not-found-copy p {
    font-size: 1rem;
  }

  .not-found-actions,
  .not-found-actions .button,
  .not-found-actions .ghost-button {
    width: 100%;
  }

  .not-found-visual {
    min-height: 300px;
  }

  .not-found-fireworks {
    width: min(300px, 86vw);
  }

  .not-found-code {
    font-size: 4.7rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  transition:
    opacity 680ms cubic-bezier(0.77, 0, 0.175, 1),
    transform 680ms cubic-bezier(0.77, 0, 0.175, 1),
    filter 420ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-blur {
  transform: scale(0.985);
  filter: blur(14px);
}

.reveal-up {
  transform: translateY(72px);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 240px 1fr 58px;
  }

  .main-nav {
    gap: 18px;
    font-size: 0.72rem;
    letter-spacing: 2px;
  }

  .stats-band,
  .home-service-grid,
  .contact-panel,
  .about-intro-grid,
  .service-feature-grid,
  .organisation-panel,
  .material-layout,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .stats-band {
    gap: 24px;
  }

  .official-panel {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .lorraine-map-card {
    min-height: 0;
  }

  .about-intro-grid,
  .service-feature-grid {
    width: min(760px, calc(100vw - 40px));
  }

  .about-team-image img {
    width: 100%;
    height: auto;
  }

  .service-feature-image {
    width: 100%;
    height: clamp(360px, 70vw, 560px);
  }

  .service-feature-public .service-feature-image {
    margin-top: 0;
  }

  .about-copy,
  .service-copy {
    padding-top: 0;
  }

  .organisation-showcase {
    padding-top: 240px;
  }

  .organisation-panel {
    width: min(760px, calc(100vw - 40px));
  }

  .map-hotspot img {
    width: 100%;
  }

  .material-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .video-grid-public,
  .video-grid-private {
    grid-template-columns: 1fr;
  }

  .material-cards {
    flex-direction: column;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 84px;
    padding-inline: 18px;
  }

  .brand,
  .brand img {
    width: 210px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 0;
  }

  .nav-toggle span {
    width: 26px;
    height: 2px;
    background: #fff;
  }

  .nav-toggle span + span {
    margin-top: -14px;
  }

  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 22px 22px;
    background: rgba(17, 17, 17, 0.98);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
  }

  .social-link {
    display: none;
  }

  .hero-content {
    width: calc(100vw - 36px);
    margin-left: 18px;
    padding-top: 38vh;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: clamp(3.1rem, 13vw, 5rem);
  }

  .page-subtitle {
    letter-spacing: 0.32em;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100vw - 36px);
    bottom: 16px;
    gap: 12px;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .material-photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .official-panel {
    width: calc(100vw - 36px);
    padding: 44px 28px;
    min-height: 0;
  }

  .home-about-section {
    padding-bottom: 132px;
  }

  .section-transition-glow {
    height: 72px;
    filter: blur(14px);
  }

  .home-service-card {
    min-height: 430px;
  }

  .home-service-card > div {
    padding: 58px 26px 30px;
  }

  .testimonials,
  .contact-panel-section,
  .manifestations {
    padding-block: 82px;
  }

  .testimonials {
    padding-inline: 18px;
  }

  .lorraine-map-card {
    padding: 22px;
  }

  .lorraine-map-body {
    display: block;
  }

  .lorraine-map-frame {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .testimonial-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-panel {
    width: calc(100vw - 36px);
    padding: 28px 22px;
  }

  .split-copy h2,
  .section-title,
  .about-copy h2,
  .service-copy h2,
  .organisation-hero-title h2,
  .material-title,
  .testimonial-heading h2,
  .contact-panel-copy h2 {
    font-size: clamp(3rem, 12vw, 4.4rem);
  }

  .manifestations-heading h2 {
    font-size: 3.25rem;
  }

  .about-icon-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .organisation-panel {
    padding: 44px 26px;
  }

  .material-layout {
    width: calc(100vw - 36px);
  }

  .material-item p {
    font-size: 1.12rem;
  }

  .timeline::before {
    left: 29px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(245, 64, 66, 0.7), transparent);
  }

  .timeline-item,
  .timeline-right {
    width: auto;
    margin-left: 0;
  }

  .timeline {
    display: block;
    width: min(760px, 100%);
    min-height: 0;
    padding-top: 0;
    overflow: visible;
  }

  .timeline-item {
    min-height: 0;
    margin-bottom: 22px;
    padding: 0;
  }

  .timeline-marker {
    position: absolute;
    left: -47px;
    top: 18px;
    transform: none;
  }

  .timeline-item > div:last-child {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    min-height: 0;
    margin-top: 0;
    padding: 20px;
    transform: none;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 26px 0;
  }
}

@media (max-width: 620px) {
  .hero-youtube {
    display: none;
  }

  .manifestations-heading h2 {
    font-size: 2.35rem;
  }

  .timeline {
    width: 100%;
    padding-left: 58px;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-marker {
    left: -34px;
  }

  .timeline-year {
    min-width: 78px;
    font-size: 0.6rem;
  }

  .timeline-item > div:last-child {
    padding: 16px;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    min-height: 112px;
    padding: 16px 10px 14px;
    border-radius: 12px;
  }

  .stat div {
    min-height: 42px;
  }

  .stat strong,
  .stat span {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .stat p {
    margin-top: 6px;
    font-size: 0.82rem;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .material-photos {
    grid-template-columns: 1fr;
  }

  .home-service-card h3 {
    font-size: clamp(2.45rem, 14vw, 3.2rem);
  }

  .lorraine-map-card {
    padding: 10px;
  }

  .organisation-panel {
    padding: 30px 14px;
  }

  .lorraine-map-heading h3 {
    font-size: 1.25rem;
  }

  .testimonial {
    min-height: 0;
    padding: 28px 22px;
  }

  .email-contact-form .button {
    width: 100%;
  }

  .about-icon-row {
    grid-template-columns: 1fr;
  }

  .button-pill-light {
    min-width: 0;
    width: 100%;
  }
}
