/* ═══════════════════════════════════════════════════════════════
   ZIG NIGHT — Styles
   Palette: Noir #080808 · Cramoisi #A8001C · Or #C9A84C
   ═══════════════════════════════════════════════════════════════ */

:root {
  --black:        #080808;
  --dark:         #0f0f0f;
  --dark-2:       #1a1a1a;
  --dark-3:       #242424;

  --red:          #A8001C;
  --red-light:    #C80023;
  --red-dark:     #7A0015;
  --red-dim:      rgba(168, 0, 28, 0.14);
  --red-border:   rgba(168, 0, 28, 0.28);

  --gold:         #C9A84C;
  --gold-light:   #E2C17A;
  --gold-dim:     rgba(201, 168, 76, 0.15);

  --white:        #FFFFFF;
  --gray:         #666666;
  --gray-light:   #999999;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  --container:    1160px;
  --radius:       3px;
  --transition:   0.3s ease;
}

/* ─── Reset ──────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ─── Utility ────────────────────────────────────────────────── */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.hidden { display: none !important; }

/* ─── Buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}
.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 0, 28, 0.4);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--outline:hover {
  border-color: var(--red);
  color: var(--red-light);
}
.btn--full { width: 100%; justify-content: center; }

/* ─── Section headers ─────────────────────────────────────────── */

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.section-sub {
  margin-top: 20px;
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
}

/* ─── Reveal ─────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(168, 0, 28, 0.2);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1); /* logo blanc */
  transition: opacity var(--transition);
}
.nav__logo:hover img { opacity: 0.8; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}
.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh; width: 260px;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    border-left: 1px solid var(--dark-3);
    transition: right 0.4s ease;
  }
  .nav__links.open { right: 0; }
  .nav__link { font-size: 14px; }
  .nav__burger { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fond de carreaux — texture signature Zig Night */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/images/fond-tiles.jpg');
  background-size: cover;
  background-position: center;
}

/* Overlay dégradé : opaque en bas pour la transition vers le contenu */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 8, 8, 0.72) 0%,
    rgba(60, 0, 10, 0.55) 45%,
    rgba(8, 8, 8, 0.92) 100%
  );
}


.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: heroFadeIn 1.4s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo principal dans le hero */
.hero__logo {
  width: min(280px, 55vw);
  height: auto;
  margin: 0 auto 40px;
  filter: brightness(0) invert(1);
  display: block;
}

.hero__divider {
  width: 50px;
  height: 1px;
  background: var(--red);
  margin: 0 auto 40px;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  letter-spacing: 0.06em;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  transition: color var(--transition);
}
.hero__scroll:hover { color: var(--red-light); }
.hero__scroll-text {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gray), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}


/* ═══════════════════════════════════════════════════════════════
   PROCHAINE SOIRÉE
   ═══════════════════════════════════════════════════════════════ */

.next-event { padding: 60px 0; }

.next-event__card {
  display: grid;
  grid-template-columns: 420px 1fr;
  border: 1px solid rgba(168, 0, 28, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 600px;
}

/* ── Poster visuel ── */
.next-event__visual {
  position: relative;
  overflow: hidden;
}
.next-event__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.next-event__info {
  padding: 52px 56px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.next-event__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-light);
  border: 1px solid var(--red-border);
  padding: 5px 14px;
  border-radius: 2px;
}

.next-event__name {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.next-event__date {
  font-size: 15px;
  color: var(--red-light);
  font-weight: 500;
}

.next-event__venue {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-light);
}
.next-event__venue svg { color: var(--red); flex-shrink: 0; }

.next-event__subtitle {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  margin-top: -6px;
}

.next-event__desc {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
  margin-top: 4px;
}

/* Artistes */
.next-event__artists {
  border-top: 1px solid var(--dark-3);
  border-bottom: 1px solid var(--dark-3);
  padding: 16px 0;
  width: 100%;
}
.artists__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 8px;
}
.artists__list {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
}

