/* ==========================================================================
   Chez Balzac — Site principal
   Importe les tokens du Design System
   ========================================================================== */

@import url('../DesignSystem/colors_and_type.css');

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; }

/* === PAGE === */
html {
  scroll-behavior: smooth;
  /* Les ancres (#nous-trouver…) ne passent pas sous le bandeau sticky */
  scroll-padding-top: 80px;
}
body { overflow-x: hidden; }

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate { opacity: 0; }
.animate.visible {
  animation: fadeUp 0.7s var(--ease) forwards;
}
.animate.delay-1 { animation-delay: 0.1s; }
.animate.delay-2 { animation-delay: 0.2s; }
.animate.delay-3 { animation-delay: 0.35s; }

/* ============================================================
   COMPOSANTS GLOBAUX
   ============================================================ */

.hairline {
  width: 60px;
  height: 1px;
  background: var(--kaki);
  margin: var(--s-5) 0;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: var(--prune-light);
  color: var(--beige-light);
  border: 1px solid var(--prune-light);
  text-decoration: none;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.btn-primary:hover {
  background: var(--prune);
  border-color: var(--prune);
  opacity: 1;
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--beige-light);
  border: 1px solid var(--beige);
  text-decoration: none;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.btn-ghost:hover {
  background: var(--beige-light);
  color: var(--prune);
  opacity: 1;
}

/* Variante sur fond clair */
.btn-ghost--prune {
  color: var(--prune);
  border-color: var(--prune-light);
}

.btn-dark {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--prune);
  color: var(--beige-light);
  border: 1px solid var(--prune);
  text-decoration: none;
  transition: background var(--t-base) var(--ease);
}
.btn-dark:hover {
  background: var(--noir);
  border-color: var(--noir);
  opacity: 1;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--beige);
  background: var(--blanc);
}

.header-inner {
  display: grid;
  /* minmax(0, 1fr) : colonnes latérales de largeur égale quel que soit leur
     contenu, pour que le logo reste centré dans le bandeau. */
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 0 clamp(var(--s-5), 4vw, var(--s-8));
  height: 80px;
}

/* Nav gauche */
.header-nav {
  display: flex;
  gap: clamp(var(--s-4), 4vw - 1.5rem, var(--s-7));
  align-items: center;
}
.header-nav a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--prune);
  border: none;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
/* Survol : changement de couleur plutôt qu'opacité, pour rester ≥ 7:1 */
.header-nav a:hover { color: var(--prune-light); }

/* Logo centré — colonne explicite : reste au centre même quand la nav
   de gauche est masquée (display: none la retire de la grille). */
.header-logo {
  grid-column: 2;
  text-align: center;
  text-decoration: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 var(--s-6);
}
.header-logo .logo-chez {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--kaki-text); /* header sur fond --blanc : --kaki seul ne passe pas 4.5:1 */
}
.header-logo .logo-balzac {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: var(--tr-logo);
  text-transform: uppercase;
  color: var(--prune);
  line-height: 1;
}

/* Actions droite */
.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s-5);
}

.header-rdv {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--prune);
  text-decoration: none;
  border: none;
  padding: 0;
  transition: color var(--t-fast) var(--ease);
}
.header-rdv:hover { color: var(--prune-light); }

.icon-btn {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}
.icon-btn svg {
  stroke: var(--prune);
  width: 18px;
  height: 18px;
  display: block;
  transition: opacity var(--t-fast) var(--ease);
}
.icon-btn:hover svg { opacity: 0.55; }

/* Hamburger — quand la nav ne tient plus de chaque côté du logo */
.hamburger { display: none; }

/* Liens resserrés pour garder la nav complète le plus longtemps possible */
@media (max-width: 1400px) {
  .header-nav a,
  .header-rdv { letter-spacing: 0.2em; }
}

/* La nav n'a plus la place à côté du logo centré → menu hamburger */
@media (max-width: 1160px) {
  .header-nav { display: none; }
  .header-rdv { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   MENU MOBILE
   ============================================================ */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--prune);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: var(--s-6) var(--s-6) var(--s-8);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(113,66,72,0.5);
  padding-bottom: var(--s-5);
}
.mobile-menu-logo .logo-chez {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--beige); /* menu sur fond --prune : --kaki n'y passe pas 4.5:1 */
  display: block;
}
.mobile-menu-logo .logo-balzac {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: var(--tr-logo);
  text-transform: uppercase;
  color: var(--beige-light);
  line-height: 1;
}

