/* ==========================================================================
   LYS – Traiteur Événementiel — feuille de style principale
   Palette : crème / encre / or   ·   Typo : Cormorant Garamond + Jost
   ========================================================================== */

/* Polices hébergées localement (Cormorant Garamond, Jost — licence SIL OFL) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/jost-300.woff2) format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jost-300.woff2) format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jost-300.woff2) format('woff2');
}

:root {
  --cream: #FAF6EC;
  --cream-2: #F3ECDC;
  --cream-3: #EAE0CB;
  --white: #FFFDF8;
  --ink: #1E1C19;
  --ink-2: #2A2723;
  --ink-soft: #6B645A;
  --line: rgba(30, 28, 25, .12);
  --gold: #B89B5E;
  --gold-light: #D8C290;
  --gold-deep: #8E7340;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -22px rgba(30, 28, 25, .28);
  --shadow-sm: 0 6px 22px -12px rgba(30, 28, 25, .25);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { margin: 0; padding: 0; }
figure { margin: 0; }
strong, b { font-weight: 500; color: var(--ink); }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
h4 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; color: var(--gold-deep); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: var(--ink-soft); line-height: 1.65; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--sans);
  font-size: .76rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

.gold { color: var(--gold-deep); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
h2.mt-1, h3.mt-1 { margin-top: .4rem; }

.todo {
  display: inline;
  background: rgba(216, 194, 144, .28);
  border: 1px dashed var(--gold);
  color: var(--gold-deep);
  font-size: .82em; font-weight: 400;
  padding: .05em .45em; border-radius: 4px;
}

/* ---------- Layout ---------- */
.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.container-wide { width: min(1380px, 100% - 3rem); margin-inline: auto; }
main > section, section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.bg-cream-2 { background: var(--cream-2); }
.bg-ink { background: var(--ink); color: rgba(250, 246, 236, .78); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink strong { color: var(--cream); }
.bg-ink .eyebrow { color: var(--gold-light); }
.bg-ink .lead, .bg-ink p { color: rgba(250, 246, 236, .75); }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }
.bg-ink .section-head p { color: rgba(250, 246, 236, .72); }

.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--white); }
.split-media.tall { aspect-ratio: 3 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.04); }
.split-media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: calc(var(--radius) - 6px); pointer-events: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap; line-height: 1.2;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 10px 26px -12px rgba(142, 115, 64, .7); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--gold-deep); }
.btn-outline { border-color: rgba(30, 28, 25, .35); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.btn-ghost { padding-inline: 0; color: var(--gold-deep); border-radius: 0; }
.btn-ghost:hover { color: var(--ink); transform: none; }
.bg-ink .btn-outline, .cta-band .btn-outline { border-color: rgba(250, 246, 236, .4); color: var(--cream); }
.bg-ink .btn-outline:hover, .cta-band .btn-outline:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  background: var(--cream);
  transition: opacity .7s var(--ease), visibility .7s;
  animation: loaderFallback 0s linear 3.5s forwards; /* sécurité si le JS ne charge pas */
}
.loader .emblem { width: 76px; height: 76px; animation: spin 6s linear infinite; }
.loader .l-word { font-family: var(--serif); font-size: 2.6rem; letter-spacing: .4em; color: var(--ink); margin-top: 1rem; padding-left: .4em; }
.loader .l-sub { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); }
.loader .l-bar { width: 120px; height: 1px; background: var(--line); margin-top: 1.4rem; position: relative; overflow: hidden; }
.loader .l-bar::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: bar 1.2s var(--ease) infinite; }
body.loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bar { to { transform: translateX(100%); } }
@keyframes loaderFallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.scrolled {
  --header-h: 70px;
  background: rgba(250, 246, 236, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .b1 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .28em; color: var(--ink); }
.brand-text .b2 { font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-top: .3rem; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.9rem); list-style: none; }
.nav-links a:not(.btn) {
  position: relative; font-size: .8rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  padding-block: .4rem;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--gold-deep); }
