/* El Afia Catering — feuille de style principale */

/* Polices auto-hébergées (sous-ensemble latin, suffisant pour le français) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(../fonts/jost-latin.woff2) format("woff2"); }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/marcellus-latin.woff2) format("woff2"); }

:root {
  --cream: #f4ece0;
  --cream-2: #ebe0cd;
  --paper: #faf6ef;
  --bordeaux: #441711;
  --bordeaux-deep: #2b0e0a;
  --red: #9d2325;
  --red-hover: #b52a2c;
  --ink: #2b0f0b;
  --ink-soft: #6b4c43;
  --line: rgba(68, 23, 17, .14);
  --line-light: rgba(244, 236, 224, .18);

  --f-display: "Marcellus", "Times New Roman", serif;
  --f-text: "Jost", system-ui, sans-serif;

  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --sec: clamp(88px, 11vw, 160px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: var(--cream); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--cream); color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 12.5px/1 var(--f-text); letter-spacing: .22em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: #e6b8a8; }

.h-xl { font-size: clamp(44px, 7.4vw, 112px); line-height: .98; }
.h-lg { font-size: clamp(36px, 5vw, 72px); }
.h-md { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; font-weight: 300; }
.muted { color: var(--ink-soft); }
.on-dark .muted { color: rgba(244, 236, 224, .72); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--red); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 28px;
  border: 1px solid var(--bg); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font: 500 14px/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover { --bg: var(--red-hover); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { --bg: rgba(244, 236, 224, .12); }
.btn--light { --bg: var(--cream); --fg: var(--bordeaux); }
.btn--light:hover { --bg: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--cream); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13.5px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Picto (masque teinté) ---------- */
.picto { display: block; background: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--cream);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; transition: height .4s var(--ease); }
.header.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.is-solid .header__bar { height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .picto { width: 40px; height: 40px; color: inherit; }
.header.is-solid .brand .picto { color: var(--red); }
.brand__name { font: 400 19px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.brand__name small { display: block; margin-top: 6px; font: 500 9.5px/1 var(--f-text); letter-spacing: .32em; opacity: .75; }

.menu { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); }
.menu a:not(.btn) {
  position: relative; padding: 8px 0; text-decoration: none;
  font: 500 13px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase;
}
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.menu a:not(.btn):hover::after, .menu a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu .btn { height: 46px; padding: 0 22px; font-size: 12.5px; }
.header:not(.is-solid) .menu .btn { --bg: var(--cream); --fg: var(--bordeaux); }

.burger { display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: var(--radius); background: none; color: inherit; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 72px 0 0; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 24px var(--gut) 40px; background: var(--bordeaux); color: var(--cream);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .menu.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .menu a:not(.btn) { width: 100%; padding: 20px 0; border-bottom: 1px solid var(--line-light); font: 400 26px/1 var(--f-display); letter-spacing: .02em; text-transform: none; }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 32px; width: 100%; justify-content: center; height: 56px; --bg: var(--cream) !important; --fg: var(--bordeaux) !important; }
  .header.menu-open { background: var(--bordeaux); color: var(--cream); }
  .header__bar { height: 72px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh);
  display: grid; align-items: end;
  color: var(--cream); background: var(--bordeaux-deep);
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(43, 14, 10, .92) 0%, rgba(43, 14, 10, .7) 38%, rgba(43, 14, 10, .15) 75%),
    linear-gradient(0deg, rgba(43, 14, 10, .85) 0%, rgba(43, 14, 10, 0) 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__inner { padding-block: 128px clamp(40px, 5vw, 64px); }
.hero__content { max-width: 820px; }
.hero h1 { margin: 24px 0 24px; }
.hero h1 em { font-style: normal; color: #e9b9a6; }
.hero .eyebrow { color: #e9b9a6; }
.hero .lead { max-width: 560px; color: rgba(244, 236, 224, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__foot {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-light);
}
.hero__foot dt { font: 400 clamp(26px, 2.6vw, 38px)/1 var(--f-display); }
.hero__foot dd { margin: 10px 0 0; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 236, 224, .7); }
@media (max-width: 760px) {
  .hero__img { object-position: 70% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(43, 14, 10, .96) 10%, rgba(43, 14, 10, .55) 60%, rgba(43, 14, 10, .35) 100%); }
  .hero__inner { padding-top: 140px; }
  .hero__foot { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Section générique ---------- */
.section { padding-block: var(--sec); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--bordeaux); color: var(--cream); }
.section--deep { background: var(--bordeaux-deep); color: var(--cream); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px 72px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { margin-top: 22px; }
.section-head p { max-width: 520px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Manifeste ---------- */
.manifesto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.manifesto__logo { width: min(100%, 320px); aspect-ratio: 662 / 562; color: var(--bordeaux); }
.manifesto__text .h-md { margin: 26px 0 32px; }
.manifesto__text .h-md em { font-style: normal; color: var(--red); }
.manifesto__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pictos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.pictos li { display: grid; justify-items: center; align-content: start; gap: 20px; padding: 40px 12px 0; text-align: center; border-left: 1px solid var(--line); }
.pictos li:first-child { border-left: 0; }
.pictos .picto { width: 76px; height: 58px; color: var(--red); transition: transform .5s var(--ease); }
.pictos li:hover .picto { transform: translateY(-6px); }
.pictos span { font: 500 12.5px/1.4 var(--f-text); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) {
  .manifesto { grid-template-columns: 1fr; }
  .manifesto__logo { width: 200px; }
  .manifesto__cols { grid-template-columns: 1fr; }
  .pictos { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .pictos li:nth-child(4) { border-left: 0; }
}

/* ---------- Chiffres ---------- */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figure { padding: 8px clamp(16px, 3vw, 44px); border-left: 1px solid var(--line-light); }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure strong { display: block; font: 400 clamp(44px, 5.4vw, 84px)/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.figure strong sup { font-size: .42em; vertical-align: .9em; margin-left: 4px; color: #e9b9a6; }
.figure > span { display: block; margin-top: 18px; max-width: 220px; font-size: 15.5px; line-height: 1.5; color: rgba(244, 236, 224, .78); }
@media (max-width: 900px) {
  .figures { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .figure:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Prestations (tuiles) ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 21vw, 300px); gap: 16px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius);
  color: var(--cream); text-decoration: none; background: var(--bordeaux);
}
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(43, 14, 10, .94) 0%, rgba(43, 14, 10, .55) 45%, rgba(43, 14, 10, .05) 100%); transition: opacity .5s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile__num { position: absolute; top: clamp(22px, 2.4vw, 34px); left: clamp(22px, 2.4vw, 34px); font: 500 12px/1 var(--f-text); letter-spacing: .2em; opacity: .8; }
.tile h3 { font-size: clamp(24px, 2.2vw, 32px); }
.tile p { margin-top: 10px; max-width: 420px; font-size: 15.5px; line-height: 1.55; color: rgba(244, 236, 224, .82); }
.tile__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font: 500 12px/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; }
.tile__more svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.tile:hover .tile__more svg { transform: translateX(5px); }
.tile--picto { background: var(--bordeaux); }
.tile--picto::before { display: none; }
.tile--picto .picto { position: absolute; top: clamp(22px, 2.4vw, 34px); right: clamp(22px, 2.4vw, 34px); width: 38%; height: 38%; transform: none; color: rgba(244, 236, 224, .16); transition: transform .8s var(--ease), color .5s; }
.tile--picto:hover .picto { transform: translateY(-6px); color: rgba(244, 236, 224, .28); }
.tile--red { background: var(--red); }
.tile--cream { background: var(--cream-2); color: var(--bordeaux); }
.tile--cream p { color: var(--ink-soft); }
.tile--cream .picto { color: rgba(157, 35, 37, .2); }
.t-a { grid-column: span 7; grid-row: span 2; }
.t-b { grid-column: span 5; }
.t-c { grid-column: span 5; }
.t-d { grid-column: span 4; }
.t-e { grid-column: span 4; }
.t-f { grid-column: span 4; }
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .t-a { grid-column: span 2; grid-row: span 2; }
  .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: span 1; }
  .t-f { grid-column: span 2; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tiles > * { grid-column: auto !important; grid-row: auto !important; min-height: 300px; }
  .t-a { min-height: 440px; }
}

/* ---------- Parcours culinaire ---------- */
.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; }
.step__img { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--cream-2); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.step:hover .step__img img { transform: scale(1.05); }
.step__img--picto { display: grid; place-items: center; background: var(--cream-2); }
.step__img--picto .picto { width: 52%; height: 52%; color: var(--red); transition: transform .8s var(--ease); }
.step:hover .step__img--picto .picto { transform: scale(1.08); }
.step__img--dark { background: var(--bordeaux); }
.step__img--dark .picto { color: var(--cream); }
.step__num { display: flex; align-items: center; gap: 14px; margin: 26px 0 14px; font: 400 15px/1 var(--f-display); color: var(--red); }
.step__num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step h3 { font-size: 23px; line-height: 1.2; }
.step p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 1080px) {
  .journey { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); scrollbar-width: thin; }
  .step { flex: 0 0 min(300px, 76vw); scroll-snap-align: start; }
}

/* ---------- Bandeau événementiel ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; min-height: min(92svh, 860px); display: grid; align-items: center; color: var(--cream); background: var(--bordeaux-deep); }
.band__img { position: absolute; top: -10%; left: 0; z-index: -2; width: 100%; height: 120%; object-fit: cover; object-position: 70% 40%; will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43, 14, 10, .94) 0%, rgba(43, 14, 10, .78) 42%, rgba(43, 14, 10, .1) 80%); }
.band__content { max-width: 640px; padding-block: var(--sec); }
.band h2 { margin: 24px 0 28px; }
.band ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 36px 0 44px; }
.band li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; }
.band li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: #e9b9a6; flex: none; }
@media (max-width: 760px) {
  .band::before { background: linear-gradient(0deg, rgba(43, 14, 10, .95) 25%, rgba(43, 14, 10, .7) 100%); }
  .band ul { grid-template-columns: 1fr; }
}

/* ---------- Cuisines ---------- */
.cuisines { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.cuisines__aside { position: sticky; top: 120px; }
.cuisines__aside h2 { margin: 22px 0 26px; }
.cuisines__photo { position: relative; margin-top: 44px; }
.cuisines__photo img { width: 72%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.cuisines__photo img + img { position: absolute; right: 0; bottom: -48px; width: 46%; aspect-ratio: 1; border: 8px solid var(--cream); }
.dishes li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.dishes li:first-child { border-top: 1px solid var(--line); }
.dishes .num { grid-row: span 2; font: 400 15px/2.2 var(--f-display); color: var(--red); }
.dishes h3 { font-size: clamp(26px, 2.4vw, 34px); transition: color .3s, transform .4s var(--ease); }
.dishes li:hover h3 { color: var(--red); transform: translateX(6px); }
.dishes p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 900px) {
  .cuisines { grid-template-columns: 1fr; }
  .cuisines__aside { position: static; }
  .cuisines__photo { margin-bottom: 56px; }
}

/* ---------- Cheffe & site ---------- */
.chef { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.chef__visual { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: end; }
.chef__visual img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.chef__visual img:first-child { aspect-ratio: 3 / 4.6; }
.chef__visual img:last-child { aspect-ratio: 4 / 5; margin-bottom: 48px; }
.chef__visual .picto { position: absolute; left: -28px; top: -28px; width: 96px; height: 100px; color: #e9b9a6; }
.chef blockquote { margin: 28px 0 32px; font: 400 clamp(28px, 3vw, 42px)/1.2 var(--f-display); }
.chef cite { display: block; margin-top: 26px; font: 500 13px/1.5 var(--f-text); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: #e9b9a6; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 40px; }
.checks li { padding: 16px 0 16px 30px; border-top: 1px solid var(--line-light); position: relative; font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 7px; border-left: 1.5px solid #e9b9a6; border-bottom: 1.5px solid #e9b9a6; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .chef { grid-template-columns: 1fr; }
  .chef__visual .picto { left: auto; right: 0; top: -40px; width: 72px; }
  .checks { grid-template-columns: 1fr; }
}

/* ---------- Références ---------- */
.refs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.refs li { display: grid; place-items: center; min-height: 110px; padding: 16px; font: 400 clamp(20px, 2vw, 28px)/1.2 var(--f-display); color: var(--bordeaux); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transition: color .3s, background .3s; }
.refs li:nth-child(4n+1) { border-left: 0; }
.refs li:nth-child(-n+4) { border-top: 0; }
.refs li:hover { color: var(--red); background: var(--cream); }
.ref-logo { display: block; width: min(var(--w), 100%); height: var(--h); background: var(--red); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; transition: background-color .3s; }
.refs .ref-name { color: var(--red); }
.refs li:hover .ref-logo { background: #cf3a3d; }
.refs .ref-name:hover { color: #cf3a3d; }
@media (max-width: 760px) { .refs { grid-template-columns: 1fr 1fr; } .refs li { border-left: 1px solid var(--line) !important; border-top: 1px solid var(--line) !important; } .refs li:nth-child(odd) { border-left: 0 !important; } .refs li:nth-child(-n+2) { border-top: 0 !important; } }
.refs-wrap { padding: clamp(56px, 7vw, 96px) 0; border-block: 1px solid var(--line); }
.refs-wrap .eyebrow { display: flex; justify-content: center; margin-bottom: 36px; }
.refs-wrap .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); }
.faq-grid h2 { margin: 22px 0 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font: 400 clamp(20px, 1.8vw, 25px)/1.3 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: linear-gradient(var(--red), var(--red)) center / 12px 1.5px no-repeat, linear-gradient(var(--red), var(--red)) center / 1.5px 12px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { background-color: var(--cream-2); }
.faq details p { padding: 0 64px 28px 0; color: var(--ink-soft); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq details p { padding-right: 0; } }

/* ---------- Devis ---------- */
.quote { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); }
.quote h2 { margin: 22px 0 26px; }
.contact-list { margin-top: 48px; }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-light); }
.contact-list span { font: 500 12px/1.9 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 236, 224, .6); }
.contact-list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
.pin-inline { width: 15px; height: 15px; margin-right: 8px; fill: currentColor; vertical-align: -2px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: clamp(28px, 4vw, 56px); background: var(--cream); color: var(--ink); border-radius: var(--radius); }
.form h3 { grid-column: 1 / -1; font-size: 28px; margin-bottom: 6px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full, .form .btn, .form__note { grid-column: 1 / -1; }
.field label { font: 500 12px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid rgba(68, 23, 17, .22); border-radius: var(--radius); background: var(--paper);
  color: var(--ink); font: 400 16px/1.4 var(--f-text);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { height: auto; min-height: 128px; padding: 14px 16px; resize: vertical; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(157, 35, 37, .15); }
.form .btn { justify-content: center; margin-top: 6px; }
.form__note { font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .contact-list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--bordeaux-deep); color: var(--cream); padding: clamp(72px, 9vw, 120px) 0 36px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.footer__logo { width: 210px; aspect-ratio: 662 / 562; color: var(--cream); }
.footer h4 { margin-bottom: 22px; font: 500 12px/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: #e9b9a6; }
.footer li { padding: 6px 0; font-size: 15.5px; color: rgba(244, 236, 224, .8); }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; color: rgba(244, 236, 224, .8); font-size: 15.5px; line-height: 1.75; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13.5px; color: rgba(244, 236, 224, .55); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Liste déroulante « Prestation » ---------- */
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%239d2325' stroke-width='1.6'/%3E%3C/svg%3E") right 18px center / 14px no-repeat; }
.select { position: relative; }
.select select { position: absolute; inset: auto 0 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.select__trigger {
  display: flex; align-items: center; gap: 14px; width: 100%; height: 60px; padding: 0 18px 0 12px;
  border: 1px solid rgba(68, 23, 17, .22); border-radius: var(--radius); background: var(--paper);
  color: var(--ink); font: 400 16px/1.2 var(--f-text); text-align: left; cursor: pointer;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.select__trigger:hover { border-color: rgba(68, 23, 17, .4); }
.select__trigger:focus-visible, .select.is-open .select__trigger { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(157, 35, 37, .15); }
.select__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 3px; background: var(--cream-2); color: var(--red); transition: background-color .25s, color .25s; }
.select__icon .picto { width: 30px; height: 28px; }
.select.has-value .select__icon { background: var(--red); color: var(--cream); }
.select__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select:not(.has-value) .select__value { color: var(--ink-soft); }
.select__chev { flex: none; width: 14px; height: 14px; color: var(--red); transition: transform .35s var(--ease); }
.select.is-open .select__chev { transform: rotate(180deg); }
.select.is-invalid .select__trigger { border-color: var(--red); background: #fbf1ee; }
.select__error { display: none; margin-top: 8px; font-size: 13.5px; color: var(--red); }
.select.is-invalid .select__error { display: block; }

.select__list {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0;
  max-height: min(420px, 60vh); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 8px; list-style: none;
  background: #fffdf9; border: 1px solid rgba(68, 23, 17, .12); border-radius: 6px;
  box-shadow: 0 24px 48px -16px rgba(43, 14, 10, .35), 0 2px 6px rgba(43, 14, 10, .08);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: top center;
  transition: opacity .22s var(--ease), transform .28s var(--ease), visibility 0s linear .28s;
}
.select.is-open .select__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.select.drop-up .select__list { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; }
.select__option {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 14px;
  padding: 10px 12px 10px 10px; border-radius: 4px; cursor: pointer; transition: background-color .18s;
}
.select__option + .select__option { margin-top: 2px; }
.select__option .select__icon { width: 44px; height: 44px; }
.select__option .select__icon .picto { width: 36px; height: 32px; }
.select__option strong { display: block; font: 400 18px/1.25 var(--f-display); color: var(--ink); }
.select__option small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.35; color: var(--ink-soft); }
.select__option .select__check { width: 16px; height: 16px; color: var(--red); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.select__option.is-active { background: var(--cream); }
.select__option.is-active .select__icon { background: #e3d5bd; }
.select__option[aria-selected="true"] .select__icon { background: var(--red); color: var(--cream); }
.select__option[aria-selected="true"] .select__check { opacity: 1; transform: none; }
@media (max-width: 560px) {
  .select__list { padding: 6px; max-height: min(380px, 55vh); }
  .select__option { grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 12px; padding: 8px 10px 8px 8px; }
  .select__option .select__icon { width: 36px; height: 36px; }
  .select__option .select__icon .picto { width: 28px; height: 26px; }
  .select__option strong { font-size: 16.5px; }
  .select__option small { font-size: 12.5px; }
}

/* ---------- Formulaire : états ---------- */
.form { position: relative; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field.is-invalid :is(input, textarea) { border-color: var(--red); background: #fbf1ee; }
.field__error { margin: 0; font-size: 13.5px; color: var(--red); }
.form__status { grid-column: 1 / -1; margin: 0; font-size: 14.5px; }
.form__status:empty { display: none; }
.form__status[data-kind="error"] { padding: 12px 16px; border-left: 3px solid var(--red); background: #fbf1ee; color: var(--red); }
.btn.is-loading { cursor: progress; opacity: .85; }
.btn:disabled { pointer-events: none; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(244, 236, 224, .35); border-top-color: var(--cream); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-sent > :not(.form__success) { visibility: hidden; }
.form__success {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  padding: clamp(28px, 4vw, 56px); text-align: center; background: var(--cream); border-radius: var(--radius);
  animation: successIn .6s var(--ease) both;
}
.form__success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 8px; border-radius: 50%; background: var(--red); color: var(--cream); }
.form__success-icon svg { width: 34px; height: 34px; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .6s .25s var(--ease) forwards; }
.form__success h3 { font-size: clamp(28px, 3vw, 38px); outline: none; }
.form__success p { max-width: 380px; color: var(--ink-soft); }
.form__success .link-arrow { margin-top: 12px; border: 0; background-color: transparent; color: var(--red); cursor: pointer; font-family: var(--f-text); }
@keyframes successIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Réseaux sociaux ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%; color: var(--cream); background: none !important; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease); }
.socials a:hover { background-color: var(--cream) !important; border-color: var(--cream); color: var(--bordeaux); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials--inline { margin-top: 0; }
.socials--inline a { width: 40px; height: 40px; }

/* ---------- Barre mobile ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
  .callbar.is-visible { transform: none; }
  .at-devis .callbar { transform: translateY(110%); }
  .callbar .btn { height: 50px; justify-content: center; padding: 0 12px; font-size: 12px; }
  .callbar .btn--ghost { color: var(--bordeaux); }
  body { padding-bottom: 0; }
}

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Animations de texte ---------- */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }
.js .eyebrow::before, .js .refs-wrap .eyebrow::after { transform: scaleX(0); transition: transform 1.2s var(--ease) .15s; }
.js .eyebrow::before { transform-origin: right; }
.js .refs-wrap .eyebrow::after { transform-origin: left; }
.js .is-in .eyebrow::before, .js .eyebrow.is-in::before, .js .refs-wrap.is-in .eyebrow::after { transform: none; }
[data-count] { font-variant-numeric: tabular-nums; }
.dishes h3, .step h3 { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease), color .3s, transform .4s var(--ease); }
.dishes li:hover h3, .step:hover h3 { background-size: 100% 1px; }
.dishes h3 { justify-self: start; }
.step h3 { display: inline-block; }

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