/* ===================================================
   MAISON MULOT — Stylesheet
   =================================================== */

/* --- Intro: body locked during animation --- */
body.intro-active { overflow: hidden; }

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

:root {
  --cream:      #F0EDE4;
  --cream-dark: #E0D9CC;
  --brown:      #2B2B2E;
  --brown-mid:  #45454A;
  --gold:       #8FA5A8;
  --gold-light: #AABFC2;
  --mauve:      #B09AB0;
  --sage:       #8FA5A8;
  --olive:      #5C6B2E;
  --white:      #FFFFFF;
  --gray:       #888;
  --gray-light: #F0EDE4;

  --font-serif:   'Pinyon Script', cursive;
  --font-script:  'Pinyon Script', cursive;
  --font-sans:    'Josefin Sans', system-ui, sans-serif;

  --nav-h: 80px;
  --radius: 0px;
  --radius-lg: 0px;
  --shadow: none;
  --shadow-lg: none;

  --transition: .3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { font-family: var(--font-sans); font-weight: 300; letter-spacing: .04em; color: var(--brown); background: var(--white); line-height: 1.6; }

/* ===================================================
   BARRE DE PROGRESSION SCROLL
   =================================================== */
.scroll-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%;
  background: var(--gold);
  pointer-events: none;
  transition: width .08s linear;
}

/* ===================================================
   GRAIN CINÉMATIQUE
   =================================================== */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 8999; pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { background-position: 0 0; }
  10% { background-position: -5% -10%; }
  20% { background-position: -15% 5%; }
  30% { background-position: 7% -25%; }
  40% { background-position: -5% 25%; }
  50% { background-position: -15% 10%; }
  60% { background-position: 15% 0%; }
  70% { background-position: 0% 15%; }
  80% { background-position: 3% 35%; }
  90% { background-position: -10% 10%; }
}

/* Paragraphes éditoriaux en Cormorant Garamond */
.maison-split__text p,
.traiteur-split__text p,
.evenementiel__intro,
.section-subtitle,
.contact-item p,
.recap-note { font-family: 'Cormorant Garamond', serif; font-weight: 400; letter-spacing: .02em; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Utilities --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.script { font-family: var(--font-script); }
.section { padding: 140px 0; }
.section--cream { background: var(--cream); border-top: 1px solid var(--cream-dark); border-bottom: 1px solid var(--cream-dark); }
.section--dark  { background: var(--brown); color: var(--white); }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 72px; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.25; font-weight: 400;
  color: var(--brown);
}
.section-title--light { color: var(--white); }
.section-subtitle { color: var(--gray); margin-top: 20px; font-size: 1.1rem; font-weight: 400; letter-spacing: .02em; line-height: 1.85; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block; flex-shrink: 0;
  width: 28px; height: 1px;
  background: currentColor; opacity: .7;
}
.eyebrow--light { color: var(--gold-light); }
.section-header .eyebrow { justify-content: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 36px;
  font-family: var(--font-sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  transition: all var(--transition); white-space: nowrap;
}
.btn--primary { background: var(--brown); color: var(--white); }
.btn--primary:hover { background: var(--brown-mid); }
.btn--outline { border: 1px solid rgba(255,255,255,.8); color: var(--white); }
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--outline-dark { border: 1px solid var(--brown); color: var(--brown); }
.btn--outline-dark:hover { background: var(--brown); color: var(--white); }
.btn--ghost { border: 1px solid var(--brown); color: var(--brown); }
.btn--ghost:hover { background: var(--cream); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-light); }
.btn--large { padding: 16px 52px; font-size: .78rem; }
.btn { will-change: transform; }
.event-card { will-change: transform; transform-style: preserve-3d; }