.nav-links .m-only { display: none; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-cta .btn { padding: .8rem 1.3rem; font-size: .74rem; }

.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: 50%; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Header sur fond sombre (LYS Truck) avant scroll */
body.dark-top .site-header:not(.scrolled) .brand-text .b1,
body.dark-top .site-header:not(.scrolled) .nav-links a:not(.btn) { color: var(--cream); }
body.dark-top .site-header:not(.scrolled) .brand-text .b2 { color: var(--gold-light); }
body.dark-top .site-header:not(.scrolled) .burger span { background: var(--cream); }

/* ---------- Hero (accueil / mariages) ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 3rem); padding-bottom: 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 30%, rgba(216, 194, 144, .35), transparent 70%),
    radial-gradient(45% 45% at 5% 90%, rgba(234, 224, 203, .9), transparent 70%),
    var(--cream);
}
.hero-bg::after {
  content: ""; position: absolute; right: -8%; top: 12%;
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  border: 1px solid rgba(184, 155, 94, .28); border-radius: 50%;
}
.hero-inner {
  width: min(1280px, 100% - 3rem); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.hero-copy h1 { margin-bottom: 1.4rem; }
.hero-copy .lead { max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta b { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.hero-meta span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

.hero-visual { position: relative; }
.hero-visual .frame {
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--white);
  max-height: 72svh; margin-left: auto;
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; left: -2.2rem; bottom: 2.4rem;
  display: flex; align-items: center; gap: .9rem;
  background: var(--white); padding: 1rem 1.3rem 1rem 1rem; border-radius: 14px;
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.float-card .dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); font-family: var(--serif); font-size: 1.3rem; }
.float-card small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.float-card span { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
@keyframes float { 50% { transform: translateY(-8px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft);
}
.scroll-hint .line { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Page hero (pages intérieures) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(216, 194, 144, .3), transparent 70%),
    var(--cream);
}
.page-hero.bg-ink { background: radial-gradient(50% 80% at 100% 0%, rgba(184, 155, 94, .22), transparent 70%), var(--ink); }
.page-hero h1 { max-width: 18ch; }
.page-hero p { max-width: 64ch; color: var(--ink-soft); font-size: 1.12rem; }
.page-hero.bg-ink p { color: rgba(250, 246, 236, .72); }
.crumb { font-size: .76rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.6rem !important; }
.crumb a:hover { color: var(--gold-deep); }

/* ---------- Cartes prestations (accueil) ---------- */
.svc-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--white); }
.grid-4 .svc-card .ph { aspect-ratio: 1 / 1; }
.svc-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .ph img { transform: scale(1.06); }
.svc-card .tag { position: absolute; top: 1rem; left: 1rem; background: rgba(250, 246, 236, .92); color: var(--ink); font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 999px; }
.svc-card .bd { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; }
.svc-card .bd p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.more { display: inline-flex; gap: .5rem; margin-top: 1.2rem; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.more .arrow { transition: transform .3s var(--ease); }
.more:hover { color: var(--ink); }
.more:hover .arrow { transform: translateX(4px); }

/* ---------- Features ---------- */
.feature { display: flex; gap: 1.3rem; align-items: flex-start; }
.feature h4 { margin-bottom: .35rem; }
.feature p { color: var(--ink-soft); font-size: .98rem; }
.ic {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(184, 155, 94, .45); color: var(--gold-deep); background: var(--white);
}
.ic svg { width: 24px; height: 24px; }

/* ---------- Cartes génériques ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.1rem 1.9rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(184, 155, 94, .4); }
.card .ic { margin-bottom: 1.3rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .num { display: inline-block; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(184, 155, 94, .4); }
.bg-cream-2 .card { background: var(--white); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 2.3rem; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.step { text-align: center; padding: 0 1rem; position: relative; }
.step .n {
  display: inline-grid; place-items: center; width: 4.6rem; height: 4.6rem; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--gold); color: var(--gold-deep);
  font-family: var(--serif); font-size: 1.6rem; margin-bottom: 1.4rem; position: relative;
}
.step p { color: var(--ink-soft); font-size: .98rem; max-width: 34ch; margin-inline: auto; }

/* ---------- Témoignages ---------- */
.quote { background: var(--white); border-radius: var(--radius); padding: 2.4rem 2rem 2rem; position: relative; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote .mark { position: absolute; top: .4rem; right: 1.4rem; font-family: var(--serif); font-size: 6rem; line-height: 1; color: rgba(184, 155, 94, .25); }
.quote .stars { color: var(--gold); letter-spacing: .2em; font-size: .9rem; margin-bottom: 1rem; }
.quote p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--ink); font-style: italic; flex: 1; }
.who { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.who .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--gold-deep); font-family: var(--serif); font-size: 1.2rem; }
.who b { display: block; font-size: .95rem; }
.who span span { font-size: .78rem; color: var(--ink-soft); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(184, 155, 94, .28), transparent 65%),
    radial-gradient(50% 80% at 0% 100%, rgba(184, 155, 94, .14), transparent 65%),
    var(--ink);
  color: rgba(250, 246, 236, .76);
  text-align: center;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(3.2rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
section.cta-band { border-radius: 0; }
.cta-band::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(216, 194, 144, .22); border-radius: var(--radius); pointer-events: none; }
section.cta-band::before { display: none; }
.cta-band h2 { color: var(--cream); max-width: 22ch; margin-inline: auto; }
.cta-band p { max-width: 60ch; margin: 0 auto 2rem; color: rgba(250, 246, 236, .74); }
.cta-band .eyebrow { color: var(--gold-light); }

