/* ============================================================
   BRACONGO — Identité visuelle & styles globaux
   Palette : rouge BRACONGO, or, anthracite, crème chaude
   ============================================================ */

:root {
  --br-red: #c8102e;
  --br-red-dark: #9a0c23;
  --br-red-deep: #6e0819;
  --br-gold: #d4a017;
  --br-gold-light: #f0c14b;
  --br-ink: #1a1210;
  --br-ink-soft: #3d2f2a;
  --br-cream: #faf6f1;
  --br-sand: #f3ebe3;
  --br-white: #ffffff;
  --br-muted: #7a6a63;
  --br-border: rgba(26, 18, 16, 0.08);
  --br-shadow: 0 12px 40px rgba(26, 18, 16, 0.1);
  --br-shadow-sm: 0 4px 18px rgba(26, 18, 16, 0.08);
  --br-radius: 1.25rem;
  --br-radius-sm: 0.85rem;
  --header-h: 118px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--br-ink);
  background: var(--br-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--br-ink);
}

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

a {
  color: var(--br-red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--br-red-dark);
}

/* ---------- Header sticky ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(26, 18, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  min-height: var(--header-h);
}

.site-header.is-scrolled {
  background: rgba(26, 18, 16, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.site-header .navbar {
  min-height: var(--header-h);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--br-red), var(--br-red-deep));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(200, 16, 46, 0.35);
}

.brand-mark--sm {
  width: 34px;
  height: 34px;
  font-size: 1rem;
  border-radius: 10px;
}

.brand-logo {
  width: 64px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo--footer {
  width: 56px;
  height: 60px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: #fff;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-text small {
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 400;
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.45rem 0.85rem !important;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ---------- Boutons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.7rem 1.45rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--br-gold-light), var(--br-gold));
  color: var(--br-ink) !important;
  border: none;
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffe08a, var(--br-gold-light));
  color: var(--br-ink) !important;
  box-shadow: 0 12px 28px rgba(212, 160, 23, 0.45);
}

.btn-bracongo {
  background: var(--br-red);
  color: #fff !important;
  border: none;
  box-shadow: 0 8px 22px rgba(200, 16, 46, 0.35);
}

.btn-bracongo:hover {
  background: var(--br-red-dark);
  color: #fff !important;
}

.btn-outline-light {
  border-width: 1.5px;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(200, 16, 46, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(212, 160, 23, 0.18), transparent 55%),
    linear-gradient(160deg, #1a1210 0%, #2a1518 45%, #3d0a14 100%);
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--br-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--br-gold-light);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0 3rem;
}

.hero-bottle {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    url('../images/hero-bottles.svg') center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: floatY 6s ease-in-out infinite;
}

.hero-slider {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
}

.hero-slider__track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  background: rgba(0, 0, 0, 0.25);
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.hero-slider__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo--tembo {
  object-fit: contain;
  background: #3a1712;
}

.hero-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.hero-slider__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-slider__btn:hover {
  background: rgba(240, 193, 75, 0.2);
  border-color: rgba(240, 193, 75, 0.55);
  transform: translateY(-1px);
}

.hero-slider__dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.hero-slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-slider__dots button.is-active {
  width: 26px;
  background: var(--br-gold-light);
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Sections communes ---------- */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--br-sand);
}

.section-dark {
  background: linear-gradient(160deg, #1a1210, #2c1418);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-label {
  display: inline-block;
  color: var(--br-red);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-dark .section-label {
  color: var(--br-gold-light);
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 750;
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--br-muted);
  max-width: 38rem;
  margin-bottom: 0;
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Cards catégories ---------- */
.cat-card {
  display: block;
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--br-radius);
  background: var(--br-white);
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  color: inherit;
  text-decoration: none;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--br-shadow);
  border-color: rgba(200, 16, 46, 0.2);
  color: inherit;
}

.cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.15rem;
  background: linear-gradient(145deg, #fde8ec, #fff);
  color: var(--br-red);
}

