/* ============================================================
   WINEKLY — Landing page styles
   ============================================================ */

:root {
  --bg: #08070599;
  --bg-solid: #070605;
  --bg-alt: #0e0c09;
  --bg-card: #120f0b;
  --gold: #ecd6a3;
  --gold-light: #f8eed4;
  --gold-dim: #b39f74;
  --wine: #7c2338;
  --wine-light: #9c3049;
  --text: #efe6d6;
  --text-muted: #a89a83;
  --line: #2a251d;
  --max-width: 1180px;
  --radius: 2px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg-solid);
  color: var(--text);
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--gold-light);
  margin: 0;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.wrap-narrow {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-dim);
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero .eyebrow::before {
  background: var(--gold-light);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dim));
  color: #1c1509;
  font-weight: 500;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--gold-dim);
  color: var(--gold-light);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold-light);
  background: rgba(236, 214, 163, 0.06);
}

.cave-retour-compte {
  display: inline-block;
  margin-bottom: 28px;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 13px 0;
  background: rgba(7, 6, 5, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 38px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.scrolled .brand img {
  height: 30px;
}

.brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.brand span b {
  font-weight: 700;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.main-nav a.active {
  color: var(--gold);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-caret {
  font-size: 0.6rem;
  color: var(--gold-dim);
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -6px);
  margin-top: 18px;
  background: rgba(7, 6, 5, 0.97);
  border: 1px solid var(--line);
  padding: 8px 0;
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 22px;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(236, 214, 163, 0.06);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--gold-light);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 12%, rgba(248, 210, 130, 0.14), transparent 62%),
    radial-gradient(ellipse 55% 45% at 18% 92%, rgba(124, 35, 56, 0.22), transparent 65%),
    radial-gradient(ellipse 55% 45% at 84% 88%, rgba(179, 159, 116, 0.12), transparent 65%),
    linear-gradient(180deg, #0d0a06 0%, #100c08 34%, #0a0806 70%, #060504 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("assets/roots-pattern.svg");
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: 900px auto;
  opacity: 0.05;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(248, 238, 212, 0.05) 45%,
    rgba(248, 238, 212, 0.09) 50%,
    rgba(248, 238, 212, 0.05) 55%,
    transparent 70%
  );
  mix-blend-mode: screen;
  animation: heroSheen 11s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroSheen {
  0%, 100% { transform: translate3d(-12%, -6%, 0) rotate(0.001deg); }
  50% { transform: translate3d(12%, 6%, 0) rotate(0.001deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 150px;
  height: auto;
  margin-bottom: 36px;
  filter: drop-shadow(0 0 40px rgba(236, 214, 163, 0.12));
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-sub strong {
  color: var(--gold-light);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.hero-banner {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gold-dim);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.hero-tagline .rule {
  width: 44px;
  height: 1px;
  background: var(--gold-dim);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold-dim);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: floaty 2.6s ease-in-out infinite;
}

.scroll-cue .stem {
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--gold-dim), transparent);
}

@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Sections ---------- */

.section {
  padding: 128px 0;
  position: relative;
}

.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 20px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Concept ---------- */

.concept-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.concept-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.concept-text p:last-child {
  margin-bottom: 0;
}

.concept-text strong {
  color: var(--gold-light);
  font-weight: 500;
}


.concept-photo-wrap {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius);
}

.concept-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.concept-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.flow-node:not(:last-child) {
  border-right: 1px dashed var(--line);
  padding-right: 24px;
}

.flow-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.flow-icon svg {
  width: 20px;
  height: 20px;
}

.flow-copy h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--gold-light);
}

.flow-copy p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.flow-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.flow-cta:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ---------- Flashage (scanner) ---------- */

.scan-gate {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--wine);
  background: rgba(124, 35, 56, 0.1);
  padding: 44px 48px;
}

.scan-gate h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.scan-gate p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.scan-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: start;
}

.scan-panel {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 32px;
}

.scan-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
}

.scan-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scan-viewport.active video {
  opacity: 1;
}

.scan-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.scan-viewport.active .scan-frame {
  opacity: 1;
}

.corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--gold);
  border-style: solid;
  border-width: 0;
}

.corner.tl { top: 12%; left: 8%; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 12%; right: 8%; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 12%; left: 8%; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 12%; right: 8%; border-bottom-width: 2px; border-right-width: 2px; }

.scan-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 8px rgba(236, 214, 163, 0.7);
  animation: scanline 2.4s ease-in-out infinite;
}

@keyframes scanline {
  0%, 100% { top: 12%; }
  50% { top: 85%; }
}