/* ===================================================
   NAVIGATION — Logo centré, liens L/R (Pierre Hermé)
   =================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease;
}
.nav {
  transition: background .4s ease, box-shadow .4s ease, height .3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cream-dark);
  height: 64px;
}
.nav.scrolled .nav__links a { color: var(--brown); }
.nav.scrolled .nav__cta { border-color: var(--brown); color: var(--brown) !important; }
.nav.scrolled .nav__burger span { background: var(--brown); }

.nav__container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0 40px;
}

/* Logo centré */
.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
}
.nav__logo-img {
  display: block; width: 52px; height: auto;
}

/* Liens */
.nav__links {
  display: flex; align-items: center; gap: 36px;
}
.nav__links--right { justify-content: flex-end; }
.nav__links a {
  font-family: var(--font-sans);
  font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a:hover,
.nav__links a.active { color: var(--gold-light); }
.nav.scrolled .nav__links a.active { color: var(--gold); }
.nav.scrolled .nav__links a:hover { color: var(--gold); }
.nav__cta {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid rgba(255,255,255,.7);
  color: var(--white) !important;
  transition: all var(--transition) !important;
  letter-spacing: .2em;
  text-indent: .2em; /* compense l'espacement de lettre ajouté après le dernier caractère, pour un centrage optique correct */
}
.nav__cta:hover { background: var(--white) !important; color: var(--brown) !important; border-color: var(--white) !important; }
.nav__cta::after { display: none; }

.nav__burger { display: none; flex-direction: column; gap: 6px; padding: 8px; margin-left: auto; }
.nav__burger span { display: block; width: 26px; height: 1px; background: var(--white); transition: var(--transition); }

/* Mobile menu */
.mobile-menu {
  display: flex; position: fixed; inset: 0; z-index: 999;
  background: var(--brown); flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
  visibility: hidden; opacity: 0;
  transform: scale(1.03);
  transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s;
  pointer-events: none;
}
.mobile-menu.open {
  visibility: visible; opacity: 1; transform: scale(1);
  transition: opacity .4s ease, transform .4s ease, visibility 0s;
  pointer-events: auto;
}
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-menu a {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 300;
  color: var(--white); font-style: italic; letter-spacing: .04em;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-menu__cta { color: var(--gold-light) !important; }
.mobile-menu__close {
  position: absolute; top: 28px; right: 36px;
  font-size: 1.4rem; color: var(--white); opacity: .6;
  transition: opacity var(--transition);
}
.mobile-menu__close:hover { opacity: 1; }

/* ===================================================
   HERO — Texte bas-gauche éditorial (Pierre Hermé)
   =================================================== */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end;
  background: url('boutique.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,  rgba(43,43,46,.85) 0%, rgba(43,43,46,.0) 55%),
    linear-gradient(to right, rgba(43,43,46,.6) 0%, rgba(43,43,46,.0) 60%);
}
.hero__content {
  position: relative; z-index: 1;
  color: var(--white);
  padding: 0 8vw 9vw;
  max-width: 780px;
  animation: fadeUp .9s ease both;
}
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: .65rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  opacity: .7; margin-bottom: 24px; display: block;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 400; line-height: 1.2;
  margin-bottom: 36px;
}
.hero__title em { font-style: italic; font-weight: 300; color: var(--gold-light); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: 40px; right: 8vw;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeUp 1.2s ease .6s both;
}
.hero__scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollLine { 0%, 100% { transform: scaleY(1); opacity: .8; } 50% { transform: scaleY(.5); opacity: .3; } }

/* ===================================================
   LA MAISON — Split pleine largeur (Pierre Hermé)
   =================================================== */
.maison-split {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 85vh;
  overflow: hidden;
}
.maison-split__img {
  position: relative;
  overflow: hidden;
}
.maison-split__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform .9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.maison-split:hover .maison-split__img img { transform: scale(1.03); }
.maison-split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px 80px 80px;
  background: var(--cream);
}
.maison-split__text .section-title { margin-bottom: 28px; }
.maison-split__text p { color: var(--gray); margin-bottom: 18px; line-height: 1.85; font-size: 1.15rem; }

