/* ==========================================================================
   METAFY.SOLUTIONS — Design System
   Charte : Bleu Marine #0C3246 / Vineyard Autumn #E64860
   Typographies : Sora (titres) / Inter (corps)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Couleurs de marque */
  --marine: #0C3246;
  --marine-900: #082433;
  --marine-800: #0A2B3D;
  --marine-700: #10405B;
  --marine-600: #16537A;
  --marine-100: #D9E4EC;
  --marine-50: #EDF3F7;

  --corail: #E64860;
  --corail-600: #D53B52;   /* boutons (contraste AA) */
  --corail-700: #B92F45;
  --corail-100: #FBD3DA;
  --corail-50: #FDECEF;

  /* Accents solutions */
  --rayone: #2563EB;
  --rayone-50: #EAF1FE;
  --rhp: #1F9E77;
  --rhp-50: #E7F6F1;
  --liyas: #F58B00;
  --liyas-600: #D97706;
  --liyas-50: #FEF3E2;
  --fiscalink: #0EA5A5;
  --fiscalink-50: #E4F7F7;

  /* Neutres */
  --ink: #122B39;
  --body: #3D4F5C;
  --muted: #5D7080;
  --line: #E2EAF1;
  --bg: #F6F9FC;
  --white: #FFFFFF;

  /* Sémantique */
  --success: #15803D;
  --warning: #B45309;
  --error: #B91C1C;

  /* Typo */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Rayons */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Ombres */
  --sh-sm: 0 1px 2px rgba(12, 50, 70, .06), 0 2px 8px rgba(12, 50, 70, .05);
  --sh-md: 0 2px 6px rgba(12, 50, 70, .06), 0 12px 28px rgba(12, 50, 70, .09);
  --sh-lg: 0 8px 16px rgba(12, 50, 70, .08), 0 24px 56px rgba(12, 50, 70, .14);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 118px);

  --ease: cubic-bezier(.22, .68, .31, .98);
  --header-h: 76px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--marine-600); text-decoration: none; }
a:hover { color: var(--marine-700); }
ul[class], ol[class] { list-style: none; padding: 0; }
strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--corail); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(230, 72, 96, .55);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--marine);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 10px; color: #fff; }

