/* =========================================================
   SANABIL — Orge précuite · Hiba Naturel
   Identité : chocolat, or, crème + motifs zellige marocains
   ========================================================= */

:root {
  --choco: #5a2e14;
  --choco-dark: #3b1c0b;
  --choco-soft: #7a4424;
  --gold: #e3a21a;
  --gold-light: #f4c75a;
  --cream: #faf3e3;
  --cream-2: #f3e6c8;
  --sand: #e9d6ac;
  --terracotta: #b5532a;
  --zellige-blue: #1f5c7a;
  --ink: #2a1a10;
  --muted: #7a6656;

  /* Hiba Natural */
  --hiba-gold: #d9a441;
  --hiba-caramel: #a8622a;
  --hiba-leaf: #4e9a2c;

  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(59, 28, 11, .35);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-ar: "Reem Kufi", "Amiri", serif;
  --font-ar-calli: "Aref Ruqaa", "Amiri", serif;

  /* Motif zellige (étoile à 8 branches) */
  --zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e3a21a' stroke-width='1.2'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='7'/%3E%3Cpath d='M0 0L14 14M80 0L66 14M0 80L14 66M80 80L66 66M40 0V8M40 80V72M0 40H8M80 40H72'/%3E%3C/g%3E%3C/svg%3E");
  --zellige-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23f4c75a' stroke-opacity='.35' stroke-width='1.2'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='7'/%3E%3Cpath d='M0 0L14 14M80 0L66 14M0 80L14 66M80 80L66 66M40 0V8M40 80V72M0 40H8M80 40H72'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; color: var(--choco-dark); font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.ar { font-family: var(--font-ar); direction: rtl; }

/* ---------- Eyebrow / titres ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 10px; height: 10px; background: var(--gold);
  transform: rotate(45deg); box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--gold);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .ar-title { font-family: var(--font-ar-calli); font-size: 2rem; color: var(--gold); display: block; margin-bottom: 4px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: .3s ease; font-family: inherit;
}
.btn-primary { background: var(--choco); color: var(--cream); }
.btn-primary:hover { background: var(--gold); color: var(--choco-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--choco); color: var(--choco); }
.btn-outline:hover { background: var(--choco); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--choco-dark); }
.btn-gold:hover { background: var(--cream); }

/* ---------- Bordure marocaine (frise) ---------- */
.frieze {
  height: 26px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cpath d='M0 13L13 0L26 13L13 26Z' fill='%23e3a21a'/%3E%3Cpath d='M26 13L39 0L52 13L39 26Z' fill='%235a2e14'/%3E%3Ccircle cx='13' cy='13' r='3' fill='%23faf3e3'/%3E%3Ccircle cx='39' cy='13' r='3' fill='%23e3a21a'/%3E%3C/svg%3E") repeat-x center / auto 26px;
}
.frieze.thin { height: 14px; background-size: auto 14px; opacity: .9; }

/* ---------- Top bar ---------- */
.topbar { background: var(--choco-dark); color: var(--sand); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; gap: 16px; }
.topbar a:hover { color: var(--gold-light); }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-ar { font-family: var(--font-ar); color: var(--gold-light); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 243, 227, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(90, 46, 20, .1);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 10px 30px -15px rgba(59, 28, 11, .35); }
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 74px; height: 74px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--choco); }
.logo-text span { font-family: var(--font-ar); color: var(--gold); font-size: 1rem; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0; color: var(--choco-dark); }
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 7px; height: 7px;
  background: var(--gold); transform: translateX(-50%) rotate(45deg) scale(0); transition: .25s;
}
.nav a:hover::after, .nav a.active::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.nav .nav-hiba { color: var(--hiba-caramel); }
.nav .nav-hiba .badge-new {
  font-size: .6rem; background: var(--hiba-leaf); color: #fff; padding: 2px 7px; border-radius: 99px;
  margin-left: 4px; vertical-align: 2px; letter-spacing: .05em;
}
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--choco); margin: 6px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(227, 162, 26, .22), transparent 55%),
    var(--cream);
  padding: 70px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; background: var(--zellige) repeat; background-size: 80px;
  opacity: .14; mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero-ar-bg {
  position: absolute; left: -2%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-ar-calli); font-size: clamp(10rem, 24vw, 22rem); color: var(--choco);
  opacity: .045; pointer-events: none; line-height: 1; white-space: nowrap;
}
.hero h1 em { font-style: italic; color: var(--terracotta); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero .ar-tag { font-family: var(--font-ar-calli); font-size: 1.9rem; color: var(--gold); margin-bottom: 6px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 2.3rem; color: var(--choco); line-height: 1; }
.hero-stats div span { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.arch {
  position: relative; width: min(470px, 90%); aspect-ratio: 4 / 5;
  border-radius: 999px 999px 24px 24px;
  background:
    var(--zellige-light) repeat,
    linear-gradient(170deg, var(--choco-soft), var(--choco-dark));
  background-size: 60px, cover;
  box-shadow: var(--shadow), inset 0 0 0 10px var(--choco-dark), inset 0 0 0 12px var(--gold);
}
.arch::before {
  content: ""; position: absolute; inset: -16px; border-radius: inherit;
  border: 2px dashed rgba(227, 162, 26, .55);
}
.hero-visual img.packs {
  position: absolute; width: 118%; max-width: none; left: 50%; bottom: -8%;
  transform: translateX(-50%); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35));
  animation: float 6s ease-in-out infinite;
  transition: translate .8s cubic-bezier(.2, .8, .2, 1);
}
@keyframes float { 50% { transform: translateX(-50%) translateY(-12px); } }
.seal {
  position: absolute; top: 4%; right: 2%; width: 136px; height: 136px; z-index: 2;
  display: grid; place-items: center; text-align: center;
  background: var(--gold); color: var(--choco-dark); border-radius: 50%;
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 8px var(--gold), var(--shadow);
  transition: translate .8s cubic-bezier(.2, .8, .2, 1);
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin-slow 22s linear infinite; }
.seal text { font: 800 11px var(--font-body); fill: var(--choco-dark); letter-spacing: .05em; }
.seal span.big { font-family: var(--font-ar); font-size: 1.6rem; font-weight: 700; position: relative; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--choco); color: var(--cream); overflow: hidden; padding: 18px 0; display: grid; gap: 10px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 40s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-size: 1.4rem; font-style: italic; display: flex; align-items: center; gap: 48px; white-space: nowrap;
  transform: skewX(var(--skew, 0deg));
}
.marquee-track.outline span { font-size: 2.2rem; font-style: normal; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(244, 199, 90, .55); }
.marquee-track.outline .ar { color: transparent; -webkit-text-stroke: 1px rgba(244, 199, 90, .55); }
.marquee-track span::after { content: "✦"; color: var(--gold); font-style: normal; font-size: 1rem; }
.marquee-track .ar { font-family: var(--font-ar); font-style: normal; color: var(--gold-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }

/* À propos */
.about .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-visual .frame {
  border-radius: 999px 999px 20px 20px; overflow: hidden; aspect-ratio: 4/5;
  background: var(--cream-2) var(--zellige) repeat; background-size: 70px;
  display: grid; place-items: center; position: relative;
  box-shadow: inset 0 0 0 8px var(--cream), inset 0 0 0 10px var(--gold);
}
.about-visual .frame img { width: 78%; filter: drop-shadow(0 25px 25px rgba(0,0,0,.25)); }
.about-visual .floating-card {
  position: absolute; bottom: 30px; right: -30px; background: var(--choco); color: var(--cream);
  padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 230px;
}
.about-visual .floating-card strong { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); display: block; line-height: 1; }
.about-visual .floating-card span { font-size: .88rem; }
.about-text .quote {
  font-family: var(--font-display); font-style: italic; font-size: 1.45rem; color: var(--choco);
  border-left: 3px solid var(--gold); padding-left: 20px; margin: 24px 0;
}
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ico {
  flex: 0 0 48px; height: 48px; display: grid; place-items: center;
  background: var(--cream-2); color: var(--choco); position: relative;
}
.feature .ico::before {
  content: ""; position: absolute; inset: 0; background: var(--gold); opacity: .25; transform: rotate(45deg); border-radius: 6px;
}
.feature .ico svg { position: relative; width: 22px; height: 22px; }
.feature h4 { margin: 0 0 2px; font-size: 1rem; color: var(--choco-dark); }
.feature p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Produits */
.products { background: var(--cream-2); overflow: hidden; }
.products::before {
  content: ""; position: absolute; inset: 0; background: var(--zellige) repeat; background-size: 80px; opacity: .08;
}
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.product-card {
  background: var(--cream); border-radius: 999px 999px var(--radius) var(--radius);
  padding: 34px 26px 30px; text-align: center; position: relative; transition: .4s ease;
  box-shadow: 0 0 0 1px rgba(90, 46, 20, .08);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow), 0 0 0 2px var(--gold); }
