/* ============================================
   BOISSON.FR — Le guide indépendant du bien-boire
   Style principal — Mobile-first, responsive
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Palette */
  --noir:        #1B1520;
  --noir-light:  #2A2230;
  --bordeaux:    #722F37;
  --bordeaux-light: #8B3A44;
  --cuivre:      #C17817;
  --cuivre-light:#D4922F;
  --creme:       #F5F0EB;
  --creme-dark:  #E8E0D8;
  --vert:        #3A5A40;
  --vert-light:  #4A7A52;
  --blanc:       #FFFFFF;
  --gris-text:   #B0A8B8;
  --gris-subtle: #8A8290;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-xxl: 6rem;

  /* Layout */
  --max-width:  1200px;
  --max-prose:  780px;
  --radius:     8px;
  --radius-lg:  16px;

  /* Transitions */
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--creme);
  background-color: var(--noir);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--cuivre);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--cuivre-light); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--creme);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: var(--space-sm); }
h4 { font-size: 1.25rem; margin-bottom: var(--space-xs); }

p { margin-bottom: var(--space-sm); }

.lead {
  font-size: 1.15rem;
  color: var(--gris-text);
  line-height: 1.8;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--prose {
  max-width: var(--max-prose);
}

.section {
  padding: var(--space-xl) 0;
}

.section--alt {
  background-color: var(--noir-light);
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 21, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(193, 120, 23, 0.15);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--creme);
  letter-spacing: 0.02em;
}
.site-logo span { color: var(--cuivre); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--creme);
  transition: var(--transition);
}

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--noir);
  border-bottom: 1px solid rgba(193, 120, 23, 0.15);
  padding: var(--space-sm) var(--space-md);
}
.main-nav.active { display: block; }

.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.main-nav a {
  display: block;
  padding: var(--space-xs) 0;
  color: var(--gris-text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--cuivre); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: block;
    position: static;
    background: none;
    border: none;
    padding: 0;
  }
  .main-nav ul {
    flex-direction: row;
    gap: var(--space-md);
  }
  .main-nav a { padding: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--space-xxl) 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--noir) 0%, var(--noir-light) 40%, rgba(114,47,55,0.3) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(193,120,23,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cuivre);
  margin-bottom: var(--space-sm);
}

.hero h1 {
  font-style: italic;
  margin-bottom: var(--space-md);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .lead {
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--bordeaux);
  color: var(--creme);
}
.btn--primary:hover {
  background: var(--bordeaux-light);
  color: var(--blanc);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(114, 47, 55, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--cuivre);
  border: 2px solid var(--cuivre);
}
.btn--secondary:hover {
  background: var(--cuivre);
  color: var(--noir);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--cuivre);
  color: var(--noir);
}
.btn--accent:hover {
  background: var(--cuivre-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(193, 120, 23, 0.3);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--creme);
  color: var(--noir);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card__image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--creme-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gris-subtle);
  font-size: 0.85rem;
  text-align: center;
  padding: var(--space-sm);
  border-bottom: 3px solid var(--bordeaux);
}

.card__body {
  padding: var(--space-md);
}

.card__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bordeaux);
  margin-bottom: var(--space-xs);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--noir);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}
.card__title a { color: var(--noir); }
.card__title a:hover { color: var(--bordeaux); }

.card__excerpt {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.card__meta {
  font-size: 0.8rem;
  color: var(--gris-subtle);
}

/* ---------- Product Card ---------- */
.product-card {
  background: var(--creme);
  color: var(--noir);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 1;
  max-width: 200px;
  margin: 0 auto var(--space-sm);
  background: var(--creme-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gris-subtle);
  font-size: 0.8rem;
  padding: var(--space-xs);
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.product-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bordeaux);
  margin-bottom: var(--space-xs);
}

.product-card__desc {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: var(--space-sm);
}