/* ---------- 3. Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.08rem; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.6; }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 880px; }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(44px, 6vw, 72px); }
.section-alt { background: var(--bg); }
.section-marine {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(230, 72, 96, .16), transparent 60%),
    radial-gradient(800px 420px at 8% 110%, rgba(22, 83, 122, .55), transparent 65%),
    var(--marine);
  color: #fff;
}
.section-marine h1, .section-marine h2, .section-marine h3, .section-marine h4 { color: #fff; }
.section-marine .lead, .section-marine p { color: #C9D8E2; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--corail-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--corail);
  border-radius: 2px;
}
.section-head.center .eyebrow::after {
  content: "";
  width: 26px; height: 2px;
  background: var(--corail);
  border-radius: 2px;
}
.section-marine .eyebrow { color: var(--corail-100); }
.section-head p { margin-top: 14px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 5. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--corail-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(213, 59, 82, .32);
}
.btn-primary:hover {
  background: var(--corail-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(213, 59, 82, .4);
}
.btn-secondary {
  background: var(--marine);
  color: #fff;
  box-shadow: 0 8px 20px rgba(12, 50, 70, .25);
}
.btn-secondary:hover { background: var(--marine-700); color: #fff; transform: translateY(-2px); }
.btn-outline {
  border-color: var(--marine-100);
  color: var(--marine);
  background: var(--white);
}
.btn-outline:hover { border-color: var(--marine); background: var(--marine-50); color: var(--marine); }
.btn-light { background: #fff; color: var(--marine); }
.btn-light:hover { background: var(--marine-50); color: var(--marine-800); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-sm { padding: 11px 18px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .98rem;
  color: var(--corail-600);
}
.link-arrow svg { transition: transform .18s var(--ease); }
.link-arrow:hover { color: var(--corail-700); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(12, 50, 70, .08); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }

.main-nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
  border-radius: 10px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--corail-600); background: var(--corail-50); }
.nav-link.active { color: var(--corail-600); }
.nav-link .chevron { transition: transform .2s var(--ease); }

/* Mega menu */
.has-mega { position: relative; }
.has-mega:hover .chevron, .has-mega:focus-within .chevron { transform: rotate(180deg); }
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(620px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  overflow: hidden;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega-inner { padding: 22px; }
.mega-title {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px;
  border-radius: var(--r-md);
  transition: background .15s;
}
.mega-item:hover { background: var(--bg); }
.mega-item strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
.mega-item small { display: block; font-size: .85rem; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.mega-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
}
.mega-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 42px;
}
.mega-logo img { height: 30px; width: auto; }
.mi-rayone { background: var(--rayone-50); color: var(--rayone); }
.mi-rhp { background: var(--rhp-50); color: var(--rhp); }
.mi-liyas { background: var(--liyas-50); color: var(--liyas-600); }
.mi-fiscalink { background: var(--fiscalink-50); color: var(--fiscalink); }
.mega-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.mega-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--marine);
}
.mega-all:hover { color: var(--corail-600); }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--marine);
}
.header-phone:hover { color: var(--corail-600); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 10px;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: #fff;
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-nav-list > li { border-bottom: 1px solid var(--line); }
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.mobile-sub { display: none; padding: 0 0 12px 14px; }
.mobile-sub.open { display: block; }
.mobile-sub a {
  display: block;
  padding: 11px 4px;
  font-weight: 500;
  color: var(--body);
}
.mobile-sub a:hover { color: var(--corail-600); }
.mobile-menu-footer { padding-top: 26px; display: grid; gap: 14px; }
.mobile-phone { text-align: center; font-weight: 600; color: var(--marine); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(230, 72, 96, .22), transparent 62%),
    radial-gradient(900px 480px at 4% 116%, rgba(22, 83, 122, .6), transparent 62%),
    linear-gradient(160deg, var(--marine-800) 0%, var(--marine) 55%, var(--marine-900) 100%);
  color: #fff;
  padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  font-size: .85rem;
  font-weight: 600;
  color: #EAF2F8;
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--corail); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--corail); position: relative; white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 12px; color: var(--corail); opacity: .8; }
.hero .lead { color: #C6D6E1; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .92rem;
  color: #AFC6D4;
}
.hero-proof strong { color: #fff; font-family: var(--font-head); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--corail); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--marine-800);
}
.hero-visual .frame img, .hero-visual .frame svg { width: 100%; height: auto; }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .97);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--sh-lg);
  font-size: .86rem;
  font-weight: 600;
  animation: float 5.5s ease-in-out infinite;
}
.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.float-1 { top: 8%; left: -26px; animation-delay: .4s; }
.float-2 { bottom: 10%; right: -18px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Fil d'Ariane */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: #AFC6D4;
  margin-bottom: 20px;
}
.breadcrumb a { color: #D7E4EC; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* Hero produit (pages solutions) */
.hero-product { padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 90px); }
.hero-product-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.hero-logo-chip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 11px 20px;
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}
.hero-logo-chip img { height: 40px; width: auto; }
/* Visuel produit en fond du hero */
.hero-visual-bg {
  position: relative;
}
.hero-visual-bg img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .5);
  transform: perspective(1300px) rotateY(-9deg) rotateX(2deg);
  transform-origin: center right;
}
.hero-visual-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(230, 72, 96, .18), transparent 70%);
  filter: blur(28px);
  z-index: -1;
}
.hero-visual-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  pointer-events: none;
}
.hero-visual-note {
  position: absolute;
  left: 18px;
  bottom: -14px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .96);
  color: var(--marine);
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}
@media (max-width: 920px) {
  .hero-product-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-product-grid > * { min-width: 0; }
  .hero-visual-bg { max-width: 560px; }
  .hero-visual-bg img { transform: none; }
}
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: 9px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.pb-rayone { background: rgba(37, 99, 235, .16); color: #9DBCFF; border: 1px solid rgba(37, 99, 235, .4); }
.pb-rhp { background: rgba(31, 158, 119, .16); color: #7FDDC3; border: 1px solid rgba(31, 158, 119, .4); }
.pb-liyas { background: rgba(245, 139, 0, .16); color: #FFC069; border: 1px solid rgba(245, 139, 0, .42); }
.pb-fiscalink { background: rgba(14, 165, 165, .16); color: #6FDFDF; border: 1px solid rgba(14, 165, 165, .4); }

/* ---------- 8. Cartes ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--marine-100); }

/* Cartes solutions */
.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
}
.solution-card .sc-top {
  padding: 26px 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.solution-card .sc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  min-height: 34px;
}
.solution-card .sc-logo img { height: 32px; width: auto; }
.solution-card .sc-logo .mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  color: #fff;
  font-size: .95rem;
}
.sc-rayone .mark { background: var(--rayone); }
.sc-rhp .mark { background: var(--rhp); }
.sc-liyas .mark { background: var(--liyas); }
.sc-fiscalink .mark { background: var(--fiscalink); }
.solution-card .sc-tag {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 100px;
}
.sc-rayone .sc-tag { background: var(--rayone-50); color: var(--rayone); }
.sc-rhp .sc-tag { background: var(--rhp-50); color: var(--rhp); }
.sc-liyas .sc-tag { background: var(--liyas-50); color: var(--liyas-600); }
.sc-fiscalink .sc-tag { background: var(--fiscalink-50); color: var(--fiscalink); }
.solution-card .sc-body { padding: 16px 26px 22px; flex: 1; }
.solution-card .sc-body p { color: var(--body); font-size: .97rem; }
.solution-card .sc-list { margin-top: 14px; display: grid; gap: 8px; }
.solution-card .sc-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--body);
}
.solution-card .sc-list svg { flex-shrink: 0; margin-top: 3px; }
.sc-rayone .sc-list svg { color: var(--rayone); }
.sc-rhp .sc-list svg { color: var(--rhp); }
.sc-liyas .sc-list svg { color: var(--liyas-600); }
.sc-fiscalink .sc-list svg { color: var(--fiscalink); }
.solution-card .sc-foot {
  padding: 0 26px 24px;
  margin-top: auto;
}

