/* ============================================
   LE FENNEC — Buffet à volonté algérien
   ============================================ */

:root {
  --black: #0b0a08;
  --black-soft: #161310;
  --black-card: #1c1814;
  --gold: #cc6b2c;
  --gold-light: #f0a565;
  --gold-dim: #8a4a1a;
  --sand: #e9dcc0;
  --text: #f2ede2;
  --text-muted: #b7ac97;
  --border: rgba(204, 107, 44, 0.25);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 4px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold-dim);
}

.section {
  padding: 100px 0;
}
.section--tight {
  padding: 70px 0;
}
.section--alt {
  background: var(--black-soft);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--sand);
}
.section-head p {
  color: var(--text-muted);
  margin-top: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #17130d;
  font-weight: 600;
}
.btn--gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.btn--outline {
  border-color: var(--gold-dim);
  background: rgba(204, 107, 44, 0.08);
  color: var(--sand);
}
.btn--outline:hover {
  border-color: var(--gold);
  background: rgba(204, 107, 44, 0.15);
  color: var(--gold-light);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.35s ease;
  background: linear-gradient(to bottom, rgba(11,10,8,0.85), transparent);
}
.navbar.is-scrolled {
  padding: 12px 0;
  background: rgba(11, 10, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
}
.brand__name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--sand);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--gold-light);
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(11,10,8,0.35) 0%, rgba(11,10,8,0.88) 78%),
    linear-gradient(180deg, rgba(11,10,8,0.55) 0%, rgba(11,10,8,0.75) 100%);
}
.hero__content {
  max-width: 760px;
  padding: 0 24px;
}
.hero__content .eyebrow {
  justify-content: center;
}
.hero__content h1 {
  font-size: clamp(42px, 7vw, 78px);
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 4px;
}
.hero__content h1 span {
  color: var(--gold);
  font-style: italic;
}
.hero__content p {
  margin: 22px auto 36px;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 18px;
}
.hero__actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero--page {
  min-height: 46vh;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: cue 2.2s infinite ease-in-out;
}
@keyframes cue {
  0% { top: 0; opacity: 1; }
  100% { top: 52px; opacity: 0; }
}

/* ---------- Placeholder photo treatment ---------- */
.photo-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,10,8,0) 40%, rgba(11,10,8,0.55) 100%);
  pointer-events: none;
}
.ph-block {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 22%, rgba(201,162,75,0.16), transparent 55%),
    linear-gradient(150deg, #211a11 0%, #0b0a08 75%);
  transition: transform 0.6s ease;
}
.ph-block::before {
  content: "";
  width: 30%;
  aspect-ratio: 1;
  background: url("../img/fennec-mark.png") center / contain no-repeat;
  opacity: 0.16;
}
.ph-block--2 {
  background:
    radial-gradient(circle at 72% 78%, rgba(201,162,75,0.16), transparent 55%),
    linear-gradient(150deg, #211a11 0%, #0b0a08 75%);
}
.ph-block--3 {
  background:
    radial-gradient(circle at 50% 50%, rgba(201,162,75,0.14), transparent 60%),
    linear-gradient(200deg, #211a11 0%, #0b0a08 80%);
}
.photo-frame:hover .ph-block {
  transform: scale(1.06);
}
.lightbox__stage {
  width: min(560px, 80vw);
  aspect-ratio: 4/3;
}

/* ---------- About / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split__media {
  aspect-ratio: 4/5;
}
.split__text .eyebrow { margin-bottom: 14px; }
.split__text h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--sand);
  margin-bottom: 20px;
}
.split__text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat-row div strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold-light);
}
.stat-row div span {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ---------- Highlight cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.dish-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.dish-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}
.dish-card__media {
  aspect-ratio: 4/3;
}
.dish-card__body {
  padding: 22px 24px 26px;
}
.dish-card__body h3 {
  font-size: 20px;
  color: var(--sand);
  margin-bottom: 8px;
}
.dish-card__body p {
  color: var(--text-muted);
  font-size: 14.5px;
}
.dish-card__tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Hours / info band ---------- */
.info-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black-soft);
}
.info-band .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 24px;
}
.info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.info-item svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.info-item h4 {
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}
.info-item p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------- Menu page ---------- */
.formula-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}
.formula-card {
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
  background: linear-gradient(160deg, var(--black-card), var(--black-soft));
}
.formula-card--highlight {
  border-color: var(--gold);
}
.formula-card__badge {
  position: absolute;
  top: -13px;
  left: 36px;
  background: var(--gold);
  color: #17130d;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  font-weight: 600;
}
.formula-card h3 {
  font-size: 24px;
  color: var(--sand);
  margin-bottom: 4px;
}
.formula-card .time {
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 22px;
  display: block;
}
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.price-line:last-of-type { border-bottom: none; }
.price-line span:first-child {
  color: var(--text-muted);
  font-size: 15px;
}
.price-line strong {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-light);
}
.formula-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.menu-category {
  margin-bottom: 60px;
}
.menu-category__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.menu-category__head h3 {
  font-size: 26px;
  color: var(--gold-light);
}
.menu-category__head span {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1px;
}
.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 48px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.menu-item h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--sand);
}
.menu-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Programme Fidélité ---------- */
.loyalty-intro-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--black-card);
  padding: 48px 40px;
}
.loyalty-intro-card h3 {
  font-size: 28px;
  color: var(--sand);
  margin: 10px 0 16px;
}
.loyalty-intro-card p {
  color: var(--text-muted);
  margin-bottom: 26px;
}
#loyalty-form-wrap .form-card {
  max-width: 520px;
  margin: 0 auto;
}

