/* =========================================================
   MPFE Menuiserie — feuille de style principale
   Mobile first · breakpoints 640 / 960 / 1200
   ========================================================= */

:root {
  --indigo:        #2B156B;
  --indigo-dark:   #1E0F4D;
  --indigo-light:  #3C1D96;
  --orange:        #E8431C;
  --orange-dark:   #C63512;
  --blue:          #5B7DBE;
  --blue-soft:     #CFD6E8;
  --sky:           #DCEBFA;
  --bg:            #F6F7FB;
  --surface:       #FFFFFF;
  --text:          #1A1633;
  --muted:         #5F6B85;
  --border:        #E3E6EF;
  --success:       #1F9D55;
  --warning:       #E8A317;
  --danger:        #D1372B;
  --radius:        14px;
  --shadow:        0 8px 30px rgba(43,21,107,.10);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow-sm: 0 2px 10px rgba(43,21,107,.08);
  --shadow-lg: 0 18px 50px rgba(43,21,107,.18);
  --radius-sm: 10px;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--indigo-dark);
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--indigo-light); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--soft { background: var(--surface); }
.section--sky { background: linear-gradient(180deg, #EEF3FB 0%, var(--bg) 100%); }
.section__head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: currentColor; }
.section__head--center .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 2px; background: currentColor; }
.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 1000;
  background: var(--orange); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.2;
  border: 2px solid transparent; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, color .18s, border-color .18s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(232,67,28,.32); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; box-shadow: 0 12px 28px rgba(232,67,28,.38); }
.btn--secondary { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn--secondary:hover { background: var(--indigo); color: #fff; }
.btn--white { background: #fff; color: var(--indigo); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn--white:hover { background: var(--sky); color: var(--indigo-dark); }
.btn--outline-white { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn--outline-white:hover { background: #fff; color: var(--indigo); }
.btn--ghost { background: transparent; color: var(--indigo); padding-inline: 14px; }
.btn--ghost:hover { background: var(--sky); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 14px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  color: var(--indigo); min-height: 44px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; color: var(--orange); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--indigo-dark); color: #fff; font-size: .82rem; line-height: 1.3;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: center; gap: 8px 14px;
  min-height: 36px; padding-block: 6px; flex-wrap: wrap; text-align: center;
}
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--sky); }
.topbar__sep { opacity: .4; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .topbar__hide-sm { display: none; }
@media (min-width: 640px) { .topbar .topbar__hide-sm { display: inline-flex; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(43,21,107,.10); border-color: var(--border); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h); transition: min-height .25s var(--ease);
}
.is-scrolled .site-header__inner { min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--indigo-dark); min-height: 44px; }
.brand:hover { text-decoration: none; }
.brand__logo {
  width: auto; height: 56px; border-radius: 10px; transition: height .25s var(--ease);
}
.is-scrolled .brand__logo { height: 44px; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.05; letter-spacing: -.01em; }
.brand__name span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--border); background: #fff;
  padding: 0; margin-left: auto;
}
.burger__bar { width: 22px; height: 2px; border-radius: 2px; background: var(--indigo); transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 890;
  background: #fff; overflow-y: auto; padding: 8px var(--gutter) 120px;
  display: flex; flex-direction: column; gap: 12px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .28s var(--ease), opacity .22s, visibility 0s linear .28s;
}
.site-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.site-nav__list { list-style: none; display: flex; flex-direction: column; }
.site-nav__list a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 54px; padding: 10px 6px; border-bottom: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--indigo-dark);
}
.site-nav__list a:hover { text-decoration: none; color: var(--orange); }
.site-nav__list a[aria-current="page"] { color: var(--orange); }
.site-nav__list a::after { content: "→"; color: var(--blue-soft); }
.site-nav__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.site-nav__actions .btn { width: 100%; }
.site-nav__contact { margin-top: 12px; color: var(--muted); font-size: .92rem; display: grid; gap: 6px; }
.site-nav__contact a { color: var(--indigo); font-weight: 600; }