.product-card .img-wrap {
  border-radius: 999px 999px 14px 14px; aspect-ratio: 1; overflow: hidden; margin-bottom: 22px;
  background: radial-gradient(circle at 50% 60%, #fff, var(--cream-2));
}
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: .5s; }
.product-card:hover .img-wrap img { transform: scale(1.06) rotate(-2deg); }
.product-card .weight {
  position: absolute; top: 26px; right: 22px; background: var(--choco); color: var(--gold-light);
  font-weight: 800; padding: 6px 14px; border-radius: 99px; font-size: .9rem;
}
.product-card .tag { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.product-card h3 { margin: 6px 0 4px; }
.product-card .ar { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.product-card p { color: var(--muted); font-size: .93rem; }

.prep {
  margin-top: 70px; position: relative; background: var(--choco); color: var(--cream);
  border-radius: 28px; padding: 46px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center;
  overflow: hidden;
}
.prep::before { content: ""; position: absolute; inset: 0; background: var(--zellige-light) repeat; background-size: 60px; opacity: .5; }
.prep > * { position: relative; }
.prep h3 { color: var(--gold-light); font-size: 2rem; }
.prep-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prep-step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(244, 199, 90, .25); border-radius: 16px; padding: 22px; }
.prep-step .num {
  width: 40px; height: 40px; display: grid; place-items: center; background: var(--gold); color: var(--choco-dark);
  font-weight: 800; margin-bottom: 12px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.prep-step p { margin: 0; font-size: .93rem; color: var(--sand); }

/* Savoir-faire (process) */
.process { background: var(--choco-dark); color: var(--cream); overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; background: var(--zellige-light) repeat; background-size: 80px; opacity: .6; }
.process .section-head h2 { color: var(--cream); }
.process .section-head p { color: var(--sand); }
.process .eyebrow { color: var(--gold-light); }
.process .eyebrow::before, .process .eyebrow::after { box-shadow: 0 0 0 3px var(--choco-dark), 0 0 0 4px var(--gold); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.step { text-align: center; padding: 10px; }
.step .medallion {
  width: 120px; height: 120px; margin: 0 auto 22px; position: relative; display: grid; place-items: center;
}
.step .medallion::before, .step .medallion::after {
  content: ""; position: absolute; inset: 10px; border: 2px solid var(--gold); background: rgba(227, 162, 26, .08);
}
.step .medallion::after { transform: rotate(45deg); }
.step .medallion svg { position: relative; z-index: 1; width: 40px; height: 40px; color: var(--gold-light); }
.step h3 { color: var(--gold-light); font-size: 1.45rem; }
.step p { color: var(--sand); font-size: .93rem; }
.step .n { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1rem; }

/* Hiba Natural — univers caroube : espresso, caramel, or */
.hiba {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(214, 140, 52, .28), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(214, 140, 52, .18), transparent 50%),
    #22130a;
  color: #f3e3c8; overflow: hidden;
}
.hiba::before { content: ""; position: absolute; inset: 0; background: var(--zellige-light) repeat; background-size: 80px; opacity: .45; }
.hiba .container { position: relative; }
.hiba h2, .hiba h3 { color: #fbefd9; }
.hiba h2 em { color: var(--hiba-gold); font-style: italic; }
.hiba p { color: #dcc6a4; }
.hiba .eyebrow { color: var(--hiba-gold); }
.hiba .eyebrow::before, .hiba .eyebrow::after { background: var(--hiba-gold); box-shadow: 0 0 0 3px #22130a, 0 0 0 4px var(--hiba-gold); }

.hiba-intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; margin-bottom: 90px; }
.hiba-brand { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.hiba-brand img {
  width: 110px; height: 110px; clip-path: circle(48%);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .5));
}
.hiba-new {
  display: inline-block; background: var(--hiba-leaf); color: #fff; font-weight: 800; font-size: .72rem;
  letter-spacing: .15em; padding: 7px 16px; border-radius: 99px;
}
.hiba-slogan { font-family: var(--font-ar-calli); font-size: 1.9rem; color: var(--hiba-gold); margin-bottom: 6px; display: block; }
.hiba-values { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 32px; }
.hiba-values span {
  background: rgba(251, 239, 217, .07); color: #fbefd9; border: 1px solid rgba(217, 164, 65, .35);
  padding: 8px 16px; border-radius: 99px; font-size: .86rem; font-weight: 600;
}
.btn-hiba { background: var(--hiba-gold); color: #22130a; }
.btn-hiba:hover { background: #fbefd9; transform: translateY(-2px); }
.btn-hiba-outline { border-color: rgba(251, 239, 217, .5); color: #fbefd9; }
.btn-hiba-outline:hover { background: #fbefd9; color: #22130a; }

.hiba-poster { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.hiba-poster .frame {
  border-radius: 999px 999px 22px 22px; overflow: hidden; aspect-ratio: 2 / 3;
  box-shadow: 0 0 0 8px #22130a, 0 0 0 10px var(--hiba-gold), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.hiba-poster .frame img { width: 100%; height: 100%; object-fit: cover; }
.hiba-poster::before {
  content: ""; position: absolute; inset: -26px; border-radius: 999px 999px 32px 32px;
  border: 1.5px dashed rgba(217, 164, 65, .45);
}
.hiba-poster .stamp {
  position: absolute; left: -34px; bottom: 60px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--hiba-leaf); color: #fff; display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
  box-shadow: 0 0 0 6px #22130a, 0 0 0 8px var(--hiba-leaf);
}
.hiba-poster .stamp b { display: block; font-size: 1.7rem; letter-spacing: 0; }

/* Atouts */
.hiba-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 80px; }
.hiba-perk {
  display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 16px;
  background: rgba(251, 239, 217, .05); border: 1px solid rgba(217, 164, 65, .2);
}
.hiba-perk .ico {
  flex: 0 0 46px; height: 46px; display: grid; place-items: center; color: var(--hiba-gold);
  border: 1.5px solid var(--hiba-gold); transform: rotate(45deg); border-radius: 8px;
}
.hiba-perk .ico svg { width: 20px; height: 20px; transform: rotate(-45deg); }
.hiba-perk strong { display: block; color: #fbefd9; font-size: .95rem; }
.hiba-perk span { font-size: .82rem; color: #bfa785; }

/* Produits Hiba */
.hiba .section-head h2 { color: #fbefd9; }
.hiba .section-head p { color: #dcc6a4; }
.hiba .section-head .ar-title { color: var(--hiba-gold); }
.hiba-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hiba-card {
  background: #fbf3e4; border-radius: 999px 999px 18px 18px; padding: 12px 12px 24px; text-align: center;
  transition: .4s ease; position: relative; color: var(--ink); display: flex; flex-direction: column;
}
.hiba-card:hover { transform: translateY(-10px); box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .8), 0 0 0 2px var(--hiba-gold); }
.hiba-card .img-wrap { border-radius: 999px 999px 12px 12px; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 20px; background: #2b190d; }
.hiba-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.hiba-card:hover .img-wrap img { transform: scale(1.06); }
.hiba-card .weight {
  position: absolute; top: 18px; right: 18px; background: #22130a; color: var(--hiba-gold);
  font-weight: 800; padding: 6px 13px; border-radius: 99px; font-size: .82rem; z-index: 1;
}
.hiba-card h3 { font-size: 1.45rem; color: #3a200e; margin: 0 6px 2px; }
.hiba-card .ar { color: var(--hiba-caramel); font-size: 1.05rem; margin-bottom: 10px; }
.hiba-card p { font-size: .88rem; margin: 0 10px 14px; color: var(--muted); }
.hiba-card .tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: auto; padding: 0 8px; }
.hiba-card .tags span {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px; background: #f0e1c4; color: #5a3416;
}
.hiba-card .tags span.leaf { background: #e2f0d6; color: #3c6b1d; }
.hiba-card.vita .img-wrap { background: #e9e9e9; }

/* Bandeau ambiance */
.hiba-banner {
  margin-top: 90px; position: relative; border-radius: 28px; overflow: hidden; min-height: 440px;
  display: flex; align-items: flex-end;
  box-shadow: 0 0 0 2px rgba(217, 164, 65, .35), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.hiba-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hiba-banner > img { object-position: 70% center; }
.hiba-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34, 19, 10, .97) 0%, rgba(34, 19, 10, .9) 38%, rgba(34, 19, 10, .35) 60%, transparent 78%); }
.hiba-banner { align-items: center; }
.hiba-banner .txt { position: relative; z-index: 1; padding: 50px; max-width: 560px; }
.hiba-banner .ar { font-family: var(--font-ar); font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--hiba-gold); line-height: 1.5; display: block; }
.hiba-banner h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 6px 0 12px; }

/* Split caroube poudre */
.hiba-split { margin-top: 90px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.hiba-split .pic { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 0 0 2px rgba(217, 164, 65, .35); }
.hiba-split .pic img { width: 100%; height: 100%; object-fit: cover; }
.hiba-uses { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 30px; }
.hiba-uses div { padding: 16px 18px; border-left: 3px solid var(--hiba-gold); background: rgba(251, 239, 217, .05); border-radius: 0 12px 12px 0; }
.hiba-uses strong { display: block; color: #fbefd9; }
.hiba-uses span { font-size: .85rem; color: #bfa785; }

/* Recettes */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.recipe {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px rgba(90, 46, 20, .08);
  transition: .35s; display: flex; flex-direction: column;
}
.recipe:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.recipe .visual {
  aspect-ratio: 16 / 11; position: relative; display: grid; place-items: center; overflow: hidden;
}
.recipe .visual::before { content: ""; position: absolute; inset: 0; background: var(--zellige-light) repeat; background-size: 50px; }
.recipe .visual.v1 { background: linear-gradient(140deg, #b5532a, #7a2e12); }
.recipe .visual.v2 { background: linear-gradient(140deg, #1f5c7a, #0f3346); }
.recipe .visual.v3 { background: linear-gradient(140deg, #4f6b2e, #2f4419); }
.recipe .visual svg { position: relative; width: 58%; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .35)); }
.recipe .visual.photo::before { display: none; }
.recipe .visual.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.recipe:hover .visual.photo img { transform: scale(1.06); }
.recipe .time {
  position: absolute; top: 16px; left: 16px; background: rgba(250, 243, 227, .95); color: var(--choco);
  font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 99px; z-index: 1;
}
.recipe .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.recipe .ar { color: var(--gold); font-size: 1.05rem; }
.recipe h3 { font-size: 1.55rem; margin: 4px 0 10px; }
.recipe p { color: var(--muted); font-size: .93rem; }
.recipe details { margin-top: auto; border-top: 1px dashed var(--sand); padding-top: 14px; }
.recipe summary { cursor: pointer; font-weight: 700; color: var(--choco); list-style: none; display: flex; justify-content: space-between; }
.recipe summary::-webkit-details-marker { display: none; }
.recipe summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--gold); transition: .3s; }
.recipe details[open] summary::after { transform: rotate(45deg); }
.recipe ul, .recipe ol { padding-left: 20px; margin: 12px 0 0; font-size: .9rem; color: var(--ink); }
.recipe li { margin-bottom: 4px; }
.recipe li::marker { color: var(--gold); }

/* Bandeau CTA */
.cta-band {
  background: linear-gradient(120deg, var(--gold), var(--gold-light)); padding: 70px 0; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--zellige) repeat; background-size: 80px; opacity: .25; filter: brightness(.4); }
.cta-band .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; color: var(--choco-dark); }
.cta-band .ar { font-family: var(--font-ar-calli); font-size: 1.6rem; color: var(--choco); }

/* Contact */
.contact .container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info .item { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px dashed var(--sand); }
.contact-info .item .ico {
  width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; background: var(--choco); color: var(--gold-light);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}
.contact-info .item .ico svg { width: 22px; height: 22px; }
.contact-info .item small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-info .item a, .contact-info .item span { font-weight: 700; color: var(--choco-dark); font-size: 1.05rem; }
.socials { display: flex; gap: 12px; margin-top: 28px; }
.socials a {
  width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--choco); color: var(--choco);
  border-radius: 50%; transition: .3s;
}
.socials a:hover { background: var(--choco); color: var(--gold-light); }
.socials svg { width: 18px; height: 18px; }

.contact-form {
  background: #fff; border-radius: 28px; padding: 42px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.contact-form::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8'%3E%3Cpath d='M0 0L8 8L16 0Z' fill='%23e3a21a'/%3E%3C/svg%3E") repeat-x;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--choco); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--sand); border-radius: 12px; font: inherit;
  background: var(--cream); color: var(--ink); transition: .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(227, 162, 26, .15); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--hiba-leaf); margin-top: 10px; display: none; }

/* Footer */
.footer { background: var(--choco-dark); color: var(--sand); padding: 80px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; background: var(--zellige-light) repeat; background-size: 80px; opacity: .35; }
.footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: var(--gold-light); font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--gold-light); }
.footer .f-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer .f-logo img { width: 70px; background: var(--cream); border-radius: 50%; padding: 4px; }
.footer .f-logo .ar { font-family: var(--font-ar-calli); font-size: 2rem; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(244, 199, 90, .2); padding: 22px 0; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: .85rem;
}
.footer .made { color: var(--gold-light); }

/* WhatsApp flottant */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4);
  transition: .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Animations d'apparition
   (translate et non transform, pour laisser transform libre aux survols et au tilt) */
.reveal {
  opacity: 0; translate: 0 50px;
  transition: opacity 1s cubic-bezier(.2, .8, .2, 1), translate 1s cubic-bezier(.2, .8, .2, 1), transform .4s ease, box-shadow .4s ease;
}
.reveal.visible { opacity: 1; translate: none; }
.reveal.d1 { transition-delay: .12s, .12s, 0s, 0s; }
.reveal.d2 { transition-delay: .24s, .24s, 0s, 0s; }
.reveal.d3 { transition-delay: .36s, .36s, 0s, 0s; }

/* =========================================================
   MOTION — chargement, titres, parallaxe, effets
   ========================================================= */

/* Défilement fluide (Lenis) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html:not(.loaded) body { overflow: hidden; }

/* Écran de chargement */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--zellige-light) repeat, radial-gradient(circle at 50% 45%, var(--choco-soft), var(--choco-dark) 70%);
  background-size: 70px, cover;
  clip-path: ellipse(160% 100% at 50% 0%);
  transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1);
  animation: loader-failsafe 0s 6s forwards;
}
.loaded .loader { clip-path: ellipse(160% 0% at 50% 0%); pointer-events: none; }
@keyframes loader-failsafe { to { visibility: hidden; } }
.loader-inner { text-align: center; color: var(--cream); transition: opacity .5s, translate .8s cubic-bezier(.77, 0, .18, 1); }
.loaded .loader-inner { opacity: 0; translate: 0 -60px; }
.loader img {
  width: 120px; margin: 0 auto 6px; background: var(--cream); border-radius: 50%; padding: 6px;
  box-shadow: 0 0 0 3px var(--gold), 0 20px 50px -10px rgba(0, 0, 0, .6);
  animation: pop .9s cubic-bezier(.2, 1.4, .4, 1) both;
}
.loader-ar {
  font-family: var(--font-ar-calli); font-size: clamp(3.6rem, 10vw, 6rem); color: var(--gold); line-height: 1.3;
  clip-path: inset(0 0 0 100%); animation: write-rtl 1.2s .35s cubic-bezier(.65, 0, .35, 1) forwards;
}
.loader-bar { width: 180px; height: 2px; margin: 4px auto 16px; background: rgba(244, 199, 90, .2); overflow: hidden; border-radius: 2px; }
.loader-bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: bar 1.3s .2s ease-in-out both; }
.loader-tag { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--sand); opacity: 0; animation: fade-up .8s .9s both; }
@keyframes pop { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
@keyframes write-rtl { to { clip-path: inset(0 0 0 0); } }
@keyframes bar { from { transform: scaleX(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Barre de progression de lecture */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--gold-light));
}

/* En-tête qui se rétracte */
.header { transition: box-shadow .3s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.header.hide { transform: translateY(-100%); }

/* Titres : mots qui montent depuis un masque */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em 0; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 55ms + .1s); }
.split.visible .w > span { transform: none; }

/* Calligraphie arabe écrite de droite à gauche */
.section-head .ar-title, .hero .ar-tag, .hiba-slogan, .cta-band .ar {
  clip-path: inset(0 0 0 100%); transition: clip-path 1.4s cubic-bezier(.65, 0, .35, 1) .15s;
}
.visible .ar-title, .visible .ar-tag, .visible .hiba-slogan, .cta-band .visible .ar { clip-path: inset(-20% 0 -20% 0); }

/* Hero */
.grains { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-ar-bg { translate: 0 0; }
.loaded .hero .arch { animation: arch-in 1.4s .2s cubic-bezier(.77, 0, .18, 1) backwards; }
.loaded .hero-visual img.packs { animation: packs-in 1.3s .9s cubic-bezier(.2, 1.1, .3, 1) backwards, float 6s 2.2s ease-in-out infinite; }
.loaded .seal { animation: pop 1s 1.4s cubic-bezier(.2, 1.4, .4, 1) backwards; }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 24px 24px); } to { clip-path: inset(0 0 0 0 round 999px 999px 24px 24px); } }
@keyframes packs-in { from { opacity: 0; translate: 0 140px; scale: .85; } }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px;
  border: 2px solid rgba(90, 46, 20, .45); border-radius: 20px; display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Cartes : tilt 3D + reflet qui suit la souris */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .45), transparent 45%);
  mix-blend-mode: soft-light;
}
.tilt:hover::after { opacity: 1; }
.product-card .weight, .hiba-card .weight { transition: transform .4s cubic-bezier(.2, 1.4, .4, 1); }
.product-card:hover .weight, .hiba-card:hover .weight { transform: scale(1.12) rotate(-6deg); }