/* ---------- Univers Navigation ---------- */
.univers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .univers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .univers-grid { grid-template-columns: repeat(6, 1fr); }
}

.univers-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-lg);
  background: var(--noir-light);
  border: 1px solid rgba(193, 120, 23, 0.1);
  transition: all var(--transition);
  text-decoration: none;
  text-align: center;
}
.univers-item:hover {
  border-color: var(--cuivre);
  background: rgba(193, 120, 23, 0.08);
  transform: translateY(-3px);
}

.univers-item__icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.univers-item__label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--creme);
}

/* ---------- Fact / Le Chiffre ---------- */
.fact-block {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(135deg, rgba(114,47,55,0.2), rgba(193,120,23,0.1));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(193, 120, 23, 0.15);
}

.fact-block__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--cuivre);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.fact-block__unit {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cuivre-light);
}

.fact-block__text {
  font-size: 1.1rem;
  color: var(--gris-text);
  max-width: 500px;
  margin: var(--space-sm) auto 0;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--bordeaux);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.newsletter h2 { color: var(--creme); }

.newsletter p {
  color: rgba(245, 240, 235, 0.8);
  max-width: 500px;
  margin: 0 auto var(--space-md);
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 480px;
  margin: 0 auto;
}

.newsletter__input {
  padding: 0.85rem 1rem;
  border: 2px solid rgba(245, 240, 235, 0.2);
  border-radius: var(--radius);
  background: rgba(245, 240, 235, 0.1);
  color: var(--creme);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter__input::placeholder { color: rgba(245, 240, 235, 0.5); }
.newsletter__input:focus { border-color: var(--cuivre); }

@media (min-width: 640px) {
  .newsletter__form {
    flex-direction: row;
  }
  .newsletter__input { flex: 1; }
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cuivre);
  margin-bottom: var(--space-xs);
}

.section-header p {
  color: var(--gris-text);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  padding: var(--space-sm) 0;
  font-size: 0.85rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.breadcrumb li::after {
  content: '›';
  margin-left: 0.25rem;
  color: var(--gris-subtle);
}
.breadcrumb li:last-child::after { display: none; }

.breadcrumb a { color: var(--gris-subtle); }
.breadcrumb a:hover { color: var(--cuivre); }
.breadcrumb .current { color: var(--creme); }

/* ---------- Article Content ---------- */
.article-header {
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}

.article-header__category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cuivre);
  margin-bottom: var(--space-sm);
}

.article-header h1 {
  max-width: 800px;
  margin: 0 auto var(--space-md);
}

.article-header .lead {
  max-width: 600px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--gris-subtle);
  margin-top: var(--space-md);
}

.article-content {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding-bottom: var(--space-xl);
}

.article-content h2 {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(193, 120, 23, 0.15);
}

.article-content h3 { margin-top: var(--space-lg); }

.article-content p { color: rgba(245, 240, 235, 0.9); }

.article-content ul,
.article-content ol {
  margin: var(--space-sm) 0;
  padding-left: var(--space-md);
  color: rgba(245, 240, 235, 0.9);
}
.article-content li { margin-bottom: var(--space-xs); }

.article-content blockquote {
  border-left: 3px solid var(--cuivre);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  background: rgba(193, 120, 23, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gris-text);
}

/* Alcohol Warning Inline */
.alcohol-warning {
  background: rgba(114, 47, 55, 0.15);
  border: 1px solid rgba(114, 47, 55, 0.3);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  color: var(--gris-text);
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* Image Placeholder */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--noir-light);
  border: 2px dashed rgba(193, 120, 23, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gris-subtle);
  font-size: 0.85rem;
  text-align: center;
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

.img-placeholder--square { aspect-ratio: 1; }
.img-placeholder--wide   { aspect-ratio: 21/9; }

/* ---------- Comparison Tables ---------- */
.table-wrapper {
  overflow-x: auto;
  margin: var(--space-md) 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(193, 120, 23, 0.15);
}