@media (min-width: 960px) {
  .burger { display: none; }
  .site-nav {
    position: static; inset: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    background: transparent; overflow: visible; padding: 0; flex-direction: row; align-items: center; gap: 28px;
    transition: none;
  }
  .site-nav__list { flex-direction: row; gap: 4px; }
  .site-nav__list a {
    min-height: 44px; padding: 8px 10px; border: 0; font-size: .92rem; position: relative; border-radius: 8px; white-space: nowrap;
  }
  .site-nav__list a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
  }
  .site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__list a[aria-current="page"] { color: var(--indigo-dark); }
  .site-nav__actions { flex-direction: row; margin: 0; gap: 6px; align-items: center; }
  .site-nav__actions .btn { width: auto; }
  .site-nav__actions .btn--primary { padding-inline: 20px; }
  .site-nav__contact { display: none; }
  .site-nav { gap: 20px; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .brand__name { display: none; }
  .site-nav__list a { padding: 8px 8px; font-size: .88rem; }
  .site-nav__list a::after { left: 8px; right: 8px; }
  .site-nav__actions .btn--ghost { padding-inline: 10px; }
}
@media (min-width: 1200px) { .site-nav { gap: 32px; } .site-nav__list { gap: 6px; } .site-nav__actions { gap: 8px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  min-height: min(92vh, 860px); display: flex; align-items: center;
  padding-block: clamp(72px, 12vw, 140px) clamp(120px, 16vw, 200px);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(91,125,190,.35) 0%, transparent 60%),
    linear-gradient(105deg, rgba(30,15,77,.95) 0%, rgba(43,21,107,.86) 40%, rgba(43,21,107,.55) 75%, rgba(43,21,107,.45) 100%);
}
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
  font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #5EE39A; box-shadow: 0 0 0 4px rgba(94,227,154,.25); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: #FFB199; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; color: rgba(255,255,255,.86); margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: rgba(255,255,255,.85); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: #5EE39A; }
.hero__card {
  display: none; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 22px; padding: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.hero__card h2 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.hero__card ul { list-style: none; display: grid; gap: 14px; }
.hero__card li { display: flex; gap: 14px; align-items: flex-start; }
.hero__card .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; }
.hero__card .ico svg { width: 22px; height: 22px; }
.hero__card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.hero__card span { font-size: .86rem; color: rgba(255,255,255,.78); }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.25fr .9fr; gap: 56px; }
  .hero__card { display: block; }
}

/* ---------- Stats band ---------- */
.stats { position: relative; z-index: 2; margin-top: clamp(-90px, -10vw, -60px); }
.stats__grid {
  display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);
  background: var(--surface); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg);
}
.stat { padding: 14px 12px; border-radius: var(--radius-sm); display: grid; gap: 4px; }
.stat__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--orange); line-height: 1; }
.stat__label { font-weight: 600; color: var(--indigo-dark); font-size: .95rem; }
.stat__desc { font-size: .84rem; color: var(--muted); }
@media (min-width: 640px) { .stats__grid { padding: 22px; } .stat { padding: 16px 18px; } }
@media (min-width: 960px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .stat + .stat { border-left: 1px solid var(--border); }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { margin-bottom: 2px; }
.card__body p { color: var(--muted); font-size: .95rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 8px; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: rgba(255,255,255,.92); color: var(--indigo); font-family: var(--font-head); font-weight: 600;
  font-size: .75rem; padding: 6px 11px; border-radius: 999px; letter-spacing: .02em;
}

/* Feature blocks (Pourquoi MPFE) */
.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.2fr; gap: 64px; } .split__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.features { display: grid; gap: 18px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature {
  background: var(--surface); border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.feature:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--sky); color: var(--indigo);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .94rem; }

/* Checklist */
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--success); margin-top: 2px; }

