/* ==========================================================================
   AKOUYÊ — Restaurant & Club Cigare · Cocody Riviera Golf
   Two worlds, one house. Colours are driven by [data-univers] on each world,
   so a section only has to declare which world it belongs to.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  color-scheme: dark;

  /* House palette */
  --ink:           #0B100D;
  --craie:         #F6F1E7;
  --vert:          #0E4034;
  --lime:          #8CBE3F;
  --noix:          #DCB88C;
  --braise:        #E8912F;
  --rouge:         #C0392B;

  /* Active tokens — reassigned per world */
  --bg:        var(--ink);
  --surface:   #161D19;
  --text:      var(--craie);
  --muted:     #A8A093;
  --line:      rgba(246, 241, 231, .14);
  --accent:    var(--lime);
  --btn-txt:   #0B100D;
  --shadow:    0 24px 60px -28px rgba(0, 0, 0, .75);

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --arch: 999px 999px 10px 10px;
  --nav-h: 74px;
}

/* Restaurant — ivory, green, beige */
[data-univers="resto"] {
  --bg:      var(--craie);
  --surface: #FFFFFF;
  --text:    #16211C;
  --muted:   #5E6B63;
  --line:    rgba(14, 64, 52, .16);
  --accent:  var(--vert);
  --btn-txt: var(--craie);
  --shadow:  0 26px 60px -34px rgba(14, 64, 52, .45);
}

/* Cigar club — black, bordeaux, ember */
[data-univers="club"] {
  --bg:      #0A0708;
  --surface: #140D0F;
  --text:    #F3E9E2;
  --muted:   #A79289;
  --line:    rgba(232, 145, 47, .20);
  --accent:  var(--braise);
  --btn-txt: #1A0A04;
  --shadow:  0 26px 70px -30px rgba(0, 0, 0, .9);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--craie);
  font-family: "Karla", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto is load-bearing. Every <img> carries width and height attributes
   so the browser can reserve space before the file arrives, but those attributes
   also act as a CSS height, which would override any aspect-ratio set below.
   Letting the height be automatic hands the ratio back to the CSS. Rules that
   genuinely want a fixed height (.cadre, .banniere, the hero) set it themselves
   and win on specificity. */
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: "Archivo", "Arial Narrow", Impact, sans-serif;
  font-variation-settings: "wdth" 112, "wght" 800;
  text-transform: uppercase;
  letter-spacing: .004em;
  text-wrap: balance;
  margin: 0;
  line-height: .95;
}
h2 { font-size: clamp(30px, 4.6vw, 58px); }
h3 { font-size: clamp(20px, 2.4vw, 27px); font-variation-settings: "wdth" 108, "wght" 750; }
h4 { font-size: 15px; letter-spacing: .14em; font-variation-settings: "wdth" 100, "wght" 700; }

.script {
  font-family: "Yellowtail", cursive;
  text-transform: none;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.saut {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--lime);
  color: #07231C;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: 700;
  transition: top .2s;
}
.saut:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.world {
  background: var(--bg);
  color: var(--text);
  transition: background .5s ease;
}

.sect { padding-block: clamp(64px, 9vw, 124px); }
.sect--tight { padding-block: clamp(46px, 6vw, 80px); }
.sect__tete { margin-bottom: clamp(26px, 3.4vw, 34px); }

.lede {
  font-size: clamp(17px, 1.65vw, 20px);
  color: var(--muted);
  max-width: 62ch;
}
.petit { color: var(--muted); font-size: 15.2px; }
/* Muted colour at the normal body size — .petit also shrinks the text. */
.muted { color: var(--muted); }

.stack { display: flex; flex-direction: column; gap: 22px; }
.stack--tight { gap: 12px; }
.stack--xtight { gap: 8px; }   /* the club's vision and mission blocks */
.stack--head { gap: 14px; }    /* the events heading group */

.grid { display: grid; gap: clamp(20px, 3vw, 44px); }
/* Two auto-fit grids with different break points: the contact columns can go
   narrow, the cuisine lists need room for long dish names before they wrap. */