.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table thead {
  background: var(--bordeaux);
}

.comparison-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--creme);
  white-space: nowrap;
}

.comparison-table tbody tr {
  border-bottom: 1px solid rgba(193, 120, 23, 0.08);
  transition: background var(--transition);
}
.comparison-table tbody tr:hover {
  background: rgba(193, 120, 23, 0.04);
}

.comparison-table td {
  padding: 0.75rem 1rem;
  color: rgba(245, 240, 235, 0.9);
}

.comparison-table .highlight-row {
  background: rgba(193, 120, 23, 0.06);
}

.comparison-table .rating {
  color: var(--cuivre);
  font-weight: 600;
}

.comparison-table .btn { white-space: nowrap; }

/* ---------- Top 3 Summary ---------- */
.top3-box {
  background: linear-gradient(135deg, rgba(114,47,55,0.15), rgba(193,120,23,0.1));
  border: 1px solid rgba(193, 120, 23, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.top3-box h3 {
  color: var(--cuivre);
  margin-bottom: var(--space-sm);
}

.top3-box ol {
  padding-left: var(--space-md);
}
.top3-box li {
  margin-bottom: var(--space-xs);
  color: var(--creme);
}
.top3-box .top3-name {
  font-weight: 600;
  color: var(--creme);
}
.top3-box .top3-why {
  color: var(--gris-text);
}

/* ---------- Recipe Card ---------- */
.recipe-card {
  background: var(--noir-light);
  border: 1px solid rgba(193, 120, 23, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

.recipe-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.recipe-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cuivre);
}

.recipe-card__badges {
  display: flex;
  gap: var(--space-xs);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--easy    { background: rgba(58,90,64,0.2); color: var(--vert-light); }
.badge--medium  { background: rgba(193,120,23,0.2); color: var(--cuivre); }
.badge--hard    { background: rgba(114,47,55,0.2); color: #c0616b; }
.badge--glass   { background: rgba(245,240,235,0.1); color: var(--gris-text); }

.recipe-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .recipe-card__grid { grid-template-columns: 1fr 1fr; }
}

.recipe-card h4 {
  color: var(--creme);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(193,120,23,0.15);
}

.recipe-card ul {
  list-style: none;
  padding: 0;
}
.recipe-card li {
  padding: 4px 0;
  color: rgba(245,240,235,0.85);
  font-size: 0.9rem;
}
.recipe-card li::before {
  content: '•';
  color: var(--cuivre);
  margin-right: 8px;
}

.recipe-card__steps {
  counter-reset: step;
}
.recipe-card__steps li {
  counter-increment: step;
}
.recipe-card__steps li::before {
  content: counter(step) '.';
  color: var(--cuivre);
  font-weight: 600;
  margin-right: 8px;
}

.recipe-card__tip {
  margin-top: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(58, 90, 64, 0.1);
  border-left: 3px solid var(--vert);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--gris-text);
}

/* ---------- Interactive Tools ---------- */
.tool-container {
  background: var(--noir-light);
  border: 1px solid rgba(193, 120, 23, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-md) 0;
}

.tool-container label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--creme);
}

.tool-container select,
.tool-container input[type="number"],
.tool-container input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(193, 120, 23, 0.2);
  border-radius: var(--radius);
  background: var(--noir);
  color: var(--creme);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  outline: none;
  transition: border-color var(--transition);
}

.tool-container select:focus,
.tool-container input:focus {
  border-color: var(--cuivre);
}

.tool-container select option {
  background: var(--noir);
}

.tool-result {
  background: rgba(193, 120, 23, 0.06);
  border: 1px solid rgba(193, 120, 23, 0.15);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-top: var(--space-md);
}