/* Lueur dorée qui suit le curseur dans les sections sombres */
.glow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 50%), rgba(227, 162, 26, .13), transparent 60%);
}
.glow:hover::after { opacity: 1; }

/* Savoir-faire : fil doré qui se dessine au défilement */
.steps-line { position: absolute; left: 0; right: 0; top: 50px; width: 100%; height: 40px; overflow: visible; pointer-events: none; }
.steps-line path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.steps-line .track { stroke: rgba(244, 199, 90, .18); stroke-dasharray: .012 .012; }
.steps-line .draw { stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(227, 162, 26, .8)); }
.step { position: relative; }
.step .medallion { border-radius: 50%; background: radial-gradient(circle, var(--choco-dark) 58%, transparent 60%); }
.step .medallion::before, .step .medallion::after { transition: transform 1s cubic-bezier(.2, .8, .2, 1), background .6s, box-shadow .6s; }
.step .medallion svg { transition: transform .8s cubic-bezier(.2, 1.4, .4, 1), color .6s; }
.step.lit .medallion::before { transform: rotate(90deg); background: rgba(227, 162, 26, .22); box-shadow: 0 0 40px rgba(227, 162, 26, .45); }
.step.lit .medallion::after { transform: rotate(135deg); background: rgba(227, 162, 26, .22); }
.step.lit .medallion svg { transform: scale(1.15); color: #fff; }
.step .n, .step h3 { transition: color .6s; }
.step.lit h3 { color: #fff; }

/* Mode de préparation : les étapes s'allument en boucle */
.prep-step { transition: background .5s, border-color .5s, transform .5s; }
.prep-step .num { animation: step-pulse 6s infinite; }
.prep-step:nth-child(2) .num { animation-delay: 2s; }
.prep-step:nth-child(3) .num { animation-delay: 4s; }
@keyframes step-pulse { 0%, 30%, 100% { transform: none; box-shadow: none; } 10% { transform: scale(1.2) rotate(90deg); box-shadow: 0 0 0 8px rgba(227, 162, 26, .25); } }

/* Hiba */
.hiba-banner > img, .hiba-split .pic img { scale: 1.18; }
.hiba-poster .frame img { scale: 1.1; }
.hiba-poster .stamp { transition: rotate .1s linear; }
.hiba-values span { transition: background .3s, transform .3s; }
.hiba-values span:hover { background: rgba(217, 164, 65, .2); transform: translateY(-3px); }
.hiba-perk { transition: transform .4s, border-color .4s, background .4s; }
.hiba-perk:hover { transform: translateY(-6px); border-color: var(--hiba-gold); background: rgba(217, 164, 65, .08); }
.hiba-perk .ico { transition: transform .6s cubic-bezier(.2, 1.4, .4, 1); }
.hiba-perk:hover .ico { transform: rotate(225deg); }
.hiba-perk:hover .ico svg { transform: rotate(-225deg); }
.hiba-perk .ico svg { transition: transform .6s cubic-bezier(.2, 1.4, .4, 1); }

/* Recettes : vapeur animée */
.steam path { stroke-dasharray: 30; animation: steam 2.6s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: .5s; }
.steam path:nth-child(3) { animation-delay: 1s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px); stroke-dashoffset: 30; } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); stroke-dashoffset: 0; } }
.recipe .visual svg { transition: transform .6s cubic-bezier(.2, 1.2, .4, 1); }
.recipe:hover .visual svg { transform: scale(1.08) rotate(-3deg); }
.recipe details[open] ul, .recipe details[open] ol { animation: fade-up .5s both; }