.mobile-menu-close {
  background: none;
  border: none;
}
.mobile-menu-close svg {
  stroke: var(--beige-light);
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0.7;
  transition: opacity var(--t-fast) var(--ease);
}
.mobile-menu-close:hover svg { opacity: 1; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: var(--s-9);
  border-top: 1px solid rgba(113,66,72,0.3);
}
.mobile-menu nav a {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--beige-light);
  text-decoration: none;
  border: none;
  padding: var(--s-5) 0;
  border-bottom: 1px solid rgba(113,66,72,0.3);
  transition: color var(--t-fast) var(--ease);
}
.mobile-menu nav a:hover { color: var(--beige); }

.mobile-menu-footer {
  margin-top: auto;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--beige); /* 8.4:1 sur --prune — pas d'opacité réduite */
}

/* ============================================================
   SECTIONS — structure commune
   ============================================================ */

section {
  padding: var(--s-10) var(--s-8);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--kaki-text); /* défaut fond clair ; sections sur --prune : voir leurs overrides (--beige) */
  margin-bottom: var(--s-4);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: var(--fs-h2);
  color: var(--prune-light);
  line-height: var(--lh-tight);
  margin-bottom: var(--s-5);
}

.section-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  color: var(--prune);
  max-width: 500px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   HÉRO
   ============================================================ */

.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  padding: 0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(10%) saturate(80%) brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* 0.88 de prune sous toute la zone de texte (jusqu'à ~700px) : même sur
     les parties les plus claires de la photo, le texte ivoire reste ≥ 7:1. */
  background: linear-gradient(
    to right,
    rgba(59,27,29,0.9) 0,
    rgba(59,27,29,0.88) 700px,
    rgba(59,27,29,0.2) 80%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--s-8);
  max-width: 700px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label-xl);
  text-transform: uppercase;
  color: var(--beige-light); /* --beige ne passe pas 7:1 sur la photo voilée */
  margin-bottom: var(--s-5);
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  color: var(--beige-light);
  letter-spacing: var(--tr-display);
  margin-bottom: var(--s-5);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  color: var(--beige-light);
  margin-bottom: var(--s-7);
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* Corner ticks décoratifs */
/* Carte inauguration, à droite du titre */
.hero-event {
  /* Calée sur la maquette : démarre au milieu de la page, au tiers de la hauteur */
  position: absolute;
  top: 30%;
  left: 52%;
  width: 340px;
  padding: var(--s-6);
  background: var(--blanc);
  border: 1px solid var(--beige);
  box-shadow: var(--shadow-paper);
  text-align: center;
}
.hero-event-eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--kaki-text);
}
.hero-event-date {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-h2);
  color: var(--prune);
  line-height: var(--lh-heading);
  margin: var(--s-3) 0 var(--s-3);
}
.hero-event-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  color: var(--prune-light);
  margin-bottom: var(--s-5);
}
/* Le script Luma injecte ses propres styles : on les écrase */
.hero-event .luma-checkout--button,
.hero-event .luma-checkout--button:visited {
  display: inline-block !important;
  padding: 1rem 1.6rem !important;
  font-family: var(--font-sans) !important;
  font-weight: 300 !important;
  font-size: var(--fs-caption) !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: var(--beige-light) !important;
  background: var(--prune) !important;
  border: 1px solid var(--prune) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: background var(--t-base) var(--ease) !important;
}
.hero-event .luma-checkout--button:hover { background: var(--prune-light) !important; }

