/* Le Comptoir de la Brick — feuille de style unique
   Poppins pour tout. Palette et proportions du cahier des charges, section 3. */

:root {
  --bg: #FDFBF7;
  --cream: #FDF0E0;
  --cream-deep: #F7E3CC;
  --terra: #C8521A;
  --terra-dark: #A33D10;
  --gold: #B48C32;
  --ink: #2B2523;
  --ink-80: rgba(43, 37, 35, .80);
  --ink-65: rgba(43, 37, 35, .65);
  --ink-45: rgba(43, 37, 35, .45);
  --line: rgba(43, 37, 35, .11);
  --line-gold: rgba(180, 140, 50, .34);

  --font: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1300px;
  --gut: clamp(18px, 4.4vw, 60px);
  --sect: clamp(56px, 6.4vw, 104px);
  --nav-h: 90px;
  --topbar-h: 39px;

  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;

  --ease: cubic-bezier(.22, .61, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.02; letter-spacing: -.038em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 820px; }

.section { padding-block: var(--sect); }
.section--cream { background: var(--cream); }
.section--terra { background: var(--terra); color: var(--cream); }
.section--ink { background: var(--ink); color: rgba(253, 240, 224, .82); }

/* ---------- echelle typographique ---------- */
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 20px;
}
.section--terra .eyebrow, .section--ink .eyebrow { color: rgba(253, 240, 224, .62); }

.h-display { font-size: clamp(3rem, 8.6vw, 7.4rem); line-height: .93; letter-spacing: -.05em; }
.h-1 { font-size: clamp(2.2rem, 5vw, 4.2rem); letter-spacing: -.042em; line-height: 1.02; }
.h-2 { font-size: clamp(1.75rem, 3.5vw, 2.9rem); letter-spacing: -.036em; line-height: 1.08; }
.h-3 { font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.28; }

.lede { font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.68; color: var(--ink-65); font-weight: 400; }
.small { font-size: 13.5px; line-height: 1.62; color: var(--ink-45); }
strong, b { font-weight: 500; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- arche : motif signature ---------- */
.arch-line { display: block; overflow: visible; }
.arch-line path { fill: none; stroke: var(--line-gold); stroke-width: 1.1; vector-effect: non-scaling-stroke; }

.sep { display: flex; align-items: center; gap: 18px; margin: 0 auto clamp(26px, 3vw, 40px); max-width: 320px; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line-gold); }
.sep svg { width: 30px; height: 23px; flex: none; }

/* ---------- boutons ---------- */
.btn {
  --btn-bg: var(--terra);
  --btn-fg: #FFF7EC;
  display: inline-flex; align-items: center; gap: .65em;
  padding: 15px 30px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 14.5px; font-weight: 500; letter-spacing: -.005em;
  text-decoration: none; border: 1px solid var(--btn-bg); border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { --btn-bg: var(--terra-dark); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(43, 37, 35, .24); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--bg); border-color: var(--ink); }

