﻿/* ================================
   PAGE LUDIK FACTORY
   BLOC 1 — HERO
   ================================ */

/* ================================
   NEUTRALISATION DIVI
   ================================ */

.et_pb_section:has(.ludik-factory-hero),
.et_pb_row:has(.ludik-factory-hero),
.et_pb_column:has(.ludik-factory-hero),
.et_pb_code:has(.ludik-factory-hero),
.et_pb_code_inner:has(.ludik-factory-hero) {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  overflow: visible !important;
}

.et_pb_row:has(.ludik-factory-hero) {
  width: 100% !important;
}

/* ================================
   STRUCTURE DU HERO
   ================================ */

.ludik-factory-hero {
  position: relative;
  isolation: isolate;

  width: 100vw;
  min-height: 820px;

  margin-left: calc(50% - 50vw);

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  color: #ffffff;
  background: var(--ludik-purple-dark);
}

/* ================================
   IMAGE
   ================================ */

.ludik-factory-hero-image {
  position: absolute;
  z-index: -2;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  filter:
    saturate(.72)
    contrast(1.06);

  transform: scale(1.01);
}

/* ================================
   DÉGRADÉ DE LISIBILITÉ
   ================================ */

.ludik-factory-hero::after {
  content: "";

  position: absolute;
  z-index: -1;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(21, 17, 22, .08) 0%,
      rgba(21, 17, 22, .34) 42%,
      rgba(21, 17, 22, .94) 100%
    );
}

/* ================================
   CONTENEUR
   ================================ */

.ludik-factory-hero-inner {
  width: min(
    var(--ludik-max),
    calc(100% - 44px)
  );

  margin: 0 auto;
}

.ludik-factory-hero-copy {
  position: relative;
  z-index: 2;

  width: min(950px, 100%);

  padding: 120px 0 90px;
}

/* ================================
   CONTENU
   Typographie héritée du global
   ================================ */

.ludik-factory-hero h1 {
  margin: 20px 0 0;

  color: #ffffff !important;
}

.ludik-factory-hero h1 em {
  display: block;

  color: var(--ludik-gold-light);
}

.ludik-factory-hero-description {
  max-width: 670px;
  margin: 24px 0 0;

  color: rgba(255, 255, 255, .74);
}

/* ================================
   ACTIONS
   Boutons hérités du global
   ================================ */

.ludik-factory-hero-actions {
  margin-top: 30px;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ================================
   TABLETTE
   ================================ */

@media (max-width: 999px) {
  .ludik-factory-hero {
    min-height: 760px;
  }

  .ludik-factory-hero-image {
    object-position: 58% center;
  }

  .ludik-factory-hero-copy {
    width: min(760px, 88%);

    padding-top: 110px;
    padding-bottom: 75px;
  }
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 600px) {
  .ludik-factory-hero {
    min-height: 720px;
  }

  .ludik-factory-hero-image {
    object-position: 61% center;
  }

  .ludik-factory-hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(21, 17, 22, .08) 0%,
        rgba(21, 17, 22, .22) 25%,
        rgba(21, 17, 22, .68) 58%,
        var(--ludik-purple-dark) 100%
      );
  }

  .ludik-factory-hero-inner {
    width: calc(100% - 28px);
  }

  .ludik-factory-hero-copy {
    width: 100%;

    padding-top: 150px;
    padding-bottom: 50px;
  }

  .ludik-factory-hero-description {
    margin-top: 20px;
  }

  .ludik-factory-hero-actions {
    margin-top: 25px;

    display: grid;
    grid-template-columns: 1fr;
  }

  .ludik-factory-hero-actions .ludik-btn {
    width: 100%;
  }
}



/* ================================
   PAGE LUDIK FACTORY
   BLOC 2 — BARRE DORÉE
   ================================ */

/* ================================
   NEUTRALISATION DIVI
   ================================ */

.et_pb_section:has(.ludik-factory-ribbon),
.et_pb_row:has(.ludik-factory-ribbon),
.et_pb_column:has(.ludik-factory-ribbon),
.et_pb_code:has(.ludik-factory-ribbon),
.et_pb_code_inner:has(.ludik-factory-ribbon) {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  overflow: visible !important;
}

.et_pb_row:has(.ludik-factory-ribbon) {
  width: 100% !important;
}

/* ================================
   BARRE
   ================================ */

.ludik-factory-ribbon {
  position: relative;
  z-index: 5;

  width: 100vw;
  margin-left: calc(50% - 50vw);

  color: var(--ludik-purple-dark);
  background: var(--ludik-cream);
}

