/* ==========================================================================
   BUBBLOO Sousse · Feuille de styles
   Couleurs tirées du badge turquoise et des visuels Instagram (jaune soleil).
   ========================================================================== */

:root {
  --turquoise: #22c7d6;
  --turquoise-deep: #0e9aa8;
  --aqua-soft: #e4f6f7;
  --ink: #0f2a33;
  --ink-soft: #3d5560;
  --muted: #6c7f86;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --sun: #f6c445;
  --sun-soft: #fdf0c8;
  --line: rgba(15, 42, 51, 0.12);

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

  --gutter: clamp(16px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

}



img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--turquoise-deep); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--turquoise-deep); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.eyebrow--light { color: var(--turquoise); }

.section { padding: var(--section-y) 0; }
.section-title { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; }
.section-intro { color: var(--ink-soft); max-width: 520px; margin: 20px auto 0; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head-aside { max-width: 420px; color: var(--ink-soft); }
.section-head-aside p { margin-bottom: 18px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 15.5px; text-decoration: none; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary { --btn-bg: var(--ink); }
.btn-primary:hover { background: var(--turquoise-deep); box-shadow: 0 10px 24px -12px rgba(14, 154, 168, 0.8); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: var(--sun); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-light:hover svg { transform: rotate(-12deg); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 14.5px; }

.link-arrow {
  font-weight: 700; text-decoration: none; color: var(--ink);
  border-bottom: 1.5px solid var(--turquoise); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--turquoise-deep); border-color: var(--ink); }

/* ---------- En-tête ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); color: var(--ink);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.5s var(--ease);
}
.site-header.on-stage:not(.is-scrolled) { color: var(--stage-fg, #fff); }
.site-header.is-scrolled {
  background: rgba(251, 247, 239, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 calc(var(--gutter) + 8px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; justify-self: center; }
.brand img { width: 54px; height: 54px; border-radius: 50%; transition: transform 0.6s var(--ease); }
.site-header.is-scrolled .brand img { width: 46px; height: 46px; }
.brand:hover img { transform: rotate(-16deg) scale(1.05); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: 0.06em; }

.main-nav { grid-column: 1 / -1; grid-row: 1; display: contents; }
.main-nav ul { display: contents; }
.main-nav li { list-style: none; }
.main-nav a {
  display: inline-block; padding: 8px 0; text-decoration: none;
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; color: inherit; white-space: nowrap;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: currentColor; border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

/* Desktop : liens de part et d'autre du logo */
@media (min-width: 961px) {
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .main-nav { display: block; grid-column: 1; }
  .main-nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
  .brand { grid-column: 2; }
  .header-cta { grid-column: 3; }
}

.header-cta {
  justify-self: end; display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid currentColor; color: inherit; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.header-cta:hover { transform: translateY(-2px); }
.site-header.on-stage:not(.is-scrolled) .header-cta:hover { background: var(--stage-fg); color: var(--stage-bg); }
.site-header.is-scrolled .header-cta:hover { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid currentColor; background: transparent; cursor: pointer;
  position: relative; color: inherit; justify-self: end;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Boutons de la scène ---------- */
.btn-sun { background: var(--cta-bg, #FFC83D); color: var(--cta-fg, #1B1206); transition: background-color 0.9s var(--ease), color 0.9s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.btn-sun:hover { background: #fff; color: #1B1206; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45); }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: var(--stage-fg, #fff); color: var(--stage-bg, var(--ink)); }

/* ---------- Accueil : scène produit ---------- */
.stage {
  --stage-bg: #16B4C3; --stage-fg: #FFF1D6; --mx: 0; --my: 0;
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px;
  background: var(--stage-bg); color: var(--stage-fg);
  transition: background-color 0.9s var(--ease), color 0.9s var(--ease);
  isolation: isolate;
}

.stage-tagline {
  position: absolute; z-index: 4; left: 50%; top: calc(var(--header-h) + 10px); transform: translateX(-50%);
  margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8;
  white-space: nowrap;
}

.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; pointer-events: none; }
.slide.is-active { pointer-events: auto; }

/* Mot géant derrière les gobelets */
.stage-word {
  position: absolute; z-index: 1; left: 50%; top: 50%; margin: 0;
  font-family: "Anton", "Impact", "Arial Narrow Bold", sans-serif; font-weight: 400;
  font-size: clamp(110px, 23vw, 400px); line-height: 0.82; letter-spacing: -0.01em;
  white-space: nowrap; color: var(--stage-fg);
  transform: translate(calc(-50% + var(--mx) * -24px), -46%);
  opacity: 0;
  transition: color 0.9s var(--ease);
}
.slide.is-active .stage-word { animation: word-in 1s var(--ease) both; }
.slide.is-leaving .stage-word { animation: word-out 0.6s var(--ease) both; }
@keyframes word-in {
  from { opacity: 0; transform: translate(calc(-50% + 12vw), -46%); }
  to   { opacity: 1; transform: translate(calc(-50% + var(--mx) * -24px), -46%); }
}
@keyframes word-out {
  from { opacity: 1; transform: translate(calc(-50% + var(--mx) * -24px), -46%); }
  to   { opacity: 0; transform: translate(calc(-50% - 12vw), -46%); }
}

/* Gobelets */
.cups { position: absolute; inset: 0; z-index: 2; }
.cup { position: absolute; left: 50%; top: 50%; }
.cup-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cup--front {
  width: clamp(180px, 22vw, 340px);
  transform: translate(-88%, -54%) rotate(-14deg);
  z-index: 2;
}
.cup--back {
  width: clamp(150px, 18vw, 280px);
  transform: translate(6%, -30%) rotate(15deg);
  z-index: 1;
}
.cup-in { opacity: 0; }
.cup-float {
  translate: calc(var(--mx) * 22px) calc(var(--my) * 16px);
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.28));
  animation: cup-float 6s ease-in-out infinite;
}
.cup--back .cup-float { translate: calc(var(--mx) * 12px) calc(var(--my) * 9px); animation-delay: -3s; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, 0.22)); }
@keyframes cup-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.slide.is-active .cup-in { animation: cup-in 1.05s var(--ease) both; }
.slide.is-active .cup--back .cup-in { animation-delay: 0.12s; }
.slide.is-leaving .cup-in { animation: cup-out 0.6s var(--ease) both; }
.slide.is-leaving .cup--back .cup-in { animation-delay: 0.05s; }
@keyframes cup-in {
  from { opacity: 0; transform: translateY(55vh) rotate(-28deg) scale(0.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes cup-out {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-50vh) rotate(24deg) scale(0.92); }
}

/* Éclats flottants */
.particles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.bit {
  position: absolute; display: block;
  transform: rotate(var(--r));
  animation: bit-drift var(--d) ease-in-out var(--delay) infinite alternate;
}
.bit--dash { width: var(--s); height: calc(var(--s) * 0.36); border-radius: 999px; background: var(--stage-fg); opacity: 0.85; transition: background-color 0.9s var(--ease); }
.bit--pearl { width: var(--s); height: var(--s); border-radius: 50%; background: #2A160C; box-shadow: inset -3px -3px 0 rgba(255, 255, 255, 0.18); }
@keyframes bit-drift {
  from { translate: 0 0; }
  to   { translate: 10px -22px; }
}

/* Textes du bas */
.slide-copy {
  position: absolute; z-index: 4; left: calc(var(--gutter) + 8px); bottom: clamp(108px, 14vh, 150px);
  max-width: 320px; opacity: 0;
}
.slide.is-active .slide-copy { animation: copy-in 0.8s 0.25s var(--ease) both; }
.slide.is-leaving .slide-copy { animation: copy-out 0.4s var(--ease) both; }
@keyframes copy-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes copy-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } }
.slide-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; opacity: 0.85; }
.slide-text { font-size: 15.5px; line-height: 1.55; margin: 0; }

