:root {
  --aubergine: #37032b;
  --rose: #ed8d9c;
  --white: #fff;
  --content: 1440px;
  --menu-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--aubergine);
  color: var(--white);
  font-family: "Open Sans", Arial, sans-serif;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.label-mobile { display: none; }

/* Accueil */
.hero {
  min-height: 95vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  background: var(--aubergine);
}
.hero__video {
  width: 100%;
  height: min(85vh, 920px);
  object-fit: contain;
  margin: auto;
}
.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  min-height: 12vh;
  background: var(--aubergine);
}
.hero-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 12px;
  text-decoration: none;
  font-family: "Sugo Pro Classic Trial", Impact, sans-serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  color: var(--white);
  text-shadow: 0 0 2.5vw rgba(255,255,255,.9);
  transition: color .25s ease, background-color .25s ease;
  animation: change-color 4s infinite;
}
.hero-actions a:nth-child(2) { animation-delay: 1.35s; }
.hero-actions a:nth-child(3) { animation-delay: 2.7s; }
.hero-actions a:hover,
.hero-actions a:focus-visible { background: rgba(255,255,255,.06); color: var(--rose); }

@keyframes change-color {
  0%, 100% { color: var(--white); }
  33% { color: var(--rose); }
}

/* Barre fixe */
.sticky-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--menu-height);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: var(--white);
  color: var(--aubergine);
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s;
  box-shadow: 0 5px 20px rgba(0,0,0,.16);
}
.sticky-menu.is-visible { transform: translateY(0); visibility: visible; }
.sticky-menu__brand {
  display: flex;
  align-items: center;
  padding: 0 2.4vw;
  text-decoration: none;
  font-family: "Budmo Jiggler", Impact, sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  color: var(--rose);
  text-shadow: 2px 2px 4px #633c42;
  transform: rotate(-7deg);
}
.sticky-menu__links {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr .65fr;
  align-items: stretch;
  width: min(62%, 900px);
  font-family: "Sugo Pro Classic Trial", Impact, sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2.7rem);
  text-shadow: 1px 1px 2px var(--rose);
}
.sticky-menu__links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  text-decoration: none;
  border-left: 1px solid rgba(55,3,43,.35);
}
.sticky-menu__links a:hover,
.sticky-menu__links a:focus-visible { background: rgba(237,141,156,.22); }
.phone-link { font-size: .9em; }

.page { width: 100%; }

/* Comme chez la Nonna */
.page2 {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(360px, 600px) minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 6rem);
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(4rem, 8vh, 8rem) clamp(2rem, 5vw, 6rem);
  border-bottom: var(--rose) dotted clamp(8px, 1.4vh, 14px);
}
.page2__text { min-width: 0; }
.page2 h2 {
  margin: 0 0 1.5rem;
  font-family: "Sugo Pro Classic Trial", Impact, sans-serif;
  font-size: clamp(3.2rem, 5.2vw, 6.4rem);
  line-height: .95;
}
.page2 h2 strong {
  display: inline-block;
  font-family: "Budmo Jiggler", Impact, sans-serif;
  color: var(--rose);
  transform: rotate(-7deg);
  text-shadow: 0 0 2vw rgba(237,141,192,1);
}
.textep2 p {
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.65;
}

.carousel { position: relative; width: min(100%, 600px); margin: auto; }
.carousel__viewport { overflow: hidden; aspect-ratio: 1; }
.carousel__track { display: flex; height: 100%; transition: transform .55s ease; }
.carousel__slide { flex: 0 0 100%; margin: 0; height: 100%; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(55,3,43,.78);
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.carousel__button--prev { left: 12px; }
.carousel__button--next { right: 12px; }
.carousel__button:hover,
.carousel__button:focus-visible { background: var(--rose); color: var(--aubergine); }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.carousel__dot[aria-current="true"] { background: var(--rose); border-color: var(--rose); }

/* Produits */
.page3 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 10vh, 10rem) clamp(1rem, 4vw, 4rem);
}
.products-video { width: min(92vw, 1244px); height: auto; object-fit: contain; }

/* Squadra */
.page4 {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, .9fr) minmax(180px, .55fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 4rem);
  padding: clamp(3rem, 6vw, 6rem);
  background: url("../images/fond-disco.webp") center / cover no-repeat;
  text-align: center;
  overflow: hidden;
}
.page4__media { display: grid; place-items: center; }
.square-animation { width: 100%; aspect-ratio: 1; object-fit: contain; background: transparent; }
.page4__media--squadra .square-animation { max-width: 620px; }
.page4__media--disco .square-animation { max-width: 360px; }
.page4 h2 {
  margin: 0;
  font-family: "Budmo Jiggler", Impact, sans-serif;
  font-size: clamp(4rem, 6vw, 7rem);
  color: var(--rose);
}
.page4 p { font-size: clamp(1rem, 1.5vw, 1.4rem); line-height: 1.6; }