/* ================================
   CONTENEUR
   ================================ */

.ludik-factory-ribbon-inner {
  width: min(
    var(--ludik-max),
    100%
  );

  margin: 0 auto;

  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
}

/* ================================
   LIENS
   ================================ */

.ludik-factory-ribbon a {
  position: relative;

  min-width: 0;
  min-height: 108px;

  padding: 25px 27px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  color: inherit;

  border-right:
    1px solid rgba(33, 17, 44, .18);

  transition:
    color .2s ease,
    background .2s ease,
    padding .2s ease;
}

.ludik-factory-ribbon a:last-child {
  border-right: 0;
}

.ludik-factory-ribbon a::after {
  content: "→";

  position: absolute;

  right: 24px;
  bottom: 23px;

  color: rgba(33, 17, 44, .48);

  font-size: 1rem;
  font-weight: 900;
  line-height: 1;

  transition:
    color .2s ease,
    transform .2s ease;
}

.ludik-factory-ribbon a:hover,
.ludik-factory-ribbon a:focus-visible {
  color: #ffffff;
  background: var(--ludik-purple-dark);

  padding-left: 32px;
}

.ludik-factory-ribbon a:hover::after,
.ludik-factory-ribbon a:focus-visible::after {
  color: var(--ludik-gold-light);

  transform: translateX(4px);
}

/* ================================
   CONTENU
   ================================ */

.ludik-factory-ribbon strong {
  display: block;

  padding-right: 35px;

  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}

.ludik-factory-ribbon span {
  display: block;

  max-width: 210px;
  margin-top: 7px;
  padding-right: 28px;

  color: currentColor;

  font-size: .77rem;
  font-weight: 700;
  line-height: 1.45;

  opacity: .72;
}

/* ================================
   TABLETTE
   ================================ */

@media (max-width: 999px) {
  .ludik-factory-ribbon-inner {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .ludik-factory-ribbon a {
    border-bottom:
      1px solid rgba(33, 17, 44, .18);
  }

  .ludik-factory-ribbon a:nth-child(2) {
    border-right: 0;
  }

  .ludik-factory-ribbon a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 600px) {
  .ludik-factory-ribbon-inner {
    grid-template-columns: 1fr;
  }

  .ludik-factory-ribbon a {
    min-height: 88px;
    padding: 20px 18px;

    border-right: 0;
    border-bottom:
      1px solid rgba(33, 17, 44, .18);
  }

  .ludik-factory-ribbon a:nth-child(2) {
    border-bottom:
      1px solid rgba(33, 17, 44, .18);
  }

  .ludik-factory-ribbon a:nth-last-child(2) {
    border-bottom:
      1px solid rgba(33, 17, 44, .18);
  }

  .ludik-factory-ribbon a:last-child {
    border-bottom: 0;
  }

  .ludik-factory-ribbon a:hover,
  .ludik-factory-ribbon a:focus-visible {
    padding-left: 23px;
  }

  .ludik-factory-ribbon strong {
    font-size: 1.2rem;
  }

  .ludik-factory-ribbon span {
    max-width: calc(100% - 45px);
  }

  .ludik-factory-ribbon a::after {
    right: 18px;
    bottom: 50%;

    transform: translateY(50%);
  }

  .ludik-factory-ribbon a:hover::after,
  .ludik-factory-ribbon a:focus-visible::after {
    transform:
      translateX(4px)
      translateY(50%);
  }
}

/* ================================
   PAGE LUDIK FACTORY
   BLOC 3 — L’ESPRIT FACTORY
   ================================ */

/* ================================
   NEUTRALISATION DIVI
   ================================ */

.et_pb_section:has(.ludik-factory-story),
.et_pb_row:has(.ludik-factory-story),
.et_pb_column:has(.ludik-factory-story),
.et_pb_code:has(.ludik-factory-story),
.et_pb_code_inner:has(.ludik-factory-story) {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  overflow: visible !important;
}

.et_pb_row:has(.ludik-factory-story) {
  width: 100% !important;
}

/* ================================
   SECTION
   ================================ */

.ludik-factory-story {
  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);

  padding: 118px 0;

  overflow: hidden;

  color: #ffffff;
  background: var(--ludik-purple-dark);
}