/* --------------------------------------------------------------------------
   Note on the auto-fit grids below: each uses minmax(min(Npx, 100%), 1fr)
   rather than minmax(Npx, 1fr). A bare pixel minimum is a hard floor, so on a
   screen narrower than N the column overflows and the text is clipped. Wrapping
   it in min(..., 100%) keeps the intended break point while letting the column
   collapse to the container on very narrow screens.
   -------------------------------------------------------------------------- */

.grid--thirds { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid--cuisine { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--halves { grid-template-columns: 1fr 1fr; }
.grid--tight { gap: 22px; margin-top: 8px; }

.boutons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

/* Grid and flex children must be allowed to shrink below their content. */
.grid > *, .duo > *, .resa > *, .stack > *, .cartes > *, .evts > *, .champs > * {
  min-width: 0;
}

.eyebrow {
  font-family: "Archivo", sans-serif;
  font-variation-settings: "wdth" 100, "wght" 600;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 11.5px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1.5px;
  background: currentColor;
  flex: none;
}
.eyebrow--spaced { margin-top: 12px; }

/* Sub-headings that take the world's accent colour rather than the body text. */
.titre-accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 26px;
  text-decoration: none;
  font-family: "Archivo", sans-serif;
  font-variation-settings: "wdth" 104, "wght" 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
  background: var(--accent);
  color: var(--btn-txt);
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .8);
  transition: transform .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }

.btn--sm { padding: 9px 17px; font-size: 11.5px; }

.mini {
  background: none;
  border: 1px solid rgba(246, 241, 231, .24);
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 12.5px;
  color: #F6F1E7;
}
.mini:hover { border-color: var(--lime); color: var(--lime); }

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 3vw, 34px);
  background: rgba(11, 16, 13, .55);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(246, 241, 231, .10);
  transition: background .4s ease, border-color .4s ease;
}
.nav[data-mode="resto"] { background: rgba(7, 39, 34, .82); border-bottom-color: rgba(140, 190, 63, .28); }
.nav[data-mode="club"]  { background: rgba(10, 7, 8, .86);  border-bottom-color: rgba(232, 145, 47, .28); }

.nav__home { flex: none; display: block; }
.nav__logo { height: 30px; width: auto; }

.nav__links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav__links a {
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(246, 241, 231, .82);
  white-space: nowrap;
  transition: background .22s, color .22s;
}
.nav__links a:hover { background: rgba(246, 241, 231, .12); color: #fff; }

.nav__tools { display: flex; align-items: center; gap: 8px; }

.lang {
  display: flex;
  border: 1px solid rgba(246, 241, 231, .26);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, .2);
}
.lang a {
  padding: 6px 11px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: rgba(246, 241, 231, .6);
  font-weight: 700;
  text-decoration: none;
}
.lang a[aria-current] { background: var(--craie); color: #0B100D; }

.nav .btn { background: var(--lime); color: #07231C; }
.nav[data-mode="club"] .btn { background: var(--braise); color: #1A0A04; }

.burger { display: none; background: none; border: 0; padding: 8px; color: var(--craie); }

/* --------------------------------------------------------------------------
   6. Portal — the two doors
   -------------------------------------------------------------------------- */

.portail {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #07100C;
}

/* The poster ships inside a <picture>; stretch the wrapper so the image can
   fill the hero rather than sitting at its intrinsic height. */
.portail > picture {
  position: absolute;
  inset: 0;
}

.portail__poster,
.portail__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  filter: saturate(.8) contrast(1.05);
}
/* The video fades in over the poster once it can actually play. */
.portail__video { opacity: 0; transition: opacity .9s ease; }
.portail__video.pret { opacity: .72; }

.portail__voile {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 80% at 50% 12%, rgba(7, 16, 12, .10), rgba(7, 16, 12, .86) 78%),
    linear-gradient(rgba(7, 16, 12, .35), rgba(7, 16, 12, .80));
}

.portail__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(26px, 4vw, 44px);
  padding: 104px var(--pad) 46px;
  max-width: var(--wrap);
  margin-inline: auto;
  width: 100%;
}

/* The h1 exists to carry the wordmark's meaning, not to be typeset: the image
   inside it is the visible title. */
.portail__titre { margin: 0; line-height: 0; }

.portail__logo { width: min(430px, 74vw); height: auto; margin-inline: auto; }