.scan-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  transition: opacity 0.3s ease;
}

.scan-viewport.active .scan-placeholder {
  opacity: 0;
  pointer-events: none;
}

.scan-placeholder svg {
  width: 34px;
  height: 34px;
  color: var(--gold-dim);
}

.scan-placeholder p {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.scan-controls {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.scan-status {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gold);
  min-height: 1.3em;
}

.scan-status.error {
  color: #d99a8a;
}

.scan-manual {
  margin-top: 26px;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
}

.scan-manual summary {
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--gold-dim);
  letter-spacing: 0.03em;
}

.scan-manual form {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.scan-manual input[type="text"] {
  flex: 1;
  min-width: 180px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  padding: 9px 2px;
  outline: none;
  transition: border-color 0.2s ease;
}

.scan-manual input[type="text"]:focus {
  border-color: var(--gold);
}

.scan-cellar {
  border: 1px solid var(--line);
  background: var(--bg-solid);
  padding: 32px;
  height: 100%;
}

.scan-cellar h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.scan-count {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gold-dim);
}

.scan-cellar-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.cellar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 380px;
  overflow-y: auto;
}

.cellar-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
  animation: cellarIn 0.4s ease;
}

.cellar-item .code {
  color: var(--gold-light);
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.cellar-item .meta {
  color: var(--text-muted);
  font-size: 0.74rem;
  white-space: nowrap;
}

.cellar-empty {
  color: var(--text-muted);
  font-size: 0.86rem;
  padding: 14px 2px;
}

.scan-cellar-link {
  display: block;
  margin-top: 24px;
  text-align: center;
}

@keyframes cellarIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- Steps (comment ça marche) ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-alt);
  padding: 46px 38px;
  position: relative;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold-dim);
  margin-bottom: 16px;
  display: block;
}

.step-card .step-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}

.step-card .step-icon svg {
  width: 100%;
  height: 100%;
}

.step-card h3 {
  font-size: 1.28rem;
  margin-bottom: 14px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.step-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine-light);
  border: 1px solid var(--wine);
  padding: 5px 12px;
  border-radius: 20px;
}

.step-locate-btn {
  margin-top: auto;
  padding: 12px 22px;
  font-size: 0.72rem;
}

/* ---------- Modale cavistes les plus proches ---------- */

.cavistes-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 5, 4, 0.78);
  backdrop-filter: blur(6px);
}

.cavistes-modal-inner {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px 44px 44px;
}

.cavistes-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cavistes-modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cavistes-modal-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.cavistes-status {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.cavistes-status.error {
  color: var(--wine-light);
}

.vignerons-search {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  padding: 10px 2px;
  margin-bottom: 20px;
  outline: none;
}

.vignerons-search:focus {
  border-color: var(--gold);
}

.vignerons-search::placeholder {
  color: #6b6152;
}

.cavistes-map {
  width: 100%;
  height: 280px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.cavistes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cavistes-list li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}

.caviste-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.caviste-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  padding: 4px 12px;
}

.caviste-produits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.caviste-produit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text);
}

.produit-photo {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.caviste-produit em {
  display: block;
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.caviste-produit .btn {
  flex: none;
  padding: 8px 16px;
  font-size: 0.66rem;
}

.caviste-produit-empty {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.cavistes-list .caviste-name {
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
}

.cavistes-list .caviste-city {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cavistes-list .caviste-distance {
  color: var(--gold);
  font-size: 0.82rem;
  white-space: nowrap;
}

/* ---------- Modale commande de réappro ---------- */

.commande-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 5, 4, 0.78);
  backdrop-filter: blur(6px);
}

.commande-modal-inner {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px 44px 44px;
}

.commande-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.commande-modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.commande-modal-inner h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.commande-domaine {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.commande-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.commande-qty-row label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.commande-qty-stepper {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  padding: 6px 8px;
}

.commande-qty-stepper button {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  border-radius: 50%;
}

.commande-qty-stepper button:hover {
  border-color: var(--gold);
}

.commande-qty-stepper span {
  min-width: 24px;
  text-align: center;
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
}

.commande-totals {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 24px;
}

.commande-totals-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.commande-totals-row:last-child {
  margin-bottom: 0;
}

.commande-totals-row strong {
  color: var(--text);
  font-weight: 500;
}

.commande-totals-row.total {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 1rem;
}

.commande-totals-row.total strong {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
}

.commande-buyer {
  margin-bottom: 20px;
}

.commande-buyer-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
}

.commande-buyer p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.commande-status {
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: none;
}

.commande-status.show {
  display: block;
  color: var(--gold);
}

.commande-status.error {
  color: var(--wine-light);
}

.expedition-label {
  margin-top: 20px;
  border: 1px solid var(--gold-dim);
  padding: 22px 24px;
  background: var(--bg-solid);
}

.expedition-label h4 {
  color: var(--gold-light);
  margin-bottom: 14px;
}

.expedition-label-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.85rem;
}

.expedition-label-row:last-of-type {
  border-bottom: none;
}

.expedition-label-row span {
  color: var(--text-muted);
}

.expedition-label-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 14px 0;
}