.hero-frame {
  position: absolute;
  bottom: var(--s-9);
  right: var(--s-9);
  width: 72px;
  height: 72px;
}
.hero-frame::before,
.hero-frame::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--kaki);
  border-style: solid;
}
.hero-frame::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hero-frame::after  { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* ============================================================
   COLLECTIONS
   ============================================================ */

.collections {
  background: var(--blanc);
}

.collections .section-inner {
  max-width: 1200px;
}

.collections-tabs {
  display: flex;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.collections-tab {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-small);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--prune-light);
  background: transparent;
  border: 1px solid var(--beige);
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.collections-tab:hover { border-color: var(--kaki); }
.collections-tab.is-active {
  background: var(--prune);
  border-color: var(--prune);
  color: var(--beige-light);
}

.collections-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.collections-carousel::-webkit-scrollbar { display: none; }
.collections-carousel[hidden] { display: none; }

.collections-more {
  text-align: center;
  margin-top: var(--s-7);
}

.collections-list {
  display: flex;
  gap: var(--s-6);
}

.collection-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 2 * var(--s-6)) / 3);
  scroll-snap-align: start;
}

.collection-card-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.collection-card-badge {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--prune);
  background: var(--beige-light);
  padding: 0.35rem 0.7rem;
}
.collection-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(6%) saturate(82%);
  transition: transform 0.55s var(--ease);
}
.collection-card:hover .collection-card-image img {
  transform: scale(1.03);
}

.collection-card-body {
  padding: var(--s-4) 0 var(--s-5);
  border-bottom: 1px solid var(--beige);
}
.collection-card-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--kaki-text);
  margin-bottom: var(--s-2);
}
.collection-card-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--prune);
  line-height: var(--lh-tight);
}

/* ============================================================
   À PROPOS — LE SALON
   ============================================================ */

.about {
  background: var(--beige-light);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text .section-body {
  margin-bottom: var(--s-5);
}

.about-info {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  color: var(--prune-light);
}
.about-info a {
  color: var(--prune);
  border-color: var(--beige);
}

.about-more { margin-top: var(--s-6); }

.about-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--beige);
  box-shadow: var(--shadow-paper);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(8%) saturate(78%);
}

/* ============================================================
   MADE IN FRANCE
   ============================================================ */

.made-in-france {
  background: var(--prune);
  padding: var(--s-10) var(--s-8);
}

.mif-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.made-in-france .section-eyebrow { color: var(--beige); }
.made-in-france .section-title   { color: var(--beige-light); }
.made-in-france .section-body    { color: var(--fg-on-dark-muted); max-width: 460px; } /* 8.2:1 */
.made-in-france .hairline        { background: var(--kaki); }

.mif-image {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.mif-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(12%) saturate(72%) brightness(0.78);
}
/* Corner ticks sur l'image */
.mif-image::before,
.mif-image::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--kaki);
  border-style: solid;
  z-index: 1;
}
.mif-image::before { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.mif-image::after  { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; }

/* ============================================================
   RENDEZ-VOUS
   ============================================================ */

.rdv-section {
  background: var(--beige-light);
  text-align: center;
}

.rdv-section .section-eyebrow,
.rdv-section .section-title,
.rdv-section .section-body {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.rdv-section .hairline {
  margin-left: auto;
  margin-right: auto;
}

.rdv-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: var(--s-6) auto var(--s-7);
}
.rdv-types li {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--kaki-text);
  padding: var(--s-2) var(--s-4);
}
.rdv-types li + li { border-left: 1px solid var(--beige); }

/* ============================================================
   NOUS TROUVER
   ============================================================ */

.nous-trouver {
  background: var(--blanc);
  padding: var(--s-10) var(--s-8);
}

.nous-trouver-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s-10);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.nt-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--kaki-text); /* défaut fond clair ; sections sur --prune : voir leurs overrides (--beige) */
  margin-top: var(--s-5);
  margin-bottom: var(--s-2);
}

.nt-detail {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  color: var(--prune);
}
.nt-detail a {
  color: var(--prune);
  border-color: var(--beige);
}

.maps-container {
  width: 100%;
  border: 1px solid var(--beige);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  /* Padding-bottom trick : ratio 4/3 fiable pour les iframes */
  position: relative;
  padding-bottom: 75%;
  height: 0;
}
.maps-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: sepia(12%) saturate(85%);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--prune);
  padding: var(--s-9) var(--s-8) var(--s-6);
  border-top: 1px solid rgba(113,66,72,0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-8);
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: var(--s-8);
  border-bottom: 1px solid rgba(113,66,72,0.35);
}