.loyalty-card {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: var(--black-card);
  padding: 44px 40px;
}
.loyalty-card__head {
  text-align: center;
  margin-bottom: 36px;
}
.loyalty-card__head h2 {
  font-size: 32px;
  color: var(--sand);
  margin: 6px 0 10px;
}
.loyalty-card__code {
  color: var(--text-muted);
  font-size: 13.5px;
  letter-spacing: 1px;
}
.loyalty-card__code strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 3px;
}
.loyalty-card__body {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  align-items: start;
}

/* Barre "thermomètre" : remplissage proportionnel aux points, avec un
   repère par palier (allumé une fois atteint). */
.loyalty-thermo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.loyalty-thermo__track {
  position: relative;
  width: 26px;
  height: 260px;
  border-radius: 13px;
  background: var(--black-soft);
  border: 1px solid var(--border);
}
.loyalty-thermo__fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 13px;
  transition: height 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.loyalty-thermo__marker {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 2;
}
.loyalty-thermo__dot {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--gold-dim);
  transition: all 0.3s ease;
}
.loyalty-thermo__marker.is-unlocked .loyalty-thermo__dot {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 8px rgba(240, 165, 101, 0.6);
}
.loyalty-thermo__bulb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.loyalty-thermo__value {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: #17130d;
  line-height: 1;
}
.loyalty-thermo__label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #3a2c18;
  margin-top: 2px;
}

.loyalty-tiers {
  display: flex;
  flex-direction: column;
}
.loyalty-tier {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.loyalty-tier:last-child { border-bottom: none; }
.loyalty-tier.is-unlocked { opacity: 1; }
.loyalty-tier__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--gold-light);
  flex-shrink: 0;
}
.loyalty-tier.is-unlocked .loyalty-tier__check {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130d;
}
.loyalty-tier__points {
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 15px;
  min-width: 62px;
  flex-shrink: 0;
}
.loyalty-tier__reward {
  color: var(--sand);
  font-size: 14px;
}

/* ---------- Menu Boissons ---------- */
.drinks-category {
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.drinks-category__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.drinks-category__head::-webkit-details-marker { display: none; }
.drinks-category__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.drinks-category__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.drinks-category__thumb .ph-block { width: 100%; height: 100%; }
.drinks-category__head h3 {
  font-size: 26px;
  color: var(--gold-light);
  margin-right: auto;
}
.drinks-category__count {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.drinks-category__chevron {
  color: var(--gold);
  font-size: 15px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.drinks-category[open] .drinks-category__chevron {
  transform: rotate(180deg);
}
.drinks-category .drinks-grid {
  padding-bottom: 36px;
}
/* Rangée défilante horizontalement : deux boissons visibles à la fois,
   on glisse vers la droite pour découvrir les suivantes. Les cartes sont
   étirées à la même hauteur (align-items: stretch, valeur par défaut)
   pour que toutes les boissons d'une catégorie aient le même gabarit,
   même avec moins de texte. */
.drinks-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.drinks-grid::-webkit-scrollbar { height: 6px; }
.drinks-grid::-webkit-scrollbar-track { background: transparent; }
.drinks-grid::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 3px;
}
.drink-card {
  flex: 0 0 calc(50% - 10px);
  scroll-snap-align: start;
  min-width: 140px;
  background: var(--black-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.drink-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}
.drink-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.drink-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.drink-card__photo .ph-block {
  width: 100%;
  height: 100%;
}
.drink-card__body {
  flex: 1;
  padding: 18px 20px 22px;
}
.drink-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.drink-card__head h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--sand);
}
.drink-card__price {
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.drink-card__desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.menu-photos {
  margin-bottom: 80px;
}
.gallery-grid .photo-frame {
  cursor: pointer;
  height: 100%;
}
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid .g-wide { grid-column: span 2; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6,5,4,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--gold-light);
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
}
.lightbox__close:hover { border-color: var(--gold); }

/* ---------- Reservation ---------- */
.res-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}
.res-side h2 {
  font-size: 32px;
  color: var(--sand);
  margin-bottom: 18px;
}
.res-side p { color: var(--text-muted); margin-bottom: 28px; }
.res-side ul li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14.5px;
}
.res-side ul li:last-child { border-bottom: 1px solid var(--border); }
.res-side ul li strong { color: var(--sand); font-weight: 600; min-width: 110px; }