/* ---------- Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--indigo-dark); font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease);
}
.chip:hover { border-color: var(--indigo); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.gallery { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sky);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); border: 0; padding: 0; text-align: left; width: 100%;
  cursor: zoom-in; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__caption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(30,15,77,.85));
}
.gallery__caption strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.gallery__caption span { font-size: .8rem; opacity: .85; }
.gallery__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 20px; background: var(--surface); border-radius: var(--radius); }
.gallery .skeleton { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(90deg, #E9ECF4 25%, #F4F6FA 50%, #E9ECF4 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(20,10,50,.92);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; transition: opacity .2s;
}
.lightbox.is-visible { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__figure img { max-height: calc(100vh - 140px); max-width: 100%; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); object-fit: contain; }
.lightbox__figure figcaption { color: #fff; font-family: var(--font-head); font-weight: 600; text-align: center; }
.lightbox__figure figcaption span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; opacity: .8; }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; transition: background-color .18s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (min-width: 960px) { .lightbox__prev { left: 24px; } .lightbox__next { right: 24px; } }

/* ---------- Zone d'intervention / CTA ---------- */
.zone { display: grid; gap: 28px; }
@media (min-width: 960px) { .zone { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { padding: 7px 13px; border-radius: 999px; background: var(--sky); color: var(--indigo); font-weight: 600; font-size: .86rem; }
.tag strong { color: var(--orange); margin-right: 4px; }
.cta-card {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-light) 100%); color: #fff;
  border-radius: 22px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,67,28,.55), transparent 65%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2, .cta-card h3 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.82); }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cta-band { background: var(--indigo-dark); color: #fff; }
.cta-band__inner { display: grid; gap: 22px; align-items: center; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (min-width: 960px) {
  .cta-band__inner { grid-template-columns: 1fr auto; text-align: left; }
  .cta-band__actions { justify-content: flex-end; }
}

/* ---------- Page banner ---------- */
.page-hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background: linear-gradient(110deg, var(--indigo-dark) 0%, var(--indigo) 55%, var(--indigo-light) 100%);
  padding-block: clamp(48px, 8vw, 96px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: radial-gradient(45% 70% at 85% 20%, rgba(91,125,190,.9), transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -160px; top: -200px; z-index: -1;
  border: 60px solid rgba(255,255,255,.05);
}
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(255,255,255,.84); max-width: 60ch; font-size: 1.08rem; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }

/* Anchor sub-nav (Produits) */
.subnav { position: sticky; top: var(--header-h); z-index: 800; background: rgba(246,247,251,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.subnav__list { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--indigo-dark); white-space: nowrap; border: 1.5px solid transparent; }
.subnav__list a:hover { text-decoration: none; background: var(--sky); }
.subnav__list a.is-active { background: var(--indigo); color: #fff; }
.is-scrolled ~ main .subnav { top: 62px; }

/* Product sections */
.product { display: grid; gap: 28px; align-items: center; }
.product__media { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--sky); position: relative; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(43,21,107,.25)); pointer-events: none; }
.product__body h2 { margin-bottom: .4em; }
.product__body .lead { margin-bottom: 20px; }
.product__list { margin: 22px 0 26px; }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product + .product { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--border); }
@media (min-width: 960px) {
  .product { grid-template-columns: 1fr 1fr; gap: 64px; }
  .product--reverse .product__media { order: 2; }
}

/* ---------- À propos ---------- */
.quote {
  position: relative; background: var(--surface); border-radius: 22px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow);
  border-left: 6px solid var(--orange);
}
.quote p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--indigo-dark); line-height: 1.35; }
.quote footer { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.values { display: grid; gap: 18px; }
@media (min-width: 960px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--surface); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.value::before { content: attr(data-num); position: absolute; right: 16px; top: 6px; font-family: var(--font-head); font-weight: 700; font-size: 4rem; color: var(--sky); line-height: 1; }
.value > * { position: relative; }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; } }
.info-list { list-style: none; display: grid; gap: 14px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.info-item__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--indigo); display: grid; place-items: center; }
.info-item__icon svg { width: 22px; height: 22px; }
.info-item strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.info-item a { color: var(--indigo-dark); font-weight: 600; font-size: 1.02rem; }
.info-item p { color: var(--text); }
.map { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--sky); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
@media (min-width: 640px) { .map iframe { height: 400px; } }
.map__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; background: var(--surface); font-size: .9rem; color: var(--muted); }

/* Forms */
.form-card { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--indigo-dark); }
.field label .req { color: var(--orange); }
.field__hint { font-size: .82rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--border);
  background: #fff; font: inherit; color: var(--text); transition: border-color .18s, box-shadow .18s;
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232B156B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(43,21,107,.12); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: .84rem; color: var(--danger); font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--border); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.check strong { display: block; color: var(--indigo-dark); }
.check span { font-size: .86rem; color: var(--muted); }
.dropzone {
  border: 2px dashed var(--blue-soft); border-radius: 14px; padding: 22px 18px; text-align: center; background: var(--bg);
  transition: border-color .18s, background-color .18s; cursor: pointer;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--indigo); background: var(--sky); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone svg { width: 34px; height: 34px; color: var(--blue); margin: 0 auto 8px; }
