/* VENXCOFFEE — design system
   Palette officielle · Cormorant Garamond (titres) · Inter (texte) */

/* Polices auto-hébergées (SIL Open Font License) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }

:root {
  --chocolate: #48291D;
  --espresso: #321B14;
  --cream: #F5EFE6;
  --ivory: #FAF8F4;
  --sand: #D8C5B0;
  --taupe: #A99480;
  --black: #171412;
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-variant-numeric: lining-nums;
  margin: 0; background: var(--cream); color: var(--black);
  font: 400 16px/1.7 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--chocolate); color: var(--cream); }
:focus-visible { outline: 1px solid var(--chocolate); outline-offset: 3px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------- Typo */
.display, h1, h2, h3 { font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; margin: 0; color: var(--espresso); }
.display { font-size: clamp(52px, 8.4vw, 132px); line-height: .95; letter-spacing: -.02em; }
h1 { font-size: clamp(44px, 6.4vw, 96px); }
h2 { font-size: clamp(36px, 4.6vw, 68px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
em, .it { font-style: italic; }
p { margin: 0 0 1.2em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; color: #3d332d; max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--taupe);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.muted { color: var(--taupe); }
.tracked { letter-spacing: .42em; text-transform: uppercase; font-size: 11px; font-weight: 500; }

/* ------------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.dark { background: var(--chocolate); color: var(--cream); }
.dark h1, .dark h2, .dark h3, .dark .display { color: var(--cream); }
.dark .lead { color: var(--sand); }
.dark .eyebrow { color: var(--sand); }
.espresso { background: var(--espresso); color: var(--cream); }
.ivory { background: var(--ivory); }
.rule { height: 1px; background: var(--sand); border: 0; margin: 0; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2.4vw, 32px); }

/* ------------------------------------------------------------- Buttons */
.btn {
  --bg: var(--chocolate); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px; border: 1px solid var(--bg); border-radius: 0;
  background: var(--bg); color: var(--fg); cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover { background: var(--espresso); border-color: var(--espresso); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--chocolate); border-color: var(--chocolate); }
.btn--ghost:hover { background: var(--chocolate); color: var(--cream); }
.btn--light { --bg: var(--cream); --fg: var(--chocolate); }
.btn--light:hover { background: var(--ivory); border-color: var(--ivory); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(245,239,230,.5); }
.btn--ghost-light:hover { background: var(--cream); color: var(--chocolate); border-color: var(--cream); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 11px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
  font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 30% 1px; }

/* ------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 84px;
  transition: background .4s var(--ease), height .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-header.is-scrolled, .site-header.is-solid { background: rgba(245,239,230,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(216,197,176,.7); height: 72px; }
.brand { display: block; width: 112px; flex: none; }
.brand img { width: 100%; height: auto; }
.brand .logo--light { display: none; }
.on-dark:not(.is-scrolled) .brand .logo--dark { display: none; }
.on-dark:not(.is-scrolled) .brand .logo--light { display: block; }
.on-dark:not(.is-scrolled) .nav a, .on-dark:not(.is-scrolled) .nav-toggle { color: var(--cream); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a { position: relative; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--espresso); padding: 8px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta { padding: 12px 18px; border: 1px solid currentColor; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--chocolate); color: var(--cream); border-color: var(--chocolate); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--espresso); }
.nav-toggle .i { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 61; }
  .nav {
    position: fixed; inset: 0; z-index: 60; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--chocolate); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a, .on-dark:not(.is-scrolled) .nav a { color: var(--cream); font-size: 13px; }
  .nav .nav-cta { border-color: var(--sand); }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .nav-toggle { color: var(--cream); }
}

/* ------------------------------------------------------------- Hero */
.hero { position: relative; min-height: 100svh; padding-top: 84px; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--cream); }
.hero__text { display: flex; flex-direction: column; justify-content: flex-end; padding: 56px var(--gutter) clamp(56px, 8vw, 104px); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero__text .display { margin: 28px 0 32px; }
.hero__text .lead { margin-bottom: 44px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.hero__media { position: relative; overflow: hidden; background: var(--chocolate); }
.hero__media .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); color: var(--cream); z-index: 2; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: rgba(169,148,128,.35); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; inset: 0; background: var(--chocolate); animation: scrollcue 2.4s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__text { padding: 46px var(--gutter) 64px; }
  .hero__media { aspect-ratio: 4 / 5; order: 2; }
  .hero__scroll { display: none; }
}

/* ------------------------------------------------------------- Photos */
.photo { width: 100%; height: 100%; object-fit: cover; }
.photo--empty { display: grid; place-items: center; background: var(--chocolate); }
.photo--empty img { width: clamp(44px, 7%, 72px); opacity: .9; }
.dark .photo--empty, .dark .frame { background: var(--espresso); }
.frame { position: relative; overflow: hidden; background: var(--chocolate); }
.frame .photo { position: absolute; inset: 0; transition: transform 1.4s var(--ease); }
.frame:hover .photo { transform: scale(1.03); }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-11 { aspect-ratio: 1; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }

/* ------------------------------------------------------------- Intro / split */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.split__media { grid-column: 1 / span 5; }
.split__text { grid-column: 7 / span 6; }
.split--rev .split__media { grid-column: 8 / span 5; order: 2; }
.split--rev .split__text { grid-column: 1 / span 6; }
.split__text h2 { margin: 24px 0 32px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media, .split__text, .split--rev .split__media, .split--rev .split__text { grid-column: auto; order: initial; }
}
.manifesto { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 54px); line-height: 1.2; color: var(--espresso); max-width: 22em; margin: 0; }
.manifesto em { color: var(--taupe); }

/* ------------------------------------------------------------- Selection */
.selection-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 80px); }
.selection-head h2 { margin-top: 20px; }
.drinks { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sand); }
.drink { position: relative; padding: 36px 32px 40px 0; border-bottom: 1px solid var(--sand); display: flex; flex-direction: column; gap: 6px; min-height: 220px; }
.drink:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--sand); }
.drink__n { font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--taupe); }
.drink__name { font: 400 clamp(26px, 2.4vw, 36px)/1.1 var(--serif); color: var(--espresso); margin-top: auto; transition: transform .5s var(--ease); }
.drink:hover .drink__name { transform: translateX(6px); }
.drink__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--taupe); letter-spacing: .04em; }
.drink__meta strong { color: var(--chocolate); font-weight: 500; }
@media (max-width: 900px) {
  .drinks { grid-template-columns: 1fr 1fr; }
  .drink, .drink:not(:nth-child(3n+1)) { padding: 28px 20px 28px 0; border-left: 0; }
  .drink:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--sand); }
  .drink { min-height: 170px; }
}