/* Privatisation */
.page5 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(5rem, 10vh, 10rem) clamp(1rem, 4vw, 4rem);
}
.page5__header { text-align: center; margin-bottom: clamp(2rem, 4vh, 4rem); }
.page5 h2 { margin: 0 0 1.25rem; line-height: .9; }
.page5 h2 span {
  display: inline-block;
  font-family: "Sugo Pro Classic Trial", Impact, sans-serif;
  font-size: clamp(2.8rem, 4vw, 5rem);
  transform: rotate(-3deg);
}
.page5 h2 strong {
  font-family: "Budmo Jiggler", Impact, sans-serif;
  font-size: clamp(3rem, 4.3vw, 5.2rem);
  color: var(--rose);
}
.page5__header p { margin: .25rem 0; font-size: clamp(1rem, 1.2vw, 1.25rem); }
.event-grid {
  width: min(100%, 1320px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 3rem);
}
.event-video { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Horaires et accès */
.page6 {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 42vw) minmax(320px, 1fr) auto;
  align-items: start;
  gap: clamp(2rem, 4vw, 5rem);
  padding: clamp(5rem, 12vh, 11rem) clamp(1.5rem, 3vw, 3rem) 0;
}
.page6__photo {
  min-height: 82vh;
  background: url("../images/photo-squadra.webp") center / cover no-repeat;
  border-radius: 8px;
}
.contact { padding-top: 1rem; }
.contact h2 {
  margin: 0 0 2rem;
  font-family: "Budmo Jiggler", Impact, sans-serif;
  font-size: clamp(4rem, 5.3vw, 6.5rem);
  line-height: .9;
  color: var(--rose);
}
.contact ul { list-style: none; margin: 0; padding: 0; }
.contact li { margin-bottom: 1.3rem; }
.contact h3 {
  margin: 0 0 .3rem;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  text-transform: uppercase;
}
.contact p { margin: 0; font-size: clamp(.95rem, 1.1vw, 1.15rem); line-height: 1.55; }
.contact a { text-decoration: none; }
.contact a:hover,
.contact a:focus-visible { text-decoration: underline; }
.socials > div { display: flex; align-items: center; gap: 14px; }
.socials a { display: block; width: clamp(64px, 7vw, 100px); }
.socials img { width: 100%; height: auto; }
.page6__illustration img { width: min(18vw, 263px); height: auto; }


@media (min-width: 1025px) {
  /* L'illustration de la page Horaires & accès doit toucher le bord droit. */
  .page6 { padding-right: 0; }
  .page6__illustration { justify-self: end; }
  .page6__illustration img { margin-right: 0; }
}

@media (max-width: 1024px) {
  :root { --menu-height: 72px; }
  .label-desktop { display: none; }
  .label-mobile { display: inline; }

  .hero { min-height: 100vh; padding-top: 8vh; }
  .hero__video { width: 100vw; height: auto; aspect-ratio: 1; object-fit: contain; }
  .hero-actions { min-height: 12vh; }
  .hero-actions a { min-height: 84px; font-size: clamp(1.65rem, 6vw, 3rem); }

  .sticky-menu__brand { display: none; }
  .sticky-menu__links { width: 100%; grid-template-columns: 1.35fr 1.35fr 1fr .65fr; font-size: clamp(1.1rem, 4.2vw, 1.8rem); }
  .sticky-menu__links a { padding: 8px 4px; }

  .page2 {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: clamp(4rem, 8vh, 7rem) clamp(1.25rem, 6vw, 4rem);
  }
  .page2__text { order: -1; text-align: left; }
  .page2 h2 { text-align: center; font-size: clamp(3rem, 10vw, 5.5rem); }
  .textep2 p { font-size: clamp(1rem, 4vw, 1.25rem); }
  .carousel { width: min(100%, 730px); }

  .page3 { min-height: 0; padding: clamp(4rem, 8vh, 7rem) 0; }
  .products-video { width: 100%; max-height: none; }

  .page4 {
    min-height: 100vh;
    grid-template-columns: 1fr;
    grid-template-areas: "disco" "text" "squadra";
    align-content: center;
    gap: 1rem;
    padding: clamp(3rem, 8vh, 6rem) 1.25rem;
  }
  .page4__media--disco { grid-area: disco; }
  .page4__text { grid-area: text; }
  .page4__media--squadra { grid-area: squadra; }
  .page4__media--disco .square-animation { width: min(48vw, 260px); }
  .page4__media--squadra .square-animation { width: min(85vw, 620px); }
  .page4 h2 { font-size: clamp(3.8rem, 13vw, 6.5rem); }
  .page4 p { max-width: 680px; margin: .75rem auto; font-size: clamp(1rem, 4vw, 1.3rem); }

  .page5 { min-height: 0; }
  .event-grid { grid-template-columns: 1fr; max-width: 720px; }
  .page5__header p { font-size: clamp(1rem, 4vw, 1.25rem); }

  .page6 {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-areas: "title" "photo" "details";
    gap: 1.5rem;
    padding: clamp(4rem, 8vh, 7rem) clamp(1.25rem, 5vw, 3rem) 3rem;
  }
  .page6__photo { grid-area: photo; min-height: clamp(340px, 105vw, 720px); background-position: center 35%; }
  .contact { display: contents; }
  .contact h2 { grid-area: title; margin: 0; font-size: clamp(4rem, 14vw, 6.5rem); }
  .contact ul { grid-area: details; }
  .contact h3 { font-size: clamp(1rem, 4.2vw, 1.3rem); }
  .contact p { font-size: clamp(1rem, 4vw, 1.2rem); }
  .page6__illustration { display: none; }
  .socials a { width: 72px; }
}

@media (max-width: 520px) {
  .hero { padding-top: 13vh; }
  .hero-actions a { min-height: 76px; font-size: clamp(1.45rem, 6vw, 2rem); }
  .carousel__button { width: 42px; height: 42px; }
  .page5 h2 span { font-size: clamp(2.5rem, 11vw, 4rem); }
  .page5 h2 strong { font-size: clamp(2.65rem, 11vw, 4.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.phone-link span { font-size: 1.25em; line-height: 1; }