/* Dress code */
.next-event__dresscode {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.dresscode__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-light);
  white-space: nowrap;
}
.dresscode__value {
  font-size: 13px;
  color: var(--gray-light);
}

/* Compte à rebours — superposé en haut du poster, fond transparent */
.next-event__countdown {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 24px 28px;
  background: rgba(8, 8, 8, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.countdown__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-light);
  position: relative;
}

.countdown__grid {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.countdown__item { text-align: center; }

.countdown__value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  min-width: 60px;
}

.countdown__unit {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

.countdown__sep {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--red);
  opacity: 0.5;
  align-self: flex-start;
  padding-top: 2px;
}

@media (max-width: 960px) {
  .next-event__card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .next-event__visual {
    height: 420px;
  }
  .next-event__info {
    padding: 40px 32px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   INSCRIPTION
   ═══════════════════════════════════════════════════════════════ */

.registration {
  padding: 60px 0;
  background: var(--dark);
  position: relative;
}
.section-date-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 5px 16px;
  border-radius: 2px;
}

.registration::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
}

.registration__wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.registration__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.required { color: var(--red-light); }

.form-group input,
.form-group select {
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option {
  background: var(--dark-2);
  color: var(--white);
}
.form-group select option:disabled { color: var(--gray); }
.form-group input::placeholder { color: var(--gray); }
.form-group input:focus,
.form-group select:focus {
  border-color: rgba(168, 0, 28, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 0, 28, 0.1);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}
.form-check label {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
  cursor: pointer;
}

.form-success {
  text-align: center;
  padding: 48px 32px;
  background: var(--dark-2);
  border: 1px solid var(--red-border);
  border-radius: var(--radius);
}
.form-success__icon {
  font-size: 36px;
  color: var(--red-light);
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 12px;
}
.form-success p { color: var(--gray-light); font-size: 14px; }

.form-error {
  text-align: center;
  padding: 20px;
  background: rgba(168, 0, 28, 0.1);
  border: 1px solid rgba(168, 0, 28, 0.3);
  border-radius: var(--radius);
  color: #ff6b6b;
  font-size: 14px;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   ÉDITIONS PASSÉES
   ═══════════════════════════════════════════════════════════════ */

.editions { padding: 60px 0; }

.editions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.edition-card {
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.edition-card:hover {
  transform: translateY(-6px);
  border-color: var(--red-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(168,0,28,0.1);
}

.edition-card__cover {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--dark-2);
}
.edition-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.85);
}
.edition-card:hover .edition-card__cover img {
  transform: scale(1.05);
  filter: saturate(1);
}
.edition-card__cover-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
}
.edition-card__cover-placeholder svg {
  width: 48px; height: 48px;
  color: rgba(168, 0, 28, 0.3);
}
.edition-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.75) 0%, transparent 55%);
}
.edition-card__num {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9);
  background: rgba(168,0,28,0.75);
  padding: 4px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.edition-card__body { padding: 24px; }

.edition-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}
.edition-card__date {
  font-size: 12px;
  color: var(--red-light);
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 6px;
}
.edition-card__venue {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 20px;
}
.edition-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.edition-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 9px 18px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.edition-card__link:hover {
  background: var(--red-light);
  transform: translateX(2px);
}
.edition-card__link svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   INSTAGRAM FEED
   ═══════════════════════════════════════════════════════════════ */

.instagram__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.instagram__handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color var(--transition);
}
.instagram__handle:hover { color: var(--red-light); }
.instagram__handle svg { color: var(--red-light); }

.instagram__behold { width: 100%; }

.instagram__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
}

