/* ==========================================================================
   CaisLà Resto — feuille de style principale
   ========================================================================== */

:root {
  --navy-950: #040b26;
  --navy-900: #061440;
  --navy: #071c55;
  --blue: #0b43c8;
  --orange: #ff650d;
  --orange-600: #e85500;
  --orange-50: #fff3ea;
  --ivory: #f7f5f0;
  --sand: #efebe2;
  --paper: #ffffff;
  --ink: #0b1530;
  --muted: #5b6680;
  --muted-light: #aab5d0;
  --line: #e4dfd4;
  --line-dark: rgba(255, 255, 255, .12);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(7, 28, 85, .06);
  --shadow: 0 20px 50px -20px rgba(7, 28, 85, .25);
  --shadow-lg: 0 40px 90px -30px rgba(4, 11, 38, .45);

  --header-h: 76px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--navy); }
p { margin: 0; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 6vw, 84px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--navy-950); color: #dfe6f7; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 760px; margin-bottom: clamp(26px, 3.4vw, 40px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 48px); margin-top: 12px; }
.section-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.section-head p { margin-top: 12px; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); }
.section--dark .section-head p { color: var(--muted-light); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .005em;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 14px 30px -12px rgba(255, 101, 13, .7); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-950); transform: translateY(-2px); }