.ludik-factory-story::before {
  content: "";

  position: absolute;

  top: -230px;
  left: -190px;

  width: 470px;
  height: 470px;

  border:
    1px solid rgba(230, 206, 182, .12);

  border-radius: 50%;

  box-shadow:
    0 0 0 55px rgba(230, 206, 182, .025),
    0 0 0 110px rgba(230, 206, 182, .018);

  pointer-events: none;
}

/* ================================
   CONTENEUR
   ================================ */

.ludik-factory-story-inner {
  position: relative;
  z-index: 2;

  width: min(
    var(--ludik-max),
    calc(100% - 44px)
  );

  margin: 0 auto;

  display: grid;
  grid-template-columns:
    minmax(280px, .8fr)
    minmax(0, 1.2fr);

  gap: 85px;
  align-items: center;
}

/* ================================
   INTRODUCTION
   ================================ */

.ludik-factory-story-intro {
  max-width: 520px;
}

.ludik-factory-story h2 {
  margin: 18px 0 0;

  color: #ffffff !important;
}

.ludik-factory-story h2 em {
  display: block;

  color: var(--ludik-gold-light);
}

.ludik-factory-story-intro > p {
  margin: 25px 0 0;

  color: rgba(255, 255, 255, .66);
}

/* ================================
   CITATION
   ================================ */

.ludik-factory-story-quote {
  position: relative;

  margin: 0;
  padding: 20px 0 20px 58px;

  border-left:
    1px solid rgba(230, 206, 182, .32);
}

.ludik-factory-story-quote > span {
  position: absolute;

  top: -25px;
  left: 35px;

  color: rgba(230, 206, 182, .18);

  font-family: var(--font-title);
  font-size: 8rem;
  font-weight: 600;
  line-height: 1;

  pointer-events: none;
}

.ludik-factory-story-quote p {
  position: relative;
  z-index: 2;

  max-width: 760px;
  margin: 0;

  color: #ffffff;

  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -.025em;
}

.ludik-factory-story-quote em {
  color: var(--ludik-gold-light);
}

/* ================================
   TABLETTE
   ================================ */

@media (max-width: 999px) {
  .ludik-factory-story {
    padding: 94px 0;
  }

  .ludik-factory-story-inner {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .ludik-factory-story-intro {
    max-width: 700px;
  }

  .ludik-factory-story-quote {
    max-width: 820px;
  }
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 600px) {
  .ludik-factory-story {
    padding: 78px 0;
  }

  .ludik-factory-story-inner {
    width: calc(100% - 28px);
    gap: 45px;
  }

  .ludik-factory-story-intro > p {
    margin-top: 21px;
  }

  .ludik-factory-story-quote {
    padding:
      28px 0 0 0;

    border-top:
      1px solid rgba(230, 206, 182, .28);

    border-left: 0;
  }

  .ludik-factory-story-quote > span {
    top: -28px;
    left: 0;

    font-size: 6rem;
  }

  .ludik-factory-story-quote p {
    padding-top: 25px;

    font-size: clamp(1.8rem, 9vw, 2.5rem);
    line-height: 1.25;
  }
}


/* ================================
   PAGE LUDIK FACTORY
   BLOC 4 — RESTAURANT & BAR
   ================================ */

/* ================================
   NEUTRALISATION DIVI
   ================================ */

.et_pb_section:has(.ludik-factory-food),
.et_pb_row:has(.ludik-factory-food),
.et_pb_column:has(.ludik-factory-food),
.et_pb_code:has(.ludik-factory-food),
.et_pb_code_inner:has(.ludik-factory-food) {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: visible !important;

  background: transparent !important;
}

.et_pb_row:has(.ludik-factory-food) {
  width: 100% !important;
}

/* ================================
   SECTION
   ================================ */

.ludik-factory-food {
  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 118px 0;

  overflow: hidden;

  color: var(--ludik-ink);
  background: var(--ludik-cream);
}

/* ================================
   CONTENEUR
   ================================ */

.ludik-factory-food-inner {
  width: min(
    var(--ludik-max),
    calc(100% - 44px)
  );

  margin: 0 auto;

  display: grid;
  grid-template-columns:
    minmax(0, 1.12 fr)
    minmax(340px, .88fr);

  gap: 76px;
  align-items: center;
}

/* ================================
   IMAGE
   ================================ */

.ludik-factory-food-media {
  position: relative;

  min-width: 0;
  margin: 0;

  overflow: hidden;

  border-radius:
    42px 42px 9px 42px;

  box-shadow:
    0 28px 70px rgba(38, 28, 40, .16);
}

.ludik-factory-food-media::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 62%,
      rgba(21, 17, 22, .28) 100%
    );
}

