/* ===================================================
   HAPPY MUSIC EVENT — style.css
   =================================================== */

/* Variables — Palette HME
   Violet Profond  #2D1838  base
   Or Citron       #FFE135  accent principal
   Or Citron Dim   #D4B800  hover / accent secondaire
   Violet Moyen    #3C2249  fond de section alterné
   Violet Mid      #4E2D5E  cartes, bordures */
:root {
  --black: #2D1838;
  --white: #FFF8F5;
  --cream: #FFF8F5;
  --gold: #FFE135;
  --gold-dim: #D4B800;
  --red: #FF6F72;
  --grey: #3C2249;
  --grey-mid: #4E2D5E;
  --text-muted: #FFE135;
  --violet: #FF6F72;
  --violet-light: #FF8E90;
  --gold-vip: #FFE135;
  --cyan: #D4B800;
  --mint: #FFE135;
  --nav-h: 65px;
  --dark: #231229;
  --light: #FFF8F5;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  transition: padding-bottom .45s ease;
}

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,225,53,.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  letter-spacing: .15em;
  color: var(--gold);
  text-decoration: none;
}
.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 26px; height: 1.5px; background: var(--light); transition: .3s; }


/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 80px) 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(255,225,53,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(255,225,53,.08) 0%, transparent 60%),
    var(--black);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,225,53,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,225,53,.06) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-noise {
  position: absolute; inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.hero-waveform {
  position: absolute; bottom: 0; left: 0; right: 0; height: 140px;
  display: flex; align-items: flex-end; gap: 3px;
  padding: 0 48px;
  opacity: .2;
}
.wave-bar {
  flex: 1;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
  animation: wave 1.4s ease-in-out infinite alternate;
}
@keyframes wave {
  from { transform: scaleY(var(--min)); }
  to   { transform: scaleY(var(--max)); }
}

.hero-content { position: relative; z-index: 2; }
.hero-tag {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.hero-tag::before {
  content: ''; display: block;
  width: 40px; height: 1px; background: var(--gold);
}
.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(5rem, 14vw, 13rem);
  line-height: .9;
  letter-spacing: .02em;
  color: var(--white);
}
.hero-title span {
  color: var(--gold);
  text-shadow:
    0 0 40px rgba(255,225,53,.35),
    0 0 80px rgba(255,225,53,.15);
}
.hero-sub {
  margin-top: 32px;
  font-size: 1rem; line-height: 1.7;
  max-width: 420px; opacity: .65;
}
.hero-cta {
  margin-top: 40px;
  display: flex; align-items: center; gap: 24px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--dark);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: .8rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--gold-dim); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,225,53,.4); color: var(--gold);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: .8rem; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(255,225,53,.07); }

.hero-stats {
  position: absolute; right: 48px; bottom: 80px; z-index: 2;
  display: flex; flex-direction: column; gap: 28px; text-align: right;
}
.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.8rem; line-height: 1;
  color: var(--white);
}
.stat-label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }

/* ---- SECTION COMMON ---- */
section { padding: 100px 48px; }
.section-tag {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-tag::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1; letter-spacing: .02em;
}

/* ---- ABOUT ---- */
#about { background: var(--grey); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-top: 60px; align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: var(--grey-mid);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  border: 1px dashed rgba(255,225,53,.25);
  position: relative; overflow: hidden;
  cursor: pointer;
  transition: border-color .2s;
}
.about-image-placeholder:hover { border-color: var(--gold); }
.about-image-placeholder input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.about-image-placeholder img.preview {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.upload-icon { font-size: 2rem; opacity: .3; }
.upload-text { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; opacity: .5; }
.about-frame {
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1px solid rgba(255,225,53,.2);
  pointer-events: none;
}
.about-text p {
  opacity: .7; line-height: 1.8; font-size: .95rem; margin-bottom: 18px;
}
.about-text p:last-child { margin-bottom: 0; }
.skills-list {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.skill-chip {
  border: 1px solid rgba(255,225,53,.3);
  border-radius: 8px;
  color: var(--gold); padding: 6px 16px;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
}

/* ---- SERVICES ---- */
#services { background: var(--black); }
.service-icon {
  margin-bottom: 20px;
}
.service-icon .material-symbols-outlined {
  font-size: 2.75rem;
  color: var(--gold);
  opacity: 1;
  display: block;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 60px;
}
.service-card {
  background: var(--grey);
  border-radius: 12px;
  padding: 40px 32px;
  position: relative; overflow: hidden;
}
.service-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 4rem; color: rgba(255,225,53,.08);
  line-height: 1; margin-bottom: 20px;
}
.service-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem; letter-spacing: .05em;
  color: var(--white); margin-bottom: 14px;
}
.service-desc { font-size: .88rem; opacity: .6; line-height: 1.7; }
.service-price {
  margin-top: 28px;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}