.cat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cat-card p {
  color: var(--br-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Univers présentés avec les visuels officiels BRACONGO. */
.universe-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--br-radius);
  background: var(--br-white);
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow-sm);
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.universe-card:hover {
  color: inherit;
  transform: translateY(-5px);
  box-shadow: var(--br-shadow);
}

.universe-card:focus-visible {
  outline: 3px solid var(--br-red);
  outline-offset: 4px;
}

.universe-card__media {
  height: 220px;
  overflow: hidden;
  background: var(--br-sand);
}

.universe-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.2rem;
}

.universe-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
}

.universe-card__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.universe-card__body p {
  color: var(--br-muted);
  font-size: 0.93rem;
  margin-bottom: 1.25rem;
}

.universe-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: var(--br-red);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Produits ---------- */
.product-card {
  height: 100%;
  border-radius: var(--br-radius);
  background: var(--br-white);
  border: 1px solid var(--br-border);
  overflow: hidden;
  box-shadow: var(--br-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--br-shadow);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #f5e6e0, #ead5cc);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.06);
}

.product-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(26, 18, 16, 0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.product-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.product-card__body p {
  color: var(--br-muted);
  font-size: 0.9rem;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--br-border);
}

.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--br-red);
  font-size: 1.05rem;
}

.product-pack {
  font-size: 0.8rem;
  color: var(--br-muted);
}

/* ---------- Steps ---------- */
.step-card {
  position: relative;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: var(--br-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, transform 0.3s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--br-gold-light), var(--br-gold));
  color: var(--br-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Avantages ---------- */
.benefit-card {
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--br-radius);
  background: var(--br-white);
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--br-shadow);
}

.benefit-card i {
  font-size: 1.75rem;
  color: var(--br-red);
  margin-bottom: 1rem;
  display: block;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--br-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- À propos ---------- */
.about-panel {
  border-radius: calc(var(--br-radius) + 0.25rem);
  overflow: hidden;
  background: var(--br-white);
  box-shadow: var(--br-shadow);
  border: 1px solid var(--br-border);
}

.about-visual {
  position: relative;
  min-height: 320px;
  height: 100%;
  background: var(--br-sand);
  overflow: hidden;
}

.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: 2.5rem;
}

/* ---------- Stats ---------- */
.stats-strip {
  margin-top: -3rem;
  position: relative;
  z-index: 5;
}

.stat-card {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: var(--br-radius);
  background: var(--br-white);
  box-shadow: var(--br-shadow);
  border: 1px solid var(--br-border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--br-red);
  line-height: 1.1;
}

.stat-label {
  color: var(--br-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* ---------- CTA final ---------- */
.cta-banner {
  border-radius: calc(var(--br-radius) + 0.35rem);
  padding: 3.5rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212, 160, 23, 0.25), transparent 50%),
    linear-gradient(135deg, var(--br-red-deep), var(--br-red));
  color: #fff;
  box-shadow: var(--br-shadow);
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #120d0c;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Auth pages ---------- */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background:
    radial-gradient(ellipse at top right, rgba(200, 16, 46, 0.08), transparent 50%),
    var(--br-cream);
}

.auth-card {
  border-radius: calc(var(--br-radius) + 0.15rem);
  background: var(--br-white);
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow);
  padding: 2.25rem;
}

.auth-card h1 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.auth-card .form-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.auth-card .form-control {
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  border-color: #e2d6cf;
}

.auth-card .form-control:focus {
  border-color: var(--br-red);
  box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.15);
}

.auth-aside {
  border-radius: calc(var(--br-radius) + 0.15rem);
  padding: 2.5rem;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(26, 18, 16, 0.3), rgba(26, 18, 16, 0.88)),
    url('../images/bracongo/usine.webp') center / cover no-repeat;
}

.footer-links a {
  overflow-wrap: anywhere;
}

.auth-aside h2 {
  color: #fff;
  font-size: 1.85rem;
}

/* ---------- Dashboards simples ---------- */
.dash-wrap {
  padding: 2.5rem 0 4rem;
}

.dash-card {
  border-radius: var(--br-radius);
  background: var(--br-white);
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow-sm);
  padding: 1.75rem;
}

