/* =========================================================
   Smart Solution Digital — Feuille de style
   ========================================================= */
:root {
  --brand: #0F2F5F;
  --brand-2: #1D4E9E;
  --tint: #EEF3FA;
  --tint-2: #DCE6F4;
  --topbar: #EEF3FA;
  --amber: #F6A623;
  --yellow: #FFC861;
  --teal: var(--brand-2);
  --green: #6DB33F;
  --ink: #1E2433;
  --text: #474F60;
  --muted: #6E7586;
  --line: #ECEFF3;
  --soft: #F6F8FA;
  --radius: 20px;
  --shadow: 0 4px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 18px 50px -12px rgba(16, 24, 40, .18);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Alan Sans", "Nunito Sans", Helvetica, Arial, sans-serif;

  --clover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='%23D6E1F1'%3E%3Ccircle cx='28' cy='23.5' r='4.2'/%3E%3Ccircle cx='32.5' cy='28' r='4.2'/%3E%3Ccircle cx='28' cy='32.5' r='4.2'/%3E%3Ccircle cx='23.5' cy='28' r='4.2'/%3E%3C/g%3E%3C/svg%3E");
  --clover-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='%23ffffff' fill-opacity='.09'%3E%3Ccircle cx='28' cy='23.5' r='4.2'/%3E%3Ccircle cx='32.5' cy='28' r='4.2'/%3E%3Ccircle cx='28' cy='32.5' r='4.2'/%3E%3Ccircle cx='23.5' cy='28' r='4.2'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--brand); color: #fff; }

.container { width: min(1200px, 90%); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  height: 52px; padding: 0 1.6rem; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn svg:first-child { width: 20px; height: 20px; stroke-width: 2; }
.btn:hover svg:first-child { transform: scale(1.12) rotate(-6deg); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn--lg { height: 56px; padding: 0 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-2); box-shadow: 0 12px 26px -10px rgba(15, 47, 95, .6); }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45); }
.btn--outline { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Motif trèfles ---------- */
.pattern { position: relative; isolation: isolate; }
.pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--clover); background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 35%, #000 70%);
  mask-image: linear-gradient(to bottom, transparent 35%, #000 70%);
}
.pattern--dark::before { background-image: var(--clover-dark); -webkit-mask-image: none; mask-image: none; }

/* ---------- Titres de section ---------- */
.head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.head p { color: var(--text); font-size: 1rem; margin: 0; }

/* ---------- Barre d'annonce ---------- */
.topbar { background: var(--topbar); color: var(--ink); font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; }
.topbar p { margin: 0; }
.topbar p a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; margin-left: 6px; }
.topbar__links { display: flex; gap: 26px; }
.topbar__links a, .topbar__links span { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; white-space: nowrap; }
.topbar__links a:hover { color: var(--brand-2); }
.topbar__links svg { width: 15px; height: 15px; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 20px rgba(0, 0, 0, .08); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 88px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: auto; height: 44px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-size: 1.32rem; font-weight: 700; color: var(--brand); letter-spacing: -.02em; }
.logo__text i { font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .5em; text-transform: uppercase; color: var(--brand-2); margin-top: 5px; }
.logo__text b span { color: #1A7CFF; }
.logo--light .logo__text b { color: #fff; }
.logo--light .logo__text b span { color: #3D95FF; }
.logo--light .logo__text i { color: rgba(255, 255, 255, .78); }
.logo__chip { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center; }

.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { padding: 10px 16px; border-radius: 14px; font-weight: 500; color: var(--ink); transition: background .25s, color .25s; white-space: nowrap; }
.menu a:hover { background: var(--soft); }
.menu a.is-active { background: var(--tint); color: var(--brand); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .3s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 30px; }
.header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Héro ---------- */
/* ----- Bannière héro fusionnée ----- */
.hero-banner { position: relative; color: rgba(255, 255, 255, .88); overflow: hidden; min-height: min(92vh, 960px); display: flex; flex-direction: column; }
/* Contenu héro visible même si le JS échoue ou tarde */
.hero-banner .reveal { opacity: 1; transform: none; }
.hero-banner__bg { position: absolute; inset: 0; z-index: 0; }
.hero-banner__slide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.06);
  background-color: var(--brand);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 1.4s var(--ease), transform 8s linear;
}
.hero-banner__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-banner__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(15, 47, 95, .92) 0%, rgba(15, 47, 95, .78) 38%, rgba(15, 47, 95, .55) 72%, rgba(15, 47, 95, .72) 100%),
    linear-gradient(to top, rgba(7, 14, 34, .8) 0%, transparent 48%);
}
.hero-banner__main {
  position: relative; z-index: 2; flex: 1;
  display: flex; align-items: center;
  padding: 72px 0 56px; min-height: 480px;
}
.hero-banner__text { max-width: 720px; }
.hero-banner__tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: .9rem; font-weight: 500; color: #fff; margin-bottom: 24px; backdrop-filter: blur(8px); }
.hero-banner__tag svg { width: 16px; height: 16px; fill: var(--amber); stroke: none; }
.hero-banner h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.5rem); line-height: 1.12; margin-bottom: 22px; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-banner__lead { font-size: 1.15rem; max-width: 540px; margin-bottom: 34px; }
.hero-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-banner__facts { display: flex; flex-wrap: wrap; gap: 14px 34px; font-size: .95rem; }
.hero-banner__facts li { display: flex; align-items: baseline; gap: 8px; }
.hero-banner__facts b { font-size: 1.8rem; font-weight: 600; color: var(--amber); }
.hero-banner__nav { display: flex; gap: 8px; margin-top: 28px; }
.hero-banner__dot {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .35); cursor: pointer; transition: transform .3s, background .3s, width .3s;
}
.hero-banner__dot.is-active { background: var(--amber); width: 28px; border-radius: 999px; }