/* ---- GALLERY ---- */
#gallery { background: var(--grey); }
.gallery-intro { max-width: 600px; margin-top: 10px; opacity: .6; line-height: 1.7; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px;
  gap: 4px;
  margin-top: 48px;
}
.gallery-cell {
  background: var(--grey-mid);
  border-radius: 12px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  cursor: pointer;
  border: 1px dashed rgba(255,225,53,.15);
  transition: border-color .2s;
}
.gallery-cell:hover { border-color: rgba(255,225,53,.5); }
.gallery-cell:nth-child(1) { grid-column: span 2; }
.gallery-cell:nth-child(5) { grid-column: span 2; }
.gallery-cell input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.gallery-cell img.preview {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 1;
  transition: opacity 1s ease;
}
.gallery-cell .overlay {
  position: absolute; inset: 0;
  background: rgba(15,15,17,.7); /* --black at 70% */
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.gallery-cell:hover .overlay { opacity: 1; }
.overlay-icon { font-size: 1.5rem; opacity: .8; }
.cell-placeholder { font-size: 1.8rem; opacity: .2; }
.cell-label { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; opacity: .5; }

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,15,17,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 80px rgba(0,0,0,.6);
  transform: scale(.92);
  transition: transform .35s ease;
}
.lightbox.active .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,248,245,.7);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color .2s, transform .2s;
  z-index: 5001;
}
.lightbox-close:hover {
  color: var(--gold);
  transform: scale(1.15);
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,225,53,.12);
  border: 1px solid rgba(255,225,53,.2);
  color: rgba(255,248,245,.8);
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
  z-index: 5001;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,225,53,.25);
  border-color: rgba(255,225,53,.5);
  color: var(--gold);
}
/* Cursor pointer sur les cellules avec image */
.gallery-cell:has(img.preview[style*="display: block"]) {
  cursor: zoom-in;
}

@media (max-width: 600px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 14px; font-size: 2rem; }
}

/* ---- TESTIMONIALS ---- */
#testimonials { background: var(--black); }

/* Wrapper global du carrousel */
.carousel-wrapper {
  position: relative;
  margin-top: 60px;
  padding: 0;
}

/* Zone visible (masque le débordement) */
.carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding-bottom: 2px; /* évite que la bordure basse soit coupée */
}

/* Piste défilante */
.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Carte avis */
.testimonial-card {
  border: none;
  padding: 36px 28px;
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  box-sizing: border-box;
  background: var(--black);
}
.testimonial-card::before {
  content: '"';
  font-family: 'DM Sans', sans-serif;
  font-size: 5rem; line-height: 1;
  color: var(--gold); opacity: .25;
  position: absolute; top: 16px; right: 24px;
  pointer-events: none;
}

.testimonial-text { font-size: .9rem; line-height: 1.8; opacity: .8; font-style: italic; }
.testimonial-author {
  margin-top: 24px; display: flex; align-items: center; gap: 14px;
}
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grey-mid); border: 1px solid rgba(255,225,53,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 500; color: var(--gold);
  flex-shrink: 0;
}
.author-name { font-size: .85rem; font-weight: 500; }
.author-event { font-size: .72rem; opacity: .55; letter-spacing: .1em; text-transform: uppercase; }
.stars { color: #FFE600; font-size: .7rem; margin-bottom: 14px; letter-spacing: .05em; text-shadow: 0 0 8px rgba(255,230,0,.6); }



/* Dots */
.carousel-controls {
  margin-top: 36px;
  display: flex; justify-content: center;
}
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot {
  width: 6px; height: 6px;
  background: rgba(255,225,53,.25);
  border: none; border-radius: 0;
  padding: 0; cursor: pointer;
  transition: background .25s, width .25s;
}
.carousel-dot.active {
  background: var(--gold);
  width: 24px;
}

/* Responsive carrousel */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}
@media (max-width: 700px) {
  .carousel-viewport {
    overflow: hidden;
  }
  .carousel-track {
    gap: 0;
  }
  .testimonial-card {
    flex: 0 0 100%;
  }
}