/* ------------------------------------------------------------- Experience */
.experience { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(24px, 3vw, 48px); margin-top: clamp(56px, 7vw, 96px); }
.experience article { border-top: 1px solid rgba(216,197,176,.35); padding-top: 28px; }
.experience h3 { color: var(--cream); margin: 18px 0 14px; }
.experience p { color: var(--sand); font-size: 15px; }
.experience .num { font: italic 400 22px/1 var(--serif); color: var(--taupe); }
@media (max-width: 800px) { .experience { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- Gallery (4 photos officielles) */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.gallery .frame { height: clamp(300px, 34vw, 500px); }
.gallery .g-a { grid-column: 1 / span 4; }
.gallery .g-b { grid-column: 5 / span 8; }
.gallery .g-c { grid-column: 1 / span 8; }
.gallery .g-d { grid-column: 9 / span 4; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .frame { grid-column: auto; height: auto; }
  .gallery .g-a { aspect-ratio: 3 / 4; }
  .gallery .g-b, .gallery .g-c { aspect-ratio: 16 / 9; }
  .gallery .g-d { aspect-ratio: 4 / 5; }
}

/* ------------------------------------------------------------- Bandeau éditorial */
.editorial { margin: 0; background: var(--cream); }
.editorial__img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-height: 88vh; width: 100%; background: var(--espresso); }
.editorial__img .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.editorial__cap p { margin: 0; font: italic 400 clamp(20px, 2vw, 28px)/1.3 var(--serif); color: var(--espresso); max-width: 28em; }

/* ------------------------------------------------------------- Club teaser */
.club-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.club-teaser h2 { margin: 24px 0 28px; }
@media (max-width: 900px) { .club-teaser { grid-template-columns: 1fr; } }

/* Visuel Club : photo communauté + carte en superposition */
.club-visual { position: relative; padding-bottom: 24%; }
.club-visual__card { position: absolute; right: -6%; bottom: 0; width: 52%; }
.club-visual__card .lcard { box-shadow: 0 30px 60px -24px rgba(50,27,20,.6); }
@media (max-width: 900px) {
  .club-visual { padding-bottom: 0; }
  .club-visual__card { position: relative; right: auto; width: 80%; margin: -8% 0 0 auto; }
}

/* En-tête de page avec photo (menu) */
.page-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-split .frame { max-height: 72vh; }
@media (max-width: 900px) { .page-split { grid-template-columns: 1fr; } .page-split .frame { aspect-ratio: 4 / 5; max-height: none; } }

/* ------------------------------------------------------------- Loyalty card (visuel) */
.lcard {
  position: relative; aspect-ratio: 1.586; width: 100%; max-width: 520px; margin-inline: auto;
  background: var(--chocolate); color: var(--cream); border-radius: 18px; padding: 7% 7.5%;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(50,27,20,.55), 0 2px 0 rgba(255,255,255,.04) inset;
  container-type: inline-size;
}
.lcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(216,197,176,.18); pointer-events: none; }
.lcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.lcard__logo { width: 30%; }
.lcard__label { font: 500 max(9px, 2.1cqi)/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--sand); text-align: right; }
.lcard__label b { display: block; margin-top: 8px; font: 400 max(18px, 5.4cqi)/1 var(--serif); letter-spacing: 0; color: var(--cream); }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.6cqi 4.6cqi; padding: 0 5cqi; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(216,197,176,.6); display: grid; place-items: center; transition: background .5s var(--ease), border-color .5s; }
.stamp img { width: 40%; opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.stamp.is-on { background: var(--cream); border-color: var(--cream); }
.stamp.is-on img { opacity: 1; transform: none; }
.stamp.is-pop { animation: pop .7s var(--ease); }
@keyframes pop { 40% { transform: scale(1.18); } }
.lcard__bottom { display: flex; justify-content: space-between; align-items: end; gap: 12px; font: 500 max(9px, 2.1cqi)/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.lcard__bottom .promise { font: italic 400 max(14px, 3.6cqi)/1.1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--cream); }

/* ------------------------------------------------------------- Page header */
.page-head { padding: clamp(150px, 18vw, 230px) 0 clamp(56px, 7vw, 96px); }
.page-head h1 { margin: 24px 0 0; max-width: 12em; }
.page-head .lead { margin-top: 32px; }

/* ------------------------------------------------------------- Menu */
.menu-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.menu-index { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 4px; }
.menu-index a { padding: 8px 0; font: 500 11px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); transition: color .3s, padding .3s var(--ease); }
.menu-index a:hover, .menu-index a.is-active { color: var(--chocolate); padding-left: 10px; }
.menu-cats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(56px, 6vw, 88px) clamp(40px, 5vw, 80px); }
.menu-cat { scroll-margin-top: 110px; }
.menu-cat h2 { font-size: clamp(30px, 3vw, 44px); padding-bottom: 18px; border-bottom: 1px solid var(--chocolate); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.menu-cat h2 small { font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--taupe); }
.menu-item { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(216,197,176,.6); }
.menu-item__name { font-size: 16px; color: var(--black); }
.menu-item__dots { flex: 1; border-bottom: 1px dotted var(--sand); transform: translateY(-4px); }
.menu-item__price { font: 500 14px/1 var(--sans); letter-spacing: .06em; color: var(--chocolate); white-space: nowrap; }
.menu-note { font-size: 13px; color: var(--taupe); margin-top: 14px; }
.menu-illu { display: flex; justify-content: center; align-items: end; gap: 12%; padding-top: 24px; }
.menu-illu img { width: 120px; height: auto; opacity: .9; }
@media (max-width: 960px) {
  .menu-layout { grid-template-columns: 1fr; }
  .menu-index { position: sticky; top: 72px; z-index: 5; flex-direction: row; overflow-x: auto; gap: 22px; background: var(--cream); padding: 14px 0; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--sand); scrollbar-width: none; }
  .menu-index a { white-space: nowrap; }
  .menu-index a:hover, .menu-index a.is-active { padding-left: 0; }
  .menu-cats { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- Steps (club) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sand); }