.hero-banner__dock {
  position: relative; z-index: 3; margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(8, 20, 42, .45) 0%, rgba(8, 20, 42, .72) 100%);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  padding: 20px 0 24px;
}
.hero-banner__dock-inner { display: grid; gap: 14px; }
.hero-banner__dock-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.hero-banner__dock-eyebrow { margin: 0; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.hero-banner__dock-lead { margin: 0; flex: 1; min-width: 220px; max-width: 560px; font-size: .9rem; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.hero-banner__clients.marquee {
  display: grid; gap: 10px; padding: 2px 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.hero-banner:hover .hero-banner__clients .marquee__row { animation-play-state: paused; }
.hero-banner__clients .marquee__row { gap: 12px; animation-duration: 50s; }
.hero-banner__clients .marquee__row[data-dir="right"] { animation-duration: 56s; margin-top: 0; }

.audience {
  display: flex; align-items: flex-start; gap: 12px; flex: none;
  width: min(272px, 76vw); padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 10px 28px -16px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.audience:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .5); }
.audience__icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; background: var(--tint); color: var(--brand);
}
.audience__icon svg { width: 20px; height: 20px; stroke-width: 2; }
.audience__body { min-width: 0; }
.audience h3 { margin: 0 0 3px; font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.audience p { margin: 0; font-size: .78rem; line-height: 1.35; color: var(--muted); }

.petal, .shot { position: absolute; clip-path: url(#flower); }
.petal--amber { background: var(--amber); }
.petal--yellow { background: var(--yellow); }
.shot img { width: 100%; height: 100%; object-fit: cover; }

.deco { position: absolute; color: rgba(255, 255, 255, .55); animation: twinkle 4s ease-in-out infinite; }
.deco use { fill: currentColor; stroke: none; }
.deco--1 { width: 18px; height: 18px; left: 62%; top: 4%; color: var(--yellow); }
.deco--2 { width: 28px; height: 28px; left: 4%; bottom: 18%; animation-delay: -1s; }
.deco--3 { width: 12px; height: 12px; right: 6%; top: 34%; color: #fff; animation-delay: -2s; }
.deco--4 { width: 22px; height: 22px; right: 2%; top: 46%; animation-delay: -3s; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.75) rotate(20deg); opacity: .7; } }

.badge {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .45); animation: bob 6s ease-in-out infinite;
}
.badge b { display: block; font-size: .95rem; font-weight: 600; }
.badge small { color: var(--muted); font-size: .8rem; }
.badge--a { left: -4%; bottom: 26%; }
.badge--b { right: -2%; top: 10%; animation-delay: -3s; }
.badge__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--teal); }

