/* ============================================================
   VIGNERON — CSS Global
   Palette : bordeaux, noir, or, crème
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Lato:wght@300;400;700;900&display=swap');

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --bordeaux:      #722F37;
  --bordeaux-dark: #4a1c22;
  --bordeaux-light:#9a4050;
  --or:            #C9A84C;
  --or-light:      #E8C96A;
  --or-pale:       #f5e8c0;
  --noir:          #0d0b0b;
  --noir-1:        #111010;
  --noir-2:        #1a1818;
  --noir-3:        #252221;
  --creme:         #F5F0E8;
  --creme-2:       #e8e0d0;
  --text-muted:    #9e9080;
  --text-light:    #c8baa8;
  --radius:        6px;
  --radius-lg:     14px;
  --shadow:        0 4px 32px rgba(0,0,0,.5);
  --shadow-gold:   0 0 30px rgba(201,168,76,.15);
  --trans:         .25s ease;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--noir);
  color: var(--creme);
  font-family: 'Lato', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ─── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
.serif { font-family: 'Playfair Display', serif; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.6rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; cursor: pointer; border: none;
  transition: all var(--trans); white-space: nowrap;
}
.btn--gold {
  background: var(--or); color: var(--noir);
}
.btn--gold:hover { background: var(--or-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.35); }
.btn--bordeaux {
  background: var(--bordeaux); color: var(--creme);
}
.btn--bordeaux:hover { background: var(--bordeaux-light); transform: translateY(-2px); }
.btn--outline {
  background: transparent; color: var(--or);
  border: 1.5px solid var(--or);
}
.btn--outline:hover { background: rgba(201,168,76,.1); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--text-muted);
  border: 1px solid rgba(255,255,255,.12);
}
.btn--ghost:hover { color: var(--creme); border-color: rgba(255,255,255,.3); }
.btn--lg { padding: .95rem 2.2rem; font-size: 1rem; }
.btn--sm { padding: .45rem 1rem; font-size: .8rem; }
.btn--danger { background: #c0392b; color: #fff; }
.btn--danger:hover { background: #e74c3c; }
.btn--success { background: #27ae60; color: #fff; }
.btn--success:hover { background: #2ecc71; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--trans), padding var(--trans), backdrop-filter var(--trans);
}
.nav.scrolled {
  background: rgba(13,11,11,.92);
  backdrop-filter: blur(12px);
  padding: .7rem 0;
  border-bottom: 1px solid rgba(201,168,76,.12);
}
.nav__container {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav__logo {
  display: flex; align-items: center; gap: .7rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--or);
  letter-spacing: .1em;
}
.nav__logo-icon { width: 36px; height: 36px; }
.nav__links {
  display: flex; gap: 2rem; margin-left: 1rem;
}
.nav__links a {
  font-size: .88rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-light); transition: color var(--trans);
}
.nav__links a:hover { color: var(--or); }
.nav__actions {
  margin-left: auto; display: flex; align-items: center; gap: .8rem;
}
.nav__burger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--creme);
  transition: all var(--trans); display: block;
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--noir-1);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(114,47,55,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero__particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.vine {
  position: absolute; top: 0; height: 100%; width: 140px;
  pointer-events: none; z-index: 1; opacity: .35;
}
.vine--left { left: -20px; }
.vine--right { right: -20px; transform: scaleX(-1); }
.vine path { fill: none; stroke: #4a7c3f; stroke-linecap: round; stroke-linejoin: round; }
.vine .leaf { fill: #4a7c3f; opacity: .7; }
.vine-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawVine 4s cubic-bezier(.4,0,.2,1) .5s forwards;
}
@keyframes drawVine { to { stroke-dashoffset: 0; } }

.hero__bottles {
  position: absolute; bottom: 0; width: 100%;
  display: flex; justify-content: space-between;
  padding: 0 5%; pointer-events: none; z-index: 1;
}
.bottle {
  width: clamp(50px, 6vw, 90px);
  transform-origin: bottom center;
  opacity: .4;
}
.bottle--1 { animation: swayBottle 6s ease-in-out infinite; }
.bottle--2 { animation: swayBottle 8s ease-in-out 1.5s infinite reverse; }
.bottle--3 { animation: swayBottle 7s ease-in-out 3s infinite; }
.bottle--4 { animation: swayBottle 9s ease-in-out .8s infinite reverse; }
@keyframes swayBottle {
  0%,100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

.hero__content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 1.5rem; max-width: 820px;
}
.hero__eyebrow {
  font-size: .8rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--or); margin-bottom: 1.2rem;
  animation: fadeUp .8s ease .3s both;
}
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900; line-height: 1;
  color: var(--or);
  text-shadow: 0 0 80px rgba(201,168,76,.3);
  animation: fadeUp 1s ease .5s both;
  letter-spacing: .06em;
}
.hero__subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-style: italic; color: var(--creme);
  margin: .8rem 0 1.2rem;
  animation: fadeUp 1s ease .7s both;
}
.hero__desc {
  color: var(--text-light); font-size: 1.05rem;
  margin-bottom: 2.5rem; line-height: 1.8;
  animation: fadeUp 1s ease .9s both;
}
.hero__cta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s ease 1.1s both;
}
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-muted); z-index: 2; animation: fadeIn 1s ease 2s both;
}
.hero__scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, var(--or), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Section base ───────────────────────────────────────────── */
.section {
  padding: 6rem 1.5rem;
  max-width: 1200px; margin: 0 auto;
}
.section__header { text-align: center; margin-bottom: 3.5rem; }
.section__tag {
  display: inline-block;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--or); margin-bottom: .8rem;
}
.section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--creme); margin-bottom: 1rem;
}
.section__title span { color: var(--or); }
.section__sub {
  font-size: 1.05rem; color: var(--text-light); max-width: 560px; margin: 0 auto;
}
.section-bg { background: var(--noir-2); }
.section-bg-3 { background: var(--noir-3); }
.divider {
  width: 60px; height: 2px;
  background: linear-gradient(to right, transparent, var(--or), transparent);
  margin: 1.2rem auto;
}