.stage-bottom {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0;
  padding: 0 calc(var(--gutter) + 8px) clamp(28px, 5vh, 44px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.stage-actions { display: flex; gap: 12px; order: 2; }
.stage-nav { display: flex; align-items: center; gap: 14px; order: 1; }
.stage-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor;
  background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.stage-arrow:hover { background: var(--stage-fg); color: var(--stage-bg); }
.stage-arrow:active { transform: scale(0.92); }
.stage-dots { display: flex; gap: 8px; }
.stage-dot {
  width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; color: inherit;
}
.stage-dot span { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; overflow: hidden; }
.stage-dot span::before, .stage-dot span::after { content: ""; position: absolute; inset: 0; background: currentColor; }
.stage-dot span::before { opacity: 0.3; }
.stage-dot span::after { transform: scaleX(0); transform-origin: left; }
.stage-dot.is-active span::after { transform: scaleX(1); }
.stage.is-timing .stage-dot.is-active span::after { animation: dot-progress 6s linear both; }
.stage.is-paused .stage-dot.is-active span::after { animation-play-state: paused; }
@keyframes dot-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Cartes boissons illustrées ---------- */
.drink-media[data-cup] {
  background: var(--tile); display: grid; place-items: center; position: relative; overflow: hidden;
}
.drink-media[data-cup]::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); top: 14%; left: 15%;
  transition: transform 0.8s var(--ease);
}
.tile-cup {
  position: relative; width: 46%;
  transform: rotate(-8deg); filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.25));
  transition: transform 0.7s var(--ease);
}
.drink-media[data-cup="bowl"] .tile-cup { width: 74%; transform: rotate(-4deg); }
.drink-card:hover .tile-cup { transform: rotate(4deg) translateY(-10px) scale(1.04); }
.drink-card:hover .drink-media[data-cup]::before { transform: scale(1.12); }