/* ---------- Page Prestations ---------- */
.presta {
  display: grid; grid-template-columns: minmax(240px, 1fr) 2.2fr; gap: 2.5rem;
  padding-block: 3.2rem; border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.presta:last-child { border-bottom: 1px solid var(--line); }
.p-title { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.p-title .idx { display: block; font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: var(--gold); font-style: italic; margin-bottom: .6rem; }
.p-title h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: .8rem; }
.p-title .btn-ghost { font-size: .74rem; }
.p-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.4rem; align-items: start; }
.p-body .blk:first-child { grid-column: 1 / -1; font-size: 1.1rem; color: var(--ink); }
.p-body > p, .p-body > .btn { grid-column: 1 / -1; justify-self: start; }
.blk h4 { font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .7rem; }
.blk p { color: var(--ink-soft); font-size: .98rem; }

ul.dots { list-style: none; display: grid; gap: .45rem; }
ul.dots li { position: relative; padding-left: 1.3rem; font-size: .98rem; }
ul.dots li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Note / encart ---------- */
.note {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(216, 194, 144, .16); border: 1px solid rgba(184, 155, 94, .35);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem;
  font-size: .93rem; color: var(--ink-2);
}
.note svg { flex-shrink: 0; color: var(--gold-deep); margin-top: .2rem; }
.bg-ink .note { background: rgba(250, 246, 236, .06); border-color: rgba(216, 194, 144, .3); }

/* ---------- Liste de prix (LYS Truck) ---------- */
.price-list { background: var(--white); border-radius: var(--radius); padding: 1rem 2.2rem; box-shadow: var(--shadow-sm); }
.price-item { display: flex; align-items: baseline; gap: 1rem; padding-block: 1.2rem; border-bottom: 1px dashed var(--line); }
.price-item:last-child { border-bottom: 0; }
.price-item .pl { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); flex: 1; }
.price-item .pl small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--ink-soft); letter-spacing: .04em; }
.price-item .pr { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-deep); white-space: nowrap; }

.ribbon { display: inline-flex; align-items: center; gap: .7rem; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid rgba(216, 194, 144, .45); color: var(--gold-light); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 0 rgba(216, 194, 144, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(216, 194, 144, 0); } 100% { box-shadow: 0 0 0 0 rgba(216, 194, 144, 0); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left; padding: 1.5rem 0; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.faq-q:hover { color: var(--gold-deep); }
.pm { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--gold-deep); transition: transform .35s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq-item.open .pm::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > * { overflow: hidden; }
.faq-a p { color: var(--ink-soft); padding-bottom: 0; margin: 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { padding-bottom: 1.5rem; }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.6rem; }
.filters button { padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); transition: all .3s var(--ease); }
.filters button:hover { border-color: var(--gold); color: var(--ink); }
.filters button.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.gallery { columns: 3 300px; column-gap: 1.4rem; }
.g-item { break-inside: avoid; margin-bottom: 1.4rem; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--white); box-shadow: var(--shadow-sm); transition: opacity .4s var(--ease), transform .4s var(--ease); }

.g-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.g-item:nth-child(3n+2) img { aspect-ratio: 1 / 1; object-fit: cover; }
.g-item::after {
  content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.3rem 1.1rem; font-family: var(--serif); font-size: 1.2rem; color: var(--cream);
  background: linear-gradient(transparent, rgba(30, 28, 25, .78));
  opacity: 0; transform: translateY(8px); transition: all .4s var(--ease);
}
.g-item:hover::after { opacity: 1; transform: none; }
.g-item:hover img { transform: scale(1.04); }
.g-item.hide { display: none; }
.gallery-note .todo { display: inline-block; padding: .6rem 1rem; }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(20, 18, 16, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 80vh; max-width: min(900px, 100%); width: auto; border-radius: var(--radius-sm); }
.lightbox p { color: var(--cream); font-family: var(--serif); font-size: 1.3rem; margin: 0; text-align: center; }
.lightbox .lb-close { position: absolute; top: 1.2rem; right: 1.4rem; width: 48px; height: 48px; font-size: 2rem; color: var(--cream); }