.produit-fiche-card {
  border: 1px solid var(--gold-dim);
  background: var(--bg-card);
  padding: 28px 26px;
}

.produit-fiche-photo {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}

.produit-fiche-rows {
  display: flex;
  flex-direction: column;
}

.produit-fiche-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}

.produit-fiche-row:last-child {
  border-bottom: none;
}

.produit-fiche-row span {
  color: var(--text-muted);
  flex: none;
}

.produit-fiche-row strong {
  text-align: right;
}

.produit-fiche-nutrition {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: pre-line;
}

.produit-fiche-status {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 20px 0;
}

.fiche-vin-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 6px 0;
}

.fiche-vin-reference .btn {
  flex: none;
  padding: 5px 12px;
  font-size: 0.66rem;
}

.etiquette-canvas {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 20px auto;
  border: 1px solid var(--line);
}

.qr-apercu {
  margin: 8px 0;
  padding: 12px;
  border: 1px solid var(--line);
  max-width: 220px;
}

.qr-canvas {
  display: block;
  margin: 0 0 8px;
  background: var(--gold-light);
  padding: 8px;
}

.qr-lien {
  font-size: 0.7rem;
  color: var(--text-muted);
  word-break: break-all;
  margin-bottom: 10px;
}

@media print {
  body * {
    visibility: hidden;
  }
  .expedition-label,
  .expedition-label *,
  .qr-apercu,
  .qr-apercu * {
    visibility: visible;
  }
  .expedition-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: none;
  }
  .qr-apercu {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
  }
  #expeditionPrintBtn,
  .qr-apercu button {
    display: none;
  }
}

/* ---------- Cave virtuelle (aperçu bouteilles) ---------- */

.bottles-shelf {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 4px 22px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}

.bottles-shelf::-webkit-scrollbar {
  height: 6px;
}

.bottles-shelf::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 6px;
}

.bottles-shelf::-webkit-scrollbar-track {
  background: transparent;
}

.bottle-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 32px 24px 26px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.bottle-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}

.bottle-visual {
  position: relative;
  width: 100%;
  height: 190px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottle-svg {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.bottle-svg .bottle-cap {
  fill: var(--gold);
}

.bottle-rouge .bottle-glass {
  fill: rgba(124, 35, 56, 0.85);
  stroke: rgba(236, 214, 163, 0.25);
  stroke-width: 1;
}

.bottle-blanc .bottle-glass {
  fill: rgba(236, 214, 163, 0.22);
  stroke: rgba(236, 214, 163, 0.45);
  stroke-width: 1;
}

.bottle-rose .bottle-glass {
  fill: rgba(216, 137, 132, 0.75);
  stroke: rgba(236, 214, 163, 0.35);
  stroke-width: 1;
}

.bottle-label {
  position: absolute;
  top: 44%;
  left: 14%;
  width: 72%;
  height: 26%;
  background: rgba(7, 6, 5, 0.55);
  border: 1px solid rgba(236, 214, 163, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 6px;
  text-align: center;
}

.bottle-label-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.68rem;
  line-height: 1.15;
  color: var(--gold-light);
}

.bottle-label-domaine {
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.bottle-info h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.bottle-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.bottle-type {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine-light);
  border: 1px solid var(--wine);
  padding: 5px 14px;
  border-radius: 20px;
}

.bottle-format {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.bottle-stock {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.bottle-stock-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text);
  margin-bottom: 8px;
}

.bottle-stock-row.muted {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.bottle-stock-row strong {
  color: var(--gold-light);
  font-weight: 500;
}

.bottle-stock-row.muted strong {
  color: var(--text-muted);
}

.bottle-stock-bar {
  position: relative;
  height: 6px;
  background: var(--line);
  border-radius: 4px;
  overflow: visible;
}

.bottle-stock-fill {
  height: 100%;
  border-radius: 4px;
}

.bottle-stock-fill.ok {
  background: var(--gold);
}

.bottle-stock-fill.alert {
  background: var(--wine-light);
}

.bottle-stock-marker {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 12px;
  background: var(--text-muted);
}

.bottle-status {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: left;
}

.bottle-status.ok::before {
  content: '✓ ';
  color: var(--gold);
}

.bottle-status.alert {
  color: var(--wine-light);
}

.bottle-status.alert::before {
  content: '⚠ ';
}

.bottle-proposal {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(124, 35, 56, 0.14);
  border: 1px solid var(--wine);
  text-align: left;
}

.bottle-proposal-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine-light);
  margin-bottom: 8px;
}

.bottle-proposal p {
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 12px;
}

.bottle-proposal-btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.68rem;
}