/* Cartes fonctionnalités métier */
.feature-card { display: flex; flex-direction: column; gap: 13px; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--marine-50);
  color: var(--marine-600);
}
.accent-rayone .feature-icon { background: var(--rayone-50); color: var(--rayone); }
.accent-rhp .feature-icon { background: var(--rhp-50); color: var(--rhp); }
.accent-liyas .feature-icon { background: var(--liyas-50); color: var(--liyas-600); }
.accent-fiscalink .feature-icon { background: var(--fiscalink-50); color: var(--fiscalink); }
.feature-card h3, .feature-card h2 { font-size: 1.12rem; }
.feature-card p { font-size: .94rem; color: var(--body); }
.feature-card ul { display: grid; gap: 7px; margin-top: 2px; }
.feature-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: .88rem;
  color: var(--muted);
}
.feature-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--corail);
  opacity: .75;
}
.accent-rayone .feature-card ul li::before { background: var(--rayone); }
.accent-rhp .feature-card ul li::before { background: var(--rhp); }
.accent-liyas .feature-card ul li::before { background: var(--liyas); }
.accent-fiscalink .feature-card ul li::before { background: var(--fiscalink); }

/* ---------- 9. Problématique / valeur ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.split-reverse > :first-child { order: 2; }
.split-55-45 { grid-template-columns: 1.15fr .85fr; }
.split-45-55 { grid-template-columns: .9fr 1.1fr; }
.pain-list { display: grid; gap: 14px; margin-top: 26px; }
.pain-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--corail);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--sh-sm);
}
.pain-item svg { flex-shrink: 0; color: var(--corail-600); margin-top: 2px; }
.pain-item strong { display: block; font-size: .98rem; }
.pain-item span { font-size: .9rem; color: var(--muted); }

.check-list { display: grid; gap: 13px; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ck {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--rhp-50);
  color: var(--rhp);
  margin-top: 2px;
}
.check-list strong { display: block; color: var(--ink); }
.check-list span { font-size: .92rem; color: var(--muted); }

/* ---------- 10. Accordéons (couverture fonctionnelle) ---------- */
.coverage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.coverage-tab {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--body);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 10px 18px;
  transition: all .18s var(--ease);
}
.coverage-tab:hover { border-color: var(--marine-100); color: var(--marine); }
.coverage-tab[aria-selected="true"] {
  background: var(--marine);
  border-color: var(--marine);
  color: #fff;
  box-shadow: 0 6px 16px rgba(12, 50, 70, .22);
}
.coverage-panel { display: none; }
.coverage-panel.active { display: grid; animation: fadeUp .4s var(--ease); }
.coverage-intro {
  grid-column: 1 / -1;
  max-width: 880px;
  margin-bottom: 6px;
  padding: 18px 22px;
  background: var(--marine-50);
  border-left: 4px solid var(--marine-600);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .96rem;
  color: var(--body);
}
.coverage-intro strong { color: var(--marine-800); display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.accent-rayone .coverage-intro { background: var(--rayone-50); border-left-color: var(--rayone); }
.accent-rhp .coverage-intro { background: var(--rhp-50); border-left-color: var(--rhp); }
.accent-liyas .coverage-intro { background: var(--liyas-50); border-left-color: var(--liyas); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Fiches module détaillées (Simpl LIYAS) */
.module-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--sh-sm);
}
.module-detail .md-head {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.module-detail .md-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--liyas-50);
  color: var(--liyas-600);
}
.module-detail .md-head h3 { font-size: 1.18rem; margin-bottom: 5px; }
.module-detail .md-head p { font-size: .93rem; color: var(--muted); }
.module-detail .md-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.module-detail .md-col h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--marine-600);
  margin-bottom: 9px;
}
.module-detail .md-col ul { display: grid; gap: 7px; }
.module-detail .md-col li {
  position: relative;
  padding-left: 15px;
  font-size: .89rem;
  color: var(--body);
  line-height: 1.5;
}
.module-detail .md-col li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--liyas);
}
@media (max-width: 1080px) { .module-detail .md-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .module-detail .md-grid { grid-template-columns: 1fr; } }