/* ---------- Nos boissons (rail) ---------- */
.drinks { background: var(--paper); }
.rail-controls { display: flex; gap: 10px; }
.rail-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: transparent; display: grid; place-items: center; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease), opacity 0.25s;
}
.rail-btn:hover { background: var(--ink); color: #fff; }
.rail-btn:active { transform: scale(0.94); }
.rail-btn[disabled] { opacity: 0.3; pointer-events: none; }

.rail {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -4px; }
.rail-track {
  display: flex; gap: clamp(16px, 2vw, 28px); width: max-content;
  padding: 4px max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))) 12px;
}

.drink-card { width: clamp(260px, 26vw, 330px); scroll-snap-align: start; }
.drink-media {
  border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5; background: var(--aqua-soft);
  margin-bottom: 22px;
}
.drink-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.drink-card:hover .drink-media img { transform: scale(1.05); }
.drink-body { position: relative; padding-right: 8px; }
.drink-index { font-size: 13px; font-weight: 700; color: var(--turquoise-deep); letter-spacing: 0.08em; display: block; margin-bottom: 8px; }
.drink-body h3 { font-size: 27px; margin-bottom: 10px; }
.drink-body p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ---------- Spécialités ---------- */
.specials-list { display: grid; gap: clamp(56px, 8vw, 120px); }
.special {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(32px, 7vw, 110px);
}
.special--reverse { grid-template-columns: 0.9fr 1.1fr; }
.special--reverse .special-media { order: 2; }
.special-media {
  margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 5 / 6; background: var(--aqua-soft);
  max-height: 640px; width: 100%;
}
.special-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 1.2s var(--ease); }
.special:hover .special-media img { transform: scale(1.04); }
.special-text { max-width: 440px; }
.special-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--sun); font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 26px;
}
.special-text h3 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; margin-bottom: 18px; }
.special-text p { color: var(--ink-soft); font-size: 17.5px; margin-bottom: 24px; }
.tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; background: var(--aqua-soft); color: var(--turquoise-deep);
}

/* ---------- Univers ---------- */
.universe { background: var(--aqua-soft); }
.universe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.universe-media { position: relative; padding-bottom: 18%; padding-right: 14%; }
.universe-img { border-radius: var(--radius-l); object-fit: cover; }
.universe-img--main { width: 100%; aspect-ratio: 9 / 11; }
.universe-img--small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 6 / 7;
  border: 8px solid var(--aqua-soft); border-radius: calc(var(--radius-l) + 6px);
}
.universe-text p { color: var(--ink-soft); font-size: 17.5px; max-width: 520px; }
.universe-text .section-title { margin-bottom: 28px; font-size: clamp(34px, 4.4vw, 56px); }
.universe-points { margin-top: 36px; display: grid; gap: 18px; }
.universe-points li {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 18px; background: rgba(255, 255, 255, 0.7); border-radius: var(--radius-m);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.universe-points li:hover { transform: translateX(6px); background: #fff; }
.point-icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--turquoise);
  display: grid; place-items: center;
}
.point-icon svg { fill: var(--ink); }
.universe-points strong { display: block; font-size: 16px; }
.universe-points span { font-size: 14.5px; color: var(--muted); }