.stats {
  display: flex; gap: 40px; margin-top: 48px;
  padding-top: 40px; border-top: 1px solid var(--cream-dark);
}
.stat { display: flex; flex-direction: column; }
.stat__number {
  font-family: var(--font-serif);
  font-size: 3.8rem; font-weight: 400; line-height: 1;
  color: var(--brown);
}
.stat__label {
  font-size: .65rem; color: var(--gray); letter-spacing: .14em;
  text-transform: uppercase; margin-top: 6px;
}

/* ===================================================
   CRÉATIONS — Grille éditoriale 4 colonnes (Pierre Hermé)
   =================================================== */
.section--cream .section-header .section-title { color: var(--brown); }

.tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 60px;
  justify-content: center;
}
.tab {
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gray); background: transparent; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all var(--transition);
}
.tab:hover { color: var(--brown); }
.tab.active { color: var(--brown); border-bottom-color: var(--brown); }

.tab-panel { display: none; animation: fadeUp .35s ease; }
.tab-panel.active { display: block; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.product-card {
  background: var(--cream);
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid var(--cream-dark);
  border-top: 2px solid transparent;
  transition: border-top-color var(--transition), box-shadow .4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card:last-child { border-right: none; }
.product-card:hover { border-top-color: var(--gold); box-shadow: 0 20px 60px rgba(43,43,46,.1); }
.product-card__img {
  height: 340px;
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  transition: transform .8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative; overflow: hidden;
}
.product-card__img::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(43,43,46,0);
  transition: background .5s ease;
}
.product-card:hover .product-card__img { transform: scale(1.07); }
.product-card:hover .product-card__img::after { background: rgba(43,43,46,.32); }
.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 400;
  padding: 18px 20px 5px;
  letter-spacing: .01em;
}
.product-card p {
  font-size: .72rem; color: var(--gray); letter-spacing: .06em; text-transform: uppercase;
  padding: 0 20px 22px; line-height: 1.5;
}

/* ===================================================
   ÉVÈNEMENTIEL — Éditorial (Pierre Hermé)
   =================================================== */
.evenementiel__intro {
  max-width: 560px; margin: 24px auto 64px;
  text-align: center; font-size: 1.2rem;
  line-height: 1.85; letter-spacing: .01em;
  opacity: .75;
}
.event-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 72px;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.event-card {
  padding: 56px 36px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .4s ease;
}
.event-card:last-child { border-right: none; }
.event-card:hover { background: rgba(255,255,255,.04); }
.event-card__icon {
  width: 40px; height: 40px; margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
  opacity: .45;
  color: var(--gold-light);
}
.event-card__icon svg { width: 100%; height: 100%; }
.event-card h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 400;
  color: var(--white); margin-bottom: 16px;
}
.event-card p { font-size: .75rem; color: rgba(255,255,255,.45); line-height: 1.8; letter-spacing: .08em; text-transform: uppercase; }
.evenementiel__cta { text-align: center; }

/* ===================================================
   CATALOGUES — Téléchargements
   =================================================== */
.catalogues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--cream-dark);
}
.catalogue-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 48px 28px;
  background: var(--white);
  border: none;
  text-decoration: none;
  transition: all var(--transition);
}
.catalogue-card:hover { background: var(--cream); }
.catalogue-card__icon { font-size: 2.2rem; margin-bottom: 18px; }
.catalogue-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 400;
  color: var(--brown); margin-bottom: 20px;
}
.catalogue-card__dl {
  margin-top: auto;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}

/* ===================================================
   GALERIE — Bord à bord luxe
   =================================================== */
.galerie-section { background: var(--cream); }
.galerie-header {
  text-align: center;
  padding: 80px 48px 64px;
}
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 420px 420px;
  gap: 2px;
  background: var(--cream-dark);
}
.galerie-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
}
/* Image layer — zoom on hover */
.galerie-item__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--cream);
  transform: scale(1);
  transition: transform .9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.galerie-item:hover .galerie-item__bg { transform: scale(1.05); }