.portail__kicker {
  text-align: center;
  color: var(--noix);
  font-size: clamp(14px, 1.5vw, 17px);
  max-width: 44ch;
  margin-inline: auto;
}
.portail__kicker b { color: var(--craie); font-weight: 500; }

.portes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2.4vw, 30px);
  align-items: end;
}

.porte {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--arch);
  padding: clamp(24px, 3.4vw, 40px) clamp(18px, 2.6vw, 32px) clamp(22px, 3vw, 34px);
  min-height: clamp(260px, 34vw, 400px);
  border: 1.5px solid rgba(246, 241, 231, .22);
  isolation: isolate;
  transition: transform .45s cubic-bezier(.2, .8, .25, 1), box-shadow .45s, border-color .45s;
}

/* The photograph is a real <img> rather than a CSS background, so it gets a
   srcset and a WebP-with-JPEG fallback like every other image on the page. */
.porte > picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.porte > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05);
  transition: transform .8s cubic-bezier(.2, .8, .25, 1);
}
.porte::after {                       /* the gate's bars, plus the world's tint */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity .45s;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 2px, transparent 2px 30px),
    linear-gradient(180deg, var(--tint-a) 0%, var(--tint-b) 100%);
}

.porte:hover { transform: translateY(-8px); border-color: var(--tint-edge); box-shadow: 0 34px 70px -34px #000; }
.porte:hover > picture img { transform: scale(1.12); }
.porte:hover::after { opacity: .86; }

.porte--resto { --tint-a: rgba(7, 39, 34, .30); --tint-b: rgba(7, 39, 34, .96); --tint-edge: var(--lime); }
.porte--club  { --tint-a: rgba(42, 5, 9, .30);  --tint-b: rgba(42, 5, 9, .96);  --tint-edge: var(--braise); }

.porte__num {
  font-family: "Archivo", sans-serif;
  font-variation-settings: "wdth" 100, "wght" 600;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--tint-edge);
}
.porte h2 { font-size: clamp(26px, 3.6vw, 46px); color: var(--craie); }
.porte p { color: rgba(246, 241, 231, .72); font-size: 14.5px; max-width: 34ch; }

.porte__go {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Archivo", sans-serif;
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tint-edge);
}
.porte__go span { transition: transform .3s; }
.porte:hover .porte__go span { transform: translateX(6px); }

.portail__meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: center;
  padding: 0 var(--pad) 26px;
  font-size: 13px;
  color: rgba(246, 241, 231, .55);
  letter-spacing: .04em;
}
.portail__meta b { color: var(--noix); font-weight: 500; }

/* --------------------------------------------------------------------------
   7. World banners
   -------------------------------------------------------------------------- */

