/* FACILITATOR GROUPE · feuille de style unique
   Langage visuel inspiré de maersk.com (grande photographie, titres fins, cartes sobres,
   module à onglets posé sur l'ouverture) avec les couleurs du logo en accent : rouge, bleu, vert.
   Toutes les couleurs et réglages globaux sont dans :root. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --soft: #F5F7FA;
  --fg: #0F1B2D;
  --fg-2: #1E2C42;
  --muted: #56637A;
  --line: #E2E7EE;
  --line-2: #B9C3D0;
  --red: #E0222E;
  --red-ink: #C01822;
  --red-soft: #FDECEE;
  --blue: #1565D8;
  --blue-ink: #0F52B5;
  --blue-soft: #E8F0FD;
  --green: #12924A;
  --green-ink: #0E7A3D;
  --green-soft: #E6F6EC;
  --amber: #F59E0B;
  --amber-ink: #A56200;
  --amber-soft: #FEF4DC;
  --wa: #0E7A3D;
  --on-color: #FFFFFF;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 12px 32px rgba(15, 27, 45, .10);
  --font: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --r: 6px;
  --header-h: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
p, h1, h2, h3, h4, dl, dd, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 40px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--on-color); padding: 10px 16px; border-radius: 4px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Typographie : titres fins façon Maersk */
.display { font-weight: 300; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h2.display { font-size: clamp(30px, 3.6vw, 46px); }
.lead { font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--muted); max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--red) 0 33%, var(--blue) 33% 66%, var(--green) 66%); }
.center { text-align: center; margin-inline: auto; }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 780px; }
.sec-head.center { align-items: center; }