.footer-logo-lockup .logo-chez {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--beige); /* footer sur fond --prune : --kaki n'y passe pas 4.5:1 */
  display: block;
  margin-bottom: 2px;
}
.footer-logo-lockup .logo-balzac {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: var(--tr-logo);
  text-transform: uppercase;
  color: var(--beige-light);
  line-height: 1;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--beige); /* 8.4:1 sur --prune — pas d'opacité réduite */
  margin-top: var(--s-5);
}

.footer-col-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: var(--s-5);
}

.footer-address {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  color: var(--fg-on-dark-muted); /* 8.2:1 (0.55 ne faisait que 4.6:1) */
}
.footer-address a {
  color: var(--fg-on-dark-muted);
  border-color: rgba(136,129,87,0.4);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer-address a:hover { color: var(--beige-light); }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer-nav a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-small);
  letter-spacing: var(--tr-body);
  color: var(--fg-on-dark-muted);
  text-decoration: none;
  border: none;
  transition: color var(--t-fast) var(--ease);
}
.footer-nav a:hover { color: var(--beige-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-5);
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom span {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--beige); /* 8.4:1 sur --prune (à 0.75 d'opacité : 5.3:1 seulement) */
}

/* ============================================================
   INSTAGRAM — CARROUSEL
   ============================================================ */

.instagram {
  background: var(--beige-light);
  padding: var(--s-9) var(--s-8);
}

.instagram .section-title a {
  color: inherit;
  text-decoration: none;
  border: none;
  transition: color var(--t-fast) var(--ease);
}
.instagram .section-title a:hover { color: var(--prune); }

/* Flèches + barre de progression, partagées par les carrousels */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  margin-top: var(--s-6);
}
.carousel-progress {
  flex: 1;
  height: 1px;
  background: var(--beige);
  position: relative;
}
.carousel-progress span {
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--prune);
  transition: left 0.3s var(--ease), width 0.3s var(--ease);
}

.carousel-nav { display: flex; gap: var(--s-3); }
.carousel-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--kaki);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.carousel-arrow svg { width: 20px; height: 20px; stroke: var(--prune); }
.carousel-arrow:hover:not(:disabled) { background: var(--beige); }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }

.instagram-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.instagram-carousel::-webkit-scrollbar { display: none; }

.instagram-list {
  display: flex;
  gap: var(--s-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.insta-item {
  flex: 0 0 calc((100% - 3 * var(--s-4)) / 4);
  scroll-snap-align: start;
}
.insta-item {
  display: flex;
  flex-direction: column;
}
.insta-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: none;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(6%) saturate(82%);
  transition: transform 0.55s var(--ease);
}
.insta-media:hover img { transform: scale(1.04); }
.insta-play {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  width: 18px;
  height: 18px;
  fill: var(--blanc);
  filter: drop-shadow(0 0 3px rgba(59,27,29,0.5));
}

.insta-caption {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s-4) 0 0;
}
.insta-date {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--kaki-text);
  margin-bottom: var(--s-2);
}
.insta-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--prune);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
  margin-bottom: var(--s-3);
}
.insta-more {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--prune-light);
  text-decoration: none;
  border: none;
  border-bottom: 1px solid var(--beige);
  padding: 0 0 2px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.insta-more:hover { color: var(--prune); border-color: var(--prune); }

/* ============================================================
   CONSENTEMENT COOKIES — carte discrète en bas à droite
   ============================================================ */