.banniere {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 10vw, 132px) 0 clamp(28px, 3.5vw, 44px);
}
.banniere__fond {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
/* <picture> is a block of automatic height, so it has to be stretched too —
   otherwise height:100% on the image inside resolves against nothing. */
.banniere__fond > picture {
  position: absolute;
  inset: 0;
}
.banniere__fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Each world lays its own gradient over the photograph. */
/* No z-index here: the scrim must stay behind .banniere__inner, which is a
   later sibling. Lifting it above the photograph is enough, and generated
   content already paints after the element's own children. */
[data-univers="resto"] .banniere__fond::after,
[data-univers="club"]  .banniere__fond::after {
  content: "";
  position: absolute;
  inset: 0;
}
[data-univers="resto"] .banniere__fond::after {
  background: linear-gradient(180deg, rgba(246, 241, 231, .55), rgba(246, 241, 231, .80) 42%, var(--craie) 94%);
}
[data-univers="club"] .banniere__fond::after {
  background: linear-gradient(180deg, rgba(10, 7, 8, .62), rgba(10, 7, 8, .78) 44%, #0A0708 94%);
}

.banniere__inner {
  position: relative;
  display: grid;
  /* An implicit `auto` track grows to the widest child's min-content and then
     stretches every sibling to match, pushing the whole block off a narrow
     screen. minmax(0, 1fr) keeps the column inside the container. */
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.banniere h2 { font-size: clamp(42px, 8vw, 104px); font-variation-settings: "wdth" 120, "wght" 850; line-height: .86; }
.banniere .lede { color: var(--text); opacity: .86; }

/* --------------------------------------------------------------------------
   8. Content blocks
   -------------------------------------------------------------------------- */

.duo {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.duo--flip .duo__media { order: 2; }

.cadre {
  margin: 0;
  border-radius: var(--arch);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.cadre img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.cadre--large img { aspect-ratio: 16 / 11; }
.cadre--facade { margin-top: 24px; }

.mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaique .cadre:first-child { grid-column: span 2; }
.mosaique .cadre:first-child img { aspect-ratio: 16 / 9; }
.mosaique .cadre:not(:first-child) img { aspect-ratio: 1 / 1; }

.cartes { grid-template-columns: repeat(auto-fit, minmax(min(248px, 100%), 1fr)); margin-top: 26px; }
.carte {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow: var(--shadow);
  transition: transform .3s, border-color .3s;
}
.carte:hover { transform: translateY(-4px); border-color: var(--accent); }
.carte__ico { width: 40px; height: 40px; color: var(--accent); }
.carte p { color: var(--muted); font-size: 15.5px; }

.liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.liste li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.8px; }
.liste li::before {
  content: "";
  width: 7px; height: 7px;
  margin-top: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
.liste small { color: var(--muted); }

.chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.chiffre { background: var(--bg); padding: 22px 20px; display: flex; flex-direction: column; gap: 5px; }
.chiffre b {
  font-family: "Archivo", sans-serif;
  font-variation-settings: "wdth" 112, "wght" 800;
  font-size: clamp(23px, 3vw, 34px);
  color: var(--accent);
  line-height: 1;
}
.chiffre span { font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------------------
   9. Menus
   -------------------------------------------------------------------------- */

.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.onglet {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: "Archivo", sans-serif;
  font-variation-settings: "wdth" 100, "wght" 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s, border-color .25s, background .25s;
}
.onglet:hover { color: var(--text); border-color: var(--accent); }
.onglet[aria-selected="true"],
.onglet[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--btn-txt);
}

.carte-cols { columns: 2; column-gap: clamp(28px, 4vw, 64px); }
.bloc-carte { break-inside: avoid; margin-bottom: 34px; display: flow-root; }
.bloc-carte__tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  margin-bottom: 14px;
  border-bottom: 1.5px solid var(--accent);
}
.bloc-carte__tete h3 { font-size: 19px; }
.bloc-carte__tete em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.plat {
  break-inside: avoid;
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 15.5px;
}
.plat__nom { flex: 1; }
.plat__nom small { display: block; color: var(--muted); font-size: 13.2px; line-height: 1.45; }
.plat__pt {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
  min-width: 14px;
}
.plat__prix {
  font-family: "Archivo", sans-serif;
  font-variation-settings: "wdth" 100, "wght" 650;
  font-variant-numeric: tabular-nums;
  font-size: 14.5px;
  color: var(--accent);
  white-space: nowrap;
}
.plat__prix i { font-style: normal; font-size: 10.5px; letter-spacing: .06em; color: var(--muted); margin-left: 3px; }
.plat--wide .plat__prix { min-width: 118px; text-align: right; }

.note {
  font-size: 13.5px;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  max-width: 60ch;
}

.cartes-scan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 14px;
  margin-top: 34px;
}
.scan {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.scan img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; width: 100%; transition: transform .5s; }
.scan:hover img { transform: scale(1.05); }
.scan figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 14px 12px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #F6F1E7;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}

/* --------------------------------------------------------------------------
   10. Gallery
   -------------------------------------------------------------------------- */

.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.galerie button {
  padding: 0;
  border: 0;
  background: none;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: block;
}
.galerie img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  transition: transform .55s cubic-bezier(.2, .8, .25, 1), filter .4s;
}
.galerie button:hover img { transform: scale(1.07); filter: brightness(1.06); }
.galerie button:nth-child(4n + 1) { grid-column: span 2; }

/* --------------------------------------------------------------------------
   11. Events
   -------------------------------------------------------------------------- */

.evts__tete {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}
.filtres { display: flex; gap: 8px; flex-wrap: wrap; }

.evts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(272px, 100%), 1fr)); gap: 18px; }
.evt {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .3s, border-color .3s;
}
.evt:hover { transform: translateY(-5px); border-color: var(--accent); }
.evt__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.evt__corps { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.evt__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Archivo", sans-serif;
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.evt__zone {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.evt__zone[data-z="resto"] { background: rgba(14, 64, 52, .88); color: #CDE8A0; }
.evt__zone[data-z="club"]  { background: rgba(107, 15, 26, .88); color: #F5C88C; }
.evt h3 { font-size: 20px; }
.evt p { color: var(--muted); font-size: 15px; flex: 1; }
.evt__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }

.evts__pied { margin-top: 26px; font-size: 14.5px; color: var(--muted); }

.vide {
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 36px;
  text-align: center;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. Reservation form
   -------------------------------------------------------------------------- */

.resa {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow);
}

.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ--full { grid-column: 1 / -1; }

.champ label,
.champ__legende {
  font-family: "Archivo", sans-serif;
  font-variation-settings: "wdth" 100, "wght" 600;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.champ input,
.champ select,
.champ textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 15.5px;
  transition: border-color .2s, box-shadow .2s;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.champ input[aria-invalid="true"] { border-color: var(--rouge); }
.champ textarea { resize: vertical; min-height: 88px; }

.segment { display: flex; gap: 10px; flex-wrap: wrap; }
.segment input { position: absolute; opacity: 0; width: 0; height: 0; }
.segment label {
  flex: 1;
  min-width: 150px;
  cursor: pointer;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Karla", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  transition: border-color .25s, background .25s;
}
.segment label small { color: var(--muted); font-size: 12.5px; }
.segment input:checked + label {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.segment input:focus-visible + label { outline: 2.5px solid var(--accent); outline-offset: 3px; }

/* The honeypot: off-screen rather than display:none, which bots skip. */
.appat {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__etat {
  font-size: 14.5px;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
}
.form__etat[data-ok="1"] { color: var(--accent); border-color: var(--accent); }
.form__etat[data-ok="0"] { color: #E88; border-color: #E88; }
.form__legal { font-size: 13.2px; color: var(--muted); }

.coord { display: flex; flex-direction: column; gap: 20px; }
.coord a {
  text-decoration: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text);
  transition: color .2s;
}
.coord a:hover { color: var(--accent); }
.coord svg { width: 21px; height: 21px; flex: none; color: var(--accent); margin-top: 3px; }
.coord span { overflow-wrap: anywhere; }
.coord b {
  display: block;
  font-family: "Archivo", sans-serif;
  font-variation-settings: "wdth" 100, "wght" 600;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.horaires { width: 100%; border-collapse: collapse; font-size: 15px; }
.horaires caption {
  text-align: left;
  padding-bottom: 10px;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.horaires td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.horaires td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--accent); }
.horaires tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

.pied {
  background: #07100C;
  color: #F6F1E7;
  padding: clamp(50px, 7vw, 84px) 0 30px;
  border-top: 1px solid rgba(246, 241, 231, .12);
}
.pied__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 4vw, 54px); }
.pied__logo { width: 200px; height: auto; margin-bottom: 18px; }
.pied p, .pied a { color: rgba(246, 241, 231, .66); font-size: 14.6px; text-decoration: none; }
.pied a:hover { color: var(--lime); }
.pied .script { font-size: 24px; color: var(--noix); }
.pied__adresse { margin-top: 12px; }
.pied h4 { color: #F6F1E7; margin-bottom: 14px; letter-spacing: .16em; }
.pied ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.pied__social { flex-direction: row !important; gap: 16px !important; margin-top: 14px !important; }

/* No !important: .pied p is more specific and deliberately wins, so the legal
   line matches the size and weight of the address above it. */
.mention {
  font-size: 12.4px;
  color: rgba(246, 241, 231, .42);
  max-width: 70ch;
  margin-top: 14px;
}
.pied__bas {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 241, 231, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 12.6px;
  color: rgba(246, 241, 231, .45);
}

/* --------------------------------------------------------------------------
   14. Lightbox
   -------------------------------------------------------------------------- */

.visio {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 9, 7, .94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 44px);
}
.visio img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 90px -30px #000;
}
.visio__x {
  position: absolute;
  top: 16px; right: 18px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 241, 231, .12);
  color: #F6F1E7;
  font-size: 20px;
}
.visio__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 241, 231, .12);
  color: #F6F1E7;
  font-size: 22px;
}
.visio__nav--p { left: 14px; }
.visio__nav--n { right: 14px; }