.steps li { list-style: none; padding: 40px 32px 0 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--sand); }
.steps .num { font: italic 400 56px/1 var(--serif); color: var(--sand); }
.steps h3 { margin: 22px 0 12px; }
.steps p { color: #5a4c43; font-size: 15px; }
.steps { padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--sand); margin-top: 32px; } }

/* ------------------------------------------------------------- Forms */
.auth { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }
.auth__aside { background: var(--chocolate); color: var(--cream); padding: 140px var(--gutter) 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.auth__aside h1 { color: var(--cream); font-size: clamp(40px, 5vw, 76px); margin-top: 24px; }
.auth__main { display: flex; align-items: center; justify-content: center; padding: 130px var(--gutter) 64px; }
.auth__form { width: 100%; max-width: 440px; }
.auth__form h2 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 12px; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth__aside { padding-top: 120px; } .auth__aside .lcard { display: none; } .auth__main { padding-top: 56px; } }

.form { display: grid; gap: 22px; margin-top: 36px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; background: var(--ivory); border: 1px solid var(--sand); border-radius: 0;
  font-size: 16px; color: var(--black); transition: border-color .3s, background .3s; appearance: none;
}
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--chocolate); background: var(--white); }
.field.has-error input { border-color: #9b2c2c; }
.field .err { display: block; margin-top: 8px; font-size: 13px; color: #9b2c2c; }
.field .hint { display: block; margin-top: 8px; font-size: 13px; color: var(--taupe); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #4a3f38; cursor: pointer; }
.check input { appearance: none; flex: none; width: 18px; height: 18px; margin-top: 3px; border: 1px solid var(--taupe); background: var(--ivory); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--chocolate); border-color: var(--chocolate); }
.check input:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--cream); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.hp { position: absolute; left: -9999px; }
.form-foot { font-size: 14px; color: #5a4c43; margin-top: 8px; }
.form-foot a { color: var(--chocolate); border-bottom: 1px solid var(--sand); }

/* ------------------------------------------------------------- Flash */
.flashes { position: fixed; z-index: 90; top: 92px; right: var(--gutter); display: grid; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.flash { padding: 16px 20px; background: var(--espresso); color: var(--cream); font-size: 14px; line-height: 1.5; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); animation: flashin .5s var(--ease); display: flex; gap: 14px; align-items: flex-start; }
.flash--error { background: #6b1f1f; }
.flash--secret { background: var(--ivory); color: var(--black); border: 1px solid var(--chocolate); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.flash button { margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; opacity: .7; padding: 0; }
@keyframes flashin { from { opacity: 0; transform: translateY(-8px); } }

/* ------------------------------------------------------------- Member area */
.member { padding: 130px 0 var(--section); }
.member-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .member-grid { grid-template-columns: 1fr; } .member-grid > aside { order: -1; } }
.member h1 { font-size: clamp(40px, 5vw, 72px); margin: 18px 0 8px; }
.progress-line { display: flex; justify-content: space-between; align-items: baseline; margin: 40px 0 14px; }
.progress-line strong { font: 400 44px/1 var(--serif); color: var(--espresso); }
.bar { height: 2px; background: var(--sand); position: relative; overflow: hidden; }
.bar span { position: absolute; inset: 0 auto 0 0; background: var(--chocolate); transition: width 1.2s var(--ease); }
.panel { background: var(--ivory); border: 1px solid var(--sand); padding: clamp(24px, 3vw, 40px); }
.panel + .panel { margin-top: 24px; }
.panel h3 { font-size: 26px; margin-bottom: 18px; }
.qr-box { display: grid; justify-items: center; gap: 14px; text-align: center; }
.qr-box [data-qr] svg { width: min(240px, 70vw); height: auto; image-rendering: pixelated; background: var(--white); padding: 14px; border: 1px solid var(--sand); }
.member-code { font: 500 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; color: var(--espresso); }
.wallet-btns { display: grid; gap: 10px; margin-top: 8px; width: 100%; }
.wallet-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; background: var(--black); color: var(--white); font: 500 14px/1 var(--sans); border-radius: 10px; transition: opacity .3s; }
.wallet-btn:hover { opacity: .86; }
.wallet-btn svg { width: 20px; height: 20px; }
.wallet-soon { font-size: 13px; color: var(--taupe); }
.reward { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--sand); }
.reward:last-child { border-bottom: 0; }
.reward .i { width: 28px; height: 28px; color: var(--chocolate); }
.reward b { display: block; font: 400 21px/1.2 var(--serif); color: var(--espresso); }
.reward small { color: var(--taupe); }
.history { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.history li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(216,197,176,.6); }
.history li:last-child { border-bottom: 0; }
.history time { color: var(--taupe); white-space: nowrap; }
.empty { color: var(--taupe); font-size: 14px; margin: 0; }
.subnav { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; }

/* ------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--sand); }
.contact-list li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--sand); }
.contact-list .label { font: 500 11px/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.contact-list .value { font: 400 22px/1.35 var(--serif); color: var(--espresso); white-space: pre-line; }
.contact-list a.value:hover { color: var(--taupe); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-list li { grid-template-columns: 1fr; gap: 8px; } }

/* ------------------------------------------------------------- CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 14em; margin: 24px auto 40px; }

/* ------------------------------------------------------------- Footer */
.site-footer { background: var(--espresso); color: var(--sand); padding: clamp(72px, 9vw, 120px) 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 72px; border-bottom: 1px solid rgba(216,197,176,.18); }
.footer-top .brand { width: 150px; }
.footer-tag { font: italic 400 22px/1.35 var(--serif); color: var(--cream); margin-top: 28px; max-width: 14em; }
.footer-col h4 { font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); margin: 8px 0 22px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--sand); margin: 0 0 10px; transition: color .3s; white-space: pre-line; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 32px; font-size: 12px; letter-spacing: .08em; color: var(--taupe); }
.footer-bottom .v { width: 18px; opacity: .7; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------- Error page */
.error-page { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; }
.error-page .code { font: italic 400 clamp(90px, 16vw, 200px)/1 var(--serif); color: var(--sand); }

/* ------------------------------------------------------------- Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
}

/* Chiffres alignés pour les serifs (le raccourci `font` réinitialise font-variant) */
.lcard__label b, .progress-line strong, .kpi b, .client__count b, .qty output, .results em, .steps .num, .drink__name, .reward b, .reward-row b, .contact-list .value, .error-page .code, .experience .num, .lcard__bottom .promise, .menu-cat h2 small { font-variant-numeric: lining-nums; }
