/* ===================================================
   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:      #180422;
  --brown-mid:  #2D0A3F;
  --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; }

/* ===================================================
   CURSEUR CUSTOM
   =================================================== */
@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }
}
.c-cursor {
  position: fixed; z-index: 99999; pointer-events: none;
  width: 44px; height: 32px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NCAzMiI+CiAgPGRlZnM+CiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9InRnIiBjeD0iMzQlIiBjeT0iMjYlIiByPSI3NCUiPgogICAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjRjhDMEQ0Ii8+CiAgICAgIDxzdG9wIG9mZnNldD0iNTIlIiBzdG9wLWNvbG9yPSIjRDQ1ODc4Ii8+CiAgICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI0EwMzA0RSIvPgogICAgPC9yYWRpY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NSIgcng9IjE0IiAgIHJ5PSIyLjIiICBmaWxsPSIjQzA1MDcwIiBvcGFjaXR5PSIwLjI4Ii8+CiAgPGVsbGlwc2UgY3g9IjIyIiBjeT0iMjMuNSIgcng9IjE1LjUiIHJ5PSI4IiAgICBmaWxsPSJ1cmwoI2JnKSIvPgogIDxlbGxpcHNlIGN4PSIxNCIgY3k9IjIxIiAgIHJ4PSI3LjUiICByeT0iNC41IiAgZmlsbD0iIzlBMjg0OCIgb3BhY2l0eT0iMC4xNyIvPgogIDxlbGxpcHNlIGN4PSIyOCIgY3k9IjI1IiAgIHJ4PSI2IiAgICByeT0iMy41IiAgZmlsbD0iIzlBMjg0OCIgb3BhY2l0eT0iMC4xMyIvPgogIDxlbGxpcHNlIGN4PSIxNiIgY3k9IjIyIiAgIHJ4PSI1IiAgICByeT0iMi41IiAgZmlsbD0iI0Y4QzhEOCIgb3BhY2l0eT0iMC40MiIvPgo8L3N2Zz4=");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 4px rgba(24,4,34,.25));
  transition: opacity .2s ease, transform .2s ease;
  will-change: left, top;
}
.c-cursor.is-hover { opacity: 0; transform: translate(-50%,-50%) scale(0.4); }
.c-cursor.is-dark { filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)) brightness(1.15); }

.c-follower {
  position: fixed; z-index: 99998; pointer-events: none;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(24,4,34,.32);
  transform: translate(-50%, -50%);
  transition: width .35s cubic-bezier(0.23,1,.32,1),
              height .35s cubic-bezier(0.23,1,.32,1),
              border-color .3s ease, background .3s ease;
  display: flex; align-items: center; justify-content: center;
  will-change: left, top;
}
.c-follower.is-hover {
  width: 72px; height: 72px;
  border-color: var(--gold);
  background: rgba(196,168,79,.08);
}
.c-follower.is-dark { border-color: rgba(240,237,228,.4); }
.c-follower.is-dark.is-hover { border-color: var(--gold-light); }
.c-follower__label {
  font-family: var(--font-sans); font-size: .5rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--brown);
  opacity: 0; transition: opacity .2s ease; white-space: nowrap;
}
.c-follower.is-hover .c-follower__label { opacity: 1; }
.c-follower.is-dark .c-follower__label { color: var(--cream); }

@media (hover: none), (pointer: coarse) {
  .c-cursor, .c-follower { display: none; }
}

/* ===================================================
   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: 120px; height: auto;
  filter: invert(1) brightness(1.1);
  transition: filter var(--transition);
}
.nav.scrolled .nav__logo-img {
  filter: none;
}

/* 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 {
  padding: 9px 22px;
  border: 1px solid rgba(255,255,255,.7);
  color: var(--white) !important;
  transition: all var(--transition) !important;
  letter-spacing: .2em;
}
.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(24,4,34,.85) 0%, rgba(24,4,34,.0) 55%),
    linear-gradient(to right, rgba(24,4,34,.6) 0%, rgba(24,4,34,.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(24,4,34,.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(24,4,34,0);
  transition: background .5s ease;
}
.product-card:hover .product-card__img { transform: scale(1.07); }
.product-card:hover .product-card__img::after { background: rgba(24,4,34,.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; }

/* ===================================================
   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(3, 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: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--cream);
  mix-blend-mode: multiply;
  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(24,4,34,0);
  transition: background .5s ease;
  z-index: 1;
}
.galerie-item:hover::before { background: rgba(24,4,34,.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; }

/* 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: 140px; height: auto;
  filter: invert(1) brightness(1.1);
  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;
}

/* ===================================================
   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); }
  .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; }

  .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-wrap::after {
  content: '';
  position: absolute; top: 8%; bottom: 8%; left: 0;
  width: 3px; border-radius: 2px;
  background: rgba(255, 240, 180, 0.9);
  filter: blur(3px); opacity: 0;
  animation: penTip 2.4s cubic-bezier(0.4, 0, 0.3, 1) 0.5s forwards;
}
@keyframes penTip {
  0%   { left: 0%;   opacity: 0; }
  3%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.intro__logo-img {
  display: block;
  width: clamp(260px, 40vw, 480px);
  filter: invert(1) brightness(1.1);
  mix-blend-mode: screen;
  clip-path: inset(0 100% 0 0);
  animation: writeIn 2.4s cubic-bezier(0.4, 0, 0.3, 1) 0.5s forwards;
}
@keyframes writeIn {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0%   0 0); }
}
.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); } }