/* --------------------------------------------------------------------------
   15. Manager area
   -------------------------------------------------------------------------- */

.admin {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(6, 9, 7, .96);
  overflow: auto;
  padding: clamp(16px, 4vw, 52px);
}
.admin__box {
  max-width: 780px;
  margin-inline: auto;
  background: #121A15;
  border: 1px solid rgba(246, 241, 231, .16);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 38px);
  color: #F6F1E7;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.admin__tete { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.admin h3, .admin h4 { color: #F6F1E7; }
.admin__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin input, .admin select, .admin textarea {
  background: #0B100D;
  border: 1px solid rgba(246, 241, 231, .2);
  border-radius: 10px;
  padding: 11px 13px;
  color: #F6F1E7;
  font: inherit;
  font-size: 15px;
  width: 100%;
}
.admin__item {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(246, 241, 231, .14);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
}
.admin__item span { color: rgba(246, 241, 231, .6); font-size: 13px; }
.admin .btn { background: var(--lime); color: #07231C; }
.admin__note { font-size: 13px; color: rgba(246, 241, 231, .55); line-height: 1.55; }
.admin__erreur { font-size: 13px; color: #E88; }

/* --------------------------------------------------------------------------
   16. Scroll reveal
   -------------------------------------------------------------------------- */

/* Gated on .js: without scripting nothing would ever gain .on, so the content
   must never start hidden in the first place. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .25, 1);
}
.js .reveal.on { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .duo, .resa { grid-template-columns: 1fr; }
  .duo--flip .duo__media { order: 0; }
  .carte-cols { columns: 1; }
  .pied__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .nav__links {
    position: fixed;
    inset: 62px 12px auto 12px;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(9, 14, 11, .97);
    border: 1px solid rgba(246, 241, 231, .14);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 11px 14px; font-size: 15px; }
  .burger { display: block; order: 3; }
  .nav__book { display: none; }

  .portes { grid-template-columns: 1fr; }
  .porte { min-height: 240px; border-radius: 130px 130px 12px 12px; padding-inline: 26px; }

  .banniere h2 { font-size: clamp(38px, 11vw, 60px); }
  .champs { grid-template-columns: 1fr; }
  .grid--halves { grid-template-columns: 1fr; }

  .bloc-carte__tete { flex-wrap: wrap; gap: 2px 12px; }
  .bloc-carte__tete em { white-space: normal; }

  .admin__row { grid-template-columns: 1fr; }
  .pied__grid { grid-template-columns: 1fr; }

  /* 17px-tall links are far too small to hit reliably with a thumb. */
  .pied ul { gap: 0; }
  .pied ul a { display: inline-block; padding: 12px 0; }
  .lang a { padding: 10px 13px; }
  .nav__home { display: flex; align-items: center; min-height: 44px; }
}

/* Narrower than any current phone, but the bar should still fit rather than
   push the page sideways. */
@media (max-width: 300px) {
  .nav { gap: 8px; padding-inline: 10px; }
  .nav__logo { height: 24px; }
  .lang a { padding: 6px 8px; }
}

/* Landscape phones and short desktop windows: there is width to spare but very
   little height, so keeping the doors stacked turns the hero into a long scroll.
   Side by side, with a tighter hero, fits the screen instead. */
@media (max-height: 560px) and (min-width: 560px) {
  .portes { grid-template-columns: 1fr 1fr; }
  .porte {
    min-height: 170px;
    border-radius: 90px 90px 12px 12px;
    padding-block: 18px 20px;
  }
  .portail__inner { padding-top: 84px; padding-bottom: 24px; gap: 16px; }
  .portail__logo { width: min(300px, 44vw); }
  .portail__kicker { font-size: 13px; }
  .portail__meta { padding-bottom: 14px; font-size: 12px; }
}

@media (max-width: 640px) {
  .galerie button:nth-child(4n + 1) { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .portail, .visio, .admin, .btn, .saut, .cartes-scan { display: none !important; }
  .world { background: #fff; color: #000; }
  .carte-cols { columns: 2; }
}