.module-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.module-card:hover { border-color: var(--marine-100); box-shadow: var(--sh-md); transform: translateY(-3px); }
.module-card .mc-head { display: flex; align-items: center; gap: 12px; }
.module-card .mc-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--marine-50);
  color: var(--marine-600);
  flex-shrink: 0;
}
.module-card h3 { font-size: 1.08rem; }
.module-card > p { font-size: .92rem; color: var(--body); }
.module-card ul { display: grid; gap: 6px; margin-top: auto; }
.module-card ul li {
  position: relative;
  padding-left: 17px;
  font-size: .86rem;
  color: var(--muted);
}
.module-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--corail);
}
.accent-rayone .module-card .mc-icon { background: var(--rayone-50); color: var(--rayone); }
.accent-rayone .module-card ul li::before { background: var(--rayone); }
.accent-rhp .module-card .mc-icon { background: var(--rhp-50); color: var(--rhp); }
.accent-rhp .module-card ul li::before { background: var(--rhp); }
.accent-liyas .module-card .mc-icon { background: var(--liyas-50); color: var(--liyas-600); }
.accent-liyas .module-card ul li::before { background: var(--liyas); }
.accent-fiscalink .module-card .mc-icon { background: var(--fiscalink-50); color: var(--fiscalink); }
.accent-fiscalink .module-card ul li::before { background: var(--fiscalink); }