/* Frises qui défilent doucement */
.frieze { animation: frieze 30s linear infinite; }
@keyframes frieze { to { background-position: 520px center; } }

/* Boutons : brillance au survol */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; translate: -120% 0; transition: translate .7s cubic-bezier(.2, .8, .2, 1);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
}
.btn:hover::before { translate: 120% 0; }

/* Retour en haut */
.to-top {
  position: fixed; right: 26px; bottom: 96px; z-index: 60; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: var(--choco-dark); color: var(--gold-light); cursor: pointer; display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 800; opacity: 0; translate: 0 20px; pointer-events: none;
  transition: opacity .4s, translate .4s, background .3s; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4);
}
.to-top.show { opacity: 1; translate: none; pointer-events: auto; }
.to-top:hover { background: var(--choco); }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 2.5; }
.to-top .ring-bg { stroke: rgba(244, 199, 90, .2); }
.to-top .ring { stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: 1; }
.wa-float { animation: wa-ping 3.5s 3s infinite; }
@keyframes wa-ping { 0%, 70%, 100% { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4), 0 0 0 0 rgba(37, 211, 102, .5); } 85% { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4), 0 0 0 16px rgba(37, 211, 102, 0); } }

/* Menu mobile : liens en cascade */
@media (max-width: 860px) {
  .nav.open a { animation: fade-up .5s both; }
  .nav.open a:nth-child(2) { animation-delay: .05s; } .nav.open a:nth-child(3) { animation-delay: .1s; }
  .nav.open a:nth-child(4) { animation-delay: .15s; } .nav.open a:nth-child(5) { animation-delay: .2s; }
  .nav.open a:nth-child(6) { animation-delay: .25s; } .nav.open a:nth-child(7) { animation-delay: .3s; }
}
@media (max-width: 1024px) { .steps-line { display: none; } }
@media (max-width: 860px) {
  /* backdrop-filter enfermerait le menu fixe dans la hauteur de l'en-tête */
  .header { backdrop-filter: none; background: rgba(250, 243, 227, .97); }
  .scroll-cue { display: none; }
  .marquee-track.outline span { font-size: 1.6rem; }
  .to-top { right: 26px; bottom: 92px; width: 46px; height: 46px; }
}