/* ---- CONTACT ---- */
#contact { background: var(--grey); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; margin-top: 60px; align-items: start;
}
.contact-info h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem; margin-bottom: 20px;
}
.contact-info p { opacity: .65; line-height: 1.8; margin-bottom: 36px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 36px; height: 36px; background: rgba(255,225,53,.1);
  border: 1px solid rgba(255,225,53,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.contact-icon .material-symbols-outlined {
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
.contact-detail-label { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; opacity: .55; margin-bottom: 4px; }
.contact-detail-value { font-size: .9rem; }

/* ---- FORM ---- */
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 2px; }
.form-group { position: relative; }
.form-group label {
  display: block;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; opacity: .8;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  color: var(--white);
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--white); opacity: .55; }

/* ---- MENU DÉROULANT CUSTOM (type d'événement) ---- */
.custom-select { position: relative; }

/* Déclencheur : identique aux autres champs (fond, bordure, rayon, police) */
.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  color: var(--white);
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  text-align: left;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s;
}
.custom-select-trigger:hover { border-color: var(--gold-dim); }
.custom-select.open .custom-select-trigger,
.custom-select-trigger:focus-visible { border-color: var(--gold); }

.custom-select-value { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.custom-select-value.is-placeholder { color: var(--white); opacity: .55; }

/* Flèche pêche, pivote à l'ouverture */
.custom-select-arrow {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform .25s ease;
}
.custom-select.open .custom-select-arrow { transform: rotate(180deg); }

/* Panneau d'options */
.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 240px;
  overflow-y: auto;
  background: var(--dark);
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  outline: none;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.custom-select.open .custom-select-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.custom-select-option {
  padding: 11px 14px;
  border-radius: 6px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.custom-select-option.active { background: rgba(232, 181, 160, .14); }
.custom-select-option.selected,
.custom-select-option:hover { background: var(--gold); color: var(--dark); }

/* Scrollbar discrète dans la palette */
.custom-select-options::-webkit-scrollbar { width: 8px; }
.custom-select-options::-webkit-scrollbar-thumb { background: var(--grey-mid); border-radius: 8px; }

.form-field-mb { margin-bottom: 2px; }
.field-error {
  display: block;
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin-top: 6px; min-height: 1em;
}

.form-submit {
  width: 100%;
  background: var(--gold); color: var(--dark);
  border: none; border-radius: 8px; padding: 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 2px;
}
.form-submit:hover { background: var(--gold-dim); transform: translateY(-1px); }
.form-submit:active { transform: translateY(0); }
.form-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.form-submit:disabled:hover { background: var(--gold); transform: none; }

/* ── Focus clavier visible sur les cases de consentement RGPD ──
   Vaut pour le formulaire de contact ET le modal « Exercer mes droits ».
   On combine :focus-visible (navigation clavier native) et :focus.
   Pourquoi :focus en plus ? Dans le modal, le focus est déplacé par script
   (gestionnaire Tab), or Safari/WebKit n'applique PAS :focus-visible sur un
   focus programmatique : la case recevait le focus sans aucun contour, donnant
   l'impression qu'elle était sautée au TAB. */
.form-rgpd input[type="checkbox"]:focus-visible,
.form-rgpd input[type="checkbox"]:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form .form-submit:focus-visible,
.rgpd-contact-form .form-submit:focus-visible,
.rgpd-contact-form .form-submit:focus {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.form-success {
  display: none;
  background: rgba(255,225,53,.08);
  border: 1px solid rgba(255,225,53,.25);
  border-radius: 8px;
  padding: 20px; text-align: center;
  color: #39FF14; font-size: .9rem; margin-top: 2px;
  text-shadow: 0 0 8px rgba(57,255,20,.5);
}
.form-success.visible { display: block; }

/* ---- DATE PICKER ---- */
.input-date-wrap {
  position: relative;
}
.input-date-wrap input[type="text"] {
  padding-right: 48px;
}
.date-icon-btn {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 46px;
  background: none;
  border: none;
  border-left: 1px solid var(--grey-mid);
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, border-color .2s;
  z-index: 1;
}
.date-icon-btn:hover {
  color: var(--gold);
  border-left-color: var(--gold);
}
@media (min-width: 769px) {
  .date-icon-btn { display: none; }
  .input-date-wrap input[type="text"] { padding-right: 16px; }
}

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,225,53,.2);
  padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--light);
}
.footer-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem; color: var(--gold); letter-spacing: .1em;
}
.footer-copy { font-size: .72rem; opacity: .5; letter-spacing: .1em; }
.footer-socials { display: flex; gap: 16px; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,225,53,.3);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--light);
  font-size: .85rem; opacity: .5; transition: opacity .2s, border-color .2s;
}
.social-btn:hover { opacity: 1; border-color: var(--gold); }