/* Accordéon simple (FAQ) */
.accordion { display: grid; gap: 12px; }
.accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.accordion-item.open { border-color: var(--marine-100); box-shadow: var(--sh-sm); }
.accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 19px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-align: left;
}
.accordion-btn .acc-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--marine-50);
  color: var(--marine);
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.accordion-item.open .acc-icon { transform: rotate(45deg); background: var(--corail-600); color: #fff; }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel > div { overflow: hidden; }
.accordion-panel p { padding: 0 22px 20px; font-size: .95rem; color: var(--body); }

/* ---------- 11. Steps (fonctionnement) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-center { max-width: 900px; margin-inline: auto; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 20px 22px;
  text-align: center;
  box-shadow: var(--sh-sm);
}
.step .step-n {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--marine);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}
.step h3, .step h2 { font-size: 1.02rem; margin-bottom: 7px; }
.step p { font-size: .86rem; color: var(--muted); }
.steps-connector .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  left: calc(100% - 8px);
  width: 34px;
  border-top: 2px dashed var(--marine-100);
  z-index: 1;
}

/* ---------- 12. Statistiques / réassurance ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 12px; }
.stat .stat-v {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: var(--corail);
  line-height: 1;
  margin-bottom: 8px;
}
.section-marine .stat .stat-v { color: #fff; }
.stat .stat-l { font-size: .92rem; color: var(--muted); }
.section-marine .stat .stat-l { color: #AFC6D4; }

.logos-note {
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.sector-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chip {
  padding: 9px 18px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 500;
  color: var(--body);
}

/* Témoignages */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-grid-2 { grid-template-columns: 1fr 1fr; }
.testimonial-center { max-width: 760px; margin-inline: auto; }
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-sm);
}
.testimonial .t-quote-icon { color: var(--corail-100); }
.testimonial p { font-size: .95rem; color: var(--body); flex: 1; }
.testimonial .t-author { display: flex; align-items: center; gap: 12px; }
.testimonial .t-avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--marine-50);
  color: var(--marine);
  font-family: var(--font-head);
  font-weight: 700;
}
.testimonial .t-author strong { display: block; font-size: .94rem; }
.testimonial .t-author span { font-size: .82rem; color: var(--muted); }

/* ---------- 13. Utilisateurs (personas) ---------- */
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.persona {
  text-align: center;
  padding: 26px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.persona:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.persona .p-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--marine-50);
  color: var(--marine-600);
}
.persona h3 { font-size: 1rem; margin-bottom: 6px; }
.persona p { font-size: .86rem; color: var(--muted); }

/* ---------- 14. CTA band ---------- */
.cta-band { padding: 0 0 var(--section-y); }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background:
    radial-gradient(600px 300px at 92% -20%, rgba(230, 72, 96, .35), transparent 60%),
    linear-gradient(120deg, var(--marine-800), var(--marine) 70%);
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 56px) clamp(28px, 5vw, 60px);
  color: #fff;
  box-shadow: var(--sh-lg);
}
.cta-band-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-band-inner p { color: #C6D6E1; max-width: 46ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 13px; flex-shrink: 0; }

/* ---------- 15. Formulaires ---------- */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 36px);
  box-shadow: var(--sh-md);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.req { color: var(--corail-600); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-size: .97rem;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--marine-600);
  box-shadow: 0 0 0 4px rgba(22, 83, 122, .12);
}
.form-field input.invalid, .form-field select.invalid, .form-field textarea.invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(185, 28, 28, .08);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: .8rem; color: var(--muted); }
.field-error { font-size: .82rem; color: var(--error); display: none; }
.field-error.show { display: block; }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-consent .checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--body);
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--corail-600);
  flex-shrink: 0;
}
.form-status {
  padding: 14px 18px;
  border-radius: 11px;
  font-size: .94rem;
  font-weight: 500;
}
.form-status.ok { background: #ECFDF3; color: var(--success); border: 1px solid #A7E8C4; }
.form-status.ko { background: #FEF2F2; color: var(--error); border: 1px solid #F3C2C2; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }
.file-drop {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  text-align: center;
  transition: border-color .2s, background .2s;
}
.file-drop:hover, .file-drop.drag { border-color: var(--marine-600); background: var(--marine-50); }
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.file-drop .fd-label { font-weight: 600; color: var(--marine); }
.file-drop .fd-hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.file-drop.has-file { border-style: solid; border-color: var(--rhp); background: var(--rhp-50); }

/* Vérification email par code OTP */
.otp-block {
  background: var(--marine-50);
  border: 1.5px solid var(--marine-100);
  border-radius: var(--r-md);
  padding: 22px;
  display: grid;
  gap: 15px;
  animation: fadeUp .35s var(--ease);
}
.otp-block[hidden] { display: none; }
.otp-info { font-size: .93rem; color: var(--marine-700); line-height: 1.55; }
.otp-info strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--marine-800); margin-bottom: 4px; }
.otp-info .otp-email { font-weight: 700; color: var(--marine-900); }
.otp-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.otp-input {
  width: 190px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 12px;
  padding: 12px 8px 12px 20px !important;
  border: 2px dashed var(--corail) !important;
  border-radius: 12px;
  color: var(--marine);
  background: #fff;
}
.otp-input:focus { border-style: solid !important; border-color: var(--marine-600) !important; box-shadow: 0 0 0 4px rgba(22, 83, 122, .12); }
.otp-input.invalid { border-color: var(--error) !important; }
.otp-resend { font-size: .88rem; padding: 11px 16px; }
.otp-resend[disabled] { opacity: .55; }
@media (max-width: 640px) {
  .otp-input { width: 100%; }
  .otp-resend { width: 100%; }
}