.bottles-note {
  margin-top: 8px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.cave-summary {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cave-summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cave-summary-item span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.cave-summary-item strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold-light);
}

.bottles-view-toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.bottles-view-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bottles-view-btn.active {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(236, 214, 163, 0.08);
}

.bottles-list-panel {
  margin-top: 8px;
}

.bottles-list-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.bottles-list-controls #bottlesSearch {
  flex: 1 1 240px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  padding: 10px 2px;
  outline: none;
}

.bottles-list-controls #bottlesSearch:focus {
  border-color: var(--gold);
}

.bottles-list-controls #bottlesSearch::placeholder {
  color: #6b6152;
}

.bottles-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  cursor: pointer;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 0.76rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.chip.active {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(236, 214, 163, 0.08);
}

.chip-alert.active {
  border-color: var(--wine);
  color: var(--wine-light);
  background: rgba(124, 35, 56, 0.14);
}

.bottles-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.bottles-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.bottles-table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.bottles-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  white-space: nowrap;
}

.bottles-table tbody tr:last-child td {
  border-bottom: none;
}

.bottles-table tbody tr:hover {
  background: rgba(236, 214, 163, 0.04);
}

.table-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 10px;
}

.table-dot.rouge {
  background: var(--wine-light);
}

.table-dot.blanc {
  background: var(--gold-light);
}

.table-dot.rose {
  background: #d88984;
}

.table-status {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 14px;
}

.table-status.ok {
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.table-status.alert {
  color: var(--wine-light);
  border: 1px solid var(--wine);
}

.bottles-table-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.bottles-list-note {
  margin-top: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Audience cards ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.audience-card {
  border: 1px solid var(--line);
  padding: 38px 28px;
  background: var(--bg-card);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.audience-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.audience-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: var(--gold);
  margin-bottom: 24px;
}

.audience-icon svg {
  width: 100%;
  height: 100%;
}

.audience-card h3 {
  font-size: 1.14rem;
  margin-bottom: 14px;
}

.audience-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.audience-card li {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.audience-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--gold-dim);
}

/* ---------- Pourquoi / Stats ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.why-copy p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1rem;
}

.why-copy p:last-child {
  margin-bottom: 0;
}

.why-copy strong {
  color: var(--gold-light);
  font-weight: 500;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat-card {
  background: var(--bg-solid);
  padding: 32px 26px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---------- Roadmap ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-top: 48px;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: var(--bg-alt);
}

.timeline-item.active .timeline-dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(236, 214, 163, 0.14);
}

.timeline-phase {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
  display: block;
}

.timeline-item h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Waitlist / CTA form ---------- */

.cta-section {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(124, 35, 56, 0.14), transparent 65%),
    var(--bg-solid);
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 56px 52px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
}

.format-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 4px 16px;
  margin-bottom: 22px;
}

.format-row {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.format-row:last-child {
  border-bottom: none;
}

.format-fields {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  padding-left: 26px;
}

.format-fields input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  padding: 6px 2px;
  outline: none;
  transition: border-color 0.2s ease;
}

.format-fields input::placeholder {
  color: #6b6152;
}

.format-fields input:focus {
  border-color: var(--gold);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field input[type="url"],
.field input[type="search"],
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.98rem;
  padding: 10px 2px;
  transition: border-color 0.2s ease;
  outline: none;
  resize: none;
}

.field select {
  cursor: pointer;
}