.dropzone strong { display: block; color: var(--indigo-dark); }
.dropzone span { font-size: .84rem; color: var(--muted); }
.previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; list-style: none; }
.previews li { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.previews img { width: 100%; height: 100%; object-fit: cover; }
.previews button {
  position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0;
  background: rgba(30,15,77,.85); color: #fff; display: grid; place-items: center; padding: 0;
}
.previews button svg { width: 14px; height: 14px; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; }
.form__footer small { color: var(--muted); font-size: .82rem; }
.alert { padding: 16px 18px; border-radius: 12px; font-size: .95rem; display: flex; gap: 12px; align-items: flex-start; }
.alert svg { flex: none; width: 22px; height: 22px; }
.alert--error { background: #FDECEA; color: #8A2118; border: 1px solid #F5C3BD; }
.alert--error a { color: inherit; font-weight: 700; }
.alert[hidden] { display: none; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { text-align: center; padding: clamp(24px, 4vw, 40px) 0 8px; }
.success__icon { width: 72px; height: 72px; border-radius: 50%; background: #E4F6EC; color: var(--success); display: grid; place-items: center; margin: 0 auto 18px; }
.success__icon svg { width: 36px; height: 36px; }
.success h2 { margin-bottom: .3em; }
.success p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.success__ref { display: inline-block; margin: 18px 0 8px; padding: 14px 28px; border-radius: 14px; background: var(--indigo-dark); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: .12em; }
.success__hint { font-size: .88rem !important; }
.success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- Prose (mentions légales) ---------- */
.prose { background: var(--surface); border-radius: 22px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.prose h2 { font-size: 1.35rem; margin-top: 2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.placeholder { background: #FFF4D6; color: #7A5200; padding: 1px 6px; border-radius: 5px; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-dark); color: rgba(255,255,255,.82); padding-top: clamp(48px, 7vw, 80px); margin-top: auto; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #FFB199; }
.footer__grid { display: grid; gap: 34px; padding-bottom: 44px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; } }
.footer__brand .brand { color: #fff; margin-bottom: 14px; }
.footer__brand .brand__name span { color: #FFB199; }
.footer__brand p { font-size: .94rem; max-width: 36ch; }
.footer__title { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__list { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer__list a { display: inline-flex; min-height: 28px; align-items: center; }
.footer__contact { list-style: none; display: grid; gap: 14px; font-size: .95rem; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { flex: none; width: 20px; height: 20px; color: #FFB199; margin-top: 3px; }
.footer__contact a { font-weight: 600; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); font-size: .84rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); box-shadow: 0 -8px 30px rgba(43,21,107,.10);
  transform: translateY(0); transition: transform .3s var(--ease);
}
.mobile-bar .btn { width: 100%; padding-inline: 12px; }
body.nav-open .mobile-bar { transform: translateY(110%); }
@media (max-width: 959px) { body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (min-width: 960px) { .mobile-bar { display: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.notfound__code { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--sky); margin-bottom: -.25em; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal][data-reveal-delay="1"] { transition-delay: .1s; }
.js [data-reveal][data-reveal-delay="2"] { transition-delay: .2s; }
.js [data-reveal][data-reveal-delay="3"] { transition-delay: .3s; }
.js [data-reveal][data-reveal-delay="4"] { transition-delay: .4s; }
.js [data-reveal][data-reveal-delay="5"] { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .card:hover, .feature:hover, .btn:hover, .gallery__item:hover { transform: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.stack { display: grid; gap: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }
.small { font-size: .88rem; color: var(--muted); }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }
.hide-lg { display: initial; }
@media (min-width: 960px) { .hide-lg { display: none; } }

/* Mode statique (sans serveur/API) : espace client masqué */
[data-no-api-only]{display:none}
html.no-api [data-needs-api]{display:none!important}
html.no-api [data-no-api-only]{display:block}