.consent {
  position: fixed;
  right: var(--s-6);
  bottom: var(--s-6);
  z-index: 150; /* sous le menu mobile (200), au-dessus du bandeau (100) */
  width: 360px;
  max-width: calc(100% - 2 * var(--s-5));
  padding: var(--s-5);
  background: var(--blanc);
  border: 1px solid var(--beige);
  box-shadow: var(--shadow-paper);
  animation: fadeUp 0.5s var(--ease);
}
.consent-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--kaki-text);
  margin-bottom: var(--s-2);
}
.consent-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  color: var(--prune);
  margin-bottom: var(--s-4);
}
/* Deux boutons de même poids : refuser doit être aussi simple qu'accepter */
.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.consent-btn {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  color: var(--prune);
  background: transparent;
  border: 1px solid var(--prune-light);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.consent-btn:hover,
.consent-btn:focus-visible {
  background: var(--prune);
  border-color: var(--prune);
  color: var(--beige-light);
}

/* Lien « Cookies » du pied de page (fond --prune) */
.consent-manage {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--beige);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(210,188,151,0.5);
  padding: 0 0 2px;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.consent-manage:hover { color: var(--beige-light); }

/* ============================================================
   RESPONSIVE — TABLETTE (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  section { padding: var(--s-9) var(--s-6); }
  .instagram { padding: var(--s-9) var(--s-6); }
  .insta-item { flex-basis: calc((100% - 2 * var(--s-4)) / 3); }
  .made-in-france { padding: var(--s-9) var(--s-6); }

  .hero-content { padding: 0 var(--s-6); }
  .hero-title { font-size: 2.8rem; }
  .hero-event { left: auto; right: var(--s-6); width: 290px; }

  .about-inner,
  .mif-inner { gap: var(--s-7); }

  .footer-grid { gap: var(--s-6); }
  .site-footer { padding: var(--s-8) var(--s-6) var(--s-5); }


  .rdv-types {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    column-gap: var(--s-6);
  }
  .rdv-types li + li { border-left: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 767px)
   ============================================================ */

@media (max-width: 767px) {
  /* Instagram */
  .instagram { padding: var(--s-8) var(--s-5); }
  .insta-item { flex-basis: 78%; }

  /* Header */
  html { scroll-padding-top: 64px; }
  .header-inner {
    padding: 0 var(--s-5);
    height: 64px;
  }

  /* Hero */
  .hero { height: 100svh; min-height: 520px; }
  .hero-content {
    padding: 0 var(--s-5);
    max-width: 100%;
    justify-content: flex-end;
    padding-bottom: var(--s-10);
  }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { display: none; }
  .hero-frame { display: none; }
  /* Carte inauguration compacte, en haut de l'image (le texte est en bas) */
  .hero-event {
    top: var(--s-5);
    left: var(--s-5);
    right: var(--s-5);
    width: auto;
    padding: var(--s-4) var(--s-5) var(--s-5);
  }
  .hero-event-date { font-size: var(--fs-h3); margin: var(--s-2) 0 var(--s-4); }
  .hero-event-text { display: none; }
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(59,27,29,0.9) 0%,
      rgba(59,27,29,0.88) 45%,  /* zone du texte : ≥ 7:1 */
      rgba(59,27,29,0.3) 70%,
      transparent 100%
    );
  }
  .btn-primary,
  .btn-ghost { padding: 0.85rem 1.4rem; font-size: 0.55rem; }

  /* Sections */
  section { padding: var(--s-8) var(--s-5); }
  .made-in-france { padding: var(--s-8) var(--s-5); }

  /* Collections */
  .collections-list { gap: var(--s-4); }
  .collection-card { flex-basis: 78%; }
  .collections-tabs { margin-bottom: var(--s-5); }
  .carousel-controls { gap: var(--s-5); margin-top: var(--s-5); }
  .collections-tab { flex: 1 1 0; text-align: center; }

  /* À propos */
  .about-inner {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .about-image {
    aspect-ratio: 4 / 3;
    order: -1;
    box-shadow: 4px 4px 0 var(--beige);
  }

  /* Made in France */
  .mif-inner {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .mif-image { aspect-ratio: 4 / 3; order: -1; }

  /* Rendez-vous : types empilés, sans séparateurs verticaux */
  .rdv-types { grid-template-columns: 1fr; margin: var(--s-5) auto var(--s-6); }
  .rdv-types li { padding: var(--s-2) 0; }
  .rdv-types li + li { border-left: none; }

  /* Nous trouver */
  .nous-trouver { padding: var(--s-8) var(--s-5); }
  .nous-trouver-inner {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .maps-container { aspect-ratio: 4 / 3; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--s-3);
    text-align: center;
  }
  .site-footer { padding: var(--s-7) var(--s-5) var(--s-5); }

  /* Cookies : pleine largeur en bas de l'écran */
  .consent { left: var(--s-4); right: var(--s-4); bottom: var(--s-4); width: auto; max-width: none; }
}