.field select option {
  background: var(--bg-card);
  color: var(--text);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b6152;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.phone-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.phone-field:focus-within {
  border-color: var(--gold);
}

.phone-field select {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  padding: 10px 0;
  outline: none;
  cursor: pointer;
  max-width: 40%;
}

.phone-field select option {
  background: var(--bg-card);
  color: var(--text);
}

.phone-field input[type="tel"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.98rem;
  padding: 10px 2px;
  outline: none;
}

.phone-field input[type="tel"]::placeholder {
  color: #6b6152;
}

.profile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-pills input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-pills label {
  cursor: pointer;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: none;
  transition: all 0.2s ease;
}

.profile-pills input:checked + label {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(236, 214, 163, 0.08);
}

.form-note {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.form-status {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gold);
  text-align: center;
  display: none;
}

.form-status.show {
  display: block;
}

/* ---------- Compte utilisateur ---------- */

.account-box {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 44px 52px 52px;
}

.account-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.account-dashboard-welcome {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.account-choice {
  margin-bottom: 28px;
}

.account-choice-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 16px;
}

.account-choice-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.account-choice-card {
  display: block;
  border: 1px solid var(--line);
  padding: 22px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.account-choice-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.account-choice-card h4 {
  font-size: 1.02rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.account-choice-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.account-choice-card p strong {
  color: var(--gold-light);
  font-weight: 500;
}

.abonnement-box {
  border: 1px solid var(--line);
  padding: 28px 30px;
  margin-bottom: 28px;
}

.abonnement-status {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.abonnement-status.active {
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.abonnement-status.inactive {
  color: var(--wine-light);
  border: 1px solid var(--wine);
}

.abonnement-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.abonnement-box .btn {
  margin-right: 12px;
}

.abonnement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.abonnement-actions .btn {
  margin-right: 0;
}

.catalogue-caviste-box {
  border: 1px solid var(--line);
  padding: 28px 30px;
  margin-bottom: 28px;
}

.catalogue-gate {
  margin-top: 16px;
  padding: 24px 26px;
  border: 1px solid var(--wine);
  background: rgba(124, 35, 56, 0.1);
}

.catalogue-gate h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.catalogue-gate p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.catalogue-caviste-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 12px 0 24px;
}

.catalogue-caviste-form .btn {
  margin-top: 8px;
}

.catalogue-caviste-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalogue-caviste-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
}

.catalogue-caviste-list .item-name {
  color: var(--gold-light);
}

.catalogue-caviste-list .item-meta {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.catalogue-caviste-list .item-actions {
  display: flex;
  gap: 8px;
  flex: none;
}

.catalogue-caviste-list .item-actions button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
}

.catalogue-caviste-list .item-actions button:hover {
  border-color: var(--gold-dim);
  color: var(--gold-light);
}

.cave-chr-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.cave-chr-section .eyebrow {
  margin-bottom: 18px;
}

.ajust-mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.cave-chr-scan .scan-viewport {
  height: 220px;
  margin-bottom: 16px;
}

.erp-choice {
  display: flex;
  gap: 10px;
  margin: 4px 0 18px;
}

#erpNonMessage,
#erpFormStatus {
  color: var(--text-muted);
}

.item-meta.alert {
  color: var(--wine-light);
}

.account-tab {
  background: none;
  border: none;
  padding: 0 0 14px;
  margin-bottom: -1px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.account-tab:hover {
  color: var(--gold-light);
}

.account-tab.active {
  color: var(--gold-light);
  border-color: var(--gold);
}

.account-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.account-link {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  margin-top: 16px;
  padding: 4px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  color: var(--gold-dim);
  cursor: pointer;
  transition: color 0.2s ease;
}

.account-link:hover {
  color: var(--gold-light);
}

.form-status.error {
  color: #d98a8a;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  height: 34px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #6b6152;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .concept-grid,
  .why-grid,
  .scan-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .concept-flow {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 48px;
    padding-top: 8px;
  }

  .flow-node {
    padding: 20px 0;
  }

  .flow-node:not(:last-child) {
    border-right: none;
    border-bottom: 1px dashed var(--line);
    padding-right: 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .main-nav,
  .header-cta .btn-ghost {
    display: none;
  }

  .account-choice-actions {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header .wrap {
    position: relative;
  }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: calc(100% + 14px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    gap: 0;
    background: rgba(7, 6, 5, 0.97);
    border: 1px solid var(--line);
    padding: 8px 0;
  }

  .main-nav.open a {
    padding: 14px 24px;
    width: 100%;
  }

  .nav-dropdown {
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    margin-top: 0;
    padding: 0 0 6px;
    min-width: 0;
  }

  .nav-dropdown-menu a {
    padding: 10px 24px 10px 40px;
    font-size: 0.72rem;
    color: var(--text-muted);
  }

  .nav-caret {
    display: none;
  }

  .section {
    padding: 88px 0;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .bottle-card {
    flex-basis: 220px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 40px 26px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-cols {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-logo {
    width: 110px;
  }
}