/* ─── Catalogue / Produits ───────────────────────────────────── */
.catalogue { padding: 6rem 0; background: var(--noir-2); }
.catalogue .section { max-width: 1200px; }
.catalogue-promo {
  display: flex; gap: 1rem; align-items: center;
  max-width: 520px; margin: 0 auto 3rem;
  background: rgba(201,168,76,.06); border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg); padding: 1rem 1.2rem;
}
.catalogue-promo input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--creme); font-size: .95rem; padding: .3rem;
}
.catalogue-promo input::placeholder { color: var(--text-muted); }
.promo-feedback {
  font-size: .82rem; margin-top: .4rem; display: block;
  min-height: 1.1rem;
}
.promo-feedback.ok  { color: #27ae60; }
.promo-feedback.err { color: #e74c3c; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}
.product-card {
  background: var(--noir-3); border: 1px solid rgba(201,168,76,.1);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,.4);
  box-shadow: var(--shadow-gold);
}
.product-card__img {
  height: 200px; overflow: hidden; background: var(--noir-2);
  display: flex; align-items: center; justify-content: center;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__img .bottle-placeholder {
  width: 60px; opacity: .3;
}
.product-card__body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.product-card__name {
  font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--creme);
}
.product-card__desc { font-size: .88rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.product-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: .8rem; flex-wrap: wrap; gap: .5rem;
}
.product-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--or);
}
.product-card__stock {
  font-size: .78rem; padding: .3rem .7rem; border-radius: 20px;
  font-weight: 700; letter-spacing: .04em;
}
.stock-ok   { background: rgba(39,174,96,.15); color: #2ecc71; border: 1px solid rgba(46,204,113,.25); }
.stock-low  { background: rgba(230,126,34,.15); color: #f39c12; border: 1px solid rgba(243,156,18,.25); }
.stock-none { background: rgba(192,57,43,.15);  color: #e74c3c; border: 1px solid rgba(231,76,60,.25); }

/* ─── Comment ça marche ──────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.step {
  text-align: center; padding: 2.5rem 1.5rem;
  background: var(--noir-3); border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,76,.08);
  transition: border-color var(--trans);
}
.step:hover { border-color: rgba(201,168,76,.3); }
.step__num {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bordeaux-dark), var(--bordeaux));
  border: 2px solid var(--or); color: var(--or);
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
}
.step__icon { font-size: 2rem; margin-bottom: 1rem; }
.step__title { font-size: 1.15rem; color: var(--creme); margin-bottom: .6rem; }
.step__desc { font-size: .9rem; color: var(--text-muted); }

/* ─── À propos ───────────────────────────────────────────────── */
.about { background: var(--noir); }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about__badge {
  display: inline-block; background: rgba(114,47,55,.2);
  border: 1px solid rgba(114,47,55,.5); border-radius: 4px;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bordeaux-light); padding: .3rem .8rem; margin-bottom: 1.2rem;
}
.about__title { font-size: clamp(1.8rem,4vw,2.8rem); color: var(--creme); margin-bottom: 1.4rem; }
.about__text { color: var(--text-light); font-size: .95rem; line-height: 1.8; margin-bottom: 1rem; }
.about__stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem;
}
.about__stat { text-align: center; }
.about__stat-num {
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--or);
}
.about__stat-label { font-size: .8rem; color: var(--text-muted); letter-spacing: .06em; }
.about__visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.about__crest { width: 280px; opacity: .9; }