/* ---------- En-tête (toujours visible) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(4, 11, 38, .82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line-dark);
  transition: background .3s;
}
.site-header.is-scrolled { background: rgba(4, 11, 38, .95); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 13px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .78);
  transition: color .25s, background .25s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--orange);
}
.header-cta { min-height: 42px; padding: 0 20px; font-size: 14px; }
.main-nav .header-cta-mobile { display: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--orange), #ffb27a); }

/* ---------- Zone 1 : bannière recomposée (caisse, sceau, icônes découpés + texte HTML) ---------- */
.hb {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(11, 67, 200, .5), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
/* Lignes lumineuses : chaque tracé se dessine, puis une comète le parcourt en boucle. */
.hb-streaks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hb-streaks path { fill: none; stroke-linecap: round; }
.hb-streaks .ln {
  stroke-width: var(--w); opacity: .75; stroke-dasharray: 1800; stroke-dashoffset: 1800;
  animation: hbDraw 2.8s calc(.3s + var(--i) * .15s) var(--ease) forwards, hbBreath 7s calc(3s + var(--i) * .6s) ease-in-out infinite;
}
.hb-streaks .ln-o { filter: drop-shadow(0 0 6px rgba(255, 138, 61, .7)); }
.hb-streaks .ln-b { filter: drop-shadow(0 0 5px rgba(160, 200, 255, .6)); opacity: .6; }
.hb-streaks .cm {
  stroke-width: var(--w); stroke-dasharray: 90 910; stroke-dashoffset: 1000; opacity: 0;
  animation: hbComet calc(5s + var(--i) * .7s) calc(2.5s + var(--i) * .9s) linear infinite;
}
.hb-streaks .cm-o { stroke: #ffd2a8; filter: drop-shadow(0 0 6px #ff8a3d) drop-shadow(0 0 12px rgba(255, 138, 61, .8)); }
.hb-streaks .cm-b { stroke: #ffffff; filter: drop-shadow(0 0 6px #9fc0ff) drop-shadow(0 0 12px rgba(160, 200, 255, .8)); }
@keyframes hbDraw { to { stroke-dashoffset: 0; } }
@keyframes hbBreath { 0%, 100% { opacity: .75; } 50% { opacity: .35; } }
@keyframes hbComet { 0% { stroke-dashoffset: 1000; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.hb-inner {
  position: relative; max-width: 1440px; margin: 0 auto;
  padding: calc(var(--header-h) + clamp(36px, 4.4vw, 64px)) clamp(16px, 3.5vw, 50px) clamp(32px, 3.6vw, 52px);
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); column-gap: clamp(16px, 2.4vw, 40px); align-items: center;
}
.hb-copy { grid-column: 1; grid-row: 1; }
.hb h1 { font-family: "Inter", var(--font); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; color: #fff; font-size: clamp(32px, 3.9vw, 60px); }
@media (min-width: 1101px) { .hb h1 span { white-space: nowrap; } }
.hb h1 span { display: block; animation: hbUp .9s var(--ease) both; }
.hb h1 .l2 { color: #d4733a; animation-delay: .12s; }
.hb-sub { margin-top: clamp(10px, 1.2vw, 16px); font-family: "Inter", var(--font); font-weight: 500; color: #c2d2ec; font-size: clamp(16px, 1.6vw, 23px); animation: hbUp .9s .24s var(--ease) both; }

.hb-boxes { list-style: none; margin: clamp(24px, 3.4vw, 50px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, .8vw, 12px); }
.hb-box {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(10px, 1.1vw, 16px) 6px clamp(12px, 1.2vw, 18px); border-radius: 14px;
  background: rgba(0, 34, 90, .55); border: 1px solid rgba(160, 190, 255, .22);
  font-family: "Roboto Condensed", var(--font);
  animation: hbUp .8s calc(.35s + var(--i) * .08s) var(--ease) both;
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.hb-box:hover { transform: translateY(-5px); border-color: rgba(212, 115, 58, .75); background: rgba(0, 40, 105, .7); }
.hb-box img { width: auto; height: clamp(40px, 4.2vw, 62px); margin-bottom: clamp(6px, .7vw, 10px); transition: transform .4s var(--ease); }
.hb-box:hover img { transform: scale(1.08); }
.hb-box strong { font-weight: 600; font-size: clamp(13px, 1.12vw, 16.5px); line-height: 1.2; color: #fff; }
.hb-box strong span { color: #e07a3a; }
.hb-box small { margin-top: 8px; font-weight: 400; font-size: clamp(11.5px, .92vw, 13.5px); line-height: 1.3; color: #ccdaf8; }

.hb-visual { grid-column: 2; grid-row: 1; position: relative; animation: hbIn 1.1s .2s var(--ease) both; }
.hb-caisse { width: 100%; height: auto; animation: hbFloat 7s 3.1s ease-in-out infinite; }
.hb-seal { position: absolute; left: 58.45%; top: 1.03%; width: 36.55%; transform-origin: 50% 50%; filter: drop-shadow(0 0 18px rgba(255, 190, 90, .45)); animation: hbSealIn 1.1s 2s var(--ease), hbSealFloat 7s 3.1s ease-in-out infinite; }
@keyframes hbUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hbIn { from { opacity: 0; transform: translateX(60px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hbPop { from { opacity: 0; transform: scale(.6) rotate(-25deg); } to { opacity: 1; transform: none; } }
@keyframes hbPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
/* le sceau suit le flottement de la caisse */
/* Le sceau est aussi présent dans l'image de la caisse : le sceau animé ne descend jamais
   sous sa taille d'origine ni ne devient transparent, pour le recouvrir exactement. */
@keyframes hbSealIn {
  0%   { transform: scale(1); filter: drop-shadow(0 0 18px rgba(255, 190, 90, .45)); }
  45%  { transform: scale(1.14) rotate(-6deg); filter: drop-shadow(0 0 34px rgba(255, 200, 100, .95)) brightness(1.15); }
  100% { transform: scale(1); filter: drop-shadow(0 0 18px rgba(255, 190, 90, .45)); }
}
/* suit le flottement de la caisse (même durée, même amplitude) */
@keyframes hbSealFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px) scale(1.03); } }

.hb-bottom { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 0; margin-top: clamp(24px, 3vw, 40px); font-family: "Roboto Condensed", var(--font); animation: hbUp .9s .9s var(--ease) both; }
.hb-cta {
  display: inline-flex; align-items: center; gap: 16px; margin-right: clamp(24px, 5vw, 80px);
  padding: clamp(12px, 1.2vw, 18px) clamp(22px, 2.2vw, 34px); border-radius: 14px;
  border: 1.5px solid rgba(200, 215, 255, .38); background: rgba(3, 20, 62, .55);
  font-weight: 600; font-size: clamp(17px, 1.5vw, 22px); color: #fff; transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.hb-cta svg { width: 24px; height: 24px; transition: transform .3s var(--ease); }
.hb-cta:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.hb-cta:hover svg { transform: translateX(4px); }
.hb-trust { display: flex; align-items: center; gap: 12px; padding: 4px clamp(16px, 2.2vw, 34px); border-left: 1px solid rgba(200, 215, 255, .3); font-size: clamp(14px, 1.1vw, 16.5px); line-height: 1.2; color: #dfe8fb; }
.hb-trust:first-of-type { border-left: 0; padding-left: 0; }
.hb-trust img { height: clamp(36px, 3.2vw, 48px); width: auto; }
.hb-trust strong { display: block; font-weight: 700; font-size: clamp(16px, 1.3vw, 20px); color: #fff; }
.hb-trust strong.o { color: #e07a3a; }

@media (max-width: 1100px) {
  .hb-inner { grid-template-columns: 1fr; }
  .hb-visual { grid-column: 1; grid-row: 2; max-width: 440px; margin: 28px auto 0; width: 100%; }
  .hb-bottom { grid-row: 3; }
  .hb-boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hb-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-cta { width: 100%; justify-content: center; margin-right: 0; }
  .hb-trust, .hb-trust:first-of-type { border-left: 0; padding: 0; width: 100%; }
}

/* ---------- Zone 2 : Front Office, 4 box image ---------- */
.zone-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(24px, 3vw, 36px); }
.zone-logo { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.zone-head h2 { font-size: clamp(30px, 3.8vw, 48px); }
.zone-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.zone-head p { margin: 14px 0 20px; color: var(--muted); font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 15px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); color: var(--orange); }
.link-arrow:hover svg, .page-box:hover .link-arrow svg { transform: translateX(5px); }
.img-box-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.img-box { display: block; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; }
.img-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.img-box img { width: 100%; }

/* ---------- Zone 3 : box de redirection vers les pages ---------- */
.page-box-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.page-box { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.page-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.page-box-media { display: block; aspect-ratio: 16 / 10; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-box-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease); }
.page-box-media--cover img { object-fit: cover; object-position: 50% 45%; }
.page-box:hover .page-box-media img { transform: scale(1.04); }
.page-box-copy { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 26px; flex: 1; }
.page-box-copy strong { font-size: 22px; color: var(--navy); letter-spacing: -.02em; }
.page-box-copy > span:not(.link-arrow) { color: var(--muted); font-size: 15px; }
.page-box-copy .link-arrow { margin-top: auto; padding-top: 10px; }

/* ---------- Hero pages internes ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(32px, 4vw, 56px)) 0 clamp(36px, 4vw, 56px);
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(11, 67, 200, .5), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
}
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: end; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted-light); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: #fff; }
.page-index { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--orange); margin-top: 18px; }
.page-index small { font-family: var(--font); font-style: normal; font-size: 13px; color: var(--muted-light); letter-spacing: .1em; margin-left: 6px; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.035em; margin-top: 10px; }
.page-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.page-hero p.lead { color: #c4cfea; font-size: clamp(16px, 1.4vw, 19px); max-width: 560px; }
.page-hero-side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.page-hero-logo { background: #fff; border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-lg); width: 100%; max-width: min(460px, 100%); }

/* ---------- Chiffres clés ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(20px, 2.6vw, 32px) 24px; border-right: 1px solid var(--line); text-align: center; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.stat strong .plus { display: inline; margin: 0; font-size: inherit; color: var(--orange); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Mot du fondateur ---------- */
.founder { background: var(--paper); }
.founder-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4.5vw, 64px); align-items: start; margin-top: 20px; }
.founder-photo { position: sticky; top: calc(var(--header-h) + 32px); }
.founder-photo figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.founder-badge {
  position: absolute; right: -18px; bottom: 36px; background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg);
}
.founder-badge strong { display: block; font-size: 40px; line-height: 1; color: var(--orange); letter-spacing: -.03em; }
.founder-badge span { font-size: 13px; color: #c4cfea; }
.founder-copy h2 { font-size: clamp(30px, 3.6vw, 46px); }
.founder-quote {
  margin: 22px 0; padding: 0 0 0 26px; border-left: 3px solid var(--orange);
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--navy);
}
.founder-text p { color: #39435c; font-size: 16.5px; }
.founder-text p + p { margin-top: 16px; }
.founder-text mark { background: linear-gradient(transparent 58%, rgba(255, 101, 13, .2) 58%); color: var(--navy); font-weight: 600; }
.founder-sign { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.founder-sign .name { font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--navy); line-height: 1; }
.founder-sign .role { font-size: 14px; color: var(--muted); margin-top: 6px; }
.founder-mono { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 800; color: var(--navy); letter-spacing: .04em; }
.founder-bottom { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); }
.founder-bottom p { max-width: 640px; color: var(--navy); font-weight: 600; }

/* ---------- Presse (disposition d'origine : empilée) ---------- */
.press { background: var(--navy-950); color: #dfe6f7; overflow: hidden; }
.press-head { max-width: 880px; }
.press h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); margin-top: 18px; letter-spacing: -.035em; }
.press h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.press-intro { margin-top: 22px; color: #c4cfea; font-size: 17px; }
.press-intro strong { display: block; color: #fff; font-size: 20px; margin-bottom: 10px; line-height: 1.4; }
.press-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.press-meta span { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: #fff; border: 1px solid var(--line-dark); padding: 7px 14px; border-radius: 999px; }
.press-quote { margin: 26px 0 0; padding: 26px 30px; border-radius: var(--radius); border-left: 3px solid var(--orange); background: rgba(255, 255, 255, .04); font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: #fff; }
.press-quote small { display: block; margin-top: 10px; font-family: var(--font); font-style: normal; font-size: 13px; color: var(--muted-light); }
.press-spread { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(24px, 3vw, 36px); }
.press-page { margin: 0; padding: 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); cursor: zoom-in; transition: transform .5s var(--ease), border-color .3s; }
.press-page:hover { transform: translateY(-6px); border-color: rgba(255, 101, 13, .5); }
.press-page img { width: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); }
.press-page figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 6px 2px; font-size: 13px; color: var(--muted-light); }
.press-page figcaption strong { color: #fff; }
.press-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.press-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted-light); }
.press-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(28px, 3.5vw, 40px); }
.press-proof div { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); }
.press-proof b { display: block; color: #fff; font-size: 20px; }
.press-proof span { display: block; margin-top: 6px; color: var(--muted-light); font-size: 14.5px; }

/* ---------- Bandeau CTA ---------- */
.cta-band { padding: clamp(36px, 5vw, 64px) 0; }
.cta-box {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  background: radial-gradient(600px 300px at 100% 0%, rgba(255, 101, 13, .35), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-950));
  color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-box h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); }
.cta-box h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.cta-box p { margin-top: 12px; color: #c4cfea; max-width: 560px; }
.cta-box .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pagination entre pages ---------- */
.page-pager { border-top: 1px solid var(--line); background: var(--paper); }
.page-pager-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.pager-link { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: var(--radius); border: 1px solid transparent; transition: border-color .3s, background .3s; max-width: 340px; }
.pager-link:hover { border-color: var(--line); background: var(--ivory); }
.pager-link small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.pager-link small svg { width: 16px; height: 16px; color: var(--orange); }
.pager-link strong { font-size: 19px; color: var(--navy); }
.pager-link--next { justify-self: end; text-align: right; align-items: flex-end; }
.pager-link--prev { justify-self: start; }
.pager-link.is-empty { visibility: hidden; }
.pager-dots { display: flex; gap: 6px; }
.pager-dots a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); transition: all .25s;
}
.pager-dots a:hover { color: var(--navy); border-color: var(--navy); }
.pager-dots a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Pagination interne (listes) ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pagination button {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  color: var(--navy); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .25s;
}
.pagination button:hover:not(:disabled) { border-color: var(--navy); }
.pagination button[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination button:disabled { opacity: .35; cursor: default; }
.pagination button svg { width: 16px; height: 16px; }

/* ---------- Onglets ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; }
.tabs button {
  border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px; transition: background .3s, color .3s;
}
.tabs button span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; color: var(--orange); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Galerie (Front Office / Apps) ---------- */
.showcase-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.showcase-tab {
  text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); position: relative; overflow: hidden;
}
.showcase-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--orange); transition: width .5s var(--ease); }
.showcase-tab span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--orange); line-height: 1; }
.showcase-tab strong { font-size: 15.5px; color: var(--navy); line-height: 1.3; }
.showcase-tab small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.showcase-tab:hover { transform: translateY(-2px); }
.showcase-tab[aria-selected="true"] { border-color: var(--navy); box-shadow: var(--shadow); }
.showcase-tab[aria-selected="true"]::after { width: 100%; }
.showcase-stage { position: relative; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(8px, 1.2vw, 14px); }
.showcase-slide { margin: 0; }
.showcase-slide[hidden] { display: none; }
.showcase-slide img { width: 100%; border-radius: calc(var(--radius-lg) - 10px); cursor: zoom-in; animation: fadeUp .6s var(--ease); }

/* ---------- Tuiles fonctionnalités ---------- */
.feature-panel-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin: 26px 0 18px; }
.feature-panel-head h3 { font-size: clamp(24px, 2.4vw, 30px); }
.feature-panel-head p { color: var(--muted); margin-top: 6px; }
.count-pill { font-size: 13px; font-weight: 700; color: var(--orange); background: var(--orange-50); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; animation: fadeUp .5s var(--ease) both;
}
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-tile .n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--orange); line-height: 1; }
.feature-tile h4 { font-size: 17px; margin-top: 18px; }
.feature-tile p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Back Office : modules ---------- */
.bo-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: clamp(32px, 4vw, 48px); }
.bo-proof div { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.bo-proof strong { display: block; color: var(--navy); font-size: 17px; }
.bo-proof span { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.bo-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.bo-index { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.bo-index button {
  border: 0; background: transparent; text-align: left; padding: 12px 14px; border-radius: 12px;
  display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: center;
  font-size: 14.5px; font-weight: 600; color: var(--muted); line-height: 1.3; transition: background .25s, color .25s;
}
.bo-index button span { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--orange); }
.bo-index button:hover { background: var(--ivory); color: var(--navy); }
.bo-index button[aria-selected="true"] { background: var(--navy); color: #fff; }
.bo-module { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-sm); }
.bo-module[hidden] { display: none; }
.bo-module-head { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.bo-module-num { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: .8; color: var(--orange); }
.bo-module-head h3 { font-size: clamp(24px, 2.6vw, 32px); }
.bo-module-head p { margin-top: 8px; color: var(--muted); }
.bo-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 26px; list-style: none; padding: 0; }
.bo-chips li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--ivory); font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.3; animation: fadeUp .5s var(--ease) both; }
.bo-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
.bo-highlight { margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); background: var(--navy); color: #c4cfea; font-size: 15px; }
.bo-highlight p + p { margin-top: 8px; }
.bo-highlight b { color: #fff; letter-spacing: .04em; }
.bo-module-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.bo-module-foot .pagination { margin: 0; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; }
.flow span { padding: 12px 20px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); color: #fff; font-weight: 600; font-size: 15px; }
.flow i { color: var(--orange); font-style: normal; }

/* ---------- Matériel ---------- */
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.product-card { grid-column: span 2; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 3; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--ivory); cursor: zoom-in; }
.product-card:nth-child(4) .product-media, .product-card:nth-child(5) .product-media { aspect-ratio: 4 / 3; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-copy { padding: 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-copy .idx { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.product-copy h3 { font-size: 22px; }
.product-copy .tagline { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--navy); line-height: 1.3; }
.product-copy p { color: var(--muted); font-size: 15px; }
.soon { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f5b400; }
.acc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.acc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; display: flex; flex-direction: column; }
.acc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.acc-card .product-media { aspect-ratio: 4 / 5; }
.acc-card .product-copy { padding: 20px; }
.acc-card h3 { font-size: 18px; }
.note { margin-top: 24px; padding: 22px 26px; border-radius: var(--radius); background: var(--paper); border: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.note strong { color: var(--navy); }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.about-copy p { color: #39435c; font-size: 17px; }
.about-copy p + p { margin-top: 16px; }
.about-copy strong, .about-copy b { color: var(--navy); }
.about-lead { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 30px); color: var(--navy); line-height: 1.3; margin-bottom: 26px; }
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.partner { padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.partner small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.partner strong { display: block; font-size: 19px; color: var(--navy); margin-top: 8px; }
.partner p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.timeline div { padding: 28px 24px 0 0; position: relative; }
.timeline div::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--orange-50); }
.timeline strong { display: block; font-size: clamp(36px, 4vw, 52px); color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.timeline span { display: block; margin-top: 10px; color: var(--muted); }
.closing { margin-top: clamp(28px, 4vw, 44px); text-align: center; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.3; }
.closing em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.nacef-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.nacef-seal { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.nacef-points { display: grid; gap: 14px; margin: 28px 0 32px; padding: 0; list-style: none; }
.nacef-points li { display: flex; gap: 14px; align-items: flex-start; color: #c4cfea; }
.nacef-points li svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 2px; }
.nacef-points li strong { color: #fff; }
.actions-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-benefits { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.contact-benefits li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); }
.contact-benefits li svg { width: 22px; height: 22px; color: var(--orange); }
.contact-info { display: grid; gap: 14px; margin-top: 28px; }
.contact-info a, .contact-info div { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: border-color .3s; }
.contact-info a:hover { border-color: var(--navy); }
.contact-info i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); flex: none; }
.contact-info i svg { width: 20px; height: 20px; }
.contact-info small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-info strong { color: var(--navy); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(24px, 2.4vw, 30px); }
.form-card > p { color: var(--muted); margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); width: 100%;
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--ivory);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(7, 28, 85, .08); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot p { font-size: 12.5px; color: var(--muted); max-width: 340px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); color: var(--muted-light); padding: clamp(40px, 5vw, 60px) 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* ---------- Retour en haut ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(255, 101, 13, .7);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4, 11, 38, .92); display: none; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.lightbox.is-open { display: flex; animation: fadeIn .3s; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .08); color: #fff; font-size: 24px; line-height: 1; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Évite les débordements horizontaux dans les grilles */
.zone-head > *, .page-hero-grid > *, .founder-grid > *, .about-grid > *, .nacef-grid > *, .contact-grid > *, .bo-layout > * { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 9px; font-size: 14px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 32px;
    background: var(--navy-950); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 18px 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); font-size: 19px; color: #fff; }
  .main-nav a[aria-current="page"] { color: var(--orange); }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav .header-cta-mobile { display: inline-flex; }
  .main-nav .btn { margin-top: 24px; border-bottom: 0; justify-content: center; font-size: 16px; color: #fff; }
  .nav-open { overflow: hidden; }

}
@media (max-width: 1024px) {
  .zone-head, .page-hero-grid, .founder-grid, .about-grid, .nacef-grid, .contact-grid { grid-template-columns: 1fr; }
  .page-box-grid { grid-template-columns: 1fr 1fr; }
  .founder-photo { position: relative; top: 0; max-width: 460px; }
  .bo-layout { grid-template-columns: 1fr; }
  .bo-index { position: relative; top: 0; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .bo-index button { flex: none; grid-template-columns: auto auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 1; }
  .product-card:nth-child(4) .product-media, .product-card:nth-child(5) .product-media { aspect-ratio: 1 / 1; }
  .acc-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-tabs { grid-template-columns: repeat(2, 1fr); }
  .bo-proof { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .brand img { height: 34px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .img-box-grid, .page-box-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-tile { padding: 18px; }
  .press-spread, .press-proof, .timeline { grid-template-columns: 1fr; }
  .timeline div { padding-bottom: 20px; }
  .partners { grid-template-columns: 1fr; }
  .product-grid, .acc-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .founder-badge { right: 12px; }
  .page-pager-inner { grid-template-columns: 1fr 1fr; }
  .pager-dots { grid-column: 1 / -1; grid-row: 1; justify-content: center; flex-wrap: wrap; }
  .pager-link { padding: 12px; }
  .pager-link strong { font-size: 16px; }
  .tabs { border-radius: var(--radius); width: 100%; }
  .tabs button { flex: 1 1 auto; justify-content: center; }
  .bo-module-head { flex-direction: column; gap: 10px; }
  .bo-module-num { font-size: 48px; }
  .bo-module-foot .pagination { justify-content: center; }
  .bo-module-foot .pagination button { min-width: 36px; height: 36px; padding: 0 8px; }
}

@media (max-width: 460px) {
  .feature-grid, .showcase-tabs, .bo-proof { grid-template-columns: 1fr; }
}

/* ---------- Titres : même police que l'accueil (Inter ExtraBold), y compris la partie orange ---------- */
h1, h2 { font-family: "Inter", var(--font); letter-spacing: -.03em; }
.section-head h2 em, .page-hero h1 em, .press h2 em, .cta-box h2 em, .zone-head h2 em, .closing em, h2 em.serif {
  font-family: "Inter", var(--font); font-style: normal; font-weight: 800; letter-spacing: -.03em;
}

/* ---------- Menu des catégories de fonctionnalités centré ---------- */
.tabs { margin-left: auto; margin-right: auto; }
.feature-panel-head { text-align: left; }

/* ---------- À propos : cercle ZAI avec les box autour ---------- */
.about-grid { align-items: center; }
.about-copy .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.about-copy .partner { padding: 16px; }
.about-copy .partner strong { font-size: 16px; }
.about-copy .partner p { font-size: 13px; }

.orbit { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin: 0 auto; }
.orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed rgba(7, 28, 85, .18); translate: -50% -50%; animation: orbitSpin 60s linear infinite; }
.orbit-ring--a { width: 80%; height: 80%; }
.orbit-ring--b { width: 56%; height: 56%; border-color: rgba(255, 101, 13, .35); animation-duration: 40s; animation-direction: reverse; }
.orbit-ring::before { content: ""; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 101, 13, .15); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.orbit-core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 40%; aspect-ratio: 1 / 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, #1b3b8f, var(--navy) 55%, var(--navy-950));
  box-shadow: 0 0 0 12px rgba(7, 28, 85, .06), 0 0 0 24px rgba(7, 28, 85, .03), var(--shadow-lg);
}
.zai-mark { font-family: "Inter", var(--font); font-weight: 900; font-size: clamp(42px, 5vw, 70px); line-height: .8; letter-spacing: -.1em; margin-left: -.1em; }
.zai-mark .a { position: relative; }
.zai-mark .a::after { content: ""; position: absolute; width: .19em; height: .19em; border-radius: 2px; background: var(--orange); right: .1em; top: -.08em; transform: skew(-18deg); }
.zai-line { width: 28%; height: 2px; background: var(--orange); margin: 12px 0 8px; }
.zai-title { font-size: clamp(10px, 1vw, 13px); font-weight: 900; letter-spacing: .32em; margin-left: .32em; }
.zai-sub { font-size: clamp(9px, .85vw, 11px); color: var(--muted-light); margin-top: 8px; max-width: 72%; line-height: 1.3; }

.orbit-node {
  position: absolute; width: 27%; padding: 12px 10px; border-radius: 14px; text-align: center;
  background: var(--navy); color: #fff; border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow);
  animation: nodeFloat 6s calc(var(--i) * -1s) ease-in-out infinite; transition: background .3s;
}
.orbit-node:hover { background: var(--orange); }
.orbit-node strong { display: block; font-family: "Inter", var(--font); font-weight: 800; font-size: clamp(12px, 1.15vw, 15.5px); line-height: 1.15; }
.orbit-node small { display: block; margin-top: 4px; font-size: clamp(10px, .85vw, 11.5px); color: var(--muted-light); }
.orbit-node:hover small { color: #fff; }
@keyframes nodeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* 6 box en hexagone autour du cercle, sans chevauchement */
.node-pie   { left: 50%; top: 0;  translate: -50% 0; }
.node-leo   { right: 0; top: 21%; }
.node-dylog { right: 0; bottom: 21%; }
.node-zen   { left: 50%; bottom: 0; translate: -50% 0; }
.node-zero  { left: 0; bottom: 21%; }
.node-lineo { left: 0; top: 21%; }

@media (max-width: 1024px) {
  .orbit { max-width: 480px; margin-top: 24px; }
}
@media (max-width: 560px) {
  .about-copy .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orbit-node { width: 31%; padding: 8px 6px; border-radius: 10px; }
}


/* ---------- Logos détourés dans le hero des pages ---------- */
.page-hero-logo--cut { background: none; padding: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); animation: hbFloat 7s ease-in-out infinite; }


/* ---------- Photos : affichage complet, sans recadrage ---------- */
/* Matériel : visuels carrés affichés en entier ; cartes 4 et 5 en format horizontal (image à gauche) */
.product-media { background: #fff; }
.product-card .product-media img { object-fit: contain; }
.product-card:nth-child(4), .product-card:nth-child(5) { flex-direction: row; align-items: stretch; }
.product-card:nth-child(4) .product-media, .product-card:nth-child(5) .product-media { aspect-ratio: 1 / 1; width: 52%; flex: none; }
.product-card:nth-child(4) .product-copy, .product-card:nth-child(5) .product-copy { justify-content: center; }
/* Accessoires : visuel complet (texte intégré à l'image visible) */
.acc-card .product-media { aspect-ratio: 1170 / 1450; }
.acc-card .product-media img { object-fit: contain; }
/* Presse : pages moins hautes sur grand écran */
.press-spread { max-width: 920px; margin-left: auto; margin-right: auto; }
/* Accueil : photos des box légèrement plus vivantes au survol */
.img-box img, .page-box-media img { transition: transform 1s var(--ease), filter .6s; }
.img-box:hover img { transform: scale(1.02); }
@media (max-width: 1024px) {
  .product-card:nth-child(4), .product-card:nth-child(5) { flex-direction: column; }
  .product-card:nth-child(4) .product-media, .product-card:nth-child(5) .product-media { width: 100%; }
}

/* À propos : caisse détourée + sceau NACEF, comme le hero de l'accueil */
.nacef-visual { grid-column: auto; grid-row: auto; max-width: 500px; width: 100%; margin: 0 auto; animation: none; }
.nacef-visual::before { content: ""; position: absolute; inset: 12% 5% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(11, 67, 200, .45), transparent 65%); z-index: -1; }
.nacef-grid { isolation: isolate; }

/* ---------- Tablette / portable ---------- */
@media (max-width: 1180px) and (min-width: 900px) {
  .header-cta { display: none; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 10px 11px; font-size: 14px; }
}
/* Bannière d'accueil : caisse à côté des box jusqu'à 900px, box sur 3 colonnes */
@media (max-width: 1240px) {
  .hb-boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) and (min-width: 900px) {
  .hb-inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .hb-visual { grid-column: 2; grid-row: 1; max-width: none; margin: 0; }
  .hb-bottom { grid-row: 2; }
}
@media (max-width: 899px) {
  .hb-visual { max-width: 360px; margin-top: 20px; }
  .hb-bottom { gap: 14px 0; }
  .hb-cta { margin-right: 24px; }
}
@media (max-width: 899px) and (min-width: 561px) {
  .hb-trust { padding: 4px 14px; }
}
/* Menu mobile : panneau plein écran lisible, liens bien espacés */
@media (max-width: 899px) {
  .main-nav a:last-of-type:not(.btn) { border-bottom: 0; }
  .main-nav .header-cta-mobile { margin-top: 28px; min-height: 54px; border-radius: 999px; }
}
/* Le flou de l'en-tête crée un cadre pour les éléments fixes : le panneau du menu prend donc une hauteur explicite */
@media (max-width: 899px) {
  .main-nav { bottom: auto; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); }
  .hb-visual { max-width: 320px; }
}
@media (max-width: 560px) {
  .hb-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Téléphone / tablette portrait : titre, puis la caisse, puis les icônes */
@media (max-width: 899px) {
  .hb-copy { display: contents; }
  .hb h1 { grid-row: 1; }
  .hb-sub { grid-row: 2; }
  .hb-visual { grid-column: 1; grid-row: 3; margin: 22px auto 4px; }
  .hb-boxes { grid-row: 4; margin-top: 22px; }
  .hb-bottom { grid-row: 5; }
}

/* ==========================================================================
   Améliorations UX
   ========================================================================== */
/* Titres des pages intérieures : moins de retours à la ligne, colonne de titre plus large */
.page-hero-grid { grid-template-columns: 1.3fr .7fr; align-items: center; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 58px); }
.page-hero-side { gap: 18px; }