/* ---------- Configurateur de devis ---------- */
.config { background: var(--white); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); padding: clamp(1.6rem, 4vw, 3rem); }
.config-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 2.6rem; }
.pstep span { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: .6rem; }
.pstep .bar { height: 3px; background: var(--cream-3); border-radius: 3px; overflow: hidden; }
.pstep .bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.pstep.active .bar i, .pstep.done .bar i { width: 100%; }
.pstep.active span, .pstep.done span { color: var(--ink); }
.config-step { display: none; animation: stepIn .5s var(--ease); }
.config-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.config-step h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .3rem; }
.hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.8rem; }
.req { color: var(--gold-deep); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 1rem; }
.opt { text-align: left; padding: 1.3rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); transition: all .3s var(--ease); position: relative; }
.opt:hover { border-color: var(--gold); transform: translateY(-2px); }
.opt.selected { border-color: var(--gold); background: rgba(216, 194, 144, .2); box-shadow: 0 0 0 1px var(--gold) inset; }
.opt.selected::after { content: "✓"; position: absolute; top: .7rem; right: .9rem; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--white); font-size: .75rem; display: grid; place-items: center; }
.oic { font-size: 1.6rem; margin-bottom: .6rem; line-height: 1; }
.ot { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.od { font-size: .82rem; color: var(--ink-soft); }
.config-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.config-summary { margin-top: 2rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--cream-2); font-size: .9rem; color: var(--ink-soft); }
.config-summary b { color: var(--ink); }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field label { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 300; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem 1rem; transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 155, 94, .18); }
.field.error input { border-color: #B5523B; box-shadow: 0 0 0 3px rgba(181, 82, 59, .12); }

.success-msg { display: none; text-align: center; padding: 2rem 0; }
.config.sent .config-progress, .config.sent .config-fields { display: none; }
.config.sent .success-msg { display: block; animation: stepIn .6s var(--ease); }
.ck { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.4rem; display: grid; place-items: center; background: var(--gold); color: var(--white); font-size: 2rem; }

/* ---------- Badge MAF ---------- */
.maf { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 1.3rem; border: 1px solid rgba(184, 155, 94, .4); border-radius: var(--radius-sm); background: var(--white); }
.maf img { flex-shrink: 0; width: 70px; height: auto; }
.maf p { margin: 0; font-size: .95rem; }
@media (max-width: 600px) { .maf { flex-direction: column; text-align: center; } }

/* ---------- Contact ---------- */
.info-list { display: grid; gap: 1.4rem; }
.info-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.info-item small { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.info-item p { margin: .15rem 0 0; font-size: 1.05rem; color: var(--ink); }
.info-item a:hover { color: var(--gold-deep); }
.zone-map {
  aspect-ratio: 1 / 1; border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 2rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(216, 194, 144, .35) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 45%, transparent 0 30%, rgba(184, 155, 94, .18) 30.3%, transparent 30.8%),
    radial-gradient(circle at 50% 45%, transparent 0 44%, rgba(184, 155, 94, .14) 44.3%, transparent 44.8%),
    var(--cream-2);
  border: 1px solid var(--line);
}
.zone-map.map-embed { padding: 0; overflow: hidden; aspect-ratio: 4 / 3.4; }
.zone-map.map-embed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.send-error { margin-top: 1rem; }
.gmap { position: relative; }
.gmap iframe { width: 100%; height: 100%; border: 0; display: block; }
.gmap-consent { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); width: min(92%, 380px); background: rgba(255, 253, 248, .96); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 1.1rem 1.2rem; text-align: center; }
.gmap-consent p { font-size: .8rem; color: var(--ink-soft); margin: .7rem 0 .4rem; line-height: 1.45; }
.gmap-consent a { text-decoration: underline; color: var(--gold-deep); }
.gmap-consent label { font-size: .78rem; color: var(--ink-soft); display: inline-flex; gap: .4rem; align-items: center; cursor: pointer; }
.gmap-consent .btn { width: 100%; }
.map-links { font-size: .85rem; margin-top: .6rem; }
.map-links a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.zone-map .pin svg { margin-inline: auto; animation: float 4s ease-in-out infinite; }
.zone-map .pin p { margin: 0; }
.zone-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; max-width: 860px; margin-inline: auto; }
.zone-tags span { padding: .6rem 1.2rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; color: var(--ink); }