/* Overlay sombre au hover */
.galerie-item::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(43,43,46,0);
  transition: background .5s ease;
  z-index: 1;
}
.galerie-item:hover::before { background: rgba(43,43,46,.45); }
/* Label au hover */
.galerie-item::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  z-index: 2;
}
.galerie-item:hover::after { opacity: 1; transform: translateY(0); }
.galerie-item--tall { grid-row: span 2; }
.galerie-item--wide { grid-column: span 2; }

/* ===================================================
   DEVIS BUILDER
   =================================================== */
.devis-builder { max-width: 960px; margin: 0 auto; }

/* Progress */
.devis-progress {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 56px; flex-wrap: wrap; gap: 0;
}
.progress-step {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  flex: 0 0 auto;
}
.progress-step span {
  font-size: .65rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gray); transition: color var(--transition);
}
.progress-step.active span { color: var(--brown); }
.progress-step.done span { color: var(--gold); }
.progress-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  transition: all var(--transition);
}
.progress-step.active .progress-dot { border-color: var(--brown); background: var(--brown); }
.progress-step.done .progress-dot { border-color: var(--gold); background: var(--gold); }
.progress-line {
  flex: 1; min-width: 48px; height: 1px;
  background: var(--cream-dark); margin: 0 8px; margin-bottom: 26px;
}

.devis-body {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 56px;
}

/* Steps */
.devis-step { display: none; animation: fadeUp .35s ease; }
.devis-step.active { display: block; }
.step-title {
  font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 400;
  margin-bottom: 36px; color: var(--brown);
}

/* Step 1 — Profile */
.profile-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.profile-card {
  text-align: left; padding: 32px;
  border: 1px solid var(--cream-dark);
  cursor: pointer; transition: all var(--transition); background: var(--white);
}
.profile-card:hover { border-color: var(--gold); }
.profile-card.selected { border-color: var(--brown); background: var(--cream); }
.profile-card__icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.profile-card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 400; margin-bottom: 10px; color: var(--brown);
}
.profile-card p { font-size: .88rem; color: var(--gray); margin-bottom: 18px; line-height: 1.7; }
.profile-card ul { display: flex; flex-direction: column; gap: 8px; }
.profile-card ul li { font-size: .8rem; color: var(--brown-mid); padding-left: 16px; position: relative; }
.profile-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }

/* Step 2 — Occasion */
.occasion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-bottom: 24px; }
.occasion-btn {
  padding: 18px 12px;
  border: 1px solid var(--cream-dark);
  text-align: center; cursor: pointer; transition: all var(--transition); background: var(--white);
  font-size: .82rem; font-weight: 400; color: var(--brown-mid);
  letter-spacing: .04em;
}
.occasion-btn:hover { border-color: var(--gold); color: var(--brown); }
.occasion-btn.selected { border-color: var(--brown); background: var(--cream); color: var(--brown); }
.occasion-btn .occ-icon { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.occasion-other { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.occasion-other label { font-size: .7rem; font-weight: 600; color: var(--brown-mid); letter-spacing: .16em; text-transform: uppercase; }
.occasion-commande { margin-top: 28px; }
.occasion-commande .form-textarea { min-height: 150px; }
.recap-commande { white-space: pre-line; line-height: 1.6; padding: 8px 0; }

/* Step 3 — Products */
.products-builder { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.cat-tabs { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.cat-tab {
  padding: 12px 16px; text-align: left;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray); border: 1px solid var(--cream-dark); background: var(--white);
  transition: all var(--transition);
}
.cat-tab:hover { color: var(--brown); border-color: var(--brown); }
.cat-tab.active { background: var(--brown); color: var(--white); border-color: var(--brown); }

.products-list { display: flex; flex-direction: column; gap: 2px; }
.product-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--cream-dark);
  background: var(--white); transition: border-color var(--transition);
}
.product-item.has-qty { border-color: var(--brown); background: var(--cream); }
.product-item__name { flex: 1; }
.product-item__name strong { display: block; font-size: .9rem; color: var(--brown); font-weight: 400; }
.product-item__name span { font-size: .75rem; color: var(--gray); letter-spacing: .02em; }
.product-item__price { font-size: .8rem; color: var(--gold); font-weight: 600; white-space: nowrap; margin-right: 8px; }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--cream-dark); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); color: var(--brown); background: var(--white);
}
.qty-btn:hover { border-color: var(--brown); background: var(--brown); color: var(--white); }
.qty-value { font-size: .9rem; font-weight: 600; min-width: 20px; text-align: center; color: var(--brown); }