.form-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  padding: 44px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 9px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--black-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 15px;
  font-family: var(--sans);
  /* 16px minimum : sous ce seuil, Safari iOS zoome automatiquement la page
     au focus d'un champ, ce qui est désagréable sur mobile. */
  font-size: 16px;
  border-radius: var(--radius);
  transition: border-color 0.25s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 100px; }

.form-msg {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--gold);
  background: rgba(201,162,75,0.08);
  color: var(--gold-light);
  font-size: 14.5px;
}
.form-msg.is-visible { display: block; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.contact-card {
  border: 1px solid var(--border);
  padding: 20px;
  background: var(--black-card);
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-list li {
  display: flex;
  gap: 18px;
}
.contact-list svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-list h4 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 5px;
}
.contact-list p, .contact-list a { color: var(--text-muted); font-size: 15px; }
.contact-list a:hover { color: var(--gold-light); }
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 1px solid var(--border);
  filter: grayscale(0.4) invert(0.92) contrast(0.9);
}
.social-row {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}
.social-row a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold-light);
  transition: all 0.25s ease;
}
.social-row a:hover {
  border-color: var(--gold);
  background: rgba(201,162,75,0.1);
}
.social-row svg { width: 18px; height: 18px; }

.badge-soon {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold-dim);
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  user-select: none;
}
.faq-item__q h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--sand);
}
.faq-item__icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item__icon rect:last-child {
  transition: opacity 0.2s ease;
}
.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item__a p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  padding: 0 4px 26px;
}
.faq-item.is-open .faq-item__a {
  max-height: 260px;
}

/* ---------- Roue Cadeau ---------- */
.wheel-section {
  text-align: center;
}
.wheel-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 50px auto 0;
}
.wheel-pointer {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 24px solid var(--gold);
  z-index: 5;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}
