/* =========================================================================
   NAMQA STUDIO — Site vitrine (rebrand v4 : clair, sobre, simple — logique Revolut)
   Base blanche · accents indigo #2E2E80 & orange #ED691C avec parcimonie
   Typo : Poppins (titres) · Inter (texte)
   ========================================================================= */

:root {
  --bg:        #FFFFFF;
  --bg-soft:   #FAF9F5;      /* section alternée, off-white très subtil */
  --bg-soft-2: #F1F0EA;
  --ink:       #14132A;      /* texte principal (indigo quasi noir) */
  --ink-2:     #56546E;
  --ink-3:     #9A98AC;

  --indigo:    #2E2E80;
  --indigo-700:#26245F;
  --indigo-900:#17153B;
  --indigo-050:#EDEDF6;      /* aplat indigo très clair */
  --orange:    #ED691C;
  --orange-600:#D65A12;
  --orange-050:#FDEFE5;

  --line:      rgba(20,19,42,0.07);
  --line-2:    rgba(20,19,42,0.12);
  --white-2:   rgba(255,255,255,0.74);
  --white-3:   rgba(255,255,255,0.5);
  --line-d:    rgba(255,255,255,0.14);

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --container: 1120px;
  --r-sm: 14px;
  --r:    22px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(20,19,42,0.05), 0 2px 6px -2px rgba(20,19,42,0.06);
  --shadow:    0 2px 4px rgba(20,19,42,0.03), 0 14px 32px -12px rgba(20,19,42,0.13), 0 40px 60px -40px rgba(20,19,42,0.14);
  --shadow-lg: 0 4px 8px rgba(20,19,42,0.04), 0 24px 50px -16px rgba(20,19,42,0.16), 0 60px 90px -50px rgba(20,19,42,0.22);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--indigo); color: #fff; padding: 10px 16px; }
.skip:focus { left: 0; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 20px; height: 1.5px; background: currentColor; opacity: 0.65; border-radius: 2px; }
.eyebrow svg { width: 15px; height: 15px; }
.onDark .eyebrow { color: var(--orange); opacity: 1; }
.center .eyebrow, .cta__inner .eyebrow { justify-content: center; }

.h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.03; letter-spacing: -0.03em; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.025em; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 52ch; }
.onDark .lead { color: var(--white-2); }
.hl { color: var(--orange); }

/* ---------- Sections ---------- */
.sec { padding: clamp(84px, 10vw, 140px) 0; position: relative; border-top: 1px solid var(--line); }
.sec--soft { background: var(--bg-soft); }
.sec--indigo, .cta { border-top: none; }
.onDark { color: #fff; }
.sec--indigo { background: var(--indigo); }
.sec-head { max-width: 660px; margin-bottom: clamp(38px, 5vw, 56px); }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head .lead { margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 999px; transition: transform 0.5s var(--ease), background 0.25s, color 0.25s, box-shadow 0.3s, border-color 0.25s; will-change: transform; }
.btn .arw { transition: transform 0.4s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--indigo); }
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 12px 26px -14px rgba(237,105,28,0.7); }
.btn--accent:hover { background: var(--orange-600); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--indigo); }
.btn--light:hover { background: var(--bg-soft); }
.btn--ghost-d { border: 1px solid var(--line-d); color: #fff; }
.btn--ghost-d:hover { background: rgba(255,255,255,0.1); }
.btn--lg { padding: 16px 30px; font-size: 16px; }

/* =========================================================================
   NAV (claire)
   ========================================================================= */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 120; background: var(--orange); }
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(20px, 5vw, 40px); transition: transform 0.45s var(--ease), background 0.4s, box-shadow 0.4s, padding 0.4s; }
.nav.is-scrolled { background: rgba(255,255,255,0.9); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); padding-top: 11px; padding-bottom: 11px; }
.nav.is-hidden { transform: translateY(-105%); }
.nav__logo img { height: 30px; display: block; }
.nav__menu { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav__menu a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color 0.2s; }
.nav__menu a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 11px; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
@media (max-width: 900px) { .nav__menu, .nav__right .btn { display: none; } .burger { display: flex; } }