/* =========================================================
   SITE MULTI-PAGES
   ========================================================= */

/* Rideau : rapide après la première page, et redescend quand on change de page */
.quick .loader-inner { display: none; }
.quick .loader { transition-duration: .8s; }
.loaded.leaving .loader { clip-path: ellipse(160% 100% at 50% 0%); pointer-events: auto; transition-duration: .65s; }
.nav .nav-store { color: var(--terracotta); }

/* Bandeau d'en-tête des pages intérieures */
.page-hero {
  padding: 90px 0 120px; text-align: center; overflow: hidden; color: var(--cream);
  background: radial-gradient(ellipse at 50% 120%, rgba(227, 162, 26, .35), transparent 60%), linear-gradient(170deg, var(--choco-soft), var(--choco-dark));
  border-radius: 0 0 50% 50% / 0 0 70px 70px;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--zellige-light) repeat; background-size: 80px; opacity: .55; }
.page-hero.dark { background: radial-gradient(ellipse at 50% 120%, rgba(214, 140, 52, .35), transparent 60%), #22130a; }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--cream); margin: 4px 0 14px; }
.page-hero h1 em { color: var(--gold-light); font-style: italic; }
.page-hero .lead { color: var(--sand); max-width: 620px; margin: 0 auto; font-size: 1.12rem; }
.page-hero .ar-tag { display: block; font-family: var(--font-ar-calli); font-size: 2rem; color: var(--gold); }
.page-hero-ar {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none;
  font-family: var(--font-ar-calli); font-size: clamp(7rem, 20vw, 16rem); color: var(--gold); opacity: .07; line-height: 1;
}
.crumbs { display: inline-flex; gap: 12px; align-items: center; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.crumbs a { color: var(--gold-light); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--gold); font-size: .7rem; }
.page-hero + section, .page-hero + .frieze { margin-top: -40px; }
.page-hero + section.products, .page-hero + section.recipes, .page-hero + section.about,
.page-hero + section.contact, .page-hero + section.finder { padding-top: 70px; margin-top: 0; }
.page-hero + section.process, .page-hero + section.hiba { margin-top: -70px; padding-top: 150px; }
.page-hero.dark + section { margin-top: -70px; }

/* Accueil : cartes « Découvrir » */
.explore { background: var(--cream-2); overflow: hidden; }
.explore::before { content: ""; position: absolute; inset: 0; background: var(--zellige) repeat; background-size: 80px; opacity: .07; }
.explore-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.explore-card {
  position: relative; display: flex; flex-direction: column; background: var(--cream); border-radius: 26px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(90, 46, 20, .08); transition: transform .4s ease, box-shadow .4s ease;
}
.explore-card:hover { transform: translateY(-10px); box-shadow: var(--shadow), 0 0 0 2px var(--gold); }
.explore-card .media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.explore-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.explore-card:hover .media img, .explore-card:hover .media svg { transform: scale(1.08); }
.explore-card .media svg { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.m-products { background: radial-gradient(circle at 50% 70%, #fff, var(--cream-2)); }
.m-products img { object-fit: contain !important; padding: 18px 28px 14px; }
.m-hiba img { object-position: center 30%; }
/* Photos : léger dégradé chaud en bas pour lier l'image à la carte */
.m-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(59, 28, 11, .35)); pointer-events: none; }
.m-photo .pill, .m-photo .pin { z-index: 1; }
.m-photo .pill {
  position: absolute; top: 16px; right: 16px; background: rgba(250, 243, 227, .94); color: var(--choco-dark);
  font-weight: 800; font-size: .76rem; padding: 6px 12px; border-radius: 99px; backdrop-filter: blur(6px);
}
.m-photo .pin {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--choco-dark);
  box-shadow: 0 0 0 6px rgba(227, 162, 26, .3), 0 14px 30px -8px rgba(0, 0, 0, .5); animation: pin-bounce 2.4s ease-in-out infinite;
}
.m-photo .pin svg { width: 32px; height: 32px; }
.m-hiba .pill { position: absolute; top: 16px; right: 16px; background: var(--hiba-leaf); color: #fff; font-weight: 800; font-size: .7rem; letter-spacing: .12em; padding: 6px 12px; border-radius: 99px; }
.m-process, .m-contact { background: var(--zellige-light) repeat, linear-gradient(150deg, var(--choco-soft), var(--choco-dark)); background-size: 50px, cover; color: var(--gold-light); }
.m-process .medallion { width: 110px; height: 110px; position: relative; display: grid; place-items: center; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.m-process .medallion::before, .m-process .medallion::after { content: ""; position: absolute; inset: 8px; border: 2px solid var(--gold); background: rgba(227, 162, 26, .1); }
.m-process .medallion::after { transform: rotate(45deg); }
.explore-card:hover .m-process .medallion { transform: rotate(90deg); }
.m-process svg { position: relative; width: 40px; height: 40px; }
.m-contact svg { width: 70px; height: 70px; }
.m-recipes { background: var(--zellige-light) repeat, linear-gradient(140deg, #1f5c7a, #0f3346); background-size: 50px, cover; }
.m-recipes svg { width: 55%; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .35)); }
.m-store { background: var(--zellige) repeat, linear-gradient(140deg, var(--gold-light), var(--gold)); background-size: 60px, cover; color: var(--choco-dark); }
.m-store svg { width: 74px; height: 74px; position: relative; z-index: 1; animation: pin-bounce 2.4s ease-in-out infinite; }
.m-store .ripple { position: absolute; width: 60px; height: 18px; border-radius: 50%; border: 2px solid var(--choco); top: 62%; animation: ripple 2.4s ease-out infinite; }
@keyframes pin-bounce { 0%, 100% { translate: 0 0; } 40% { translate: 0 -14px; } }
@keyframes ripple { 0% { opacity: .8; scale: .3; } 100% { opacity: 0; scale: 2; } }
.explore-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.explore-card .ar { color: var(--gold); font-size: 1.05rem; }
.explore-card h3 { margin: 2px 0 8px; }
.explore-card p { color: var(--muted); font-size: .93rem; }
.explore-card .more { margin-top: auto; font-weight: 800; color: var(--choco); font-size: .9rem; transition: letter-spacing .3s, color .3s; }
.explore-card:hover .more { color: var(--terracotta); letter-spacing: .03em; }

/* Bandeau « Où trouver nos produits » */
.store-band { padding: 80px 0; background: var(--choco-dark); color: var(--cream); overflow: hidden; }
.store-band::before { content: ""; position: absolute; inset: 0; background: var(--zellige-light) repeat; background-size: 70px; opacity: .5; }
.store-band::after {
  content: ""; position: absolute; right: -80px; top: 50%; width: 360px; height: 360px; translate: 0 -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 162, 26, .35), transparent 65%);
}
.store-band .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.store-band .ar { font-family: var(--font-ar-calli); font-size: 1.7rem; color: var(--gold); display: block; }
.store-band h2 { color: var(--cream); margin: 0 0 8px; }
.store-band p { color: var(--sand); margin: 0; max-width: 560px; }
.store-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost { background: transparent; border-color: rgba(250, 243, 227, .5); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--choco-dark); }
.btn-wa { background: #25d366; color: #fff; padding: 11px 22px; }
.btn-wa:hover { background: #1fb457; }

/* Page « Où acheter » */
.finder .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: stretch; }
.finder-panel { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.finder-panel h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.finder-panel > p { color: var(--muted); }
.finder-form label { display: block; font-size: .82rem; font-weight: 700; color: var(--choco); margin-bottom: 6px; }
.finder-row { display: flex; gap: 10px; }
.finder-row input {
  flex: 1; min-width: 0; padding: 14px 16px; border: 1.5px solid var(--sand); border-radius: 999px; font: inherit; background: var(--cream);
}
.finder-row input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(227, 162, 26, .15); }
.finder-row .btn { padding: 13px 24px; }
.finder-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 10px; }
.finder-chips button {
  font: inherit; font-size: .88rem; font-weight: 700; padding: 9px 16px; border-radius: 99px; cursor: pointer;
  border: 1.5px solid var(--sand); background: var(--cream); color: var(--choco); transition: .25s;
}
.finder-chips button[aria-checked="true"] { background: var(--choco); border-color: var(--choco); color: var(--gold-light); }
.finder-geo { background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 700; color: var(--terracotta); cursor: pointer; }
.finder-geo:hover { text-decoration: underline; }
.finder-note { margin-top: auto; padding: 20px; border-radius: 18px; background: var(--cream); border-left: 4px solid var(--gold); display: grid; gap: 8px; justify-items: start; }
.finder-note strong { color: var(--choco-dark); }
.finder-note span { color: var(--muted); font-size: .9rem; }
.finder-map { position: relative; border-radius: 28px; overflow: hidden; min-height: 480px; box-shadow: var(--shadow), 0 0 0 2px var(--gold); background: var(--cream-2); }
.finder-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.finder-open {
  position: absolute; left: 16px; bottom: 16px; background: var(--choco-dark); color: var(--gold-light); font-weight: 700; font-size: .85rem;
  padding: 10px 16px; border-radius: 99px; box-shadow: 0 10px 25px -10px rgba(0, 0, 0, .5);
}
.chains { background: var(--cream-2); }
.chain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; max-width: 900px; margin: 0 auto; }
.chain-card { background: var(--cream); border-radius: 24px; padding: 30px; text-align: center; box-shadow: 0 0 0 1px rgba(90, 46, 20, .08); transition: transform .4s, box-shadow .4s; }
.chain-card:hover { transform: translateY(-8px); box-shadow: var(--shadow), 0 0 0 2px var(--gold); }
.chain-logo {
  width: 74px; height: 74px; margin: 0 auto 14px; display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  background: var(--choco); color: var(--gold-light); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}