.devis-summary {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  padding: 28px;
  position: sticky; top: 96px;
}
.devis-summary h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 400; margin-bottom: 20px; color: var(--brown);
}
.summary-items { display: flex; flex-direction: column; gap: 10px; min-height: 80px; }
.summary-empty { font-size: .82rem; color: var(--gray); font-style: italic; }
.summary-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: .82rem; }
.summary-item__name { color: var(--brown); flex: 1; }
.summary-item__qty { color: var(--gray); }
.summary-note {
  font-size: .72rem; color: var(--gray); margin-top: 18px;
  padding-top: 18px; border-top: 1px solid var(--cream-dark);
  line-height: 1.6; font-style: italic;
}

/* Step 4 — Contact */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-sans);
  font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brown-mid);
}
.form-input, .form-select, .form-textarea {
  padding: 12px 16px; border: 1px solid var(--cream-dark);
  font-family: var(--font-sans); font-weight: 300; font-size: .9rem;
  letter-spacing: .04em; color: var(--brown);
  background: var(--white); outline: none; transition: border-color var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--brown); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}

/* Step 5 — Recap */
.recap { background: var(--cream); border: 1px solid var(--cream-dark); padding: 32px; margin-bottom: 28px; }
.recap-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--cream-dark); }
.recap-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.recap-section h4 {
  font-family: var(--font-sans); font-size: .65rem; color: var(--gold);
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: .2em;
}
.recap-row { display: flex; justify-content: space-between; gap: 16px; font-size: .88rem; margin-bottom: 6px; }
.recap-row span:first-child { color: var(--gray); }
.recap-row span:last-child { color: var(--brown); font-weight: 500; }
.recap-note { font-size: .82rem; color: var(--gray); margin-bottom: 24px; line-height: 1.6; font-style: italic; }

/* Devis nav */
.devis-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--cream-dark);
}

/* ===================================================
   CONTACT
   =================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info .section-title { margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-item strong {
  display: block; font-family: var(--font-sans);
  font-size: .65rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.contact-item p { font-size: .9rem; color: var(--gray); line-height: 1.7; }
.contact-item a { color: var(--brown); }
.contact-item a:hover { color: var(--gold); }

.contact-social { display: flex; gap: 10px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 1px solid var(--cream-dark);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brown-mid); transition: all var(--transition);
}
.social-btn:hover { border-color: var(--brown); color: var(--brown); }
.contact-map iframe { box-shadow: none; }

/* ===================================================
   FOOTER
   =================================================== */