/* ---- COOKIE CONSENT ---- */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0; right: 0;
  z-index: 9999;
  background: var(--grey);
  border-top: 1px solid rgba(255,225,53,.25);
  padding: 20px 48px;
  transition: bottom .45s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -8px 40px rgba(0,0,0,.1);
}
.cookie-banner.visible { bottom: 0; }

.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem; letter-spacing: .08em;
  color: var(--white); margin-bottom: 6px;
}
.cookie-desc {
  font-size: .78rem; line-height: 1.6; opacity: .65;
}
.cookie-link {
  color: var(--gold); text-decoration: underline;
  text-underline-offset: 3px; opacity: 1;
  margin-left: 4px;
}
.cookie-link:hover { opacity: .75; }

.cookie-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.cookie-btn {
  display: inline-flex; align-items: center;
  padding: 11px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; cursor: pointer;
  border: none; border-radius: 8px;
  transition: background .2s, transform .15s, opacity .2s;
  white-space: nowrap;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn:active { transform: translateY(0); }
.cookie-btn--accept {
  background: var(--gold); color: var(--dark);
}
.cookie-btn--accept:hover { background: var(--gold-dim); }
.cookie-btn--reject {
  background: transparent;
  border: 1px solid rgba(255,225,53,.35);
  color: var(--gold);
}
.cookie-btn--reject:hover { border-color: var(--gold); background: rgba(255,225,53,.07); }
.cookie-btn--settings {
  background: transparent;
  border: 1px solid rgba(255,225,53,.15);
  color: var(--white); opacity: .6;
}
.cookie-btn--settings:hover { opacity: 1; border-color: rgba(255,225,53,.4); }

/* Cookie Modal */
.cookie-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.7);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cookie-overlay.visible { opacity: 1; pointer-events: auto; }

.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(.96);
  z-index: 10001;
  width: min(560px, calc(100vw - 32px));
  background: var(--grey);
  border: 1px solid rgba(255,225,53,.2);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.cookie-modal.visible {
  opacity: 1; pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.cookie-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--grey-mid);
}
.cookie-modal-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem; letter-spacing: .1em; color: var(--white);
}
.cookie-modal-close {
  background: transparent; border: none;
  color: var(--white); opacity: .55; font-size: 1rem;
  cursor: pointer; padding: 4px 8px; line-height: 1;
  transition: opacity .2s;
}
.cookie-modal-close:hover { opacity: 1; }

.cookie-modal-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 0; }
.cookie-modal-intro {
  font-size: .8rem; line-height: 1.7; opacity: .6;
  margin-bottom: 20px;
}

.cookie-category {
  border-top: 1px solid var(--grey-mid);
  padding: 16px 0;
}
.cookie-category:last-child { border-bottom: 1px solid var(--grey-mid); }
.cookie-category-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cookie-category-name {
  display: block;
  font-size: .82rem; font-weight: 500; color: var(--white);
  margin-bottom: 4px;
}
.cookie-category-desc {
  display: block;
  font-size: .73rem; opacity: .5; line-height: 1.5;
}
.cookie-toggle-locked {
  font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); opacity: .7; white-space: nowrap; flex-shrink: 0;
}

/* Toggle switch */
.cookie-toggle {
  position: relative; display: inline-block;
  width: 44px; height: 24px; flex-shrink: 0; cursor: pointer;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
  position: absolute; inset: 0;
  background: var(--grey-mid);
  border: 1px solid rgba(255,225,53,.2);
  border-radius: 24px;
  transition: background .2s;
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 50%; transform: translateY(-50%);
  background: rgba(255,225,53,.4);
  border-radius: 50%;
  transition: transform .2s, background .2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: rgba(255,225,53,.25);
  border-color: var(--gold);
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px) translateY(-50%);
  background: var(--gold);
}