.chain-card .ar { color: var(--gold); display: block; }
.chain-card h3 { margin: 2px 0 6px; }
.chain-card .tag { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.chain-card p { color: var(--muted); font-size: .93rem; margin: 12px 0 14px; }
.chain-card a { font-weight: 800; color: var(--choco); }
.chain-card a:hover { color: var(--terracotta); }
.chain-ask {
  max-width: 900px; margin: 40px auto 0; padding: 26px 30px; border-radius: 24px; background: var(--choco); color: var(--cream);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.chain-ask strong { display: block; color: var(--gold-light); font-size: 1.1rem; }
.chain-ask span { color: var(--sand); font-size: .92rem; }
.chain-ask .btn-primary { background: var(--gold); color: var(--choco-dark); }

/* =========================================================
   ASSISTANT (chatbot)
   ========================================================= */
.to-top { right: auto; left: 22px; bottom: 22px; }
.wa-float { bottom: 96px; width: 54px; height: 54px; right: 25px; }
.wa-float svg { width: 27px; height: 27px; }
.chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--choco); color: var(--gold-light); display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--gold), 0 14px 34px -8px rgba(0, 0, 0, .5); transition: transform .3s, background .3s;
}
.chat-launcher:hover { transform: scale(1.06); background: var(--choco-soft); }
.chat-launcher svg { width: 28px; height: 28px; transition: transform .4s, opacity .3s; }
.chat-launcher .ic-close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.chat-open .chat-launcher .ic-chat { opacity: 0; transform: rotate(90deg); }
.chat-open .chat-launcher .ic-close { opacity: 1; transform: none; }
.chat-launcher .dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--hiba-leaf); border: 2px solid var(--choco); }
.chat-open .chat-launcher .dot { display: none; }
.chat-teaser {
  position: fixed; right: 96px; bottom: 32px; z-index: 70; max-width: 240px; background: #fff; color: var(--choco-dark); border-radius: 18px 18px 4px 18px;
  padding: 12px 16px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow); cursor: pointer;
  opacity: 0; translate: 10px 0; pointer-events: none; transition: opacity .4s, translate .4s;
}
.chat-teaser.show { opacity: 1; translate: none; pointer-events: auto; }
.chat-teaser b { color: var(--terracotta); }
.chat-open .chat-teaser { opacity: 0; pointer-events: none; }