/* ---------- Cart button header ---------- */
.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cart-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
  color: #fff !important;
}

.cart-btn__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--br-gold);
  color: var(--br-ink);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-btn__count.is-active {
  opacity: 1;
  transform: scale(1);
  animation: cartPop 0.35s ease;
}

@keyframes cartPop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ---------- Page hero compact ---------- */
.page-hero-sm {
  background: linear-gradient(160deg, #1a1210, #3d0a14);
  color: #fff;
  padding: 2.75rem 0 2.5rem;
}

.page-hero-sm__title {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.5rem;
}

.page-hero-sm__lead {
  color: rgba(255, 255, 255, 0.75);
  max-width: 40rem;
}

.section-tight {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.demo-chip {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(212, 160, 23, 0.2);
  color: var(--br-gold);
  vertical-align: middle;
}

.demo-chip--abs {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  background: rgba(26, 18, 16, 0.75);
  color: var(--br-gold-light);
}

/* ---------- Filters / badges ---------- */
.filter-bar {
  background: var(--br-white);
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--br-shadow-sm);
}

.filter-bar .form-control,
.filter-bar .form-select {
  border-radius: 0.75rem;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-dispo {
  background: #e7f7ee;
  color: #1b7a3d;
}

.badge-faible {
  background: #fff4e0;
  color: #a86a00;
}

.badge-rupture {
  background: #fde8ec;
  color: #b01028;
}

.product-card__media .stock-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
}

.product-card--link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-card--link:hover {
  color: inherit;
}

.product-card--link article {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ---------- Product detail ---------- */
.breadcrumb-nav {
  font-size: 0.9rem;
  color: var(--br-muted);
}

.breadcrumb-nav a {
  color: var(--br-muted);
}

.breadcrumb-nav a:hover {
  color: var(--br-red);
}

.breadcrumb-nav span {
  margin: 0 0.4rem;
}

.product-gallery {
  position: relative;
  border-radius: calc(var(--br-radius) + 0.25rem);
  overflow: hidden;
  background: linear-gradient(160deg, #f5e6e0, #ead5cc);
  aspect-ratio: 1 / 1;
  box-shadow: var(--br-shadow);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.product-desc {
  color: var(--br-muted);
  font-size: 1.05rem;
}

.info-note {
  background: #fff8e8;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: var(--br-radius-sm);
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  color: var(--br-ink-soft);
}

.info-note i {
  color: var(--br-gold);
  margin-right: 0.35rem;
}

.cond-option {
  display: block;
  border: 1.5px solid var(--br-border);
  border-radius: var(--br-radius-sm);
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  background: var(--br-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cond-option:hover:not(.is-disabled) {
  border-color: rgba(200, 16, 46, 0.35);
  transform: translateY(-2px);
}

.cond-option.is-selected {
  border-color: var(--br-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.cond-option.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cond-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cond-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--br-red);
  font-size: 1.05rem;
}

.cond-price small {
  font-weight: 500;
  color: var(--br-muted);
  font-family: var(--font-body);
}

.cond-stock {
  color: var(--br-muted);
  font-size: 0.85rem;
}

.cond-option__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.live-total {
  background: var(--br-sand);
  border-radius: var(--br-radius-sm);
  padding: 0.85rem 1.1rem;
}

.live-total__label {
  display: block;
  font-size: 0.8rem;
  color: var(--br-muted);
}

.live-total__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--br-red);
  line-height: 1.2;
}

.live-total__detail {
  font-size: 0.85rem;
  color: var(--br-muted);
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

/* ---------- Cart ---------- */
.cart-table-wrap {
  background: var(--br-white);
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  box-shadow: var(--br-shadow-sm);
  overflow: hidden;
}

.cart-table thead th {
  background: var(--br-sand);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--br-muted);
  border-bottom: none;
  white-space: nowrap;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 180px;
}

.cart-product img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--br-sand);
}

.cart-summary {
  background: var(--br-white);
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  box-shadow: var(--br-shadow);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--br-white);
  border-radius: var(--br-radius);
  border: 1px dashed rgba(26, 18, 16, 0.15);
}

.empty-state i {
  font-size: 3rem;
  color: var(--br-red);
  opacity: 0.7;
  display: block;
  margin-bottom: 1rem;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 800;
  color: var(--br-red);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.demo-banner {
  background: linear-gradient(90deg, #3d0a14, #c8102e);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
}

.demo-banner strong {
  color: var(--br-gold-light);
}

.empty-state h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--br-muted);
  margin-bottom: 1.5rem;
}

.toast-flash {
  animation: slideDown 0.35s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Animations scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3rem 0 2rem;
    text-align: center;
  }

  .hero h1 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-bottle {
    width: min(100%, 300px);
    margin-bottom: 2.5rem;
  }

  .hero-slider {
    max-width: 640px;
    margin: 0 auto 1.75rem;
  }

  .hero-slider__track {
    aspect-ratio: 16 / 11;
    border-radius: 1.35rem;
  }

  .site-header .navbar-collapse {
    background: rgba(26, 18, 16, 0.98);
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 0.5rem;
  }

  .about-content {
    padding: 1.75rem;
  }

  .cart-summary {
    position: static;
  }
}