/* ---------- 16. Divers composants ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 500;
  color: var(--body);
}
.pill svg { color: var(--marine-600); }

.media-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.media-frame img { width: 100%; height: auto; }
.media-frame .browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--marine-50);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.media-frame .browser-bar span { width: 10px; height: 10px; border-radius: 50%; }
.media-frame .browser-bar span:nth-child(1) { background: #F26D6D; }
.media-frame .browser-bar span:nth-child(2) { background: #F5BF4F; }
.media-frame .browser-bar span:nth-child(3) { background: #4FC98A; }

.notice {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--liyas-50);
  border: 1px solid #F5D9AE;
  border-radius: var(--r-md);
  padding: 18px 20px;
  font-size: .92rem;
  color: #7A4A06;
}
.notice svg { flex-shrink: 0; color: var(--liyas-600); margin-top: 2px; }
.notice strong { color: #66400a; }
.notice.info { background: var(--marine-50); border-color: var(--marine-100); color: var(--marine-700); }
.notice.info svg { color: var(--marine-600); }
.notice.info strong { color: var(--marine-800); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--marine-50);
  color: var(--marine-700);
}

/* Carte contact */
.contact-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 19px;
}
.contact-card .cc-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--marine-50);
  color: var(--marine-600);
}
.contact-card strong { display: block; font-family: var(--font-head); font-size: .98rem; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: .93rem; color: var(--body); }
.contact-card a:hover { color: var(--corail-600); }

/* Offres d'emploi */
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.job-card:hover { border-color: var(--marine-100); box-shadow: var(--sh-md); transform: translateY(-2px); }
.job-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.job-card .job-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .85rem; color: var(--muted); }
.job-card .job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-card .job-meta svg { color: var(--marine-600); }

/* ---------- 17. Footer ---------- */
.site-footer {
  background: var(--marine-900);
  color: #AFC6D4;
  padding: clamp(48px, 6vw, 72px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-baseline {
  font-family: var(--font-head);
  color: #F2708A;
  font-weight: 600;
  font-style: italic;
  margin: 12px 0 10px;
}
.footer-desc { font-size: .9rem; line-height: 1.65; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: #C9D8E2;
  transition: background .18s, color .18s, transform .18s;
}
.footer-social a:hover { background: var(--corail-600); color: #fff; transform: translateY(-2px); }
.footer-heading {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #AFC6D4; font-size: .93rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: 13px; font-style: normal; }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--corail); }
.footer-contact a { color: #C9D8E2; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .84rem;
  color: #7E97A9;
}

/* ---------- 18. Animations reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ---------- 19. Page hero (pages internes) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 88% -16%, rgba(230, 72, 96, .2), transparent 60%),
    radial-gradient(700px 400px at 0% 120%, rgba(22, 83, 122, .55), transparent 62%),
    linear-gradient(150deg, var(--marine-800), var(--marine) 60%, var(--marine-900));
  color: #fff;
  padding: clamp(56px, 8vw, 92px) 0;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 16px; max-width: 20ch; }
.page-hero .lead { color: #C6D6E1; max-width: 62ch; }
.page-hero .hero-actions { margin-top: 30px; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-connector .step::after { display: none; }
  .header-phone span { display: none; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 920px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-phone { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .float-1 { left: -8px; }
  .float-2 { right: -8px; }
  .split, .split-55-45, .split-45-55 { grid-template-columns: 1fr; }
  .split-reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid, .testimonial-grid-2 { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .steps, .steps-3, .steps-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .mega-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 100%; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .header-cta { display: none; }
}

/* ---------- 21. Accessibilité mouvement ---------- */
@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; }
  .float-card { animation: none; }
}

/* ---------- 22. Impression ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .hero-actions, .burger { display: none !important; }
  body { color: #000; }
}