.msheet { position: fixed; inset: 0; z-index: 130; background: #fff; display: flex; flex-direction: column; padding: 88px 30px 36px; gap: 2px; transform: translateY(-100%); transition: transform 0.5s var(--ease); visibility: hidden; }
.msheet.is-open { transform: translateY(0); visibility: visible; }
.msheet a { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--line); }
.msheet .btn { margin-top: 18px; justify-content: center; }
.mclose { position: absolute; top: 22px; right: 24px; width: 42px; height: 42px; color: var(--ink); font-size: 26px; }

/* =========================================================================
   HERO (clair, cartes en éventail)
   ========================================================================= */
.hero { position: relative; padding: clamp(120px, 15vh, 170px) 0 clamp(60px, 8vw, 100px); overflow: hidden;
  background: radial-gradient(120% 80% at 85% 0%, var(--orange-050), transparent 55%), linear-gradient(180deg, #fff, var(--bg-soft)); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 .hl { color: var(--orange); }
.hero__sub { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { margin-top: 40px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hstat b { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; display: block; line-height: 1; }
.hstat span { font-size: 12px; color: var(--ink-3); margin-top: 5px; display: block; }
.hero__sep { width: 1px; height: 28px; background: var(--line-2); }
.hero__note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); max-width: 44ch; }
.hero__note .hl { color: var(--orange); font-weight: 700; }

/* Cartes en éventail */
.hero__cards { position: relative; height: clamp(340px, 40vw, 460px); }
.hcard { position: absolute; width: clamp(180px, 20vw, 236px); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); top: 50%; left: 50%; }
.hcard--1 { transform: translate(-50%, -50%) rotate(-7deg); z-index: 3; }
.hcard--2 { transform: translate(-24%, -54%) rotate(6deg); z-index: 2; opacity: 0.96; }
.hcard--3 { transform: translate(-76%, -46%) rotate(-16deg); z-index: 1; opacity: 0.92; }
.hero__cards.float .hcard--1 { animation: floaty 6s var(--ease) infinite; }
.hero__cards.float .hcard--2 { animation: floaty 6.6s var(--ease) infinite 0.4s; }
.hero__cards.float .hcard--3 { animation: floaty 7.2s var(--ease) infinite 0.8s; }
@keyframes floaty { 0%,100% { transform: translate(var(--tx,-50%), var(--ty,-50%)) rotate(var(--rot,0deg)); } 50% { transform: translate(var(--tx,-50%), calc(var(--ty,-50%) - 12px)) rotate(var(--rot,0deg)); } }
.hcard--1 { --tx:-50%; --ty:-50%; --rot:-7deg; }
.hcard--2 { --tx:-24%; --ty:-54%; --rot:6deg; }
.hcard--3 { --tx:-76%; --ty:-46%; --rot:-16deg; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 20px; }
  .hero__cards { height: 300px; order: 2; margin-top: 10px; }
  .hero__trust { margin-top: 30px; }
}

/* =========================================================================
   LOGOS
   ========================================================================= */