.footer { background: var(--brown); color: rgba(255,255,255,.6); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-logo-img {
  display: block; width: 96px; height: auto;
  margin-bottom: 20px;
}
.footer-brand p { font-size: .88rem; line-height: 1.8; margin-bottom: 14px; font-weight: 300; }
.footer-hours { font-size: .78rem; color: var(--gold-light); letter-spacing: .08em; }
.footer-links h4 {
  font-family: var(--font-sans); font-size: .65rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: .85rem; font-weight: 300; letter-spacing: .04em; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact h4 {
  font-family: var(--font-sans); font-size: .65rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.footer-contact p { font-size: .85rem; font-weight: 300; margin-bottom: 6px; line-height: 1.6; }
.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px; text-align: center;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}

/* ===================================================
   SCROLL REVEAL
   =================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s cubic-bezier(0.16, 1, 0.3, 1),
              transform .85s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .22s; }
[data-reveal][data-delay="3"] { transition-delay: .32s; }
[data-reveal][data-delay="4"] { transition-delay: .42s; }
[data-reveal][data-delay="5"] { transition-delay: .52s; }

/* ===================================================
   TRAITEUR
   =================================================== */
.traiteur-section { background: var(--cream); }

.traiteur-split {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 80vh;
}

.traiteur-split__text {
  padding: 80px 72px 80px 80px;
  background: var(--brown);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.traiteur-split__text p {
  color: rgba(240, 237, 228, 0.75);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.traiteur-split__text strong { color: var(--gold-light); }

.traiteur-split__text .btn--gold { align-self: flex-start; margin-top: 1.6rem; }

.traiteur-split__img { overflow: hidden; background: var(--cream); }

.traiteur-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: multiply;
  transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.traiteur-split:hover .traiteur-split__img img { transform: scale(1.04); }

.traiteur-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--cream-dark);
}

.traiteur-product { border-right: 1px solid var(--cream-dark); }
.traiteur-product:last-child { border-right: none; }

.traiteur-product__img-wrap {
  overflow: hidden;
  height: 300px;
  background: var(--cream);
}

.traiteur-product__img {
  height: 100%;
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  transition: transform .7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.traiteur-product:hover .traiteur-product__img { transform: scale(1.05); }

.traiteur-product__info {
  padding: 28px 32px;
  background: var(--cream);
}

.traiteur-product__info h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--brown);
  margin-bottom: 6px;
  line-height: 1.2;
}

.traiteur-product__info p {
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--gray);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ===================================================
   CITATION ÉDITORIALE
   =================================================== */
.quote-section {
  background: var(--brown);
  padding: 100px 48px;
  text-align: center;
}
.quote-section blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300; font-style: italic;
  color: var(--cream); line-height: 1.6;
  max-width: 820px; margin: 0 auto 24px;
  letter-spacing: .01em;
}
.quote-section blockquote::before { content: '\201C'; color: var(--gold); }
.quote-section blockquote::after  { content: '\201D'; color: var(--gold); }
.quote-section cite {
  display: block;
  font-family: var(--font-sans); font-size: .65rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-top: 8px;
}

/* ===================================================
   BOUTIQUE EN LIGNE — CTA
   =================================================== */
.boutique-cta {
  position: relative;
  min-height: 460px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: url('boutique.jpg') center/cover no-repeat;
  padding: 100px 24px;
  overflow: hidden;
}
.boutique-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(43,43,46,.8), rgba(43,43,46,.8));
}
.boutique-cta__content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.boutique-cta .section-subtitle { color: var(--cream-dark); }
.boutique-cta .btn { margin-top: 32px; }

/* ===================================================
   RETOUR EN HAUT
   =================================================== */