.instagram__cell {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--dark-2);
}
.instagram__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: saturate(0.85);
}
.instagram__cell:hover img {
  transform: scale(1.06);
  filter: saturate(1);
}
.instagram__cell-overlay {
  position: absolute;
  inset: 0;
  background: rgba(168, 0, 28, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.instagram__cell:hover .instagram__cell-overlay { opacity: 1; }

.instagram__cta { margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */

.contact {
  padding: 60px 0;
  background: var(--dark);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius);
  text-align: center;
  color: var(--white);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.contact__card:hover {
  border-color: var(--red-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.contact__card-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red-border);
  border-radius: 50%;
  color: var(--red-light);
  transition: background var(--transition);
}
.contact__card:hover .contact__card-icon { background: var(--red-dim); }
.contact__card-icon svg { width: 22px; height: 22px; }

.contact__card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
}
.contact__card p {
  font-size: 13px;
  color: var(--gray-light);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--dark-3);
  text-align: center;
}
.footer__logo {
  display: block;
  margin: 0 auto 24px;
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity var(--transition);
}
.footer__logo:hover { opacity: 0.8; }

.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 28px;
}
.footer__nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--red-light); }

.footer__copy {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════════════════════════════ */

/* Touch UX global */
a, button { -webkit-tap-highlight-color: transparent; }
a, button, input, select, label { touch-action: manipulation; }
.nav__burger { padding: 12px; margin: -8px; } /* zone de tap élargie */

/* ── ≤ 960px : passage en 1 colonne pour le bloc prochaine soirée */
@media (max-width: 960px) {
  .next-event__card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .next-event__visual { height: 420px; }
  .next-event__info   { padding: 40px 32px; }
}

/* ── ≤ 640px ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .next-event   { padding: 44px 0; }
  .registration { padding: 44px 0; }
  .editions     { padding: 44px 0; }
  .contact      { padding: 44px 0; }

  .editions__grid { grid-template-columns: 1fr; }
  .countdown__grid { gap: 8px; }
  .countdown__value { min-width: 52px; font-size: 34px; }
}

/* ── ≤ 560px : formulaire pleine largeur */
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── ≤ 480px : optimisation téléphone ───────────────────────── */
@media (max-width: 480px) {
  /* Container */
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 30px; }

  /* Hero */
  .hero__logo {
    width: min(200px, 58vw);
    margin-bottom: 24px;
  }
  .hero__divider { margin-bottom: 24px; }
  .hero__tagline {
    font-size: 24px;
    margin-bottom: 28px;
    padding: 0 8px;
  }
  /* CTA pleine largeur sur mobile */
  .hero__content .btn {
    width: 100%;
    justify-content: center;
    padding: 18px 20px;
    font-size: 11px;
  }

  /* Prochaine soirée */
  .next-event { padding: 32px 0; }
  .next-event__visual { height: 280px; }
  .next-event__info {
    padding: 22px 16px;
    gap: 12px;
  }
  .next-event__name { font-size: 26px; }
  .next-event__desc { font-size: 13px; }

  /* Countdown */
  .next-event__countdown { padding: 12px 10px; gap: 8px; }
  .countdown__grid { gap: 4px; }
  .countdown__value { font-size: 22px; min-width: 36px; }
  .countdown__unit  { font-size: 7px; letter-spacing: 0.1em; }
  .countdown__sep   { display: none; }

  /* Formulaire */
  .registration { padding: 32px 0; }
  .form-group input,
  .form-group select {
    padding: 16px;
    font-size: 16px;   /* évite le zoom auto iOS */
    min-height: 52px;
  }
  .btn--full {
    padding: 18px;
    font-size: 12px;
    min-height: 56px;
  }

  /* Éditions */
  .editions { padding: 32px 0; }
  .editions__grid { gap: 14px; }
  .edition-card__cover { height: 200px; }
  .edition-card__body  { padding: 18px; }
  .edition-card__link  { width: 100%; justify-content: center; }

  /* Contact / Instagram */
  .contact { padding: 32px 0; }
  .instagram__handle { font-size: 14px; }
  .instagram__wrapper { gap: 24px; }

  /* Footer */
  .footer { padding: 32px 0; }
  .footer__nav { gap: 16px; flex-direction: column; align-items: center; }
}

/* ── ≤ 380px : tout petits écrans ────────────────────────────── */
@media (max-width: 380px) {
  .countdown__value { font-size: 20px; min-width: 30px; }
  .next-event__name { font-size: 22px; }
  .section-title    { font-size: 26px; }
}