.cookie-modal-footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--grey-mid);
}

/* Responsive cookie */
@media (max-width: 700px) {
  .cookie-banner { padding: 18px 16px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-actions { width: 100%; justify-content: stretch; }
  .cookie-btn { flex: 1; justify-content: center; padding: 11px 12px; font-size: .68rem; }
  .cookie-modal-footer { flex-direction: column; }
  .cookie-modal-footer .cookie-btn { width: 100%; justify-content: center; }
}

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ====================================================
   RESPONSIVE — TABLETTE (≤ 960px)
   ==================================================== */
@media (max-width: 960px) {
  nav { padding: 16px 20px; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; inset: 0;
    background: var(--dark);
    align-items: center; justify-content: center;
    gap: 32px; font-size: 1.1rem; z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; z-index: 201; }

  section { padding: 64px 20px; }
  #hero { padding: var(--nav-h) 20px 64px; min-height: 100svh; }
  .hero-title { font-size: clamp(3.8rem, 15vw, 7rem); }
  .hero-sub { font-size: .92rem; max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-primary, .btn-outline { padding: 13px 24px; font-size: .75rem; width: 100%; justify-content: center; }
  .hero-stats { display: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image-placeholder { aspect-ratio: 4/3; }
  .about-frame { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 2px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 200px); }
  .gallery-cell:nth-child(1),
  .gallery-cell:nth-child(5) { grid-column: span 1; }

  /* Testimonials carousel */
  .carousel-wrapper { margin-top: 40px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 28px 20px; }
}

/* ====================================================
   RESPONSIVE — MOBILE (≤ 600px)
   ==================================================== */
@media (max-width: 600px) {
  /* NAV */
  nav { padding: 14px 16px; }

  /* Sections */
  section { padding: 52px 16px; }
  #hero { padding: var(--nav-h) 16px 60px; }
  .section-tag { font-size: .6rem; }
  .section-title { font-size: clamp(2.2rem, 9vw, 3rem); }

  /* Hero */
  .hero-title { font-size: clamp(3rem, 17vw, 5.5rem); }
  .hero-tag { font-size: .62rem; }
  .hero-sub { font-size: .88rem; margin-top: 20px; }
  .hero-cta { margin-top: 28px; }
  .btn-primary, .btn-outline { padding: 12px 20px; font-size: .72rem; }

  /* About */
  .about-image-placeholder { aspect-ratio: 1/1; }
  .about-text p { font-size: .88rem; }
  .skills-list { gap: 8px; }
  .skill-chip { font-size: .66rem; padding: 5px 12px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 20px; }
  .service-name { font-size: 1.3rem; }
  .service-desc { font-size: .84rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-cell { min-height: 180px; }
  .gallery-cell:nth-child(1),
  .gallery-cell:nth-child(5) { grid-column: span 1; }

  /* Testimonials */
  .carousel-wrapper { margin-top: 32px; }
  .testimonial-card { padding: 24px 18px; }
  .testimonial-card::before { font-size: 3.5rem; top: 10px; right: 16px; }
  .testimonial-text { font-size: .85rem; }
  .author-name { font-size: .8rem; }
  .author-event { font-size: .66rem; }
  .carousel-dot { width: 5px; height: 5px; }
  .carousel-dot.active { width: 18px; }

  /* Contact */
  .contact-info h3 { font-size: 1.6rem; }
  .contact-info p { font-size: .88rem; }
  .contact-item { gap: 12px; }
  .contact-icon { width: 32px; height: 32px; font-size: .8rem; }
  .contact-detail-value { font-size: .85rem; }

  /* Form */
  .form-group label { font-size: .6rem; }
  .form-group input,
  .custom-select-trigger,
  .form-group textarea { padding: 12px 14px; font-size: .88rem; }
  .custom-select-option { font-size: .88rem; }
  .form-group textarea { min-height: 100px; }

  /* Submit */
  .form-submit { padding: 16px; font-size: .78rem; }

  /* Footer */
  footer { padding: 24px 16px; gap: 14px; }
  .footer-logo { font-size: 1.3rem; }
  .footer-copy { font-size: .65rem; }
  .footer-socials { gap: 10px; }
  .social-btn { width: 32px; height: 32px; font-size: .75rem; }
}
/* Surlignage jaune */
.txt-jaune {
  color: #FFD64A;
}