/* Logo : un seul fichier, assets/img/logo.svg, utilisé partout via <use> */
.logo { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.logo svg { height: 30px; width: auto; aspect-ratio: 336 / 50; }

/* Boutons rectangulaires, comme Maersk */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 4px; font: 600 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .18s, color .18s, border-color .18s, transform .18s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-ink { background: var(--fg); color: var(--on-color); }
.btn-ink:hover { background: var(--fg-2); }
.btn-wa { background: var(--wa); color: var(--on-color); }
.btn-wa:hover { background: #0B6532; }
.btn-red { background: var(--red); color: var(--on-color); }
.btn-red:hover { background: var(--red-ink); }
.btn-white { background: var(--on-color); color: var(--fg); }
.btn-white:hover { background: rgba(255, 255, 255, .88); }
.btn-ghost-white { border-color: rgba(255, 255, 255, .75); color: var(--on-color); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .12); border-color: var(--on-color); }
.btn-outline { border-color: var(--fg); color: var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--on-color); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.link { color: var(--blue-ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link svg { width: 15px; height: 15px; }

/* Progression de lecture */
#bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left; z-index: 70; background: linear-gradient(90deg, var(--red), var(--blue), var(--green)); }

/* ───────────── En-tête sur deux niveaux, transparent sur la photo ───────────── */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-color); background: linear-gradient(180deg, rgba(8, 15, 28, .62), rgba(8, 15, 28, 0)); transition: background .25s, color .25s, box-shadow .25s; }
.top.solid { background: var(--bg); color: var(--fg); box-shadow: 0 1px 0 var(--line); }
.top-1 { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.util { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.util a, .util p { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; opacity: .88; }
.util a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.util svg { width: 16px; height: 16px; }
.util .wa-pill { opacity: 1; border: 1px solid rgba(255, 255, 255, .5); padding: 6px 12px; border-radius: 4px; }
.top.solid .util .wa-pill { border-color: var(--green); color: var(--green-ink); background: var(--green-soft); }
.util .wa-pill:hover { text-decoration: none; background: rgba(255, 255, 255, .12); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #3BD27F; box-shadow: 0 0 0 3px rgba(59, 210, 127, .28); }
.top-2 { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; }
.nav a { position: relative; display: flex; align-items: center; height: 48px; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .2s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="true"]::after { transform: scaleX(1); background: var(--red); }
.top-2 .actions { display: flex; gap: 10px; }
.top .btn-sm.ghost { border-color: rgba(255, 255, 255, .75); color: inherit; }
.top.solid .btn-sm.ghost { border-color: var(--fg); }
.top .btn-sm.solid { background: var(--on-color); color: var(--fg); }
.top.solid .btn-sm.solid { background: var(--fg); color: var(--on-color); }
.mob { display: none; align-items: center; gap: 4px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: inherit; text-decoration: none; border-radius: 4px; }
.icon-btn svg { width: 22px; height: 22px; }
#menu span, #menu span::before, #menu span::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
#menu span::before { position: absolute; top: -7px; } #menu span::after { position: absolute; top: 7px; }
#menu[aria-expanded="true"] span { background: transparent; }
#menu[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
#menu[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: none; }

/* ───────────── Ouverture plein écran ───────────── */
.hero { position: relative; isolation: isolate; min-height: max(640px, 88vh); display: flex; align-items: center; color: var(--on-color); background: var(--fg); overflow: hidden; padding: calc(var(--header-h) + 40px) 0 190px; }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 15, 28, .86) 0%, rgba(8, 15, 28, .62) 42%, rgba(8, 15, 28, .12) 100%); }
.hero > .wrap { width: 100%; }
.hero-txt { max-width: 660px; display: flex; flex-direction: column; gap: 24px; }
.hero .eyebrow { color: var(--on-color); }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 300; letter-spacing: -.025em; line-height: 1.06; }
.hero h1 b { font-weight: 600; }
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.02em; height: .07em; border-radius: 2px; background: linear-gradient(90deg, var(--red) 0 33.3%, var(--blue) 33.3% 66.6%, var(--green) 66.6%); transform-origin: left; animation: draw 1.1s .5s var(--ease) both; }
@keyframes draw { from { transform: scaleX(0); } }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero .lead strong { color: var(--on-color); font-weight: 600; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-in > * { animation: rise .9s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; } .hero-in > *:nth-child(3) { animation-delay: .16s; } .hero-in > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Vagues aux trois couleurs, en mouvement lent */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 150px; z-index: 0; pointer-events: none; }
.waves svg { position: absolute; bottom: 0; left: 0; width: 200%; max-width: none; height: 100%; }
.waves .w1 { animation: drift 26s linear infinite; opacity: .9; }
.waves .w2 { animation: drift 18s linear infinite reverse; }
.waves .w3 { animation: drift 34s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ───────────── Module à onglets posé sur l'ouverture ───────────── */
.quick { position: relative; z-index: 5; margin-top: -120px; }
.panel { background: var(--bg); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); }
.tabs { display: flex; justify-content: center; gap: 8px; border-bottom: 1px solid var(--line); padding-inline: 12px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 9px; flex: none; padding: 17px 18px 15px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; font-size: 14.5px; color: var(--muted); transition: color .18s, border-color .18s; }
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--tone, var(--blue)); font-weight: 600; }
.tab-panels { padding: 30px 40px 34px; }
.tp[hidden] { display: none; }
.tp { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.fieldset { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: 12px; align-items: end; }
.fl { position: relative; display: block; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg); transition: border-color .18s, box-shadow .18s; }
.fl:focus-within { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.fl > span { position: absolute; left: 14px; top: 7px; font-size: 11.5px; color: var(--muted); pointer-events: none; }
.fl input, .fl select, .fl textarea { display: block; width: 100%; border: 0; outline: 0; background: transparent; font: 500 15.5px var(--font); color: var(--fg); padding: 25px 14px 9px; appearance: none; }
.fl select { padding-right: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2356637A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; cursor: pointer; }
.fl textarea { min-height: 128px; resize: vertical; }
.fl input::placeholder, .fl textarea::placeholder { color: #8A96A8; }
.fl.flash { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.quick .btn { height: 58px; }
.hint { margin-top: 12px; font-size: 13px; color: var(--muted); }

.contact-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ci { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.ci .ico { width: 44px; height: 44px; border-radius: 50%; }
.ci .ico svg { width: 20px; height: 20px; }
.ci .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ci .v { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.ci .v a { text-decoration: none; } .ci .v a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ci .acts { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.chip { font: 600 12.5px var(--font); background: var(--soft); color: var(--fg); border: 1px solid var(--line); padding: 6px 12px; border-radius: 4px; cursor: pointer; text-decoration: none; transition: background .18s, color .18s; }
.chip:hover { background: var(--fg); color: var(--on-color); border-color: var(--fg); }

/* Icônes */
.ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid var(--tone, var(--fg)); color: var(--tone, var(--fg)); background: var(--tint, transparent); transition: transform .3s var(--ease), background .3s, color .3s; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.t-red { --tone: var(--red); --tint: var(--red-soft); } .t-blue { --tone: var(--blue); --tint: var(--blue-soft); }
.t-green { --tone: var(--green-ink); --tint: var(--green-soft); } .t-amber { --tone: var(--amber-ink); --tint: var(--amber-soft); }

/* ───────────── Présentation + chiffres ───────────── */
.intro { padding: 96px 0 88px; }
.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 34px 20px 0; text-align: center; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; position: relative; }
.stat::before { content: ""; position: absolute; top: -1px; left: 50%; width: 46px; height: 3px; transform: translateX(-50%); background: var(--tone); border-radius: 2px; }
.stat dd { font-size: clamp(44px, 5vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--tone); font-variant-numeric: tabular-nums; }
.stat dd small { font-size: .42em; font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.stat dt { font-size: 14.5px; color: var(--muted); }

/* Bandeau défilant */
.band { overflow: hidden; border-block: 1px solid var(--line); background: var(--soft); }
.band ul { display: flex; width: max-content; animation: slide 46s linear infinite; }
.band:hover ul { animation-play-state: paused; }
.band li { display: flex; align-items: center; gap: 34px; padding: 20px 34px 20px 0; font-size: clamp(20px, 2.4vw, 30px); font-weight: 300; letter-spacing: -.02em; white-space: nowrap; }
.band li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.band li:nth-child(3n+2)::after { background: var(--blue); } .band li:nth-child(3n)::after { background: var(--green); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ───────────── Sections ───────────── */
.sec { padding-block: 104px; }
.sec.soft { background: var(--soft); }

/* Métiers en onglets avec image */
.mtabs { justify-content: center; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.mtabs .tab { padding-inline: 14px; }
.mpanel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mpanel figure { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.mpanel figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mpanel:hover figure img { transform: scale(1.04); }
.mpanel figure::after { content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 100%; background: var(--tone); }
.mpanel .txt { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mpanel .idx { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--tone); }
.mpanel h3 { font-size: clamp(28px, 3vw, 40px); }
.mpanel p { color: var(--muted); font-size: 17.5px; max-width: 46ch; }
.badge-core { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-color); background: var(--red); padding: 7px 12px; border-radius: 3px; }
.mpanel .cta { margin-top: 6px; }
.mnav { display: flex; gap: 10px; margin-top: 8px; }
.mnav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); cursor: pointer; display: grid; place-items: center; transition: background .18s, border-color .18s; }
.mnav button:hover { background: var(--fg); color: var(--on-color); border-color: var(--fg); }
.mnav svg { width: 16px; height: 16px; }
.mprogress { display: flex; gap: 6px; margin-top: 22px; }
.mprogress span { height: 3px; width: 28px; border-radius: 2px; background: var(--line); transition: background .3s, width .3s; }
.mprogress span.on { background: var(--tone, var(--fg)); width: 48px; }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; height: 3px; width: 0; background: var(--tone); transition: width .9s var(--ease); transition-delay: var(--d, 0s); }
.step.in::before, html:not(.js) .step::before { width: 100%; }
.step > span { font-size: 56px; font-weight: 200; line-height: 1; letter-spacing: -.04em; color: var(--tone); }
.step h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 15.5px; }

/* Le groupe */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split figure { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split figure figcaption { position: absolute; left: 20px; bottom: 20px; background: var(--bg); border-radius: 4px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.25; }
.split figure figcaption b { font-size: 22px; font-weight: 600; color: var(--blue-ink); }
.split figure figcaption span { font-size: 13px; color: var(--muted); }
.poles { margin-top: 30px; border-top: 1px solid var(--line); }
.pole { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.pole:hover { background: var(--soft); padding-inline: 14px; }
.pole::before { content: ""; align-self: stretch; border-radius: 3px; background: var(--tone); }
.pole h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.pole h3 small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--tone); }
.pole p { color: var(--muted); font-size: 14.5px; text-align: right; max-width: 30ch; }

/* Atouts */
.promise { text-align: center; max-width: 900px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.promise blockquote { font-size: clamp(28px, 3.6vw, 46px); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; }
.promise blockquote em { font-style: normal; font-weight: 600; background: linear-gradient(90deg, var(--red), var(--blue) 55%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.assets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.asset { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .25s, transform .25s, border-color .25s; position: relative; overflow: hidden; }
.asset::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tone); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.asset:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.asset:hover::after { transform: scaleX(1); }
.asset:hover .ico { background: var(--tone); color: var(--on-color); }
.asset h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.asset p { color: var(--muted); font-size: 15px; }

/* Appel à l'action sur photo */
.callout { position: relative; isolation: isolate; color: var(--on-color); background: var(--fg); overflow: hidden; }
.callout > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.callout::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 15, 28, .9), rgba(8, 15, 28, .5)); }
.callout .wrap { padding-block: 100px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.callout h2 { max-width: 20ch; }
.callout p { color: rgba(255, 255, 255, .85); font-size: 18px; max-width: 48ch; }
.callout .stripe { position: absolute; left: 0; right: 0; bottom: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.cards { display: grid; gap: 12px; }
.cards .ci { background: var(--bg); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 34px; }
.form h3 { grid-column: 1 / -1; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.form > p { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; margin-top: -8px; margin-bottom: 6px; }
.form .full { grid-column: 1 / -1; }
.form .btn-wa { grid-column: 1 / -1; height: 54px; font-size: 16px; }
.note { grid-column: 1 / -1; text-align: center; font-size: 14px; color: var(--muted); }
.note a { color: var(--blue-ink); font-weight: 600; }

/* Pied de page */
footer { background: var(--fg); color: #B6C2D4; font-size: 14.5px; }
.stripe { height: 5px; background: linear-gradient(90deg, var(--red) 0 33.3%, var(--blue) 33.3% 66.6%, var(--green) 66.6%); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-block: 64px 44px; }
.foot > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.foot .logo { color: var(--on-color); margin-bottom: 8px; }
.foot h2 { font-size: 14px; font-weight: 600; color: var(--on-color); margin-bottom: 6px; }
.foot a { text-decoration: none; overflow-wrap: anywhere; } .foot a:hover { color: var(--on-color); text-decoration: underline; text-underline-offset: 3px; }
.foot .slogan { font-size: 20px; font-weight: 300; color: var(--on-color); max-width: 24ch; line-height: 1.35; }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 22px 28px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13px; color: #9AA7BB; }

/* Boutons flottants */
.floats { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fab { width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; color: var(--on-color); cursor: pointer; box-shadow: var(--shadow); transition: transform .25s, opacity .25s; text-decoration: none; position: relative; }
.fab svg { width: 28px; height: 28px; }
.fab-wa { background: var(--wa); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); opacity: .45; animation: ping 2.6s ease-out infinite; z-index: -1; }
@keyframes ping { 75%, 100% { transform: scale(1.55); opacity: 0; } }
.fab-up { background: var(--fg); width: 44px; height: 44px; } .fab-up svg { width: 18px; height: 18px; }
.fab.off { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* Apparition au défilement */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* Page 404 */
.e404 { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 160px 0 80px; }
.e404 .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.e404 b { font-size: clamp(96px, 18vw, 180px); font-weight: 200; line-height: .9; letter-spacing: -.05em; background: linear-gradient(90deg, var(--red), var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.e404 p { color: var(--muted); max-width: 46ch; }

/* ───────────── Tablette ───────────── */
@media (max-width: 1080px) {
  :root { --header-h: 64px; }
  .wrap { padding-inline: 28px; }
  .top-2, .util { display: none; }
  .mob { display: flex; }
  .drawer { position: fixed; inset: 64px 0 0; background: var(--bg); color: var(--fg); overflow-y: auto; padding: 8px 28px 32px; border-top: 1px solid var(--line); }
  .drawer.open { display: block; }
  .drawer nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 19px; text-decoration: none; }
  .drawer nav a[aria-current="true"] { color: var(--red-ink); }
  .drawer .btns { display: grid; gap: 10px; margin-top: 22px; }
  .drawer .infos { margin-top: 24px; display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
  .drawer .infos a { text-decoration: none; color: var(--fg); font-weight: 600; }
  .top.open { background: var(--bg); color: var(--fg); }
  .hero { min-height: 640px; }
  .fieldset { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fieldset .btn { grid-column: 1 / -1; }
  .contact-row { grid-template-columns: minmax(0, 1fr); }
  .mpanel, .split, .contact { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mtabs { justify-content: flex-start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .assets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .sec { padding-block: 80px; }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot > div:first-child { grid-column: 1 / -1; }
}

/* ───────────── Téléphone ───────────── */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .drawer { padding-inline: 18px; }
  .logo svg { height: 25px; }
  .hero { min-height: 0; padding: 120px 0 170px; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 15, 28, .55), rgba(8, 15, 28, .82)); }
  .hero h1 .u { white-space: normal; }
  .cta { flex-direction: column; align-items: stretch; }
  .waves { height: 110px; }
  .quick { margin-top: -96px; }
  .tabs { justify-content: flex-start; }
  .tab { padding: 15px 12px 13px; font-size: 14px; }
  .tab-panels { padding: 22px 18px 24px; }
  .fieldset { grid-template-columns: minmax(0, 1fr); }
  .intro { padding: 72px 0 64px; }
  .stats { margin-top: 40px; }
  .stat { padding-inline: 8px; }
  .sec { padding-block: 68px; }
  .mtabs { margin-bottom: 30px; }
  .steps, .assets, .form { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 24px 18px; }
  .pole { grid-template-columns: 5px minmax(0, 1fr); }
  .pole p { grid-column: 2; text-align: left; }
  .callout .wrap { padding-block: 72px; }
  .callout .cta { width: 100%; }
  .foot { grid-template-columns: minmax(0, 1fr); padding-block: 48px 32px; }
  .floats { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .step::before { width: 100%; }
}

.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; }