.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 8px solid var(--gold);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(0, 0, 0, 0.3);
  background: conic-gradient(
    var(--gold) 0deg 45deg,
    var(--black-card) 45deg 90deg,
    var(--gold) 90deg 135deg,
    var(--black-card) 135deg 180deg,
    var(--gold) 180deg 225deg,
    var(--black-card) 225deg 270deg,
    var(--gold) 270deg 315deg,
    var(--black-card) 315deg 360deg
  );
  transition: transform 4.2s cubic-bezier(0.12, 0.67, 0.1, 1);
}
.wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  background: var(--black);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.wheel-hub img {
  width: 30px;
  height: 30px;
}
.wheel-labels {
  position: absolute;
  inset: 0;
}
.wheel-label {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 50%;
  margin-left: -1px;
  transform-origin: 50% 100%; /* centre exact de la roue, quelle que soit sa taille */
}
.wheel-label__inner {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.wheel-label__img {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3), 0 2px 5px rgba(0, 0, 0, 0.35);
}
.wheel-label__text {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
#wheel-action {
  margin-top: 40px;
}
.wheel-note {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 13.5px;
}
.wheel-result-card {
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--gold);
  background: rgba(204, 107, 44, 0.08);
  padding: 30px 34px;
}
.wheel-result-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold-light);
  margin: 6px 0 12px;
}
.wheel-result-card p:last-child {
  color: var(--text-muted);
  font-size: 14px;
}
#spin-btn:disabled,
.wheel-section .btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ---------- Règlement du jeu (rétractable) ---------- */
.rules-panel {
  max-width: 640px;
  margin: 0 auto 40px;
  border: 1px solid var(--border);
  background: var(--black-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.rules-panel summary {
  cursor: pointer;
  padding: 18px 24px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold-light);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rules-panel summary::-webkit-details-marker {
  display: none;
}
.rules-panel summary::after {
  content: "+";
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.25s ease;
}
.rules-panel[open] summary::after {
  transform: rotate(45deg);
}
.rules-panel__body {
  padding: 0 24px 24px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.rules-panel__body ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.rules-panel__body li {
  margin-bottom: 8px;
}
.rules-panel__privacy {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}
.rules-panel__privacy a {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ---------- Case à cocher consentement (formulaire roue) ---------- */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.consent-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.consent-check a {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ---------- Admin ---------- */
.admin-shell {
  min-height: 100vh;
  padding: 140px 0 100px;
  background: var(--black);
}
.admin-login {
  max-width: 420px;
  margin: 0 auto;
}
.admin-login .form-card { text-align: left; }
.admin-error {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid #b0433a;
  background: rgba(176, 67, 58, 0.1);
  color: #e8a39d;
  font-size: 13.5px;
  display: none;
}
.admin-error.is-visible { display: block; }
.admin-setup-note {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--black-card);
  padding: 32px 36px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.admin-setup-note code {
  color: var(--gold-light);
  background: rgba(204, 107, 44, 0.1);
  padding: 1px 6px;
  border-radius: 3px;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}
.admin-header h1 {
  font-size: 30px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
/* Empêche le "blowout" de grille : sans ça, une colonne grandit pour
   accueillir le contenu le plus large (ex. l'URL de l'avis Google) au lieu
   de respecter la largeur de son propre conteneur. */
.admin-layout > * { min-width: 0; }
.admin-panel {
  background: var(--black-card);
  border: 1px solid var(--border);
  padding: 34px;
}
.admin-panel h3 {
  font-size: 18px;
  color: var(--sand);
  margin-bottom: 18px;
}
.admin-panel + .admin-panel {
  margin-top: 28px;
}
/* Variante rétractable : <details class="admin-panel"> */
details.admin-panel { padding: 0; }
details.admin-panel .admin-panel__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 34px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
details.admin-panel .admin-panel__summary::-webkit-details-marker { display: none; }
details.admin-panel .admin-panel__chevron {
  color: var(--gold);
  font-size: 15px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
details.admin-panel[open] .admin-panel__chevron {
  transform: rotate(180deg);
}
details.admin-panel .admin-panel__content {
  padding: 0 34px 34px;
}
.prize-card {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.prize-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.prize-row {
  display: grid;
  grid-template-columns: 44px 1fr 90px 36px;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.prize-image-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.prize-image-preview {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px dashed var(--border);
  background-color: var(--black-soft);
  background-size: cover;
  background-position: center;
}
.prize-image-input {
  flex: 1;
  min-width: 0;
  background: var(--black-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 12px;
  font-family: var(--sans);
  font-size: 13px;
  border-radius: var(--radius);
}
.prize-row input[type="color"] {
  width: 44px;
  height: 40px;
  padding: 2px;
  border: 1px solid var(--border);
  background: var(--black-soft);
  border-radius: var(--radius);
  cursor: pointer;
}
.prize-row input[type="text"],
.prize-row input[type="number"] {
  width: 100%;
  min-width: 0;
  background: var(--black-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 14px;
  border-radius: var(--radius);
}
.prize-row .prize-remove {
  width: 36px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 16px;
}
.prize-row .prize-remove:hover {
  border-color: #b0433a;
  color: #e8a39d;
}
.prize-weight-total {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 4px 0 20px;
}
.prize-weight-total.is-off { color: #e8a39d; }
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.admin-status {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.admin-status.is-success { color: var(--gold-light); }

/* ---------- Admin : Menu Boissons (catégories rétractables) ---------- */
.drink-category-block {
  border: 1px solid var(--border);
  background: var(--black-soft);
  margin-bottom: 16px;
}
/* En-tête calqué sur le rendu public (.drinks-category__head) : le
   « menu comme sur le site », avec les boutons de réglage en plus
   (renommer, supprimer la catégorie). */
.drink-category-block__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.drink-category-block__head::-webkit-details-marker { display: none; }
.drink-category-block__chevron {
  color: var(--gold);
  font-size: 15px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  align-self: center;
}
.drink-category-block[open] .drink-category-block__chevron {
  transform: rotate(180deg);
}
.drink-category-block__name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-light);
  margin-right: auto;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 4px 8px;
  min-width: 0;
  cursor: text;
}
.drink-category-block__name:hover {
  border-color: var(--border);
}
.drink-category-block__name:focus {
  outline: none;
  border-color: var(--gold-dim);
  background: rgba(204, 107, 44, 0.08);
}
.drink-category-block__count {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  white-space: nowrap;
  align-self: center;
}
.drink-category-block__body {
  padding: 4px 20px 26px;
  border-top: 1px solid var(--border);
}
.drink-category-block__body .drinks-grid {
  padding-top: 22px;
  /* Dans l'admin, une carte en cours d'édition (panneau ouvert) est plus
     haute que les autres : on ne les étire pas toutes pour l'accueillir. */
  align-items: flex-start;
}

/* Carte boisson de l'admin = .drink-card du site (même photo/nom/prix/
   description), avec des boutons de réglage superposés en plus. */
.drink-editor-card {
  position: relative;
}
.drink-card__controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.drink-card__ctrl-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(204, 107, 44, 0.4);
  background: rgba(11, 10, 8, 0.78);
  backdrop-filter: blur(2px);
  color: var(--gold-light);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.drink-card__ctrl-btn:hover {
  background: var(--gold);
  color: #17130d;
  border-color: var(--gold);
}
.drink-editor-card.is-editing .drink-edit-toggle-btn {
  background: var(--gold);
  color: #17130d;
  border-color: var(--gold);
}
.drink-editor-card.is-editing .drink-card__head,
.drink-editor-card.is-editing .drink-card__desc-display {
  display: none;
}
.drink-card__edit-panel {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--border);
  background: var(--black-soft);
}
.drink-card__edit-panel[hidden] { display: none; }

/* ---------- Admin : QR code du menu ---------- */
.qr-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  padding: 24px;
  margin-bottom: 26px;
  border: 1px solid var(--border);
  background: var(--black-soft);
}
.qr-panel[hidden] { display: none; }
.qr-panel img {
  width: 160px;
  height: 160px;
  background: #fff;
  padding: 8px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.qr-panel__info { flex: 1; min-width: 200px; }
.qr-panel__label {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.qr-panel__url {
  font-size: 13px;
  color: var(--gold-light);
  word-break: break-all;
}

.admin-preview-sticky { position: sticky; top: 120px; }
.admin-preview-sticky .wheel-wrap { width: 260px; height: 260px; margin: 24px auto 0; }
.admin-preview-sticky .wheel-hub { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
.admin-preview-sticky .wheel-hub img { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-preview-sticky { position: static; }
}

/* ---------- Admin : onglets ---------- */
.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.admin-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 4px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.admin-tab:hover { color: var(--sand); }
.admin-tab.is-active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* ---------- Admin : statistiques ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card__value {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold-light);
  line-height: 1;
}
.stat-card__label {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.prize-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prize-breakdown__row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.prize-breakdown__swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.prize-breakdown__bar-wrap {
  height: 6px;
  background: var(--black-soft);
  border-radius: 3px;
  overflow: hidden;
}
.prize-breakdown__bar {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
}
.prize-breakdown__count {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}
.winners-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.winners-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.winners-toolbar__actions input[type="search"] {
  background: var(--black-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 14px;
  font-family: var(--sans);
  font-size: 16px;
  border-radius: var(--radius);
  min-width: 220px;
}
.winners-toolbar__actions .btn {
  padding: 10px 18px;
  font-size: 12px;
}
.winners-table-wrap {
  overflow-x: auto;
}
.winners-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.winners-table th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--gold-light);
  font-size: 11.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.winners-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light, var(--border));
  color: var(--text);
  vertical-align: top;
}
.winners-table tr:last-child td { border-bottom: none; }
.winners-table__empty {
  text-align: center;
  color: var(--text-muted);
  padding: 30px 0;
}
.winners-table__name { color: var(--sand); font-weight: 600; }
.winners-table__sub { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.winners-table__prize { color: var(--gold-light); }
.winners-table__badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}
.winners-table__badge--yes { background: rgba(204,107,44,0.15); color: var(--gold-light); }
.winners-table__badge--no { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.winners-table__redeem {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--text-muted);
}
.winners-table__redeem input { accent-color: var(--gold); width: 16px; height: 16px; cursor: pointer; }
.winners-table__redeem.is-redeemed { color: var(--gold-light); }

.loyalty-points-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.loyalty-points-add-input {
  width: 64px;
  background: var(--black-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 8px;
  font-family: var(--sans);
  font-size: 13px;
  border-radius: var(--radius);
}
.loyalty-points-add-btn {
  padding: 8px 14px;
  font-size: 11.5px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .winners-toolbar__actions input[type="search"] { min-width: 0; flex: 1; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11,10,8,0.86);
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--sand);
  margin-bottom: 18px;
}
.cta-band p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 34px;
}
.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 16px;
  max-width: 280px;
}
.footer h5 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer ul li { margin-bottom: 11px; }
.footer ul li a, .footer ul li {
  color: var(--text-muted);
  font-size: 14.5px;
}
.footer ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split,
  .contact-grid,
  .res-layout { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .info-band .container { grid-template-columns: 1fr; gap: 24px; }
  .formula-band { grid-template-columns: 1fr; }
  .menu-items { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .navbar .container { gap: 10px; }
  .brand { gap: 9px; min-width: 0; }
  .brand__icon { width: 28px; height: 28px; flex-shrink: 0; }
  .brand__name {
    font-size: 15.5px;
    letter-spacing: 1.5px;
    white-space: nowrap;
  }
  .nav-links { display: none; }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .nav-cta { gap: 14px; }
  /* Le bouton "Nous contacter" quitte la barre (trop étroit sur mobile) :
     il reste accessible via le menu plein écran, mis en avant ci-dessous. */
  .nav-cta .btn--gold { display: none; }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--black);
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 1050;
  }
  body.nav-open .nav-links a { font-size: 18px; }
  body.nav-open .nav-links a[href="contact.html"] {
    margin-top: 6px;
    padding: 14px 38px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #17130d;
    font-weight: 600;
  }
  body.nav-open .nav-links a[href="contact.html"]::after { display: none; }
  .stat-row { gap: 22px; }
  .stat-row div strong { font-size: 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* ---------- Admin ---------- */
  .admin-shell { padding: 120px 0 70px; }
  .admin-header { margin-bottom: 32px; }
  .admin-header h1 { font-size: 24px; }
  .admin-header > div:last-child { flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
  #admin-user-email { font-size: 12.5px; }
  .admin-panel { padding: 24px 20px; }
  details.admin-panel { padding: 0; }
  details.admin-panel .admin-panel__summary { padding: 24px 20px; }
  details.admin-panel .admin-panel__content { padding: 0 20px 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card { padding: 16px 14px; }
  .stat-card__value { font-size: 26px; }

  .drink-category-block__head { flex-wrap: wrap; row-gap: 8px; padding: 14px 16px; }
  .drink-category-block__name { flex: 1 1 auto; min-width: 0; }
  .drink-category-block__head .drink-category-delete-btn { flex: 1 1 100%; white-space: normal; }
  .drink-category-block__body { padding: 4px 16px 20px; }
  .qr-panel { padding: 18px; }
  .qr-panel img { width: 130px; height: 130px; }

  .loyalty-intro-card { padding: 36px 24px; }
  .loyalty-intro-card .btn { white-space: normal; padding: 15px 22px; }
  .loyalty-card { padding: 32px 22px; }
  .loyalty-card__body { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .loyalty-tiers { width: 100%; }
}

@media (max-width: 380px) {
  .stat-row { gap: 14px; }
  .stat-row div strong { font-size: 20px; }
  .stat-row div span { font-size: 11.5px; }
}

@media (max-width: 480px) {
  /* Les boutons d'action admin ("Tester la roue", "Publier…") ne doivent
     jamais forcer une largeur > écran à cause de leur texte sur une seule
     ligne (white-space: nowrap hérité de .btn). */
  .admin-actions .btn {
    flex: 1 1 100%;
    white-space: normal;
  }

  /* Ligne d'un lot de la roue : trop de colonnes fixes pour un petit écran,
     on répartit sur deux lignes (couleur+libellé+suppr., puis probabilité). */
  .prize-row {
    grid-template-columns: 40px 1fr 34px;
    grid-template-areas:
      "color label remove"
      "weight weight weight";
    row-gap: 8px;
  }
  .prize-row input[type="color"] { grid-area: color; width: 40px; }
  .prize-row input[type="text"] { grid-area: label; }
  .prize-row input[type="number"] { grid-area: weight; }
  .prize-row .prize-remove { grid-area: remove; width: 34px; }
  .winners-toolbar__actions input[type="search"] { min-width: 0; flex: 1 1 100%; }
}