.logos { padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.logos__label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.logos__track { display: flex; gap: 46px; width: max-content; animation: marquee 36s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); opacity: 0.42; white-space: nowrap; display: flex; align-items: center; gap: 46px; }
.logos__item::after { content: "·"; color: var(--ink-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   ATOUT — phone (notifications dedans)
   ========================================================================= */
.atout { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.atout__copy .lead { margin-top: 20px; }
.atout__list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.atout__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.atout__list .tk { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--orange-050); color: var(--orange); display: grid; place-items: center; margin-top: 1px; }
.atout__list .tk svg { width: 13px; height: 13px; }

.phonewrap { position: relative; display: flex; justify-content: center; isolation: isolate; }
.phonewrap::before { content: ""; position: absolute; z-index: 0; width: 130%; height: 78%; left: -15%; top: 16%;
  background: radial-gradient(38% 48% at 32% 38%, rgba(237,105,28,0.55), transparent 70%), radial-gradient(46% 56% at 72% 66%, rgba(78,76,196,0.6), transparent 72%);
  filter: blur(58px); border-radius: 50%; opacity: 0.95; animation: blob 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes blob { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(4%,-4%) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .phonewrap::before { animation: none; } }
.phone { position: relative; z-index: 1; width: min(300px, 82vw); aspect-ratio: 300/626; background: linear-gradient(160deg,#26264a,#131230); border-radius: 48px; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.06); animation: phonefloat 5.5s ease-in-out infinite; }
@keyframes phonefloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } }
.phone__scr { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: radial-gradient(130% 62% at 50% 0%, #443a80, #14122e 70%); }
.phone__scr::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 46% at 50% -6%, rgba(237,105,28,0.22), transparent 60%); }
.phone__notch { position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 96px; height: 27px; background: #07061a; border-radius: 16px; z-index: 4; }
.phone__bar { position: absolute; top: 17px; left: 0; right: 0; padding: 0 26px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; color: #fff; z-index: 3; }
.phone__bar .sig { display: inline-flex; gap: 2.5px; align-items: flex-end; }
.phone__bar .sig i { width: 3px; background: #fff; border-radius: 1px; }
.phone__bar .sig i:nth-child(1){height:4px}.phone__bar .sig i:nth-child(2){height:7px}.phone__bar .sig i:nth-child(3){height:10px}.phone__bar .sig i:nth-child(4){height:13px;opacity:.4}
.phone__lock { position: absolute; top: 64px; left: 0; right: 0; text-align: center; color: #fff; z-index: 2; }
.phone__date { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.phone__clock { font-family: var(--font-display); font-weight: 600; font-size: 68px; line-height: 1; letter-spacing: -0.02em; margin-top: 6px; }
.phone__home { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); width: 118px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.5); z-index: 5; }
.phone__notifs { position: absolute; left: 11px; right: 11px; bottom: 22px; display: grid; gap: 8px; z-index: 3; }
.pnotif { position: relative; z-index: 0; isolation: isolate; background: rgba(255,255,255,0.7); border: 0.5px solid rgba(255,255,255,0.6); border-radius: 18px; padding: 10px 12px; color: #000; box-shadow: 0 6px 18px -6px rgba(0,0,0,0.28); backdrop-filter: blur(26px) saturate(1.9); -webkit-backdrop-filter: blur(26px) saturate(1.9); text-align: left; }
/* Halo flashy coloré derrière CHAQUE notification (couleur par notif) */
.pnotif::before { content: ""; position: absolute; z-index: -1; inset: -7px -6px; border-radius: 22px; background: radial-gradient(70% 120% at 18% 50%, var(--nc, #ED691C), transparent 72%); filter: blur(16px); opacity: 0.5; animation: glowpulse 3s ease-in-out infinite; }
.pnotif:nth-child(1) { --nc: #ED691C; } .pnotif:nth-child(1)::before { animation-delay: 0s; }
.pnotif:nth-child(2) { --nc: #4E4CC4; } .pnotif:nth-child(2)::before { animation-delay: 0.5s; }
.pnotif:nth-child(3) { --nc: #F0902E; } .pnotif:nth-child(3)::before { animation-delay: 1s; }
.pnotif:nth-child(4) { --nc: #7A4CD1; } .pnotif:nth-child(4)::before { animation-delay: 1.5s; }
@keyframes glowpulse { 0%, 100% { opacity: 0.4; transform: scale(0.99); } 50% { opacity: 0.72; transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .pnotif::before { animation: none; } }
.pnotif { transition: transform 0.35s var(--ease), box-shadow 0.35s; cursor: default; }
.pnotif:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 30px -8px rgba(0,0,0,0.42); z-index: 2; }
.pnotif:hover::before { opacity: 0.9; filter: blur(20px); }
.phonewrap .pnotif { opacity: 0; }
.phonewrap.is-visible .pnotif { animation: notifRise 0.6s var(--ease) forwards; }
.phonewrap.is-visible .pnotif:nth-child(1) { animation-delay: 0.3s; }
.phonewrap.is-visible .pnotif:nth-child(2) { animation-delay: 0.5s; }
@keyframes notifRise { to { opacity: 1; } }
.pnotif__h { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(0,0,0,0.5); }
.pnotif__h .bg { width: 22px; height: 22px; border-radius: 6px; background: var(--nc, var(--orange)); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 3px 8px -2px var(--nc, var(--orange)); }
.pnotif__h .bg svg { width: 13px; height: 13px; }
.pnotif__h .when { margin-left: auto; font-weight: 500; color: rgba(0,0,0,0.4); }
.pnotif__t { font-weight: 700; font-size: 13.5px; margin-top: 5px; letter-spacing: -0.01em; color: #000; }
.pnotif__b { font-size: 12px; color: rgba(0,0,0,0.62); margin-top: 1px; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) { .pnotif, .phonewrap .pnotif { animation: none !important; opacity: 1 !important; transform: none !important; } }
@media (max-width: 860px) { .atout { grid-template-columns: 1fr; } .phonewrap { order: -1; margin-bottom: 24px; } }

/* =========================================================================
   WALLET SWITCHER (interactif)
   ========================================================================= */
.switch { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.switch__stage { position: relative; display: flex; justify-content: center; }
.switch__card { width: min(290px, 78vw); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; transition: transform 0.5s var(--ease); will-change: transform; }
.switch__card img { width: 100%; aspect-ratio: 810/1170; object-fit: cover; transition: opacity 0.35s var(--ease); }
.switch__card.is-swapping img { opacity: 0; }
.switch__name { margin-top: 22px; }
.switch__desc { color: var(--ink-2); margin-top: 8px; max-width: 40ch; min-height: 3em; transition: opacity 0.3s; }
.switch__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.switch__tab { font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); transition: all 0.25s var(--ease); }
.switch__tab:hover { border-color: var(--ink); color: var(--ink); }
.switch__tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 820px) { .switch { grid-template-columns: 1fr; gap: 40px; } .switch__side { order: 2; } }

/* =========================================================================
   COMMENT — 3 étapes
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); transition: transform 0.5s var(--ease), box-shadow 0.5s, background 0.4s, border-color 0.3s; will-change: transform; }
.step:hover { box-shadow: var(--shadow); transform: translateY(-4px); background: radial-gradient(130% 130% at 15% 0%, #3b3a97, var(--indigo) 55%, var(--indigo-900)); border-color: transparent; }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--orange); transition: color 0.3s; }
.step__ic { width: 50px; height: 50px; border-radius: 14px; background: var(--indigo-050); color: var(--indigo); display: grid; place-items: center; margin: 16px 0 18px; transition: background 0.3s, color 0.3s; }
.step:hover .step__ic { background: var(--orange); color: #fff; }
.step__ic svg { width: 25px; height: 25px; }
.step h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; transition: color 0.3s; }
.step p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; transition: color 0.3s; }
.step:hover h3 { color: #fff; }
.step:hover p { color: var(--white-2); }
.step:hover .step__n { color: var(--orange-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================================
   TERRAIN — photos réelles (inspiré du pitch)
   ========================================================================= */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); align-items: stretch; }
.photo { margin: 0; }
.photo__img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-soft); }
.photo__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption { display: flex; gap: 10px; margin-top: 15px; font-size: 14px; color: var(--ink-2); max-width: 36ch; }
.photo figcaption .n { flex: none; color: var(--orange); font-family: var(--font-display); font-weight: 700; font-size: 13px; }
@media (max-width: 820px) { .photos { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* =========================================================================
   COMMUNICATION — flyers, stories, leviers
   ========================================================================= */
.commun { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.commun__levers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lever { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); transition: border-color 0.25s, background 0.25s; }
.lever:hover { border-color: var(--ink); }
.lever svg { width: 15px; height: 15px; color: var(--orange); }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 16px); }
.collage .cell { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-soft-2); }
.collage .cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.collage .cell:hover img { transform: scale(1.04); }
.collage .big { grid-row: 1 / span 2; }
.collage .sm { aspect-ratio: 4 / 3; }
@media (max-width: 820px) { .commun { grid-template-columns: 1fr; gap: 34px; } .collage .big { grid-row: auto; aspect-ratio: 3/4; } }

/* Galerie auto-défilante (communication) */
.gallery { overflow: hidden; margin-top: clamp(34px, 4vw, 52px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.gallery__track { display: flex; gap: 18px; width: max-content; animation: marquee 50s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
.gallery__item { flex: none; height: clamp(240px, 30vw, 330px); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-soft); }
.gallery__item img { height: 100%; width: auto; display: block; }
.gallery__item:empty, .gallery__item { min-width: 120px; }
@media (prefers-reduced-motion: reduce) { .gallery__track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* =========================================================================
   APP — résumé (avantages brefs)
   ========================================================================= */
.appgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.appitem { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.2vw, 26px); cursor: default; transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.3s; will-change: transform; }
.appitem:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.appitem__ic { width: 44px; height: 44px; border-radius: 13px; background: var(--indigo-050); color: var(--indigo); display: grid; place-items: center; flex: none; transition: background 0.3s, color 0.3s, transform 0.45s var(--ease); }
.appitem:hover .appitem__ic { background: var(--orange); color: #fff; transform: rotate(-6deg) scale(1.05); }
.appitem__ic svg { width: 21px; height: 21px; }
.appitem h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.appitem p { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }
@media (max-width: 820px) { .appgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .appgrid { grid-template-columns: 1fr; } }

/* =========================================================================
   RÉSEAU — heatmap Suisse
   ========================================================================= */
.reseau { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.reseau__stats { display: flex; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.rstat b { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--indigo); display: block; line-height: 1; letter-spacing: -0.02em; }
.rstat span { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; display: block; max-width: 17ch; }
.maplegend { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.maplegend div { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.maplegend i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.maplegend .now { background: var(--orange); }
.maplegend .soon { background: #fff; border: 2px solid var(--indigo); }
.mapwrap { position: relative; }
.mapwrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.map-city { fill: var(--ink-3); font-family: var(--font-body); font-size: 16px; font-weight: 500; }
.map-hub { fill: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.map-badge { fill: var(--orange); font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.map-badge-soon { fill: var(--indigo); font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.map-pulse { fill: var(--indigo); opacity: 0.3; transform-box: fill-box; transform-origin: center; animation: mkpulse 2.8s ease-out infinite; }
@keyframes mkpulse { 0% { transform: scale(0.5); opacity: 0.45; } 80% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-pulse { animation: none; opacity: 0; } }
@media (max-width: 860px) { .reseau { grid-template-columns: 1fr; gap: 30px; } }

/* =========================================================================
   OFFRE — 2 cartes
   ========================================================================= */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.2vw, 24px); }
.ocard { position: relative; border-radius: var(--r-lg); padding: clamp(28px, 3.2vw, 42px); background: #fff; border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s; will-change: transform; }
.ocard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ocard--feat { background: radial-gradient(130% 130% at 15% 0%, #3b3a97, var(--indigo) 55%, var(--indigo-900)); color: #fff; border: none; box-shadow: var(--shadow); }
.ocard__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.ocard--feat .ocard__tag { color: #fff; opacity: 0.8; }
.ocard__ic { position: absolute; top: clamp(26px,3.2vw,38px); right: clamp(26px,3.2vw,38px); color: var(--orange); }
.ocard__ic svg { width: 30px; height: 30px; }
.ocard h3 { font-family: var(--font-display); font-size: clamp(23px,2.8vw,30px); margin: 14px 0 12px; }
.ocard p { font-size: 14.5px; color: var(--ink-2); max-width: 34ch; }
.ocard--feat p { color: var(--white-2); }
.ocard__rule { height: 1px; background: var(--line); margin: 22px 0 16px; }
.ocard--feat .ocard__rule { background: var(--line-d); }
.ocard__foot { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.ocard--feat .ocard__foot { color: var(--white-3); }
.offer__note { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 30px; }
.offer__note li { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 8px; }
.offer__note svg { width: 16px; height: 16px; color: var(--orange); }
@media (max-width: 780px) { .offer { grid-template-columns: 1fr; } }

/* =========================================================================
   PROOF — stats + citation
   ========================================================================= */
.proof { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.proof__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pstat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.6vw, 30px); }
.pstat b { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 46px); line-height: 1; letter-spacing: -0.03em; display: block; color: var(--indigo); }
.pstat span { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; display: block; }
.proof__quote .stars { color: var(--orange); letter-spacing: 2px; }
.proof__quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.38; margin: 16px 0 18px; letter-spacing: -0.015em; }
.proof__quote cite { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .proof__stats { grid-template-columns: 1fr; } }

/* Communauté (flashy) */
.sec--comm { background: radial-gradient(120% 130% at 82% 0%, #3d3ca0, var(--indigo) 46%, var(--indigo-900) 100%); }
.comm { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.comm__big { display: flex; align-items: baseline; gap: 16px; margin: 24px 0 28px; flex-wrap: wrap; }
.comm__big b { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 9vw, 104px); line-height: 0.9; letter-spacing: -0.04em; color: var(--orange); }
.comm__big span { color: var(--white-2); font-size: 15px; max-width: 15ch; }
.testi { position: relative; }
.testi__slide { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateY(12px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); pointer-events: none; }
.testi__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .testi__slide { transition: none; } }
.chat__row { display: flex; gap: 12px; align-items: flex-end; }
.chat__av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg, var(--orange), var(--orange-soft)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; flex: none; box-shadow: 0 6px 16px -6px rgba(237,105,28,0.6); }
.chat__av--l { background: linear-gradient(140deg, #4E4CC4, #7A4CD1); box-shadow: 0 6px 16px -6px rgba(78,76,196,0.6); }
.chat__bubble { background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.18); border-radius: 22px 22px 22px 7px; padding: 16px 20px; backdrop-filter: blur(10px); max-width: 46ch; }
.chat__text { color: #fff; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.55; min-height: 1.5em; }
.chat__text .car { display: inline-block; width: 2px; height: 1.05em; background: var(--orange); margin-left: 3px; vertical-align: -3px; animation: caret 1s step-end infinite; }
.chat__dots { display: inline-flex; gap: 5px; padding: 4px 0; }
.chat__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.65); animation: dotpulse 1.2s infinite; }
.chat__dots i:nth-child(2) { animation-delay: 0.2s; } .chat__dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotpulse { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes caret { 50% { opacity: 0; } }
.chat__by { margin: 14px 0 0 54px; font-size: 13px; color: var(--white-2); font-weight: 600; }
.chat__stars { color: var(--orange); letter-spacing: 1px; margin-right: 6px; }
.testi__dots { display: flex; gap: 9px; margin-top: 18px; }
.testi__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.28); border: none; padding: 0; cursor: pointer; transition: background 0.3s, width 0.35s var(--ease); }
.testi__dot:hover { background: rgba(255,255,255,0.55); }
.testi__dot.is-active { background: var(--orange); width: 26px; border-radius: 5px; }
.testi__dot.is-active:hover { background: var(--orange); }

.comm__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cstat { position: relative; overflow: hidden; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px); transition: transform 0.5s var(--ease), border-color 0.3s; }
.cstat::before { content: ""; position: absolute; z-index: 0; width: 160px; height: 160px; border-radius: 50%; right: -40px; top: -50px; background: var(--sc, var(--orange)); filter: blur(40px); opacity: 0.72; transition: transform 0.5s var(--ease); }
.cstat:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.28); }
.cstat:hover::before { transform: scale(1.12); }
.cstat > * { position: relative; z-index: 1; }
.cstat:nth-child(1) { --sc: #ED691C; } .cstat:nth-child(2) { --sc: #4E4CC4; }
.cstat:nth-child(3) { --sc: #F0902E; } .cstat:nth-child(4) { --sc: #7A4CD1; }
.cstat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.2vw, 48px); line-height: 1; letter-spacing: -0.03em; display: block; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.cstat span { font-size: 12.5px; color: var(--white-2); margin-top: 8px; display: block; }
@media (max-width: 860px) { .comm { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 420px) { .comm__stats { grid-template-columns: 1fr; } }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(16px,1.6vw,18px); }
.faq__ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--orange); transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.faq__ic svg { width: 13px; height: 13px; }
.faq__q[aria-expanded="true"] .faq__ic { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq__a-in { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; max-width: 64ch; }
.faq__a-in strong { color: var(--ink); }

/* =========================================================================
   CTA (bloc indigo) + CONTACT + FOOTER
   ========================================================================= */
.cta { background: radial-gradient(120% 140% at 12% 0%, #3b3a97 0%, var(--indigo) 46%, var(--indigo-900) 100%); color: #fff; }
.cta__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: var(--white-2); margin: 16px auto 30px; max-width: 44ch; }
.cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__coords { margin-top: 26px; font-size: 13.5px; color: var(--white-2); display: flex; gap: 8px 20px; justify-content: center; flex-wrap: wrap; }
.cta__coords a { font-weight: 600; }
.cta__coords a:hover { color: #fff; }

.contact { }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 70px); align-items: start; }
.contact__pts { list-style: none; margin: 24px 0; display: grid; gap: 11px; }
.contact__pts li { display: flex; gap: 11px; align-items: center; color: var(--ink-2); font-size: 15px; }
.contact__pts .tk { width: 22px; height: 22px; border-radius: 50%; background: var(--orange-050); color: var(--orange); display: grid; place-items: center; flex: none; }
.contact__pts .tk svg { width: 12px; height: 12px; }
.contact__coords { font-size: 14px; color: var(--ink-2); display: grid; gap: 6px; }
.contact__coords a { font-weight: 600; color: var(--ink); }
.contact__coords a:hover { color: var(--orange); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 14px; margin-bottom: 14px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-2); }
.fld .req { color: var(--orange); }
.fld input, .fld select, .fld textarea { font-family: var(--font-body); font-size: 15px; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--bg-soft); transition: border 0.2s, box-shadow 0.2s, background 0.2s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(237,105,28,0.12); }
.fld textarea { resize: vertical; min-height: 88px; }
.form__err { color: var(--orange-600); font-size: 13px; min-height: 16px; }
.form__submit { width: 100%; justify-content: center; margin-top: 4px; }
.form__note { font-size: 11.5px; color: var(--ink-3); text-align: center; margin-top: 11px; }
.form-ok { text-align: center; padding: 44px 20px; }
.form-ok__ic { width: 58px; height: 58px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.form-ok h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.form-ok p { color: var(--ink-2); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } .form__row--2 { grid-template-columns: 1fr; } }

.footer { background: var(--bg-soft); color: var(--ink); padding: clamp(54px,7vw,80px) 0 34px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__brand img { height: 34px; margin-bottom: 16px; }
.footer__brand p { color: var(--ink-2); font-size: 14px; max-width: 36ch; }
.footer__col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 15px; }
.footer__col ul { list-style: none; display: grid; gap: 9px; }
.footer__col a, .footer__col li { color: var(--ink-2); font-size: 14px; }
.footer__col a:hover { color: var(--orange); }
.footer__bot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: var(--ink-3); }
.footer__bot .lg { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* =========================================================================
   PAGES LÉGALES
   ========================================================================= */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(20px, 5vw, 40px); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,0.9); backdrop-filter: blur(14px); z-index: 100; }
.topbar__logo img { height: 30px; display: block; }
.topbar__back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: color 0.2s; }
.topbar__back:hover { color: var(--ink); }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(50px, 8vw, 80px) clamp(20px, 5vw, 40px) clamp(60px, 9vw, 110px); }
.legal h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.03em; line-height: 1.06; margin: 14px 0 8px; }
.legal__meta { color: var(--ink-3); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 21px); letter-spacing: -0.01em; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; line-height: 1.72; }
.legal p { margin-bottom: 10px; }
.legal ul { margin: 6px 0 12px 20px; display: grid; gap: 5px; }
.legal a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--orange); }
.legal strong { color: var(--ink); }
.legal__note { margin-top: 34px; padding: 16px 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 14px; color: var(--ink-2); }

/* =========================================================================
   MOTION
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .logos__track, .hero__cards .hcard { animation: none !important; }
  .btn, .step, .ocard, .switch__card { transition: none; }
}


/* =========================================================================
   MOBILE — passe d'optimisation (<= 560px)
   ========================================================================= */
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 62px 0; }
  .sec-head { margin-bottom: 30px; }

  /* Typo resserrée */
  .h1 { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.06; }
  .h2 { font-size: clamp(25px, 7.2vw, 34px); }
  .lead, .hero__sub { font-size: 16px; }

  /* Hero */
  .hero { padding: 104px 0 44px; }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__sub { margin-top: 18px; max-width: none; }
  .hero__cta { margin-top: 26px; gap: 10px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__cards { height: 250px; margin-top: 18px; }
  .hcard { width: clamp(150px, 46vw, 190px); }

  /* Boutons plus faciles à toucher */
  .btn { padding: 13px 22px; }
  .btn--lg { padding: 15px 26px; }

  /* Grilles déjà empilées : espacements resserrés */
  .steps, .appgrid { gap: 14px; }
  .appitem { padding: 20px; }
  .reseau__stats { gap: 22px; }
  .switch { gap: 32px; }

  /* Marquee logos : un peu plus compacte */
  .logos { padding: 24px 0; }
  .logos__track { gap: 34px; }
  .logos__item { font-size: 15px; }

  /* Menu plein écran : liens un poil plus petits */
  .msheet { padding: 84px 24px 32px; }
  .msheet a { font-size: 20px; padding: 13px 0; }
}

@media (max-width: 380px) {
  .h1 { font-size: 29px; }
  .sec { padding: 52px 0; }
}