.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--terra-dark); }
.btn--cream:hover { --btn-bg: #fff; --btn-fg: var(--terra-dark); }

.btn--onvideo { --btn-bg: rgba(253, 251, 247, .1); --btn-fg: #FFF7EC; border-color: rgba(255, 247, 236, .72); backdrop-filter: blur(10px); }
.btn--onvideo:hover { --btn-bg: #FFF7EC; --btn-fg: var(--ink); border-color: #FFF7EC; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--terra-dark);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow span[aria-hidden] { transition: transform .35s var(--ease); }
.link-arrow:hover span[aria-hidden] { transform: translateX(5px); }
.section--terra .link-arrow, .section--ink .link-arrow { color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- bandeau + navigation ---------- */
.topbar {
  margin: 0; background: var(--terra-dark); color: rgba(253, 240, 224, .92);
  font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  text-align: center; padding: 10px 16px;
}
@media (max-width: 620px) {
  :root { --topbar-h: 32px; }
  .topbar { font-size: 9.5px; letter-spacing: .1em; padding: 8px 12px; }
}

.masthead { position: sticky; top: 0; z-index: 60; }
.nav {
  position: relative;
  background: rgba(253, 251, 247, .82);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo img { height: 56px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  position: relative; display: inline-block;
  font-size: 14px; font-weight: 400; letter-spacing: -.005em;
  text-decoration: none; color: var(--ink-80); padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px;
  background: var(--terra); transition: right .35s var(--ease);
}
.nav__menu a:hover { color: var(--terra-dark); }
.nav__menu a:hover::after { right: 0; }
.nav__menu a[aria-current="page"] { color: var(--terra-dark); }
.nav__menu a[aria-current="page"]::after { right: 0; }

.nav__cta { flex: none; }
.nav__burger {
  display: none; width: 46px; height: 46px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav__burger span { display: block; width: 18px; height: 1.4px; background: var(--ink); margin: 4.4px auto; transition: transform .35s var(--ease), opacity .25s; }
.masthead.is-open .nav__burger span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.masthead.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.masthead.is-open .nav__burger span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    background: var(--bg);
    padding: 120px var(--gut) 60px;
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .masthead.is-open .nav__menu { opacity: 1; visibility: visible; }
  .nav__menu li { width: 100%; overflow: hidden; }
  .nav__menu a {
    display: block; padding: 11px 0; color: var(--ink);
    font-size: clamp(1.9rem, 8vw, 2.7rem); font-weight: 300; letter-spacing: -.04em;
    transform: translateY(24px); opacity: 0;
    transition: transform .5s var(--ease), opacity .5s var(--ease);
  }
  .nav__menu a::after { display: none; }
  .masthead.is-open .nav__menu a { transform: none; opacity: 1; color: var(--ink); }
  .masthead.is-open .nav__menu a[aria-current="page"] { color: var(--terra-dark); }
  .masthead.is-open .nav__menu .menu-cta a { color: #FFF7EC; }
  .masthead.is-open .nav__menu li:nth-child(1) a { transition-delay: .06s; }
  .masthead.is-open .nav__menu li:nth-child(2) a { transition-delay: .1s; }
  .masthead.is-open .nav__menu li:nth-child(3) a { transition-delay: .14s; }
  .masthead.is-open .nav__menu li:nth-child(4) a { transition-delay: .18s; }
  .masthead.is-open .nav__menu li:nth-child(5) a { transition-delay: .22s; }
  .masthead.is-open .nav__menu li:nth-child(6) a { transition-delay: .26s; }
  .masthead.is-open .nav__menu li:nth-child(7) a { transition-delay: .3s; }
  .nav__menu .menu-cta { padding-top: 30px; }
  .nav__menu .menu-cta a { font-size: 15px; font-weight: 500; justify-content: center; padding: 17px 30px; }
  .masthead.is-open   .masthead.is-open .nav__burger { border-color: var(--line); }
  .masthead.is-open .nav__burger span { background: var(--ink); }
}
.nav__menu .menu-cta { display: none; }
@media (max-width: 980px) { .nav__menu .menu-cta { display: block; } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--nav-h) - var(--topbar-h));
  display: flex; align-items: flex-end;
  padding: var(--gut);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: var(--gut);
  border-radius: var(--r-xl); overflow: hidden; background: var(--cream);
}
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 2.6s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(43, 37, 35, .82) 0%, rgba(43, 37, 35, .46) 34%, rgba(43, 37, 35, .12) 64%, rgba(43, 37, 35, .22) 100%),
    linear-gradient(to right, rgba(43, 37, 35, .34) 0%, rgba(43, 37, 35, 0) 55%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  padding: 0 clamp(8px, 3vw, 48px) clamp(34px, 5vw, 70px);
  display: grid; grid-template-columns: 1fr auto; gap: 30px clamp(30px, 5vw, 80px); align-items: end;
}
.hero h1 { color: #FFF7EC; }
.hero h1 .thin { font-weight: 200; font-style: italic; opacity: .96; }
.hero__side { max-width: 340px; padding-bottom: 6px; }
.hero__sub { color: rgba(255, 247, 236, .88); font-size: clamp(.98rem, 1.2vw, 1.08rem); margin-bottom: 26px; }
.hero__note { margin-top: 20px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 247, 236, .68); }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__side { max-width: 460px; }
}

.hero__arch {
  position: absolute; z-index: 1; top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 74vw); height: min(560px, 58svh); pointer-events: none;
}
.hero__arch path { stroke: rgba(255, 247, 236, .34); stroke-width: 1.1; }
.hero__arch--draw path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.8s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 760px) {
  .hero { padding: 0; }
  .hero__media { inset: 0; border-radius: 0; }
  .hero__inner { padding: 0 var(--gut) clamp(30px, 6vw, 50px); }
  .hero__arch { top: 40%; width: 86vw; height: min(400px, 42svh); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media video, .hero__media img { animation: none; }
  .hero__arch--draw path { animation: none; stroke-dashoffset: 0; }
}

.sound-toggle {
  position: absolute; z-index: 3;
  left: calc(var(--gut) + clamp(8px, 3vw, 48px)); top: calc(var(--gut) + 24px);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: rgba(253, 251, 247, .14); border: 1px solid rgba(255, 247, 236, .38);
  color: #FFF7EC; font-family: var(--font); font-size: 12.5px; cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .3s var(--ease);
}
.sound-toggle:hover { background: rgba(253, 251, 247, .3); }
.sound-toggle svg { width: 15px; height: 15px; flex: none; }
.sound-toggle .icon-on { display: none; }
.sound-toggle[aria-pressed="true"] .icon-on { display: block; }
.sound-toggle[aria-pressed="true"] .icon-off { display: none; }
/* sur mobile : icone seule, calee a droite sous le menu */
@media (max-width: 760px) {
  .hero .sound-toggle {
    left: auto; right: var(--gut); top: 20px;
    padding: 12px; gap: 0;
  }
  .hero .sound-toggle .sound-toggle__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0);
  }
}