/* ─── CTA Discord ────────────────────────────────────────────── */
.cta-discord {
  background: linear-gradient(135deg, var(--bordeaux-dark) 0%, var(--noir-1) 100%);
  border-top: 1px solid rgba(201,168,76,.15);
  border-bottom: 1px solid rgba(201,168,76,.15);
  text-align: center; padding: 5rem 1.5rem;
}
.cta-discord__title {
  font-size: clamp(2rem,5vw,3.2rem); color: var(--creme); margin-bottom: 1rem;
}
.cta-discord__sub { color: var(--text-light); margin-bottom: 2.5rem; font-size: 1.05rem; }
.discord-btn {
  background: #5865F2; color: #fff; gap: .7rem; font-size: 1.05rem;
  padding: 1rem 2.5rem; border-radius: var(--radius);
}
.discord-btn:hover { background: #4752C4; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(88,101,242,.35); }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--noir-1); border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.footer__logo { font-family: 'Playfair Display', serif; color: var(--or); font-size: 1.3rem; letter-spacing: .1em; }
.footer__text { font-size: .8rem; color: var(--text-muted); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { font-size: .8rem; color: var(--text-muted); transition: color var(--trans); }
.footer__links a:hover { color: var(--or); }

/* ─── Auth info bar ──────────────────────────────────────────── */
.auth-bar {
  background: rgba(201,168,76,.06); border-bottom: 1px solid rgba(201,168,76,.15);
  padding: .5rem 2rem; display: flex; align-items: center; gap: 1rem;
  font-size: .85rem; color: var(--text-light);
}
.auth-bar__avatar { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(201,168,76,.3); }
.auth-bar__name { color: var(--creme); font-weight: 700; }
.auth-bar__role {
  font-size: .72rem; padding: .15rem .6rem; border-radius: 20px;
  background: rgba(201,168,76,.15); color: var(--or); letter-spacing: .08em; text-transform: uppercase;
}
.auth-bar__spacer { flex: 1; }

/* ─── Dashboards ─────────────────────────────────────────────── */
.dashboard {
  min-height: 100vh; background: var(--noir-1);
  padding-top: 80px;
}
.dash-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.dash-header h1 { font-size: 1.8rem; color: var(--creme); }
.dash-header h1 span { color: var(--or); }

/* Stats Cards */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1.2rem; margin-bottom: 2.5rem;
}
.stat-card {
  background: var(--noir-2); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: border-color var(--trans);
}
.stat-card:hover { border-color: rgba(201,168,76,.25); }
.stat-card__label { font-size: .8rem; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.stat-card__value { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--or); }
.stat-card__sub { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }
.stat-card--bordeaux { border-color: rgba(114,47,55,.3); }
.stat-card--bordeaux .stat-card__value { color: var(--bordeaux-light); }

/* Panels */
.panel {
  background: var(--noir-2); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); margin-bottom: 2rem; overflow: hidden;
}
.panel__header {
  padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
}
.panel__title { font-size: 1.1rem; color: var(--creme); font-family: 'Playfair Display', serif; }
.panel__body { padding: 1.5rem; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead th {
  text-align: left; padding: .8rem 1rem;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,.08);
}
tbody td {
  padding: .9rem 1rem; border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: middle;
}
tbody tr:hover td { background: rgba(255,255,255,.02); }
tbody tr:last-child td { border-bottom: none; }