.back-to-top {
  position: fixed; bottom: 36px; right: 36px; z-index: 900;
  width: 44px; height: 44px;
  background: var(--brown); color: var(--cream);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease, background .3s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--brown-mid); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .event-cards { grid-template-columns: repeat(2, 1fr); }
  .catalogues-grid { grid-template-columns: repeat(2, 1fr); }
  .maison-split { grid-template-columns: 1fr 1fr; }
  .traiteur-split { grid-template-columns: 1fr; }
  .traiteur-split__img { height: 55vw; min-height: 320px; }
  .traiteur-products { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }

  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero__content { padding: 0 6vw 14vw; }
  .hero__title { font-size: clamp(3rem, 14vw, 5rem); }
  .hero__scroll { right: 6vw; }

  .maison-split { grid-template-columns: 1fr; min-height: auto; }
  .maison-split__img { height: 60vw; min-height: 280px; }
  .maison-split__text { padding: 48px 32px; }

  .traiteur-split { min-height: auto; }
  .traiteur-split__text { padding: 48px 32px; }
  .traiteur-product__img-wrap { height: 220px; }
  .traiteur-product__info { padding: 20px 24px; }
  .stats { gap: 24px; flex-wrap: wrap; }

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

  .event-cards { grid-template-columns: 1fr 1fr; gap: 1px; }
  .catalogues-grid { grid-template-columns: 1fr; gap: 1px; }

  .galerie-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .galerie-item--tall { grid-row: auto; }
  .galerie-item--wide { grid-column: auto; }

  .devis-body { padding: 28px 20px; }
  .profile-cards { grid-template-columns: 1fr; }
  .occasion-grid { grid-template-columns: repeat(2, 1fr); }
  .products-builder { grid-template-columns: 1fr; }
  .devis-summary { position: static; }

  .contact-form { grid-template-columns: 1fr; }
  .form-group--full { grid-column: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

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

  .devis-progress { overflow-x: auto; padding-bottom: 4px; }
  .progress-line { min-width: 24px; }

  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0; }
  .tab { flex-shrink: 0; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .event-cards { grid-template-columns: 1fr; }
  .occasion-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .traiteur-products { grid-template-columns: 1fr; }
  .traiteur-product { border-right: none; border-bottom: 1px solid var(--cream-dark); }
}

/* ===================================================
   INTRO ANIMATION
   =================================================== */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--brown);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.intro.outro { opacity: 0; transform: scale(1.03); }
.intro.hidden { display: none; }

.intro__content {
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
  text-align: center;
}
.intro__logo-wrap { position: relative; display: inline-block; }
.intro__logo-img {
  display: block;
  width: clamp(200px, 32vw, 360px);
  opacity: 0;
  transform: scale(.82);
  animation: stampIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
@keyframes stampIn {
  0%   { opacity: 0; transform: scale(.82); }
  100% { opacity: 1; transform: scale(1); }
}
.intro__sub-wrap { overflow: hidden; }
.intro__sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-light);
  transform: translateY(100%);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.9s forwards;
}
@keyframes slideUp { to { transform: translateY(0); } }

/* ===================================================
   PAGES LÉGALES (mentions, confidentialité, CGV)
   =================================================== */
.legal-hero {
  padding: calc(var(--nav-h) + 64px) 0 56px;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}
.legal-hero .eyebrow { justify-content: flex-start; }
.legal-hero .section-title { font-size: clamp(2.2rem, 4vw, 3rem); }
.legal-hero p { color: var(--gray); margin-top: 14px; max-width: 640px; }
.legal-content { padding: 64px 0 100px; }
.legal-content .container { max-width: 760px; }
.legal-content h2 {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--brown);
  margin: 48px 0 16px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-sans); font-size: .85rem; font-weight: 600;
  color: var(--brown); margin: 28px 0 10px;
}
.legal-content p { color: var(--gray); line-height: 1.85; margin-bottom: 14px; font-size: .98rem; }
.legal-content ul { margin: 0 0 14px 20px; color: var(--gray); line-height: 1.85; font-size: .98rem; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--gold); }
.legal-content strong { color: var(--brown); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .92rem; }
.legal-content th, .legal-content td { text-align: left; padding: 10px 14px; border: 1px solid var(--cream-dark); color: var(--gray); }
.legal-content th { color: var(--brown); font-weight: 600; background: var(--cream); }
.legal-content .legal-updated { font-size: .78rem; color: var(--gray); letter-spacing: .04em; margin-bottom: 8px; }

/* Nav toujours "pleine" (pas transparente) pour les pages sans hero photo */
.nav--page { background: rgba(255,255,255,.93) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--cream-dark); height: 64px !important; }
.nav--page .nav__links a { color: var(--brown) !important; }
.nav--page .nav__cta { border-color: var(--brown) !important; color: var(--brown) !important; }