.ludik-factory-food-media img {
  width: 100%;
  height: 620px;

  object-fit: cover;
  object-position: center;

  transition:
    transform .7s ease;
}

.ludik-factory-food-media:hover img {
  transform: scale(1.025);
}

/* ================================
   CONTENU
   ================================ */

.ludik-factory-food-copy {
  min-width: 0;
}

.ludik-factory-food .ludik-eyebrow {
  color: var(--ludik-gold);
}

.ludik-factory-food h2 {
  margin: 18px 0 0;

  color: var(--ludik-purple-dark) !important;
}

.ludik-factory-food h2 em {
  display: block;

  color: var(--ludik-gold);
  font-weight: inherit;
}

.ludik-factory-food-intro {
  max-width: 570px;
  margin: 25px 0 0;

  color: var(--ludik-muted);
}

/* ================================
   LIGNES DU MENU
   ================================ */

.ludik-factory-food-list {
  margin-top: 36px;

  border-top:
    1px solid rgba(38, 28, 40, .14);
}

.ludik-factory-food-line {
  padding: 20px 0;

  display: grid;
  grid-template-columns:
    minmax(120px, .75fr)
    minmax(0, 1fr);

  gap: 28px;
  align-items: center;

  border-bottom:
    1px solid rgba(38, 28, 40, .14);
}

.ludik-factory-food-line strong {
  color: var(--ludik-purple-dark);

  font-weight: 800;
  line-height: 1.35;
}

.ludik-factory-food-line span {
  color: var(--ludik-muted);

  line-height: 1.5;
  text-align: right;
}

/* ================================
   ACTIONS
   ================================ */