.badge__icon svg { width: 20px; height: 20px; stroke-width: 2.2; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Bande domaines ---------- */
@keyframes slide { to { transform: translateX(-50%); } }
.strip { padding: 28px 0 32px; background: #fff; border-bottom: 1px solid var(--line); }
.strip__title { text-align: center; max-width: 720px; margin: 0 auto 22px; font-size: clamp(1rem, 1.8vw, 1.12rem); font-weight: 600; color: var(--ink); }
.strip__mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.strip__track { display: flex; gap: 12px; width: max-content; animation: slide 42s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__track span {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: var(--tint); border: 1px solid var(--tint-2); font-weight: 500; font-size: .94rem; color: var(--brand); white-space: nowrap;
}
.strip__track svg { width: 20px; height: 20px; color: var(--amber); flex: none; stroke-width: 2; }

/* ---------- Qui sommes-nous ---------- */
.about { background: var(--tint); padding: 96px 0 0; }
.about__inner { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.about__aside { position: sticky; top: 130px; }
.about__aside h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 18px; }
.about__aside p { font-size: 1.05rem; max-width: 460px; }
.about__photo { margin-top: 30px; height: 360px; border-radius: 200px 200px 0 0; overflow: hidden; border: 10px solid #fff; border-bottom: 0; box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__list { display: grid; gap: 18px; padding-bottom: 96px; }
.feature { display: flex; gap: 20px; padding: 26px 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--brand); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.feature p { margin: 0; }

/* ---------- Pôles : cartes empilées ---------- */
.poles { padding: 100px 0 60px; }
.stack { display: grid; gap: 40px; }
.pole {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 1fr; min-height: 560px;
  border-radius: 32px; overflow: hidden; background: var(--brand); color: rgba(255, 255, 255, .8);
  box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, .35);
  transform-origin: 50% 0; transition: transform .2s linear, filter .2s linear;
}
@media (min-width: 961px) and (min-height: 860px) {
  .pole { position: sticky; top: calc(112px + var(--i) * 22px); }
}
.pole__body { padding: 52px 48px; display: flex; flex-direction: column; align-items: flex-start; }
.pole__tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: .85rem; font-weight: 600; margin-bottom: 16px; }
.pole h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 28px; }
.pole__domains { display: grid; gap: 22px; margin-bottom: 32px; }
.dom h4 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.dom h4 svg { width: 22px; height: 22px; color: var(--yellow); flex: none; }
.dom__num { font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .5); letter-spacing: .05em; }
.dom ul { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.dom li { font-size: .88rem; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.pole__media { display: grid; place-items: center; padding: 40px; background-color: rgba(0, 0, 0, .12); }
.pole__media figure { position: relative; width: min(100%, 400px); aspect-ratio: 4 / 5; }
.pole__media figure::before { content: ""; position: absolute; inset: 0; transform: translate(14px, 14px); border-radius: 220px 220px 28px 28px; background: var(--amber); }
.pole__media img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 220px 220px 28px 28px; }

/* ---------- Pourquoi nous ---------- */
.why { padding: 64px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; padding: 20px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; }
.card__icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 1.02rem; font-weight: 600; margin: 2px 0 6px; }
.card p { margin: 0; font-size: .9rem; line-height: 1.5; }