/* ---------- bandeau defilant ---------- */
.marquee {
  overflow: hidden; background: var(--terra); color: #FFF7EC;
  padding-block: 18px; white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 0; animation: slide 34s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 54px);
  padding-right: clamp(28px, 4vw, 54px);
  font-size: clamp(.9rem, 1.5vw, 1.15rem); font-weight: 300; letter-spacing: -.01em;
}
.marquee i { font-style: normal; opacity: .5; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- hero pages interieures ---------- */
.pagehead { padding: clamp(52px, 6vw, 88px) 0 clamp(28px, 3.2vw, 44px); }
.pagehead .lede { max-width: 620px; margin-top: 24px; }
.pagehead--cream { background: var(--cream); }

/* ---------- en-tete de section, composition editoriale ---------- */
.shead {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(22px, 4vw, 72px); align-items: end;
  margin-bottom: clamp(30px, 3.4vw, 48px);
}
.shead__aside { padding-bottom: 6px; }
.shead__aside .lede { max-width: 46ch; }
@media (max-width: 860px) { .shead { grid-template-columns: 1fr; align-items: start; } }

/* ---------- grilles ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 26px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
/* les formules ont trop de texte pour tenir a deux de front sur mobile */
@media (max-width: 760px) { .grid--plans { grid-template-columns: 1fr; } }

/* ---------- cartes d'orientation ---------- */
.route {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: clamp(28px, 3vw, 40px);
  min-height: clamp(240px, 22vw, 300px);
  background: var(--bg); border-radius: var(--r-lg);
  text-decoration: none; color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
}
.section--cream .route { background: var(--bg); }
.route__num {
  position: absolute; right: clamp(18px, 2.2vw, 30px); bottom: -22px;
  font-size: clamp(6rem, 10vw, 8.6rem); font-weight: 200; line-height: 1;
  color: var(--cream-deep); letter-spacing: -.07em; pointer-events: none;
  transition: transform .6s var(--ease), color .45s var(--ease);
}
.route:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(43, 37, 35, .45); }
.route:hover .route__num { transform: translateY(-8px); color: rgba(200, 82, 26, .2); }
.route h3 { position: relative; margin-bottom: 12px; font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 400; letter-spacing: -.032em; }
.route p { position: relative; color: var(--ink-65); font-size: 15px; max-width: 24ch; }
.route .link-arrow { position: relative; }