.ludik-factory-food-actions {
  margin-top: 32px;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ludik-factory-food-actions .ludik-btn-light {
  color: var(--ludik-purple-dark);
  background: #ffffff;

  border:
    1px solid rgba(38, 28, 40, .15);

  box-shadow:
    0 9px 22px rgba(38, 28, 40, .07);
}

.ludik-factory-food-actions .ludik-btn-light:hover,
.ludik-factory-food-actions .ludik-btn-light:focus-visible {
  color: #ffffff;
  background: var(--ludik-purple);

  border-color:
    var(--ludik-purple);
}

/* ================================
   TABLETTE
   ================================ */

@media (max-width: 999px) {
  .ludik-factory-food {
    padding: 94px 0;
  }

  .ludik-factory-food-inner {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .ludik-factory-food-media {
    width: min(760px, 100%);
  }

  .ludik-factory-food-media img {
    height: 540px;
  }

  .ludik-factory-food-copy {
    max-width: 720px;
  }
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 600px) {
  .ludik-factory-food {
    padding: 78px 0;
  }

  .ludik-factory-food-inner {
    width: calc(100% - 28px);
    gap: 43px;
  }

  .ludik-factory-food-media {
    border-radius:
      28px 28px 7px 28px;
  }

  .ludik-factory-food-media img {
    height: 390px;
  }

  .ludik-factory-food-intro {
    margin-top: 21px;
  }

  .ludik-factory-food-list {
    margin-top: 30px;
  }

  .ludik-factory-food-line {
    grid-template-columns: 1fr;
    gap: 7px;

    padding: 17px 0;
  }

  .ludik-factory-food-line span {
    text-align: left;
  }

  .ludik-factory-food-actions {
    margin-top: 27px;

    display: grid;
    grid-template-columns: 1fr;
  }

  .ludik-factory-food-actions .ludik-btn {
    width: 100%;
  }
}



/* ================================
   PAGE LUDIK FACTORY
   BLOC 5 — GALERIE GOURMANDE
   ================================ */

/* ================================
   NEUTRALISATION DIVI
   ================================ */

.et_pb_section:has(.ludik-factory-gallery),
.et_pb_row:has(.ludik-factory-gallery),
.et_pb_column:has(.ludik-factory-gallery),
.et_pb_code:has(.ludik-factory-gallery),
.et_pb_code_inner:has(.ludik-factory-gallery) {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  overflow: visible !important;
}

.et_pb_row:has(.ludik-factory-gallery) {
  width: 100% !important;
}
/* ================================
   MINI-JEU — CARTE DES TAPAS
   ================================ */

.ludik-factory-gallery-sr-only {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;

  border: 0 !important;
}

.ludik-factory-gallery-item-tapas {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(199, 156, 113, .22),
      transparent 34%
    ),
    var(--ludik-cream);
}

/* Le voile normal de la galerie est recréé dans la couverture */
.ludik-factory-gallery-item-tapas::after {
  display: none;
}

/* ================================
   CARTE CACHÉE
   ================================ */

.ludik-factory-tapas-secret-card {
  position: absolute;
  z-index: 1;

  inset: 0;
  padding: 27px 22px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  color: var(--ludik-ink);

  opacity: .12;
  pointer-events: none;

  transform:
    scale(.94)
    rotate(-1deg);

  transition:
    opacity .45s ease .38s,
    transform .55s ease .38s;
}

.ludik-factory-tapas-secret-kicker {
  color: var(--ludik-gold);

  font-size: .57rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ludik-factory-tapas-secret-symbol {
  width: 38px;
  height: 38px;
  margin-top: 16px;

  display: grid;
  place-items: center;

  color: var(--ludik-gold);
  background:
    rgba(199, 156, 113, .13);

  border:
    1px solid rgba(199, 156, 113, .3);

  border-radius: 50%;

  font-size: .9rem;
}

.ludik-factory-tapas-secret-title {
  display: block;
  margin-top: 17px;

  color: var(--ludik-purple-dark);

  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.05;
}

.ludik-factory-tapas-secret-card p {
  margin: 13px 0 0;

  color: var(--ludik-muted);

  font-size: .72rem;
  font-weight: 600;
  line-height: 1.48;
}

.ludik-factory-tapas-secret-card p + p {
  margin-top: 8px;
}

.ludik-factory-tapas-secret-link {
  margin-top: 17px;
  padding-bottom: 5px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--ludik-purple-dark);

  border-bottom:
    1px solid rgba(64, 36, 90, .3);

  font-size: .67rem;
  font-weight: 900;
  line-height: 1.3;
}

.ludik-factory-tapas-secret-link span {
  color: var(--ludik-gold);

  transition:
    transform .2s ease;
}

.ludik-factory-tapas-secret-link:hover span,
.ludik-factory-tapas-secret-link:focus-visible span {
  transform:
    translateX(4px);
}

/* ================================
   PHOTO QUI TOMBE
   ================================ */

.ludik-factory-tapas-cover {
  position: absolute;
  z-index: 2;

  inset: 0;

  overflow: hidden;

  background:
    var(--ludik-purple-dark);

  transform-origin:
    50% 100%;

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.ludik-factory-tapas-cover::after {
  content: "";

  position: absolute;
  z-index: 1;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(21, 17, 22, .76) 100%
    );

  transition:
    opacity .3s ease;
}

.ludik-factory-tapas-cover > img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.ludik-factory-tapas-cover figcaption {
  z-index: 3;
}

.ludik-factory-tapas-trigger {
  position: absolute;
  z-index: 4;

  inset: 0;

  width: 100%;
  height: 100%;
  padding: 0;

  appearance: none;

  background: transparent;
  border: 0;

  cursor: pointer;
}

.ludik-factory-tapas-trigger:focus-visible {
  outline:
    3px solid var(--ludik-gold-light);

  outline-offset: -7px;
}

/* Après quatre gestes, la photographie se décroche */
.ludik-factory-gallery-item-tapas.is-loose
.ludik-factory-tapas-cover {
  transform:
    translateY(5px)
    rotate(1.2deg);

  box-shadow:
    -9px 15px 28px rgba(0, 0, 0, .24);
}

/* Cinquième geste */
.ludik-factory-gallery-item-tapas.is-revealed
.ludik-factory-tapas-cover {
  pointer-events: none;

  animation:
    ludik-factory-tapas-fall
    1.05s cubic-bezier(.45, .02, .75, .4)
    forwards;
}

.ludik-factory-gallery-item-tapas.is-revealed
.ludik-factory-tapas-secret-card {
  opacity: 1;
  pointer-events: auto;

  transform:
    scale(1)
    rotate(0);
}

/* État restauré après rechargement */
.ludik-factory-gallery-item-tapas.is-restored
.ludik-factory-tapas-cover {
  animation: none;

  transform:
    translateY(125%)
    rotate(8deg);
}

@keyframes ludik-factory-tapas-fall {
  0% {
    transform:
      translateY(5px)
      rotate(1.2deg);
  }

  20% {
    transform:
      translateY(-8px)
      rotate(-2deg);
  }

  42% {
    transform:
      translateY(12px)
      rotate(3deg);
  }

  100% {
    transform:
      translateY(125%)
      rotate(9deg);
  }
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 600px) {
  .ludik-factory-tapas-secret-card {
    padding: 25px;
  }

  .ludik-factory-tapas-secret-title {
    font-size: 1.65rem;
  }

  .ludik-factory-tapas-secret-card p {
    font-size: .76rem;
  }

  .ludik-factory-tapas-secret-link {
    font-size: .72rem;
  }
}

/* ================================
   MOUVEMENTS RÉDUITS
   ================================ */

@media (prefers-reduced-motion: reduce) {
  .ludik-factory-tapas-cover,
  .ludik-factory-tapas-secret-card {
    transition: none;
  }

  .ludik-factory-gallery-item-tapas.is-revealed
  .ludik-factory-tapas-cover {
    animation: none;
    opacity: 0;
  }
}
/* ================================
   SECTION
   ================================ */

.ludik-factory-gallery {
  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);

  padding: 105px 0;

  overflow: hidden;

  color: #ffffff;
  background: var(--ludik-purple-dark);
}

