/* =========================================================
   ColorZmalt — Agent officiel SCF au Maroc
   Palette : bleu SCF + rouge/vert (Italie & Maroc)
   ========================================================= */

/* ---------- Polices hébergées localement (plus rapide que Google Fonts, sous-ensemble latin) ---------- */
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Dancing Script"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/dancing-script-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
}

:root {
  --navy: #14245e;
  --navy-900: #0b1540;
  --navy-700: #1f3384;
  --red: #d3202a;
  --red-700: #ad151e;
  --green: #1b7a3b;
  --green-700: #135c2c;
  --green-300: #7ad08f;
  --ink: #101935;
  --muted: #56607c;
  --line: #e1e5ef;
  --bg: #ffffff;
  --bg-soft: #f3f5fa;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(16, 25, 53, .08);
  --shadow-lg: 0 24px 60px rgba(11, 21, 64, .22);

  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;

  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; color: var(--navy); letter-spacing: .2px; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 32px, 1200px); margin-inline: auto; }

.icon {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: .6em 1em; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* Bande tricolore (Italie) */
.tricolor {
  height: 5px;
  background: linear-gradient(90deg, var(--green) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%);
}

.flag {
  display: inline-block; width: 18px; height: 12px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
.flag--it { background: linear-gradient(90deg, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66%); }
.flag--lg { width: 24px; height: 16px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 .98rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(211, 32, 42, .3); }
.btn--red:hover { background: var(--red-700); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(27, 122, 59, .28); }
.btn--green:hover { background: var(--green-700); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--red); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .85); font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__tag { margin: 0; letter-spacing: .04em; }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; }
.topbar__contact a:hover { color: #fff; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 25, 53, .08); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { height: 60px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; }
.nav__list a {
  position: relative; display: block; padding: .4em 0;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--red); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: .75em 1.3em; font-size: .92rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 11px;
  background: var(--bg-soft); border: 0; border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle span + span { margin-top: 8px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(80px, 9vw, 120px);
  background:
    radial-gradient(900px 520px at 90% -10%, rgba(211, 32, 42, .28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(27, 122, 59, .25), transparent 60%),
    linear-gradient(155deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
}
.hero::before { /* trame discrète type carreaux */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image:
    linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .45em 1em .45em .55em; margin-bottom: 22px;
  background: var(--red); color: #fff; border-radius: 999px;
  font: 700 .95rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(211, 32, 42, .35);
}
.badge__star {
  display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%;
  background: #fff; color: var(--green); font-size: .8rem; letter-spacing: 0;
}

.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 700; margin-bottom: .45em; }
.hl {
  position: relative; white-space: nowrap;
  font-family: var(--font-script); font-weight: 700; font-size: 1.04em;
  color: #fff; padding: 0 .08em;
}
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: 4px;
  background: linear-gradient(90deg, var(--green) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%);
}
.lead { font-size: 1.12rem; color: rgba(255, 255, 255, .84); max-width: 60ch; }
.lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 42px; }

.hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__facts strong { display: block; font: 700 2.2rem/1 var(--font-head); color: #fff; margin-bottom: 6px; }
.hero__facts span { display: block; font-size: .86rem; color: rgba(255, 255, 255, .7); line-height: 1.45; }

.hero__visual { position: relative; justify-self: end; width: min(100%, 460px); }
.hero__photo {
  margin: 0; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg); outline: 6px solid rgba(255, 255, 255, .08);
}
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__card {
  position: absolute; left: -44px; bottom: -34px;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px 16px 16px; border-radius: 18px;
  background: #fff; color: var(--navy); box-shadow: var(--shadow-lg);
}
.hero__card img { width: 112px; }
.hero__card p { margin: 0; font: 600 1.05rem/1.15 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hero__card strong { color: var(--navy); font-size: 1.35rem; }
.hero__seal {
  position: absolute; top: -26px; right: -22px;
  display: grid; place-content: center; text-align: center;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  border: 3px dashed rgba(255, 255, 255, .35); outline: 6px solid var(--navy-900);
  box-shadow: var(--shadow-lg);
  transform: rotate(-10deg);
}
.hero__seal span { font: 600 .9rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.hero__seal strong { font: 700 1.9rem/1 var(--font-script); color: var(--green-300); }

/* ---------- Bandeau Italie ↔ Maroc ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip__grid { display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; gap: 22px 32px; padding: 26px 0; }
.strip__item { display: flex; align-items: center; gap: 14px; }
.strip__item--wide { justify-self: end; }
.strip__item small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.strip__item strong { font-weight: 700; color: var(--navy); }
.strip__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(20, 36, 94, .08); color: var(--navy); font-size: 1.15rem;
}
.strip__icon--red { background: rgba(211, 32, 42, .1); color: var(--red); }
.strip__icon--green { background: rgba(27, 122, 59, .1); color: var(--green); }
.strip__route { display: flex; align-items: center; color: var(--red); }
.strip__route span { width: 56px; border-top: 2px dashed rgba(211, 32, 42, .5); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.06rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 14px;
  font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red);
}
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--green); }
.dots i:nth-child(2) { background: #fff; box-shadow: inset 0 0 0 1.5px #b9c0d3; }
.dots i:nth-child(3) { background: var(--red); }

.checklist li { display: flex; align-items: flex-start; gap: .65em; font-weight: 500; }
.checklist .icon {
  width: 1.5em; height: 1.5em; padding: .28em; margin-top: .05em; border-radius: 50%;
  background: var(--green); color: #fff; stroke-width: 3;
}
.checklist--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin-top: 28px; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__text > p { color: var(--muted); font-size: 1.04rem; }
.about__text > p strong { color: var(--ink); }

.scf-card {
  position: relative; padding: 36px; border-radius: 22px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.scf-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, .04);
}
.scf-card__logo { display: inline-block; padding: 12px 18px; margin-bottom: 22px; border-radius: 14px; background: #fff; }
.scf-card__logo img { width: 130px; }
.scf-card h3 { color: #fff; font-size: 1.7rem; }
.scf-card__tagline { font-style: italic; color: rgba(255, 255, 255, .78); }
.scf-card__facts { margin: 24px 0; }
.scf-card__facts div { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.scf-card__facts dt { font: 700 1.2rem/1.3 var(--font-head); color: var(--green-300); }
.scf-card__facts dd { margin: 0; font-size: .93rem; color: rgba(255, 255, 255, .85); }
.scf-card .link-arrow { color: #fff; }

/* ---------- Produits ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product__label {
  margin: 0; padding: .7em 1em; text-align: center;
  background: var(--navy); color: #fff;
  font: 700 1.02rem/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase;
}
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.product__body p { color: var(--muted); font-size: .94rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tags li {
  padding: .3em .8em; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: rgba(27, 122, 59, .09); color: var(--green-700);
}

.more {
  display: grid; grid-template-columns: 240px 1fr auto; gap: 28px 40px; align-items: center;
  margin-top: 28px; padding: 32px 36px; border-radius: var(--radius);
  background: #fff; border: 1px dashed #c7cee0;
}
.more__intro h3 { font-size: 1.5rem; margin-bottom: .3em; }
.more__intro p { margin: 0; color: var(--muted); font-size: .92rem; }
.more__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.more__list li { display: flex; gap: 12px; align-items: flex-start; }
.more__list strong { display: block; color: var(--navy); font-size: .96rem; }
.more__list span:not(.more__icon) { display: block; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.more__icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  background: rgba(211, 32, 42, .08); color: var(--red);
}

/* ---------- Atouts ---------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); }
.value { padding: 8px 26px; text-align: center; }
.value + .value { border-left: 1px solid var(--line); }
.value__icon {
  display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px;
  border-radius: 50%; color: var(--navy); font-size: 1.9rem;
  background: #fff; box-shadow: 0 0 0 3px var(--navy), 0 0 0 9px rgba(20, 36, 94, .07);
  transition: background-color .25s, color .25s;
}
.value:hover .value__icon { background: var(--navy); color: #fff; }
.value h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.value p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Usine ---------- */
.factory { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: stretch; }
.factory__main { padding: 0 0 32px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.ribbon {
  display: inline-block; margin: 0 0 6px; padding: .45em 1.6em .45em 1.3em;
  background: var(--green); color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem);
  text-transform: uppercase; letter-spacing: .04em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.script { font: 700 1.55rem/1.2 var(--font-script); color: var(--navy); padding: 0 32px; margin-bottom: 20px; }
.factory__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; padding: 0 32px; }
.factory__photo { margin: 0; border-radius: 14px; overflow: hidden; }
.factory__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.checklist--green { display: grid; gap: 14px; font-size: .95rem; }

.visit-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 36px 30px; border-radius: 22px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-lg);
}
.visit-card__icon {
  display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 2.1rem; box-shadow: 0 0 0 8px rgba(27, 122, 59, .25);
}
.visit-card h3 { color: var(--green-300); font-size: 1.9rem; text-transform: uppercase; }
.script--light { color: #fff; padding: 0; margin: 4px 0 24px; }

/* ---------- Actualités ---------- */
.event {
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  border-radius: 22px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.event__media { position: relative; margin: 0; min-height: 300px; }
.event__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event__status {
  position: absolute; left: 18px; top: 18px; padding: .4em .9em; border-radius: 999px;
  background: rgba(11, 21, 64, .85); color: #fff; font-size: .8rem; font-weight: 600;
}
.event__body { padding: clamp(28px, 4vw, 44px); }
.event__kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .6em; }
.event__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.event__body > p { color: var(--muted); }
.event__meta { display: grid; gap: 10px; margin: 22px 0 26px; font-size: .95rem; }
.event__meta li { display: flex; align-items: center; gap: .7em; }
.event__meta .icon { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: border-color .2s;
}
.faq__item[open] { border-color: rgba(20, 36, 94, .3); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(211, 32, 42, .08); color: var(--red); font: 600 1.5rem/1 var(--font-body);
  transition: transform .25s, background-color .25s, color .25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__item summary h3 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.faq__item summary:hover h3 { color: var(--red); }
.faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer a { color: var(--red); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact__info {
  padding: clamp(30px, 4vw, 44px); border-radius: 22px; color: rgba(255, 255, 255, .85);
  background:
    radial-gradient(400px 300px at 100% 0%, rgba(211, 32, 42, .25), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  box-shadow: var(--shadow-lg);
}
.contact__info h2 { color: #fff; }
.kicker--light { color: #ff8a8f; }
.contact__list { display: grid; gap: 18px; margin-top: 30px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.contact__list strong, .contact__list a { font-size: 1.1rem; font-weight: 600; color: #fff; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.2rem;
}
.contact__icon--green { background: var(--green); }

.form { padding: clamp(28px, 4vw, 40px); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.form h3 { font-size: 1.7rem; margin-bottom: 22px; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em 1em;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(20, 36, 94, .12);
}
.field .is-invalid { border-color: var(--red); background: #fff6f6; }
.form__error { margin: 14px 0 0; color: var(--red); font-weight: 600; font-size: .92rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.form__note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 44px; }
.footer__logos {
  display: inline-flex; align-items: center; gap: 18px; margin-bottom: 18px;
  padding: 14px 18px; border-radius: 14px; background: #fff;
}
.footer__logos img:first-child { height: 56px; width: auto; }
.footer__logos img:last-child { height: 48px; width: auto; padding-left: 18px; border-left: 1px solid var(--line); }
.footer__brand p { max-width: 36ch; }
.footer__title { color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1em; }
.footer__col ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__contact li { display: flex; align-items: center; gap: .65em; }
.footer__contact .icon { color: var(--green-300); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .55);
}
.footer__bottom p { margin: 0; }

/* ---------- Cartes produits cliquables ---------- */
.product { position: relative; }
.product__link { color: inherit; text-decoration: none; }
.product__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product__link:focus-visible { outline: none; }
.product:has(.product__link:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }
.product:hover .product__link { color: var(--red); }
.product__more { margin-top: 16px; font-size: .92rem; }
.product:hover .product__more .icon { transform: translateX(4px); }
.products--3 { grid-template-columns: repeat(3, 1fr); }

/* =========================================================
   Pages produits
   ========================================================= */
.hero--page { padding: clamp(26px, 4vw, 40px) 0 clamp(56px, 7vw, 88px); }
.hero--page .hero__grid { grid-template-columns: 1.35fr .65fr; }
.hero--page h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.hero--page .hero__actions { margin: 30px 0 0; }

.breadcrumb { position: relative; margin-bottom: clamp(26px, 4vw, 44px); font-size: .86rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .5em; margin: 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "›"; margin-right: .5em; color: rgba(255, 255, 255, .45); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.tags--light { margin-top: 4px; }
.tags--light li { background: rgba(255, 255, 255, .12); color: #fff; }

.page-hero__media {
  justify-self: end; width: min(100%, 320px); margin: 0; overflow: hidden;
  border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); outline: 6px solid rgba(255, 255, 255, .08);
}
.page-hero__media .product__label { background: var(--red); }
.page-hero__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.prose > h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.prose > * + h2 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); font-size: 1.04rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--red); font-weight: 600; }

.spec { margin-bottom: 2.4em; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prose .spec__title {
  margin: 0; padding: 12px 22px; background: var(--navy); color: #fff;
  font: 700 1.05rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase;
}
.spec dl { margin: 0; }
.spec dl div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 22px; border-top: 1px solid var(--line); }
.spec dl div:nth-child(even) { background: var(--bg-soft); }
.spec dt { font-weight: 700; color: var(--navy); font-size: .93rem; }
.spec dd { margin: 0; color: var(--muted); font-size: .97rem; }
.byline { margin: 2.4em 0 0; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose .byline { font-size: .86rem; }

.bullets { display: grid; gap: 10px; margin: 0 0 1.2em; }
.bullets li { position: relative; padding-left: 1.6em; }
.bullets li::before {
  content: ""; position: absolute; left: .25em; top: .62em; width: 8px; height: 8px;
  border-radius: 2px; background: var(--red); transform: rotate(45deg);
}

.steps { display: grid; gap: 12px; margin: 22px 0 1.2em; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative; padding: 16px 18px 16px 66px;
  border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.1rem/1 var(--font-head);
}
.steps strong { display: block; color: var(--navy); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0 1.2em; }
.feature { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.feature__icon {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px;
  border-radius: 12px; background: rgba(211, 32, 42, .08); color: var(--red); font-size: 1.15rem;
}
.feature h3 { margin-bottom: .35em; font-size: 1.3rem; }
.prose .feature p { margin: 0; font-size: .95rem; }

.side-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 30px 28px; border-radius: 22px; color: rgba(255, 255, 255, .85);
  background:
    radial-gradient(360px 260px at 100% 0%, rgba(211, 32, 42, .25), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  box-shadow: var(--shadow-lg);
}
.side-card__title { margin-bottom: .4em; font: 700 1.8rem/1.1 var(--font-head); color: #fff; }
.side-card .btn { width: 100%; margin-top: 10px; }
.side-card__list { display: grid; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; }
.side-card__list li { display: flex; align-items: center; gap: .7em; }
.side-card__list .icon { color: var(--green-300); }
.side-card__list a { color: #fff; font-weight: 600; text-decoration: none; }
.side-card__list a:hover { text-decoration: underline; }

.cta-band {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
  margin-top: clamp(48px, 6vw, 72px); padding: clamp(30px, 4vw, 48px); border-radius: 22px;
  color: rgba(255, 255, 255, .85);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(211, 32, 42, .28), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer a[aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 1.6rem;
  box-shadow: 0 10px 28px rgba(27, 122, 59, .45);
  transition: transform .2s, background-color .2s;
}
.wa-float:hover { transform: scale(1.08); background: var(--green-700); }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal--left { transform: translateX(-36px); }
.js .reveal--right { transform: translateX(36px); }
.js .reveal--zoom { transform: scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Animations ----------
   Uniquement transform / opacity (fluide, sans impact sur la mise en page).
   Le titre principal et les photos restent visibles dès l'affichage : aucun retard pour Google (LCP).
   Tout est désactivé si le visiteur a demandé moins d'animations (voir prefers-reduced-motion plus bas). */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
@keyframes slowZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatSeal { 0%, 100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-7px); } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.75); opacity: 0; } }
@keyframes dashFlow { to { background-position: 14px 0; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes dotPop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Hero : entrée en cascade */
.hero h1 { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .breadcrumb, .hero .badge, .hero .lead, .hero .tags--light, .hero__actions, .hero__facts {
  animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) both;
}
.hero .badge { animation-delay: .05s; }
.hero .lead { animation-delay: .18s; }
.hero .tags--light { animation-delay: .26s; }
.hero__actions { animation-delay: .32s; }
.hero__facts { animation-delay: .45s; }
.hero__photo img, .page-hero__media img { animation: slowZoom 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__card { animation: fadeUp .8s .55s cubic-bezier(.2, .7, .2, 1) both, floatY 6s 1.6s ease-in-out infinite; }
.hero__seal { animation: floatSeal 7s ease-in-out infinite; }
.hl::after { transform-origin: left; animation: drawLine 1s .5s cubic-bezier(.2, .7, .2, 1) both; }

/* Italie → Maroc : la ligne pointillée « avance » */
.strip__route span {
  height: 2px; border-top: 0;
  background: repeating-linear-gradient(90deg, rgba(211, 32, 42, .6) 0 8px, transparent 8px 14px);
  animation: dashFlow .9s linear infinite;
}
.strip__route .icon { animation: nudge 1.8s ease-in-out infinite; }

/* Pastilles tricolores des intitulés de section */
.js .reveal.is-visible .dots i { animation: dotPop .5s cubic-bezier(.2, .7, .2, 1) both; }
.js .reveal.is-visible .dots i:nth-child(2) { animation-delay: .1s; }
.js .reveal.is-visible .dots i:nth-child(3) { animation-delay: .2s; }

/* Images produits : zoom au survol */
.product__media { overflow: hidden; }
.product__media img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.product:hover .product__media img { transform: scale(1.07); }

/* Boutons pleins : reflet lumineux au survol */
.btn--red, .btn--green { position: relative; overflow: hidden; }
.btn--red::after, .btn--green::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
}
.btn--red:hover::after, .btn--green:hover::after { left: 130%; }

/* FAQ : ouverture en douceur */
.faq__item[open] .faq__answer { animation: faqIn .35s ease both; }

/* Bouton WhatsApp : onde discrète */
.wa-float::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: var(--green); animation: pulseRing 2.8s 2s ease-out infinite;
}

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1140px) {
  .nav { gap: 20px; }
  .nav__list { gap: 18px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .products--3 { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .prose-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .value:nth-child(4) { border-left: 0; }
  .more { grid-template-columns: 1fr; }
  .factory { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 117px);
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 20px 16px 28px; background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(16, 25, 53, .15);
    max-height: calc(100vh - var(--nav-top, 117px)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: .85em .4em; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav__list a::after { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; margin-top: 18px; width: min(100% - 40px, 420px); }
  .hero__photo img { aspect-ratio: 5 / 4; }

  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__route { display: none; }
  .strip__item--wide { justify-self: start; grid-column: 1 / -1; }

  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .event__media { min-height: 220px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .hero--page .hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { justify-self: start; width: min(100%, 300px); }
  .prose-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hide-sm { display: none; }
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__contact { gap: 16px; font-size: .82rem; }

  .hero__facts { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .hero__facts strong { font-size: 1.7rem; }
  .hero__facts span { font-size: .78rem; }
  .hero__card { left: -16px; bottom: -26px; padding: 12px 16px 12px 12px; }
  .hero__card img { width: 84px; }
  .hero__seal { width: 92px; height: 92px; right: -14px; top: -20px; }
  .hero__seal strong { font-size: 1.55rem; }

  .values { grid-template-columns: repeat(2, 1fr); }
  .value { border-left: 0 !important; padding: 0 10px; }
  .checklist--grid { grid-template-columns: 1fr; }
  .more { padding: 26px 22px; }
  .more__list { grid-template-columns: 1fr; }
  .factory__grid { grid-template-columns: 1fr; padding: 0 22px; }
  .products--3 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps li { padding-left: 60px; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .faq__item summary { padding: 16px 18px; }
  .faq__item summary h3 { font-size: 1.12rem; }
  .faq__answer { padding: 0 18px 18px; }
  .script { padding: 0 22px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 520px) {
  .products { grid-template-columns: 1fr; }
  .strip__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .spec dl div { grid-template-columns: 1fr; gap: 2px; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts li { display: flex; align-items: baseline; gap: 12px; }
  .hero__facts strong { min-width: 96px; margin: 0; }
  .values { grid-template-columns: 1fr; }
  .scf-card { padding: 28px 22px; }
  .footer__logos { flex-wrap: wrap; }
}