/* Numéros et petites accroches : même police que les titres (cohérence) */
.page-index, .feature-tile .n, .bo-index button span, .bo-module-num, .tabs button span, .showcase-tab span, .eco-num {
  font-family: "Inter", var(--font); font-style: normal; font-weight: 800; letter-spacing: -.02em;
}
.feature-tile .n { font-size: 15px; }
.tabs button span, .bo-index button span { font-size: 13px; }
.page-index { font-size: 15px; }
.about-lead { font-family: "Inter", var(--font); font-style: normal; font-weight: 700; font-size: clamp(21px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.3; }

/* Images agrandissables : indication visuelle au survol */
[data-zoom] { position: relative; }
[data-zoom]::after {
  content: ""; position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(4, 11, 38, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
[data-zoom]:hover::after, [data-zoom]:focus-visible::after { opacity: 1; transform: none; }

/* Confirmation du formulaire */
.form-success { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #e8f7ee; color: #14532d; font-size: 14.5px; }
.form-success[hidden] { display: none; }
.form-success svg { width: 22px; height: 22px; flex: none; color: #15803d; }
.form-success a { font-weight: 700; text-decoration: underline; }

/* Barre d'actions rapides sur téléphone */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 95;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: 18px;
    background: rgba(4, 11, 38, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; font-weight: 700; font-size: 15px; color: #fff; background: rgba(255, 255, 255, .08); }
  .mobile-bar a.is-primary { background: var(--orange); }
  .mobile-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: 84px; }
  .to-top { bottom: 96px; width: 44px; height: 44px; }
  .nav-open .mobile-bar { display: none; }
}
@media (max-width: 1024px) { .page-hero-grid { grid-template-columns: 1fr; align-items: start; } }

/* ==========================================================================
   Accueil : défilement section par section
   ========================================================================== */


/* Contact : plan d'accès */
.map-card { margin: 14px 0 0; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-card iframe { display: block; width: 100%; height: 280px; border: 0; filter: saturate(.9); }
.map-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--navy); }
.map-card figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.map-card figcaption svg { width: 18px; height: 18px; color: var(--orange); }
.map-card figcaption a { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 700; white-space: nowrap; }
.map-card figcaption a svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .map-card iframe { height: 230px; } }

/* ==========================================================================
   Matériel : disposition des box d'origine
   (POS en grande box horizontale, puis 2 × 2 ; accessoires 4 par ligne)
   ========================================================================== */
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: auto; flex-direction: column; border-radius: 24px; }
.product-card .product-media, .product-card:nth-child(4) .product-media, .product-card:nth-child(5) .product-media { width: 100%; aspect-ratio: 1 / 1; }
.product-card .product-media img { object-fit: cover; }
.product-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr .95fr; }
.product-card:first-child .product-media { aspect-ratio: auto; height: 100%; min-height: 420px; }
.product-card:first-child .product-copy { justify-content: center; padding: clamp(28px, 4vw, 58px); }
.product-card:first-child h3 { font-size: clamp(26px, 2.6vw, 34px); }
.product-copy { padding: 26px 28px 30px; }
.product-copy .tagline { font-family: "Inter", var(--font); font-style: normal; font-weight: 800; font-size: 17px; color: var(--orange); margin-bottom: 4px; }
.product-copy p:not(.tagline) { margin-bottom: 12px; }
.soon {
  margin-top: auto; padding: 11px 17px; border-radius: 999px; background: var(--navy); color: #fff;
  font-size: 13.5px; font-weight: 700; opacity: .9;
}
.soon::before { background: #ffb27a; }

.acc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.acc-card { border-radius: 22px; }
.acc-card .product-media { aspect-ratio: auto; height: 250px; padding: 12px; background: #fff; }
.acc-card .product-media img { object-fit: contain; }
.acc-card .product-copy { padding: 20px; }
.acc-card h3 { font-size: 20px; }
.acc-card .soon { font-size: 12.5px; padding: 9px 14px; }
.note { text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }

@media (max-width: 1024px) {
  .acc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card:first-child { display: flex; }
  .product-card:first-child .product-media { aspect-ratio: 1 / 1; height: auto; min-height: 0; }
  .product-copy, .product-card:first-child .product-copy { padding: 22px; }
}
@media (max-width: 560px) {
  .acc-grid { grid-template-columns: 1fr; }
  .acc-card { display: grid; grid-template-columns: minmax(105px, 38%) 1fr; }
  .acc-card .product-media { height: 100%; min-height: 180px; padding: 8px; }
  .acc-card .product-copy { padding: 15px 13px; }
  .acc-card h3 { font-size: 18px; }
}
.product-copy .soon { align-self: flex-start; white-space: nowrap; }
.acc-card .soon { white-space: normal; }

/* ==========================================================================
   Performance
   ========================================================================== */
/* Lignes du bandeau : lueur légère (un seul effet par comète, aucun sur les tracés), pas de « respiration » */
.hb-streaks .ln { animation: hbDraw 2.8s calc(.3s + var(--i) * .15s) var(--ease) forwards; filter: none !important; opacity: .7; }
.hb-streaks .ln-b { opacity: .55; }
.hb-streaks .cm-o { filter: drop-shadow(0 0 5px #ff8a3d); }
.hb-streaks .cm-b { filter: drop-shadow(0 0 5px #9fc0ff); }
/* Animations en pause quand le bandeau n'est plus visible */
.hb.is-offscreen *, .hb.is-offscreen *::before, .hb.is-offscreen *::after { animation-play-state: paused !important; }
/* Isoler le rendu du bandeau du reste de la page */
.hb { contain: paint; }
.hb-caisse, .hb-seal { will-change: transform; }

/* ---------- Chiffres clés intégrés au bandeau d'accueil ---------- */
.hb-stats {
  grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(24px, 3vw, 36px); border-radius: 20px; overflow: hidden;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(200, 215, 255, .16);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: hbUp .9s 1.05s var(--ease) both;
}
.hb-stat { padding: clamp(16px, 2vw, 24px) 16px; text-align: center; border-right: 1px solid rgba(200, 215, 255, .14); }
.hb-stat:last-child { border-right: 0; }
.hb-stat strong { display: block; font-family: "Inter", var(--font); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -.04em; color: #fff; }
.hb-stat strong .plus { color: var(--orange); }
.hb-stat > span { display: block; margin-top: 8px; font-size: 14.5px; color: #c4cfea; }
@media (max-width: 1100px) { .hb-stats { grid-row: 4; } }
@media (max-width: 899px) { .hb-stats { grid-row: 6; } }
@media (max-width: 560px) {
  .hb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-stat:nth-child(2) { border-right: 0; }
  .hb-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(200, 215, 255, .14); }
}

/* ==========================================================================
   Accueil plein écran : chaque zone occupe exactement un écran (ordinateur)
   ========================================================================== */
.founder-sign-cta { display: none; }
@media (min-width: 900px) and (min-height: 620px) {
  /* Zone 1 : bandeau */
  .hb { min-height: 100vh; display: flex; align-items: center; }
  .hb-inner { width: 100%; padding-top: calc(var(--header-h) + 2.5vh); padding-bottom: 3vh; }
  .hb h1 { font-size: min(3.9vw, 6.6vh, 60px); }
  .hb-sub { margin-top: min(1.2vh, 16px); font-size: min(1.6vw, 2.6vh, 23px); }
  .hb-boxes { margin-top: min(3.2vh, 50px); }
  .hb-box { padding: min(1.4vh, 16px) 6px min(1.6vh, 18px); }
  .hb-box img { height: min(4.2vw, 6vh, 62px); margin-bottom: min(.8vh, 10px); }
  .hb-box strong { font-size: min(1.12vw, 1.9vh, 16.5px); }
  .hb-box small { margin-top: min(.6vh, 8px); font-size: min(.92vw, 1.55vh, 13.5px); }
  .hb-visual { justify-self: center; width: auto; }
  .hb-caisse { width: auto; max-width: 100%; max-height: 50vh; }
  .hb-bottom { margin-top: 3vh; }
  .hb-cta { padding: 1.4vh 26px; }
  .hb-trust img { height: min(3.2vw, 5vh); }
  .hb-stats { margin-top: 2.6vh; }
  .hb-stat { padding: 1.8vh 16px; }
  .hb-stat strong { font-size: min(3.4vw, 5.2vh); }
  .hb-stat > span { margin-top: .8vh; font-size: min(14.5px, 1.9vh); }

  /* Zones 2 à 5 : hauteur d'un écran sous l'en-tête, contenu centré */
  #ecosysteme, #mot-fondateur, #presse {
    min-height: calc(100vh - var(--header-h)); display: flex; align-items: center;
    padding-top: 4vh; padding-bottom: 4vh;
  }
  #ecosysteme > .wrap, #mot-fondateur > .wrap, #presse > .wrap { width: 100%; }


  /* Zone 3 : écosystème */
  #ecosysteme .section-head { margin-bottom: 4vh; }
  #ecosysteme .page-box-media { aspect-ratio: auto; height: min(30vh, 260px); }

  /* Zone 4 : mot du fondateur (texte sur 2 colonnes, bouton à côté de la signature) */
  #mot-fondateur .founder-grid { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); margin-top: 2vh; align-items: center; }
  #mot-fondateur .founder-photo { position: relative; top: 0; }
  #mot-fondateur .founder-photo figure { aspect-ratio: auto; height: min(68vh, 620px); }
  #mot-fondateur .founder-copy h2 { font-size: min(2.8vw, 4.4vh); }
  #mot-fondateur .founder-quote { margin: 2vh 0; font-size: min(2.2vw, 3.4vh); }
  #mot-fondateur .founder-text { columns: 2; column-gap: 32px; }
  #mot-fondateur .founder-text p { font-size: min(14.5px, 1.95vh); line-height: 1.55; break-inside: avoid-column; }
  #mot-fondateur .founder-text p + p { margin-top: 1.2vh; }
  #mot-fondateur .founder-sign { margin-top: 2.4vh; padding-top: 2vh; }
  #mot-fondateur .founder-sign-cta { display: inline-flex; margin-left: auto; }
  #mot-fondateur .founder-bottom { display: none; }
  #mot-fondateur > .wrap > .eyebrow { display: none; }
  #mot-fondateur .founder-copy::before { content: "Le mot du fondateur"; display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.4vh; }

  /* Zone 5 : presse (texte à gauche, pages à droite) */
  #presse .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); align-content: center; }
  #presse .wrap > * { grid-column: 1; }
  #presse .press-spread { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; max-width: none; }
  #presse .press-page img { max-height: calc(100vh - var(--header-h) - 18vh); width: auto; margin: 0 auto; }
  #presse .press-page { padding: 8px; }
  #presse .press-page figcaption { padding: 8px 4px 0; font-size: 12px; }
  #presse h2 { font-size: min(4vw, 6vh); margin-top: 1.4vh; }
  #presse .press-intro { margin-top: 1.6vh; font-size: min(16px, 2.1vh); }
  #presse .press-intro strong { font-size: min(18px, 2.4vh); margin-bottom: .8vh; }
  #presse .press-meta { margin-top: 1.6vh; }
  #presse .press-quote { margin-top: 2vh; padding: 1.8vh 22px; font-size: min(2vw, 3.2vh); }
  #presse .press-actions { justify-content: flex-start; margin-top: 2vh; }
  #presse .press-note { text-align: left; margin-top: 1.2vh; font-size: 12px; }
  #presse .press-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 2vh; }
  #presse .press-proof div { padding: 1.4vh 14px; }
  #presse .press-proof b { font-size: 16px; }
  #presse .press-proof span { font-size: 12.5px; }
}
@media (min-width: 900px) and (min-height: 620px) {
  #presse .press-spread { gap: 14px; }
  #presse .press-page img { max-height: calc(100vh - var(--header-h) - 14vh); width: 100%; height: auto; object-fit: contain; }
  #presse .press-page figcaption span { display: none; }
  #presse .press-proof span { display: none; }
  #presse .press-proof b { font-size: 15px; }
  #presse .press-proof div::after { content: attr(data-short); display: block; margin-top: 2px; font-size: 12px; color: var(--muted-light); }
  #presse .press-note { display: none; }
}

/* Téléphone : les 3 garanties alignées sur une ligne (icône au-dessus, texte centré) */
@media (max-width: 560px) {
  .hb-bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; align-items: stretch; }
  .hb-bottom .hb-cta { grid-column: 1 / -1; }
  .hb-trust, .hb-trust:first-of-type {
    width: auto; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;
    gap: 6px; padding: 12px 4px; border: 1px solid rgba(200, 215, 255, .16); border-radius: 14px; background: rgba(255, 255, 255, .04);
  }
  .hb-trust img { height: 34px; width: 34px; object-fit: contain; }
  .hb-trust { font-size: 12.5px; }
  .hb-trust strong { font-size: 15px; }
  .hb-trust span { display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
}


/* ---------- Accueil : navigation latérale, couleurs inverses du fond de la section ---------- */
.section-dots {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 80;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 999px;
  background: var(--navy); color: #fff; box-shadow: 0 10px 30px -10px rgba(4, 11, 38, .5);
  transition: background .4s, color .4s;
}
.section-dots.is-light { background: var(--ivory); color: var(--navy); }
.section-dots button { border: 0; background: none; padding: 0; color: inherit; }
.sd-arrow { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; transition: background .25s, color .25s, opacity .25s; }
.sd-arrow svg { width: 18px; height: 18px; }
.sd-arrow:hover:not(:disabled) { background: var(--orange); color: #fff; }
.sd-arrow:disabled { opacity: .3; cursor: default; }
.sd-dot { position: relative; width: 12px; height: 12px; display: grid; place-items: center; }
.sd-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .45; transition: all .3s var(--ease); }
.sd-dot:hover::before { opacity: .9; }
.sd-dot[aria-current] { height: 24px; }
.sd-dot[aria-current]::before { width: 10px; height: 22px; border-radius: 6px; background: var(--orange); opacity: 1; }
.sd-dot span {
  position: absolute; right: 26px; top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: inherit; font-size: 12.5px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.section-dots .sd-dot span { background: var(--navy); color: #fff; }
.section-dots.is-light .sd-dot span { background: var(--ivory); color: var(--navy); box-shadow: var(--shadow-sm); }
.sd-dot:hover span, .sd-dot:focus-visible span { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 899px) { .section-dots { display: none; } }
/* navigation latérale translucide (effet verre) */
.section-dots { background: rgba(7, 28, 85, .55); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 10px 30px -14px rgba(4, 11, 38, .45); }
.section-dots.is-light { background: rgba(247, 245, 240, .55); border-color: rgba(255, 255, 255, .35); }
.section-dots .sd-dot span { background: rgba(7, 28, 85, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.section-dots.is-light .sd-dot span { background: rgba(247, 245, 240, .85); }
/* Compteurs : chiffres à largeur fixe, aucun décalage pendant l'animation */
[data-count] { font-variant-numeric: tabular-nums; }
.count-num { display: inline-block; min-width: calc(var(--digits, 4) * .62em); text-align: left; }
.hb-stat strong { white-space: nowrap; }
/* titre des pages intérieures sans fil d'Ariane : marge haute du titre supprimée */
.page-hero h1 { margin-top: 0; }
/* Texte d'introduction sous le titre des pages, en petite taille */
.page-hero p.lead { margin-top: 14px; max-width: 520px; font-size: 15px; line-height: 1.6; color: #b9c6e4; }
.page-hero-side { align-items: center; justify-content: center; }
.page-hero-side:empty { display: none; }

/* ==========================================================================
   Pages intérieures (hors accueil) : espaces resserrés
   ========================================================================== */
body:not(.page-index) .page-hero { padding: calc(var(--header-h) + clamp(22px, 2.6vw, 36px)) 0 clamp(24px, 2.8vw, 36px); }
body:not(.page-index) .section { padding: clamp(28px, 3.4vw, 48px) 0; }
body:not(.page-index) .section + .section { padding-top: clamp(24px, 3vw, 40px); }
body:not(.page-index) .section-head { margin-bottom: clamp(18px, 2.2vw, 28px); }
body:not(.page-index) .section-head h2 { margin-top: 8px; font-size: clamp(26px, 3.2vw, 40px); }
body:not(.page-index) .section-head p { margin-top: 8px; }
body:not(.page-index) .cta-band { padding: clamp(20px, 2.6vw, 36px) 0; }
body:not(.page-index) .cta-box { padding: clamp(22px, 3vw, 36px) clamp(24px, 3.4vw, 44px); }
body:not(.page-index) .img-box-grid, body:not(.page-index) .product-grid { gap: 16px; }
body:not(.page-index) .acc-grid { gap: 14px; }
body:not(.page-index) .bo-proof { margin-bottom: clamp(20px, 2.6vw, 32px); gap: 12px; }
body:not(.page-index) .feature-panel-head { margin: 18px 0 14px; }
body:not(.page-index) .feature-grid { gap: 12px; }
body:not(.page-index) .pagination { margin-top: 20px; }
body:not(.page-index) .timeline { margin-top: clamp(22px, 2.6vw, 32px); }
body:not(.page-index) .timeline div { padding-top: 20px; }
body:not(.page-index) .closing { margin-top: clamp(20px, 2.6vw, 30px); }
body:not(.page-index) .about-copy .partners { margin-top: 20px; }
body:not(.page-index) .note { margin-top: 16px; }
body:not(.page-index) .contact-benefits { margin: 18px 0; }
body:not(.page-index) .contact-info { margin-top: 18px; gap: 10px; }
body:not(.page-index) .form-grid { margin-top: 20px; gap: 12px; }
body:not(.page-index) .page-pager-inner { padding-top: 14px; padding-bottom: 14px; }