.chat {
  position: fixed; right: 22px; bottom: 98px; z-index: 80; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 130px));
  display: flex; flex-direction: column; padding: 0; background: var(--cream); border-radius: 26px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(90, 46, 20, .12), 0 40px 80px -30px rgba(42, 26, 16, .6);
  transform-origin: bottom right; opacity: 0; scale: .85; translate: 0 20px; pointer-events: none;
  transition: opacity .3s, scale .4s cubic-bezier(.2, 1.2, .4, 1), translate .4s cubic-bezier(.2, 1.2, .4, 1);
}
.chat-open .chat { opacity: 1; scale: 1; translate: none; pointer-events: auto; }
.chat-head {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: var(--cream);
  background: var(--zellige-light) repeat, linear-gradient(150deg, var(--choco-soft), var(--choco-dark)); background-size: 50px, cover;
}
.chat-head img { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); padding: 3px; box-shadow: 0 0 0 2px var(--gold); }
.chat-head strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; color: var(--gold-light); }
.chat-head small { font-size: .78rem; color: var(--sand); display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5bd36b; box-shadow: 0 0 0 3px rgba(91, 211, 107, .25); }
.chat-head .chat-x { margin-left: auto; background: none; border: 0; color: var(--sand); font-size: 1.5rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.chat-body {
  flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain;
  background: var(--zellige) repeat, var(--cream); background-size: 90px, auto; background-blend-mode: soft-light;
}
.msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: .92rem; line-height: 1.5; animation: msg-in .35s cubic-bezier(.2, 1.2, .4, 1) both; }
.msg.bot { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; box-shadow: 0 4px 14px -8px rgba(42, 26, 16, .35); }
.msg.user { align-self: flex-end; background: var(--choco); color: var(--cream); border-bottom-right-radius: 6px; }
.msg p { margin: 0 0 6px; } .msg p:last-child { margin: 0; }
.msg ul { margin: 6px 0; padding-left: 18px; } .msg li { margin-bottom: 4px; } .msg li::marker { color: var(--gold); }
.msg a { color: var(--terracotta); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.msg .ar { font-size: 1rem; }
.msg .store { display: block; margin: 8px 0; padding: 10px 12px; border-radius: 12px; background: var(--cream); border: 1px solid var(--sand); text-decoration: none; color: var(--ink); font-weight: 400; }
.msg .store b { display: block; color: var(--choco-dark); }
.msg .store span { display: block; margin-top: 4px; font-size: .82rem; color: var(--terracotta); font-weight: 700; }
.msg .store:hover { border-color: var(--gold); background: #fff; }
.msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: typing 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 6px; animation: msg-in .35s .1s both; }
.chips button {
  font: inherit; font-size: .82rem; font-weight: 700; padding: 7px 13px; border-radius: 99px; cursor: pointer;
  border: 1.5px solid var(--gold); background: #fff; color: var(--choco); transition: .2s;
}
.chips button:hover { background: var(--gold); color: var(--choco-dark); }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(90, 46, 20, .1); background: #fff; }
.chat-foot input { flex: 1; min-width: 0; border: 1.5px solid var(--sand); border-radius: 99px; padding: 11px 16px; font: inherit; font-size: .92rem; background: var(--cream); }
.chat-foot input:focus { outline: none; border-color: var(--gold); background: #fff; }
.chat-foot button { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 0; background: var(--gold); color: var(--choco-dark); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.chat-foot button:hover { background: var(--choco); color: var(--gold-light); }
.chat-foot svg { width: 20px; height: 20px; }

/* Menu repliable dès 1100 px : 8 entrées ne tiennent plus sur une ligne */
@media (max-width: 1100px) {
  .header { backdrop-filter: none; background: rgba(250, 243, 227, .97); }
  .burger { display: block; position: relative; z-index: 51; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); flex-direction: column; align-items: flex-start;
    background: var(--cream); padding: 110px 32px 32px; gap: 16px; transform: translateX(100%); transition: .4s ease;
    box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .3); z-index: 49; overflow-y: auto;
  }
  .nav::before { content: ""; position: absolute; inset: 0; background: var(--zellige) repeat; background-size: 70px; opacity: .1; z-index: -1; }
  .nav a { font-size: 1.15rem; }
  .nav.open { transform: none; }
  .nav.open a { animation: fade-up .5s both; }
  .nav.open a:nth-child(2) { animation-delay: .04s; } .nav.open a:nth-child(3) { animation-delay: .08s; }
  .nav.open a:nth-child(4) { animation-delay: .12s; } .nav.open a:nth-child(5) { animation-delay: .16s; }
  .nav.open a:nth-child(6) { animation-delay: .2s; } .nav.open a:nth-child(7) { animation-delay: .24s; }
  .nav.open a:nth-child(8) { animation-delay: .28s; }
  .burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .finder .container { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .explore-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .page-hero { padding: 60px 0 100px; border-radius: 0 0 50% 50% / 0 0 40px 40px; }
  .finder-panel { padding: 26px 20px; }
  .finder-row { flex-direction: column; }
  .finder-map { min-height: 380px; }
  .chat { right: 12px; bottom: 92px; }
  .chat-teaser { right: 88px; max-width: 190px; }
  .to-top { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  .split .w > span { transform: none; }
  .loader { display: none; }
  .section-head .ar-title, .hero .ar-tag, .hiba-slogan, .cta-band .ar { clip-path: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .hiba-grid, .hiba-perks { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prep { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  section { padding: 80px 0; }
  .topbar .tb-ar { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); flex-direction: column; align-items: flex-start;
    background: var(--cream); padding: 110px 32px 32px; gap: 18px; transform: translateX(100%); transition: .4s ease;
    box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .3); z-index: 49;
  }
  .nav::before { content: ""; position: absolute; inset: 0; background: var(--zellige) repeat; background-size: 70px; opacity: .1; z-index: -1; }
  .nav a { font-size: 1.15rem; }
  .nav.open { transform: none; }
  .burger { position: relative; z-index: 51; }
  .burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { padding: 40px 0 80px; }
  .hero .container, .about .container, .hiba-intro, .hiba-split, .contact .container { grid-template-columns: 1fr; gap: 50px; }
  .hiba-poster { max-width: 340px; }
  .hiba-poster .stamp { left: -10px; width: 100px; height: 100px; }
  .hiba-banner { min-height: 380px; }
  .hiba-banner::after { background: linear-gradient(0deg, rgba(34, 19, 10, .95) 0%, rgba(34, 19, 10, .55) 55%, transparent 85%); }
  .hiba-banner .txt { padding: 28px; }
  .hero-visual { order: -1; }
  .arch { width: min(340px, 80%); }
  .seal { width: 100px; height: 100px; font-size: .62rem; }
  .about-visual .floating-card { right: 10px; }
  .product-grid, .recipe-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .prep { padding: 32px 24px; }
  .prep-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar .tb-left a:nth-child(2) { display: none; }
  .logo img { width: 58px; height: 58px; }
  .logo-text strong { font-size: 1.25rem; }
  .features, .form-row { grid-template-columns: 1fr; }
  .steps, .hiba-grid, .hiba-perks, .hiba-uses, .footer-grid { grid-template-columns: 1fr; }
  .hiba-grid { max-width: 360px; margin-inline: auto; }
  .contact-form { padding: 28px 20px; }
  .hero-stats { gap: 24px; }
  .about-visual .floating-card { position: relative; right: auto; bottom: auto; margin: -40px auto 0; }
}

/* Anciens styles en ligne (retirés du HTML pour la politique de sécurité CSP) */
.footer-frieze { position: absolute; top: 0; left: 0; right: 0; }
.cta-text { margin: 0; color: var(--choco); }
.muted { color: var(--muted); }
.prep-sub { color: var(--sand); margin: 0; }
.prep-ar { font-family: var(--font-ar-calli); font-size: 1.6rem; color: var(--gold); }
.err-actions { justify-content: center; margin-top: 28px; }