.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(250, 246, 236, .22); color: var(--cream); transition: all .3s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.socials-ink a { border-color: var(--line); color: var(--ink); }

/* ---------- Pages légales ---------- */
.legal { display: grid; grid-template-columns: 230px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: .2rem; border-left: 1px solid var(--line); }
.legal-nav a { padding: .55rem 0 .55rem 1.2rem; font-size: .88rem; color: var(--ink-soft); border-left: 2px solid transparent; margin-left: -1px; }
.legal-nav a:hover { color: var(--ink); }
.legal-nav a.active { color: var(--ink); border-left-color: var(--gold); font-weight: 400; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 2.6rem 0 .8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal-body h2:first-child, .legal-body .tc + h2 { margin-top: 0; border-top: 0; padding-top: 0; }
.legal-body .tc + h2 { margin-top: 2.4rem; }
.legal-body h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body a:not(.btn) { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-body ul, .legal-body ol { padding-left: 1.3rem; margin: 0 0 1em; }
.legal-body li { margin-bottom: .3rem; }
.legal-body li::marker { color: var(--gold); }
.tc { background: var(--cream-2); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.2rem 1.4rem; margin: 1.4rem 0; font-size: .95rem; }
.tc:first-child { margin-top: 0; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .92rem; }
.legal-body th, .legal-body td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body th { font-weight: 500; color: var(--ink); background: var(--cream-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(250, 246, 236, .66); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(250, 246, 236, .1); }
.footer-brand .brand-text .b1 { color: var(--cream); }
.footer-brand p { margin-top: 1.3rem; max-width: 36ch; }
.site-footer h5 { font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.3rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact a { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; font-size: .82rem; color: rgba(250, 246, 236, .45); }
.footer-bottom a { color: rgba(250, 246, 236, .65); }

/* ---------- Animations d'apparition ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal-delay="1"] { transition-delay: .12s; }
.js [data-reveal-delay="2"] { transition-delay: .24s; }
.js [data-reveal-delay="3"] { transition-delay: .36s; }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links { gap: 1rem; }
  .nav-links a:not(.btn) { font-size: .72rem; letter-spacing: .08em; }
}

@media (max-width: 1040px) {
  :root { --header-h: 72px; }
  .burger { display: block; z-index: 2; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 1.4rem;
    background: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { font-family: var(--serif); font-size: 1.9rem; letter-spacing: 0; text-transform: none; color: var(--ink) !important; }
  .nav-links .m-only { display: block; margin-top: 1rem; }
  .brand { position: relative; z-index: 2; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream); }
  body.nav-open.dark-top .brand-text .b1 { color: var(--ink); }
  body.nav-open.dark-top .burger span { background: var(--ink); }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .float-card { left: -1rem; }
  .hero { min-height: auto !important; }
  .scroll-hint { display: none; }
}

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-2 { gap: 2rem !important; }
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media { max-width: 520px; width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 2.6rem; }
  .steps::before { display: none; }
  .presta { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 2.4rem; }
  .p-title { position: static; }
  .p-title .idx { font-size: 2.6rem; }
  .legal { grid-template-columns: 1fr; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: .5rem; border-left: 0; }
  .legal-nav a { border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; margin: 0; }
  .legal-nav a.active { border-color: var(--gold); background: rgba(216, 194, 144, .2); }
  .config-progress span { font-size: .6rem; letter-spacing: .06em; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container, .container-wide, .hero-inner { width: calc(100% - 2rem); }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .p-body { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-meta { gap: 1.4rem 2rem; }
  .hero-cta .btn, .btn-row .btn { width: 100%; }
  .config-nav .btn { flex: 1; }
  .price-list { padding: .6rem 1.2rem; }
  .price-item .pl { font-size: 1.2rem; }
  .brand-text .b2 { font-size: .5rem; }
  .float-card { left: .5rem; bottom: 1rem; }
  .config-progress span { display: none; }
  .btn { white-space: normal; text-align: center; }
}