/* ================================
   CONTENEUR
   ================================ */

.ludik-factory-gallery-inner {
  width: min(
    var(--ludik-max),
    calc(100% - 44px)
  );

  margin: 0 auto;
}

/* ================================
   EN-TÊTE
   ================================ */

.ludik-factory-gallery-header {
  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(280px, .65fr);

  gap: 70px;
  align-items: end;
}

.ludik-factory-gallery-header h2 {
  margin: 18px 0 0;

  color: #ffffff !important;
}

.ludik-factory-gallery-header h2 em {
  display: block;

  color: var(--ludik-gold-light);
}

.ludik-factory-gallery-header > p {
  max-width: 440px;
  margin: 0 0 4px;

  color: rgba(255, 255, 255, .64);
}

/* ================================
   COMPOSITION DES PHOTOS
   ================================ */

.ludik-factory-gallery-track {
  margin-top: 48px;

  display: grid;
  grid-template-columns:
    minmax(0, 1.8fr)
    repeat(3, minmax(0, 1fr));

  gap: 8px;

  overflow: hidden;

  border-radius:
    34px 34px 8px 34px;

  background:
    rgba(255, 255, 255, .08);

  outline: none;
}

.ludik-factory-gallery-item {
  position: relative;

  min-width: 0;
  height: 480px;

  margin: 0;

  overflow: hidden;
  isolation: isolate;
}

.ludik-factory-gallery-item::after {
  content: "";

  position: absolute;
  z-index: 1;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(21, 17, 22, .76) 100%
    );
}

.ludik-factory-gallery-item img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  filter:
    saturate(.9)
    contrast(1.03);

  transition:
    filter .45s ease,
    transform .65s ease;
}

.ludik-factory-gallery-item:hover img {
  filter:
    saturate(1.04)
    contrast(1.02);

  transform: scale(1.035);
}

/* ================================
   LÉGENDES
   ================================ */

.ludik-factory-gallery-item figcaption {
  position: absolute;
  z-index: 2;

  right: 20px;
  bottom: 20px;
  left: 20px;

  color: #ffffff;
}