/* ---------- Galerie ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 18vw, 250px);
  gap: clamp(10px, 1.4vw, 18px); grid-auto-flow: dense;
}
.g-item {
  position: relative; overflow: hidden; border-radius: var(--radius-m); border: 0; padding: 0;
  background: var(--aqua-soft); cursor: zoom-in;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.5s; }
.g-item:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-label {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 999px;
  transform: translateY(6px); opacity: 0; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.g-item:hover .g-label, .g-item:focus-visible .g-label { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(10, 26, 32, 0.92);
  display: grid; place-items: center; padding: 64px 16px;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: min(1100px, 100%); max-height: 100%; border-radius: var(--radius-m); object-fit: contain; }
.lightbox-close, .lightbox-nav {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background-color 0.2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Localisation ---------- */
.location { background: var(--paper); }
.location-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.location-info .section-title { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 36px; }

.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 32px; }
.info-list dt { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info-list dd { margin: 0; font-weight: 500; }
.info-list a { text-decoration: none; border-bottom: 1.5px solid var(--turquoise); }
.info-list a:hover { color: var(--turquoise-deep); }

.hours { padding: 24px 26px; border-radius: var(--radius-m); background: var(--cream); margin-bottom: 32px; }
.hours h3 { font-size: 20px; margin-bottom: 14px; }
.hours table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--ink-soft); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 700; }
.hours tr.is-today th::after {
  content: "Aujourd'hui"; margin-left: 10px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--turquoise); color: var(--ink); padding: 3px 8px; border-radius: 999px; vertical-align: 2px;
}
.hours-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.map-wrap {
  border-radius: var(--radius-l); overflow: hidden; min-height: 460px; background: var(--aqua-soft);
  box-shadow: 0 0 0 1px var(--line);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(0.85); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; padding: var(--section-y) 0; position: relative; overflow: hidden; }
.contact::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  border: 2px solid rgba(34, 199, 214, 0.35);
}
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 7vw, 100px); align-items: end; position: relative; z-index: 1; }
.contact-title { font-size: clamp(36px, 5vw, 64px); font-weight: 800; margin-bottom: 40px; max-width: 680px; }
.contact-title span { color: var(--turquoise); }
.contact-list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.contact-list li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.contact-list span { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); font-weight: 700; }
.contact-list a { text-decoration: none; font-size: 19px; font-weight: 500; transition: color 0.2s, padding-left 0.3s var(--ease); }
.contact-list a:hover { color: var(--turquoise); padding-left: 6px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 0 0 40px; }
.footer-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 36px;
}
.brand--footer { color: #fff; }
.brand--footer img { width: 40px; height: 40px; }
.footer-tagline { margin: 0; font-size: 14.5px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; }
.footer-nav a { text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--turquoise); }
.footer-copy { grid-column: 1 / -1; margin: 12px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ---------- Barre rapide mobile ---------- */
.quick-bar { display: none; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-header.is-scrolled { --header-h: 62px; }

  .nav-toggle { display: block; margin-left: auto; z-index: 2; }
  .brand { z-index: 2; position: relative; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    background: var(--cream);
    padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
    overflow-y: auto;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-open { overflow: hidden; }
  /* backdrop-filter créerait un bloc conteneur pour le menu plein écran */
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream); box-shadow: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a {
    font-family: var(--font-display); font-size: clamp(30px, 8vw, 44px); font-weight: 700; letter-spacing: -0.02em;
    padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .main-nav ul a::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 20px; margin-top: 32px; }
  .nav-mobile-extra .btn { width: 100%; display: flex; padding: 0 26px; }
  .nav-social { display: flex; gap: 24px; }
  .nav-social a { padding: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--turquoise); }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head--center { align-items: center; }

  .special, .special--reverse { grid-template-columns: 1fr; gap: 28px; }
  .special--reverse .special-media { order: 0; }
  .special-media { aspect-ratio: 4 / 3; }

  .universe-grid { grid-template-columns: 1fr; }
  .universe-media { max-width: 560px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 38vw, 260px); }

  .location-grid { grid-template-columns: 1fr; }
  .map-wrap, .map-wrap iframe { min-height: 360px; }

  .contact-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { gap: 28px; }
  .hero-facts strong { font-size: 28px; }
  .hero-visual { padding: 0 0 28px 20px; }
  .hero-caption { bottom: 40px; font-size: 13.5px; padding: 10px 14px; }
  .hero-badge { right: -6px; }
  .rail-controls { display: none; }
  .drink-card { width: 78vw; }
  .info-list { grid-template-columns: 1fr; }
  .location-actions .btn { flex: 1 1 100%; }
  .hours { padding: 20px; }
  .g-wide { grid-column: span 2; }
  .lightbox-nav { top: auto; bottom: 16px; transform: none; }

  .quick-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; z-index: 90; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    padding: 6px; border-radius: 999px; background: var(--ink);
    box-shadow: 0 16px 30px -16px rgba(15, 42, 51, 0.7);
    transform: translateY(140%); transition: transform 0.45s var(--ease);
  }
  .quick-bar.is-visible { transform: none; }
  .quick-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  }
  .quick-bar a:first-child { background: var(--turquoise); color: var(--ink); }
}