/* ---------- produits ---------- */
.dish { display: flex; flex-direction: column; }
.dish__img {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--r-lg); background: var(--cream);
}
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.05); }
.dish__price {
  position: absolute; left: 14px; bottom: 14px;
  padding: 7px 15px; border-radius: var(--r-pill);
  background: rgba(253, 251, 247, .92); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 500; color: var(--terra-dark);
}
.dish__body { padding: 20px 4px 0; }
.dish h3 { margin-bottom: 8px; }
.dish__tag { font-size: 14.5px; color: var(--ink-65); margin-bottom: 12px; }
.dish__compo { font-size: 13.5px; color: var(--ink-45); line-height: 1.55; margin-bottom: 14px; }

/* accordeon allergenes */
.allerg { border-top: 1px solid var(--line); margin-top: auto; margin-inline: 4px; }
.allerg > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 0; cursor: pointer; list-style: none;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-45);
  transition: color .3s var(--ease);
}
.allerg > summary::-webkit-details-marker { display: none; }
.allerg > summary::after {
  content: ""; flex: none; width: 8px; height: 8px;
  border-right: 1.3px solid var(--gold); border-bottom: 1.3px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .35s var(--ease);
}
.allerg[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.allerg > summary:hover { color: var(--terra-dark); }
.allerg__body { padding-bottom: 16px; font-size: 13.5px; line-height: 1.62; color: var(--ink-65); }
.allerg__body p { margin-bottom: .45em; }
.allerg__body strong { font-weight: 500; color: var(--ink); }
.allerg__note { font-size: 12px; color: var(--ink-45); margin-top: 8px; }

/* ---------- formules ---------- */
.plan {
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.8vw, 36px);
  background: var(--cream); border-radius: var(--r-lg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.section--cream .plan { background: var(--bg); }
.plan:hover { transform: translateY(-5px); box-shadow: 0 28px 54px -34px rgba(43, 37, 35, .42); }
.plan__price {
  margin: 0 0 4px; font-size: clamp(2.3rem, 3.4vw, 3.1rem); font-weight: 200;
  letter-spacing: -.05em; line-height: 1; color: var(--terra-dark);
}
.plan__name {
  font-size: 1.05rem; font-weight: 500; letter-spacing: -.015em;
  padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan__list li {
  position: relative; padding-left: 18px;
  font-size: 14px; line-height: 1.45; color: var(--ink-65);
}
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.plan__sub { margin: 18px 0 0; font-size: 13px; color: var(--ink-45); }

.plan--feature { background: var(--terra); color: rgba(253, 240, 224, .88); }
.section--cream .plan--feature { background: var(--terra); }
.plan--feature .plan__price { color: #FFF7EC; }
.plan--feature .plan__name { color: #FFF7EC; border-bottom-color: rgba(253, 240, 224, .28); }
.plan--feature .plan__list li { color: rgba(253, 240, 224, .86); }
.plan--feature .plan__list li::before { background: rgba(253, 240, 224, .6); }
.plan--feature .plan__sub { color: rgba(253, 240, 224, .68); }

/* ---------- listes / tableaux ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.table td:first-child { font-weight: 500; }
.table-scroll { overflow-x: auto; }

.plainlist { list-style: none; margin: 0; padding: 0; }
.plainlist li { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-80); }
.plainlist li:first-child { border-top: 1px solid var(--line); }

/* ---------- bloc media + texte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 84px); align-items: center; }
.split--narrow { grid-template-columns: .88fr 1.12fr; }
@media (max-width: 960px) { .split, .split--narrow { grid-template-columns: 1fr !important; } }

/* piece signature : media cadre dans l'arche */
.arch-media { position: relative; width: 100%; max-width: 440px; margin-inline: auto; }
.arch-media__frame { position: relative; aspect-ratio: 5 / 7; }
.arch-media video, .arch-media img { width: 100%; height: 100%; object-fit: cover; clip-path: url(#archClip); }
.arch-media__outline { position: absolute; inset: -16px; pointer-events: none; }
.arch-media__outline path { stroke: var(--line-gold); stroke-width: 1.1; }
.arch-media .sound-toggle {
  left: 50%; right: auto; top: auto; bottom: 22px; transform: translateX(-50%);
  background: rgba(43, 37, 35, .38); border-color: rgba(255, 247, 236, .3);
}

.figure-r { margin: 0; overflow: hidden; border-radius: var(--r-lg); }
.figure-r img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.pillar { background: var(--bg); border-radius: var(--r-md); padding: clamp(22px, 2.6vw, 32px); }
.section--cream .pillar { background: var(--bg); }
.pillar__icon { width: 26px; height: 26px; margin-bottom: 20px; color: var(--terra); }
.pillar__icon svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 1rem; font-weight: 500; margin-bottom: 8px; letter-spacing: -.015em; }
.pillar p { font-size: 14px; color: var(--ink-65); }
@media (max-width: 880px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- etapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.6vw, 52px); }
.step__num {
  display: block; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line-gold);
  font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 200; letter-spacing: -.05em; color: var(--gold); line-height: 1;
}
.step h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-65); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* ---------- galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.gallery a { margin: 0; aspect-ratio: 1; overflow: hidden; display: block; border-radius: var(--r-md); background: var(--cream); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.07); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(14px, 2vw, 24px); }
.duo__stack { display: grid; gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* ---------- encadres ---------- */
.note { padding: clamp(28px, 3.4vw, 44px); background: var(--cream); border-radius: var(--r-lg); }
.section--cream .note { background: var(--bg); }
.note h2, .note h3 { margin-bottom: 14px; }
.note p { font-size: 15.5px; color: var(--ink-65); }

.callout {
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line-gold); border-radius: var(--r-md);
  font-size: 14.5px; color: var(--ink-65);
  display: flex; gap: 14px; align-items: flex-start;
}
.callout svg { width: 19px; height: 19px; flex: none; color: var(--gold); margin-top: 3px; }
.callout a { color: var(--terra-dark); }

/* ---------- bloc Notre histoire, image en debord ---------- */
.story { position: relative; overflow: hidden; }
.story__inner { display: grid; grid-template-columns: minmax(0, 54%); }
.story__text { padding-block: clamp(10px, 3vw, 40px); }
.story__media {
  position: absolute; right: 0; top: clamp(28px, 3.4vw, 52px); bottom: clamp(28px, 3.4vw, 52px);
  width: min(42vw, 620px);
  border-radius: var(--r-xl) 0 0 var(--r-xl); overflow: hidden;
}
.story__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .story__inner { grid-template-columns: 1fr; }
  .story__media {
    position: relative; right: auto; top: auto; bottom: auto;
    width: auto; margin: clamp(32px, 5vw, 48px) 0 0 var(--gut);
    aspect-ratio: 16 / 10;
  }
}

/* ---------- bandeau de fin ---------- */
.band { background: var(--terra); color: var(--cream); padding-block: clamp(58px, 6.4vw, 96px); overflow: hidden; }
.band h2 { color: #FFF7EC; }
.band p { margin: 22px 0 34px; max-width: 420px; color: rgba(253, 240, 224, .84); }
.band__inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.band .h-display { font-size: clamp(2.7rem, 6.4vw, 5.4rem); }
.band__media { position: relative; aspect-ratio: 1 / .86; }
.band__fig { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-xl); }
.band__fig img { width: 100%; height: 100%; object-fit: cover; }
.band__fig--a { left: 0; top: 0; width: 60%; aspect-ratio: 4 / 5; }
.band__fig--b {
  right: 0; bottom: 0; width: 50%; aspect-ratio: 1;
  border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(43, 37, 35, .5);
}
@media (max-width: 860px) {
  .band__inner { grid-template-columns: 1fr; }
  .band__media { max-width: 440px; }
}

/* ---------- formulaires ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-45); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 15.5px; color: var(--ink);
  padding: 14px 18px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.section--cream .field input, .section--cream .field select, .section--cream .field textarea { background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); }
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-65); }
.consent input { margin-top: 3px; accent-color: var(--terra); width: 17px; height: 17px; }
.form__ok {
  padding: 16px 20px; border-radius: var(--r-md); background: var(--cream);
  font-size: 15px; color: var(--terra-dark);
}
.form__ok[hidden] { display: none; }

/* ---------- onglets ---------- */
.tabs {
  display: inline-flex; gap: 4px; padding: 5px;
  background: var(--cream); border-radius: var(--r-pill);
  margin-bottom: clamp(40px, 5vw, 66px);
}
.section--cream .tabs { background: var(--bg); }
.tabs button {
  appearance: none; background: none; border: 0; border-radius: var(--r-pill);
  padding: 12px 26px; cursor: pointer;
  font-family: var(--font); font-size: 14.5px; font-weight: 400; color: var(--ink-65);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--terra); color: #FFF7EC; font-weight: 500; }
@media (max-width: 520px) { .tabs { display: flex; width: 100%; } .tabs button { flex: 1; padding: 12px 10px; font-size: 13.5px; } }

/* ---------- whatsapp flottant ---------- */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px; border-radius: var(--r-pill);
  background: var(--terra); color: #FFF7EC;
  font-family: var(--font); font-size: 14px; font-weight: 500;
  text-decoration: none;
  box-shadow: 0 18px 38px -16px rgba(43, 37, 35, .55);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.wa:hover { background: var(--terra-dark); transform: translateY(-3px); }
.wa svg { width: 19px; height: 19px; flex: none; }
@media (max-width: 620px) { .wa { padding: 15px; right: 16px; bottom: 16px; } .wa span { display: none; } }

/* ---------- pied de page ---------- */
.footer { background: var(--ink); color: rgba(253, 240, 224, .62); padding-block: clamp(52px, 6vw, 80px) 0; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: clamp(30px, 4vw, 60px); }
@media (max-width: 940px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer img.footer__logo { width: 168px; height: auto; margin-bottom: 24px; }
.footer h4 { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { color: rgba(253, 240, 224, .62); text-decoration: none; font-size: 14.5px; transition: color .3s var(--ease); }
.footer a:hover { color: #FFF7EC; }
.footer p { font-size: 14.5px; line-height: 1.65; }
.footer__sig { font-size: 14.5px; color: rgba(253, 240, 224, .45); }
.footer__news { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.footer__news input {
  flex: 1; min-width: 160px; background: rgba(253, 240, 224, .06); border: 1px solid rgba(253, 240, 224, .16);
  color: #FFF7EC; padding: 13px 18px; border-radius: var(--r-pill); font-family: var(--font); font-size: 14.5px;
}
.footer__news input::placeholder { color: rgba(253, 240, 224, .36); }
.footer__news input:focus { outline: none; border-color: var(--gold); }
.footer__news button {
  flex: none; padding: 13px 24px; background: var(--terra); color: #FFF7EC;
  border: 0; border-radius: var(--r-pill); font-family: var(--font); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .3s var(--ease);
}
.footer__news button:hover { background: var(--terra-dark); }
.footer__halal { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; color: rgba(253, 240, 224, .5); }
.footer__halal span { border: 1px solid rgba(253, 240, 224, .26); border-radius: var(--r-pill); padding: 4px 13px; letter-spacing: .16em; text-transform: uppercase; font-size: 10px; }
.footer__bottom {
  margin-top: clamp(36px, 4vw, 54px); padding-block: 24px;
  border-top: 1px solid rgba(253, 240, 224, .11);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: 13px; color: rgba(253, 240, 224, .42);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer__bottom a { font-size: 13px; }

/* ---------- apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- barre fixe mobile ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  background: rgba(253, 251, 247, .94); border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.stickybar .btn { width: 100%; justify-content: center; }
@media (max-width: 760px) {
  .stickybar { display: block; }
  body.has-stickybar { padding-bottom: 86px; }
  body.has-stickybar .wa { bottom: 88px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