/* Quiz */
.quiz-question {
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(193, 120, 23, 0.1);
}
.quiz-question:last-of-type { border-bottom: none; }

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.quiz-option {
  display: block;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(193, 120, 23, 0.15);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
  color: var(--creme);
  background: transparent;
  text-align: left;
  font-family: var(--font-body);
}
.quiz-option:hover { border-color: var(--cuivre); background: rgba(193,120,23,0.06); }
.quiz-option.selected {
  border-color: var(--cuivre);
  background: rgba(193, 120, 23, 0.15);
  color: var(--cuivre);
  font-weight: 600;
}

.quiz-result {
  text-align: center;
  padding: var(--space-lg);
}
.quiz-result__profile {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cuivre);
  margin-bottom: var(--space-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--noir-light);
  border-top: 1px solid rgba(193, 120, 23, 0.15);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--creme);
  margin-bottom: var(--space-sm);
}

.footer-col ul { list-style: none; }

.footer-col li {
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--gris-text);
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--cuivre); }

.footer-bottom {
  border-top: 1px solid rgba(193, 120, 23, 0.1);
  padding-top: var(--space-md);
  text-align: center;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--gris-subtle);
  margin-bottom: var(--space-xs);
}

.footer-alcohol-warning {
  font-size: 0.8rem;
  color: var(--bordeaux-light);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid rgba(114, 47, 55, 0.3);
  border-radius: var(--radius);
  display: inline-block;
  margin-bottom: var(--space-xs);
}

.footer-adult {
  font-size: 0.75rem;
  color: var(--gris-subtle);
  font-style: italic;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--noir-light);
  border-top: 1px solid rgba(193, 120, 23, 0.2);
  padding: var(--space-md);
  z-index: 1000;
  display: none;
}

.cookie-banner.active { display: block; }

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .cookie-banner__inner {
    flex-direction: row;
    text-align: left;
  }
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--gris-text);
  margin: 0;
  flex: 1;
}
.cookie-banner a { color: var(--cuivre); }

.cookie-banner__actions {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--creme);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover {
  background: var(--bordeaux-light);
  transform: translateY(-3px);
}

/* ---------- Prose on cream background ---------- */
.prose-cream {
  background: var(--creme);
  color: var(--noir);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-md) 0;
}

.prose-cream h2,
.prose-cream h3,
.prose-cream h4 { color: var(--noir); }

.prose-cream p { color: #333; }

.prose-cream a { color: var(--bordeaux); }
.prose-cream a:hover { color: var(--bordeaux-light); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-cuivre { color: var(--cuivre); }
.text-bordeaux { color: var(--bordeaux); }
.text-vert { color: var(--vert); }
.mb-0 { margin-bottom: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .back-to-top, .newsletter { display: none; }
  body { color: #000; background: #fff; }
  a { color: #333; }
}

/* ============================================================
   UPGRADE CSS — boisson.fr
   Ameliorations micro-interactions, glow cuivre
   Date: 2026-04-29
   ============================================================ */

/* --- Transitions globales --- */
.btn--primary,
.btn--secondary,
.btn--accent,
.btn--sm,
.card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Bouton accent : glow cuivre au hover --- */
.btn--accent:hover {
  box-shadow: 0 4px 20px rgba(193, 120, 23, 0.45), 0 0 8px rgba(193, 120, 23, 0.2);
  transform: translateY(-2px);
}

.btn--accent:active {
  transform: translateY(0) scale(0.97);
}

/* --- Bouton principal : ombre bordeaux subtile --- */
.btn--primary:hover {
  box-shadow: 0 4px 16px rgba(114, 47, 55, 0.4);
  transform: translateY(-2px);
}

/* --- Cartes : lift + ombre amelioree --- */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 12px rgba(193, 120, 23, 0.08);
}

/* --- Tables produits : highlight au hover --- */
table tbody tr {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

table tbody tr:hover {
  background-color: rgba(193, 120, 23, 0.06);
  box-shadow: inset 3px 0 0 #C17817;
}

/* --- Micro-interactions liens --- */
a {
  transition: color 0.2s ease, opacity 0.2s ease;
}