/* ---------- Démarche ---------- */
.process { background: var(--tint); padding: 64px 0; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 40px; left: 8%; right: 8%; border-top: 2px dashed #C3D2E8; z-index: 0; }
.step { position: relative; z-index: 1; background: #fff; border-radius: var(--radius); padding: 18px 14px; box-shadow: var(--shadow); text-align: center; transition: transform .35s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step__icon { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; box-shadow: 0 0 0 6px var(--tint); }
.step__icon svg { width: 20px; height: 20px; }
.step__num { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.step h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: .84rem; line-height: 1.5; margin: 0; }

/* ---------- Carrousel clients (bannière) ---------- */
.marquee {
  display: grid; gap: 22px; padding: 10px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__row { display: flex; gap: 22px; width: max-content; animation: slide 55s linear infinite; }
.marquee__row[data-dir="right"] { animation-direction: reverse; animation-duration: 62s; }
.marquee:hover .marquee__row { animation-play-state: paused; }

.client {
  --c: var(--brand); --c2: var(--brand-2);
  position: relative; overflow: hidden; flex: none;
  width: 320px; min-height: 230px; padding: 26px 26px 28px;
  border-radius: 24px; color: rgba(255, 255, 255, .82);
  background: linear-gradient(145deg, var(--c2), var(--c));
  box-shadow: 0 16px 34px -18px var(--c);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.client:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 26px 44px -18px var(--c); }
.client:nth-child(even) { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.client:nth-child(even):hover { box-shadow: var(--shadow-lg); }
.client:nth-child(even) .client__icon { background: var(--tint); border-color: var(--tint-2); color: var(--brand); }
.client:nth-child(even) h3 { color: var(--ink); }
.client:nth-child(even) .client__num { color: var(--amber); opacity: 1; }
.client:nth-child(even) .client__bg { color: var(--brand); opacity: .06; }
.client__num { position: absolute; top: 22px; right: 24px; font-size: .85rem; font-weight: 600; opacity: .6; }
.client__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); color: #fff; margin-bottom: 22px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.client__icon svg { width: 26px; height: 26px; }
.client h3 { position: relative; color: #fff; font-size: 1.18rem; font-weight: 600; margin-bottom: 8px; }
.client p { position: relative; margin: 0; font-size: .95rem; line-height: 1.5; }
.client__bg { position: absolute; right: -26px; bottom: -26px; width: 150px; height: 150px; color: #fff; opacity: .1; stroke-width: 1.2; transition: transform .6s var(--ease); }
.client:hover .client__bg { transform: rotate(-12deg) scale(1.08); }

/* ---------- Bandeau mobile money ---------- */
.spot { padding: 60px 0 100px; }
.spot__box { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; border-radius: 32px; background: var(--brand); color: rgba(255, 255, 255, .82); padding: 64px 56px; overflow: hidden; }
.spot__box::before { left: 50%; }
.spot h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 16px; }
.spot__text p { font-size: 1.05rem; }
.spot__list { display: grid; gap: 10px; margin: 22px 0 32px; }
.spot__list li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.spot__list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--amber); color: var(--ink); stroke-width: 3; }
.spot__visual { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; }
.spot__visual .petal { width: 100%; aspect-ratio: 1; left: 0; top: 0; }
.spot__visual .shot { width: 92%; aspect-ratio: 1; left: 6%; top: 6%; }
.spot__visual .shot img { object-position: 60% 40%; }
.spot__visual .deco--1 { left: auto; right: 0; top: 0; }
.spot__visual .deco--2 { left: -4%; bottom: 8%; }

/* ---------- FAQ ---------- */
.faq { padding: 24px 0 64px; }
.faq__inner { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.faq__aside h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.faq__aside p { font-size: .98rem; max-width: 380px; }
.faq__photo { margin-top: 20px; border-radius: 20px; overflow: hidden; background: var(--yellow); aspect-ratio: 4 / 3; max-height: 280px; }
.faq__photo img { width: 100%; height: 100%; object-fit: cover; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; cursor: pointer; font-weight: 600; font-size: .98rem; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa__btn { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); box-shadow: var(--shadow); transition: transform .35s var(--ease), background .3s, color .3s; }
.qa__btn svg { width: 16px; height: 16px; stroke-width: 2.4; }
.qa[open] .qa__btn { transform: rotate(180deg); background: var(--brand); color: #fff; }
.qa__body { overflow: hidden; }
.qa__body p { padding-bottom: 16px; margin: 0; font-size: .93rem; }

/* ---------- Contact ---------- */
.contact { padding: 100px 0; background: var(--soft); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; }
.contact__card { border-radius: 28px; background: var(--brand); color: rgba(255, 255, 255, .7); overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.contact__photo { flex: none; height: min(36vh, 220px); min-height: 180px; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.contact__list { flex: 1; padding: 28px 32px 32px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__list li > span { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--amber); color: var(--ink); }
.contact__list li > span svg { width: 20px; height: 20px; }
.contact__list small { display: block; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.contact__list div { color: #fff; font-weight: 500; font-size: 1.05rem; }
.contact__list a:hover { color: var(--yellow); }

.form { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft); font: inherit; color: var(--ink); outline: none; resize: vertical; transition: border-color .25s, background .25s, box-shadow .25s; }
.field input:focus, .field textarea:focus { border-color: var(--brand-2); background: #fff; box-shadow: 0 0 0 4px rgba(29, 78, 158, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #E5484D; background: #FFF6F6; }
.chips { border: 0; padding: 0; margin: 4px 0 20px; min-width: 0; }
.chips legend { font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; padding: 0; }
.chips__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.chips label { display: block; min-width: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--soft); font-weight: 500; font-size: .84rem;
  line-height: 1.25; text-align: center; cursor: pointer; user-select: none;
  transition: border-color .25s, background .25s, color .25s, box-shadow .25s;
}
.chips span:hover { border-color: var(--brand-2); background: #fff; }
.chips input:checked + span { background: var(--tint); border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 1px rgba(15, 47, 95, .08); }
.chips input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.form__status { margin: 14px 0 0; text-align: center; min-height: 1.5em; font-weight: 500; }
.form__status.ok { color: #1D7A3A; }
.form__status.err { color: #C9353A; }

/* ---------- Pied de page ---------- */
.footer { background: var(--brand); color: rgba(255, 255, 255, .75); padding: 60px 0 32px; }
.footer__top { margin-bottom: 40px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.footer h4 { color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col span { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.footer__col a:hover { color: #fff; }
.footer__col svg { width: 16px; height: 16px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-top: 28px; font-size: .88rem; }
.footer__bottom p { margin: 0; max-width: 640px; }
.footer__sign { color: var(--yellow); font-weight: 500; text-align: right; }

/* ---------- WhatsApp flottant ---------- */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 150; display: flex; align-items: center; gap: 14px; }
.wa__btn {
  position: relative; width: 62px; height: 62px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
  animation: wa-beat 2.4s ease-in-out infinite;
}
.wa__btn svg { width: 34px; height: 34px; fill: currentColor; stroke: none; position: relative; z-index: 1; }
.wa__btn::before, .wa__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  animation: wa-pulse 2.4s cubic-bezier(.2, .6, .4, 1) infinite; z-index: -1;
}
.wa__btn::after { animation-delay: 1.2s; }
.wa:hover .wa__btn { transform: scale(1.08); animation-play-state: paused; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes wa-beat { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.08); } 20% { transform: scale(1); } }

.wa__bubble {
  position: relative; padding: 10px 16px; border-radius: 14px; background: #fff; color: var(--ink);
  font-size: .92rem; white-space: nowrap; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.wa__bubble b { color: #128C7E; }
.wa__bubble::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.wa:hover .wa__bubble, .wa.is-hinting .wa__bubble { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu, .header__cta { display: none; }
  .burger { display: block; }
  .header.is-open .menu {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 12px 5% 24px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .2);
  }
  .header.is-open .menu a { padding: 14px 16px; font-size: 1.05rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 1240px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__card { display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
  .contact__photo { height: 100%; min-height: 220px; max-height: none; }
  .contact__list { padding: 24px 28px; }
}
@media (max-width: 1100px) {
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 960px) {
  .hero-banner__main { padding: 56px 0 40px; min-height: 0; }
  .about__inner, .faq__inner, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__aside { position: static; }
  .about__list { padding-bottom: 72px; }
  .pole { grid-template-columns: 1fr; position: relative; top: 0; }
  .pole__media { padding: 32px; }
  .pole__media figure { width: min(100%, 300px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .spot__box { grid-template-columns: 1fr; padding: 48px 32px; }
  .spot__box::before { left: 0; top: 50%; }
}
@media (max-width: 620px) {
  .topbar__links span { display: none; }
  .topbar__links { gap: 16px; font-size: .82rem; }
  .header__inner { height: 76px; }
  .logo__mark { width: auto; height: 38px; }
  .logo__text b { font-size: 1.12rem; }
  .hero-banner__actions .btn { width: 100%; }
  .hero-banner { min-height: auto; }

  .pole__body { padding: 36px 26px; }
  .cards, .steps, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .client { width: 270px; min-height: 210px; padding: 22px; }
  .marquee__row { animation-duration: 40s; }
  .form { padding: 28px 22px; }
  .contact__card { display: flex; }
  .contact__photo { height: 220px; min-height: 0; }
  .chips__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__sign { text-align: left; }
  .wa { right: 16px; bottom: 16px; }
  .wa__btn { width: 56px; height: 56px; }
  .wa__btn svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Nos plateformes (FERE / SANIYORO) ---------- */
.platforms { padding: 96px 0 90px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.platforms__eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--brand); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.platforms__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.platform { --accent: var(--brand-2); --accent-soft: var(--tint); position: relative; display: flex; flex-direction: column; padding: 36px 34px 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.platform::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--accent); }
.platform:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.platform--fere { --accent: #F77F21; --accent-soft: #FFF1E6; }
.platform--sani { --accent: #1D5BD8; --accent-soft: #E9F0FD; }
.platform__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; margin-bottom: 22px; }
.platform__logo { height: 64px; width: auto; object-fit: contain; }
.platform__logo--square { height: 88px; margin: -6px 0; border-radius: 18px; }
.platform__badge { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .8rem; font-weight: 600; }
.platform h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.platform > p { margin-bottom: 18px; }
.platform__list { display: grid; gap: 10px; margin-bottom: 28px; }
.platform__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); }
.platform__list svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); stroke-width: 2.6; }
.platform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: auto; }
.platform__cta { background: var(--accent); color: #fff; }
.platform__cta:hover { box-shadow: 0 12px 26px -10px var(--accent); filter: brightness(1.05); }
.platform__link { font-weight: 600; color: var(--accent); border-bottom: 1.5px solid transparent; transition: border-color .25s; }
.platform__link:hover { border-color: currentColor; }
@media (max-width: 960px) {
  .platforms { padding: 72px 0 64px; }
  .platforms__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .platform { padding: 30px 22px 26px; }
  .platform__logo { height: 52px; }
  .platform__logo--square { height: 64px; }
  .platform__actions .btn { width: 100%; }
}