/* ---------- Espace client ---------- */
.client-nav {
  background: var(--br-white);
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  box-shadow: var(--br-shadow-sm);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.client-nav__head {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--br-border);
}

.client-nav__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
  color: var(--br-ink-soft);
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.client-nav__link:hover {
  background: var(--br-sand);
  color: var(--br-red);
}

.client-nav__link.is-active {
  background: rgba(200, 16, 46, 0.1);
  color: var(--br-red);
}

.client-nav__link i {
  font-size: 1.1rem;
}

.shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.35rem 1rem;
  border-radius: var(--br-radius);
  background: var(--br-white);
  border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow-sm);
  color: var(--br-ink);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  height: 100%;
}

.shortcut-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--br-shadow);
  color: var(--br-red);
}

.shortcut-card i {
  font-size: 1.5rem;
  color: var(--br-red);
}

.client-mini-list li + li {
  border-top: 1px solid var(--br-border);
}

.client-mini-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0;
  color: inherit;
}

.client-mini-list a:hover {
  color: var(--br-red);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pill--lg {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
}

.badge-attente { background: #fff4e0; color: #a86a00; }
.badge-confirmee { background: #e7f0ff; color: #1d4ed8; }
.badge-prep { background: #f3e8ff; color: #7c3aed; }
.badge-dispo { background: #e7f7ee; color: #1b7a3d; }
.badge-terminee { background: #e8eef5; color: #334155; }
.badge-refusee { background: #fde8ec; color: #b01028; }
.badge-annulee { background: #f1f1f1; color: #6b7280; }

.status-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

.status-timeline__step {
  flex: 1 1 90px;
  text-align: center;
  position: relative;
  opacity: 0.4;
}

.status-timeline__step.is-done,
.status-timeline__step.is-current {
  opacity: 1;
}

.status-timeline__step .dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d6cbc3;
  margin-bottom: 0.4rem;
}

.status-timeline__step.is-done .dot {
  background: var(--br-red);
}

.status-timeline__step.is-current .dot {
  background: var(--br-gold);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.25);
}

.status-timeline__step .lbl {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--br-ink-soft);
}

.status-timeline__step.is-neg .dot {
  background: #b01028;
}

.confirm-card {
  background: var(--br-white);
  border: 1px solid var(--br-border);
  border-radius: calc(var(--br-radius) + 0.15rem);
  box-shadow: var(--br-shadow);
  padding: 2.5rem 1.75rem;
  text-align: center;
}

.confirm-card__icon {
  font-size: 3rem;
  color: #1b7a3d;
  margin-bottom: 0.75rem;
}

.confirm-card__numero {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--br-red);
  background: var(--br-sand);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  margin: 1rem 0 1.5rem;
}

@media (max-width: 991.98px) {
  .client-nav {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 3.5rem 0;
  }

  .auth-card {
    padding: 1.5rem;
  }

  .cta-banner {
    padding: 2.5rem 1.25rem;
  }
}