/* Status badges */
.badge {
  display: inline-block; padding: .25rem .7rem; border-radius: 20px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.badge--attente  { background: rgba(243,156,18,.15); color: #f39c12; }
.badge--confirmee{ background: rgba(39,174,96,.15);  color: #27ae60; }
.badge--livree   { background: rgba(52,152,219,.15); color: #3498db; }
.badge--refusee  { background: rgba(192,57,43,.15);  color: #e74c3c; }
.badge--client   { background: rgba(201,168,76,.12); color: var(--or); }
.badge--vendeur  { background: rgba(114,47,55,.2);   color: var(--bordeaux-light); }
.badge--admin    { background: rgba(88,101,242,.2);  color: #7289da; }

/* Forms */
.form-grid { display: grid; gap: 1.2rem; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .82rem; color: var(--text-light); letter-spacing: .04em; text-transform: uppercase;
}
.form-control {
  background: var(--noir-3); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); color: var(--creme); padding: .7rem 1rem;
  font-size: .95rem; transition: border-color var(--trans), box-shadow var(--trans);
  width: 100%;
}
.form-control:focus {
  outline: none; border-color: var(--or);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:disabled { opacity: .5; cursor: not-allowed; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-hint { font-size: .78rem; color: var(--text-muted); margin-top: .2rem; }
.form-error { font-size: .82rem; color: #e74c3c; margin-top: .3rem; }
.form-success { font-size: .82rem; color: #27ae60; margin-top: .3rem; }

/* Price display */
.price-calc {
  background: rgba(201,168,76,.06); border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius); padding: 1rem 1.2rem; margin-top: .5rem;
}
.price-calc__row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .9rem; color: var(--text-light); padding: .25rem 0;
}
.price-calc__row--total {
  font-size: 1.1rem; font-weight: 700; color: var(--or);
  border-top: 1px solid rgba(201,168,76,.2); margin-top: .4rem; padding-top: .6rem;
}
.price-calc__discount { color: #27ae60; font-size: .85rem; }

/* Order history */
.orders-history { display: flex; flex-direction: column; gap: 1rem; }
.order-row {
  background: var(--noir-3); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.order-row__id { font-size: .8rem; color: var(--text-muted); min-width: 50px; }
.order-row__name { flex: 1; font-weight: 700; color: var(--creme); min-width: 160px; }
.order-row__detail { font-size: .88rem; color: var(--text-muted); }
.order-row__price { font-family: 'Playfair Display', serif; color: var(--or); white-space: nowrap; }
.order-row__date { font-size: .8rem; color: var(--text-muted); white-space: nowrap; }

/* Points card */
.points-card {
  background: linear-gradient(135deg, var(--bordeaux-dark) 0%, var(--noir-2) 100%);
  border: 1px solid rgba(201,168,76,.25); border-radius: var(--radius-lg);
  padding: 2rem; text-align: center; margin-bottom: 2rem;
}
.points-card__value {
  font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 900; color: var(--or);
  line-height: 1;
}
.points-card__label { color: var(--text-light); font-size: .9rem; margin-top: .4rem; }

/* Promo management */
.promo-list { display: flex; flex-direction: column; gap: .8rem; }
.promo-item {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem;
  background: var(--noir-3); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06); flex-wrap: wrap;
}
.promo-item__code { font-family: 'Lato', monospace; font-weight: 700; color: var(--or); min-width: 120px; }
.promo-item__info { flex: 1; font-size: .88rem; color: var(--text-muted); }
.promo-item__usage { font-size: .82rem; color: var(--text-muted); }
.promo-item--inactive { opacity: .5; }

/* Mobile nav */
@media (max-width: 768px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(13,11,11,.97); flex-direction: column; padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(201,168,76,.15); gap: 1.2rem;
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }
  .nav__actions .btn:not(.btn--gold) { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about__visual { display: none; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .auth-bar { flex-wrap: wrap; }
  .dash-header { flex-direction: column; align-items: flex-start; }
}

/* ─── Animations globales ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.anim-up.visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }

/* ─── Spinner ────────────────────────────────────────────────── */
.spinner {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(201,168,76,.3); border-top-color: var(--or);
  border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Toast ──────────────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  display: flex; flex-direction: column; gap: .6rem; pointer-events: none;
}
.toast {
  background: var(--noir-3); border-radius: var(--radius);
  padding: .9rem 1.3rem; font-size: .9rem; color: var(--creme);
  border-left: 3px solid var(--or); box-shadow: var(--shadow);
  animation: toastIn .3s ease; pointer-events: auto;
  max-width: 320px;
}
.toast.success { border-color: #27ae60; }
.toast.error   { border-color: #e74c3c; }
.toast.out     { animation: toastOut .3s ease forwards; }
@keyframes toastIn  { from { transform: translateX(40px); opacity: 0; } }
@keyframes toastOut { to   { transform: translateX(40px); opacity: 0; } }

/* ─── Empty state ────────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 3rem 1rem; color: var(--text-muted);
}
.empty-state__icon { font-size: 3rem; margin-bottom: 1rem; opacity: .4; }
.empty-state__text { font-size: .95rem; }