.ludik-factory-gallery-item figcaption span {
  display: block;

  color: var(--ludik-gold-light);

  font-size: .66rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ludik-factory-gallery-item figcaption strong {
  display: block;

  margin-top: 7px;

  color: #ffffff;

  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

/* ================================
   INFORMATIONS MOBILES
   ================================ */

.ludik-factory-gallery-mobile-info {
  display: none;
}

/* ================================
   TABLETTE
   ================================ */

@media (max-width: 999px) {
  .ludik-factory-gallery {
    padding: 92px 0;
  }

  .ludik-factory-gallery-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ludik-factory-gallery-header > p {
    max-width: 680px;
  }

  .ludik-factory-gallery-track {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .ludik-factory-gallery-item {
    height: 370px;
  }

  .ludik-factory-gallery-item:first-child {
    grid-column: 1 / -1;

    height: 480px;
  }
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 600px) {
  .ludik-factory-gallery {
    padding: 76px 0;
  }

  .ludik-factory-gallery-inner {
    width: calc(100% - 28px);
  }

  .ludik-factory-gallery-header {
    gap: 19px;
  }

  .ludik-factory-gallery-track {
    margin-top: 34px;

    display: flex;
    gap: 10px;

    overflow-x: auto;
    overflow-y: hidden;

    border-radius: 0;

    background: transparent;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    scrollbar-width: none;

    overscroll-behavior-x: contain;

    -webkit-overflow-scrolling: touch;
  }

  .ludik-factory-gallery-track::-webkit-scrollbar {
    display: none;
  }

  .ludik-factory-gallery-item,
  .ludik-factory-gallery-item:first-child {
    flex:
      0 0
      calc(100% - 34px);

    height: 345px;

    border-radius:
      25px 25px 7px 25px;

    scroll-snap-align: start;
  }

  .ludik-factory-gallery-item figcaption {
    right: 17px;
    bottom: 17px;
    left: 17px;
  }

  .ludik-factory-gallery-mobile-info {
    margin-top: 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    color: rgba(255, 255, 255, .53);

    font-size: .68rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .ludik-factory-gallery-mobile-info strong {
    color: var(--ludik-gold-light);
  }
}



/* ================================
   PAGE LUDIK FACTORY
   BLOC 7 — GROUPES & ÉVÉNEMENTS
   ================================ */

/* ================================
   NEUTRALISATION DIVI
   ================================ */

.et_pb_section:has(.ludik-factory-groups),
.et_pb_row:has(.ludik-factory-groups),
.et_pb_column:has(.ludik-factory-groups),
.et_pb_code:has(.ludik-factory-groups),
.et_pb_code_inner:has(.ludik-factory-groups) {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  overflow: visible !important;
}

.et_pb_row:has(.ludik-factory-groups) {
  width: 100% !important;
}

/* ================================
   SECTION
   ================================ */

.ludik-factory-groups {
  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);

  overflow: hidden;

  background: #ffffff;
}

/* ================================
   MISE EN PAGE
   ================================ */

.ludik-factory-groups-layout {
  display: grid;
  grid-template-columns:
    minmax(0, .92fr)
    minmax(0, 1.08fr);

  min-height: 850px;
}

/* ================================
   IMAGE
   ================================ */

.ludik-factory-groups-media {
  position: relative;

  min-width: 0;
  min-height: 850px;

  margin: 0;

  overflow: hidden;
}

.ludik-factory-groups-media::after {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(21, 17, 22, .04) 35%,
      rgba(21, 17, 22, .78) 100%
    );
}

.ludik-factory-groups-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* ================================
   LÉGENDE DE L’IMAGE
   ================================ */

.ludik-factory-groups-media figcaption {
  position: absolute;
  z-index: 2;

  right: 45px;
  bottom: 42px;
  left: 45px;

  max-width: 520px;

  color: #ffffff;
}

.ludik-factory-groups-media figcaption span {
  display: block;

  color: var(--ludik-gold-light);

  font-size: .68rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ludik-factory-groups-media figcaption strong {
  display: block;

  margin-top: 10px;

  color: #ffffff;

  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.18;
}

/* ================================
   CONTENU
   ================================ */

.ludik-factory-groups-content {
  padding:
    105px
    max(
      42px,
      calc((100vw - var(--ludik-max)) / 2)
    )
    105px
    76px;

  background: #ffffff;
}

.ludik-factory-groups-header {
  max-width: 650px;
}

.ludik-factory-groups-header h2 {
  margin: 18px 0 0;

  color: var(--ludik-purple-dark) !important;
}

.ludik-factory-groups-header h2 em {
  display: block;

  color: var(--ludik-gold);
}

.ludik-factory-groups-header > p {
  margin: 26px 0 0;

  color: var(--ludik-muted);
}

/* ================================
   FORMATS
   ================================ */

.ludik-factory-groups-formats {
  max-width: 720px;
  margin-top: 45px;

  border-top:
    1px solid var(--ludik-line);
}

.ludik-factory-groups-format {
  display: grid;
  grid-template-columns:
    52px minmax(0, 1fr);

  gap: 25px;

  padding: 28px 0;

  border-bottom:
    1px solid var(--ludik-line);
}

.ludik-factory-groups-number {
  padding-top: 7px;

  color: var(--ludik-gold);

  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .13em;
}

.ludik-factory-groups-format h3 {
  margin: 0;

  color: var(--ludik-purple-dark) !important;
}

.ludik-factory-groups-format p {
  max-width: 570px;
  margin: 12px 0 0;

  color: var(--ludik-muted);
}

.ludik-factory-groups-meta {
  display: block;

  margin-top: 14px;

  color: var(--ludik-purple);

  font-size: .69rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* ================================
   CONCLUSION
   ================================ */

.ludik-factory-groups-bottom {
  max-width: 720px;
  margin-top: 36px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.ludik-factory-groups-bottom p {
  max-width: 430px;
  margin: 0;

  color: var(--ludik-muted);

  font-size: .85rem;
  line-height: 1.65;
}

.ludik-factory-groups-bottom .ludik-btn {
  flex: 0 0 auto;
}

/* ================================
   TABLETTE
   ================================ */

@media (max-width: 999px) {
  .ludik-factory-groups-layout {
    grid-template-columns: 1fr;

    min-height: 0;
  }

  .ludik-factory-groups-media {
    min-height: 580px;
  }

  .ludik-factory-groups-content {
    padding:
      90px
      max(
        22px,
        calc((100vw - var(--ludik-max)) / 2)
      );
  }
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 600px) {
  .ludik-factory-groups-media {
    min-height: 380px;
  }

  .ludik-factory-groups-media figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .ludik-factory-groups-content {
    padding: 75px 14px;
  }

  .ludik-factory-groups-header > p {
    margin-top: 21px;
  }

  .ludik-factory-groups-formats {
    margin-top: 34px;
  }

  .ludik-factory-groups-format {
    grid-template-columns: 35px minmax(0, 1fr);

    gap: 13px;

    padding: 23px 0;
  }

  .ludik-factory-groups-number {
    padding-top: 6px;
  }

  .ludik-factory-groups-format p {
    margin-top: 10px;
  }

  .ludik-factory-groups-bottom {
    margin-top: 30px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ludik-factory-groups-bottom .ludik-btn {
    width: 100%;
  }
}





/* ================================
   PAGE LUDIK FACTORY
   BLOC 8 — CTA FINAL
   ================================ */

/* ================================
   NEUTRALISATION DIVI
   ================================ */

.et_pb_section:has(.ludik-factory-final),
.et_pb_row:has(.ludik-factory-final),
.et_pb_column:has(.ludik-factory-final),
.et_pb_code:has(.ludik-factory-final),
.et_pb_code_inner:has(.ludik-factory-final) {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  overflow: visible !important;
}

.et_pb_row:has(.ludik-factory-final) {
  width: 100% !important;
}

/* ================================
   SECTION
   ================================ */

.ludik-factory-final {
  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);

  padding: 124px 0;

  overflow: hidden;

  color: #ffffff;
  background: var(--ludik-purple-dark);
}

.ludik-factory-final::before {
  content: "";

  position: absolute;

  top: -260px;
  left: 50%;

  width: 620px;
  height: 620px;

  border:
    1px solid rgba(230, 206, 182, .12);

  border-radius: 50%;

  box-shadow:
    0 0 0 75px rgba(230, 206, 182, .025),
    0 0 0 150px rgba(230, 206, 182, .015);

  transform: translateX(-50%);

  pointer-events: none;
}

/* ================================
   CONTENU
   ================================ */

.ludik-factory-final-inner {
  position: relative;
  z-index: 2;

  width: min(
    880px,
    calc(100% - 44px)
  );

  margin: 0 auto;

  text-align: center;
}

.ludik-factory-final h2 {
  margin: 18px 0 0;

  color: #ffffff !important;
}

.ludik-factory-final h2 em {
  display: block;

  color: var(--ludik-gold-light);
}

/* ================================
   DESCRIPTION
   ================================ */

.ludik-factory-final-description {
  max-width: 680px;
  margin: 27px auto 0;

  color: rgba(255, 255, 255, .68);
}

/* ================================
   ACTIONS
   Boutons hérités du global
   ================================ */

.ludik-factory-final-actions {
  margin-top: 34px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ================================
   NOTE
   ================================ */

.ludik-factory-final-note {
  margin: 30px 0 0;

  color: rgba(255, 255, 255, .45);

  font-size: .71rem;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 600px) {
  .ludik-factory-final {
    padding: 86px 0;
  }

  .ludik-factory-final-inner {
    width: calc(100% - 28px);
  }

  .ludik-factory-final-description {
    margin-top: 22px;
  }

  .ludik-factory-final-actions {
    margin-top: 28px;

    display: grid;
    grid-template-columns: 1fr;
  }

  .ludik-factory-final-actions .ludik-btn {
    width: 100%;
  }

  .ludik-factory-final-note {
    margin-top: 25px;

    font-size: .65rem;
  }
}