/* ==========================================================================
   Direction « scène produit » : titres condensés et éléments communs
   ========================================================================== */
.section-title {
  font-family: "Anton", "Impact", sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0; line-height: 0.9; font-size: clamp(56px, 8.5vw, 132px);
}
.universe-text .section-title, .location-info .section-title { font-size: clamp(46px, 5.6vw, 84px); }
.special-text h3 { font-family: "Anton", "Impact", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0; line-height: 0.95; font-size: clamp(42px, 5vw, 72px); }
.contact-title { font-family: "Anton", "Impact", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0; line-height: 0.95; font-size: clamp(46px, 6.4vw, 100px); }
.drink-body h3 { font-family: "Anton", "Impact", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; font-size: 32px; }
.special-num { background: #FFC83D; }
.btn-primary:hover { background: #16B4C3; color: #0F2A33; }
.contact { background: #2A2391; }
.contact-title span { color: #FFC83D; }
.site-footer { background: #2A2391; }
.contact-list a:hover { color: #FFC83D; }
.btn-light { background: #FFC83D; }

@media (max-width: 960px) {
  .header-inner { display: flex; justify-content: space-between; padding: 0 var(--gutter); }
  .brand img { width: 46px; height: 46px; }
  .header-cta { display: none; }
  .main-nav { color: var(--ink); }
  .main-nav ul { display: flex; }
  .main-nav ul a { text-transform: none; letter-spacing: -0.01em; font-family: "Anton", "Impact", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 11vw, 60px); display: block; }
  .nav-open .site-header { color: var(--ink) !important; }

  .stage { min-height: 640px; max-height: none; }
  .stage-tagline { display: none; }
  .stage-word { font-size: clamp(96px, 31vw, 260px); top: 40%; }
  .cup--front { width: clamp(150px, 40vw, 260px); transform: translate(-84%, -66%) rotate(-14deg); }
  .cup--back { width: clamp(124px, 33vw, 214px); transform: translate(4%, -46%) rotate(15deg); }
  .slide-copy { left: var(--gutter); right: var(--gutter); max-width: 460px; bottom: 178px; }
  .stage-bottom { flex-direction: column; align-items: stretch; gap: 18px; padding: 0 var(--gutter) 24px; }
  .stage-actions { order: 1; }
  .stage-actions .btn { flex: 1; }
  .stage-nav { order: 2; justify-content: space-between; }
}
@media (max-width: 640px) {
  .stage { min-height: 600px; }
  .slide-copy { bottom: 166px; }
  .slide-text { font-size: 14.5px; }
  .stage-actions { gap: 10px; }
  .stage-actions .btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 10px; font-size: 14px; }
  .stage-arrow { width: 40px; height: 40px; }
  .stage-dot { width: 24px; }
  .bit--dash { opacity: 0.6; }
}


/* ---------- Galerie : photos Instagram officielles (format 4:5) ---------- */
.gallery-grid--ig { grid-template-columns: repeat(5, 1fr); grid-auto-rows: auto; grid-auto-flow: row; }
.gallery-grid--ig .g-item { aspect-ratio: 4 / 5; }
.gallery-grid--ig .g-item img { object-position: center 35%; }
@media (max-width: 960px) {
  .gallery-grid--ig { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .gallery-grid--ig { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide:not(.is-active) .stage-word, .slide:not(.is-active) .cup-in, .slide:not(.is-active) .slide-copy { opacity: 0 !important; }
  .slide.is-active .stage-word, .slide.is-active .cup-in, .slide.is-active .slide-copy { opacity: 1 !important; }
}
