:root {
  --navy: #101F3C;
  --navy-2: #1769FF;
  --blue: #1769FF;
  --yellow: #00C2D7;
  --yellow-2: #3CD5E6;
  --ink: #0F172A;
  --muted: #55627A;
  --line: #E3E8F0;
  --bg: #FFFFFF;
  --tint: #F4F7FC;
  --wa: #25D366;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(16, 31, 60, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .8em;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 1.25em; height: 1.25em; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 20px -8px rgba(0, 194, 215, .55); }
.btn--accent:hover { background: var(--yellow-2); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--small { padding: .55em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: .03em; }
.brand__text small { font-size: .62rem; font-weight: 700; color: var(--navy-2); letter-spacing: .32em; margin-top: 3px; }
.brand--light .brand__text strong, .brand--light .brand__text small { color: #fff; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--blue); }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(23, 105, 255, .5), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(0, 194, 215, .14), transparent 40%),
    linear-gradient(135deg, #0A1428 0%, var(--navy) 55%, #16306A 100%);
  color: #fff;
  padding: 90px 0 100px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; }
.hero .hl { color: var(--yellow); }
.hero .eyebrow { color: var(--yellow); }
.lead { font-size: 1.15rem; color: #C9D6EE; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #DCE5F5; font-weight: 600; font-size: .95rem; }
.hero__points li::before { content: "✓"; color: var(--yellow); margin-right: .45em; font-weight: 800; }

.hero__visual { position: relative; min-height: 360px; }
.hero__card { background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.hero__card--main { padding: 30px; max-width: 360px; margin-left: auto; }
.hero__card--main img { margin: 0 auto 10px; }
.hero__status { text-align: center; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22C55E; margin-right: 8px; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.bars div { margin-bottom: 12px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.bars span { display: block; margin-bottom: 5px; }
.bars i { display: block; height: 8px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--blue), #22C55E); border-radius: inherit; animation: fill 1.6s ease-out both; }
@keyframes fill { from { width: 0; } }
.hero__card--chip {
  position: absolute; left: 0; bottom: -62px; padding: 14px 18px; display: flex; flex-direction: column;
  border-left: 5px solid var(--yellow);
}
.hero__card--chip strong { color: var(--navy); }
.hero__card--chip span { font-size: .85rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 680px; margin-bottom: 44px; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 9px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23101F3C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

.services { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow); border-top: 5px solid var(--navy);
}
.service p { color: var(--muted); }
.service__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: var(--yellow); margin-bottom: 20px;
}
.service__icon svg { width: 28px; height: 28px; }

.extras__title { margin: 56px 0 20px; font-size: 1.35rem; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.extra { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.extra h4 { margin: 0 0 .3em; font-size: 1.05rem; color: var(--navy); }
.extra p { margin: 0; color: var(--muted); font-size: .95rem; }
.extra__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); }
.extra__icon svg { width: 24px; height: 24px; }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.audience__card { background: #fff; border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); }
.audience__card p { color: var(--muted); }
.audience__card .checklist { margin-bottom: 22px; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--tint); }
.feature__num { display: inline-block; font-weight: 800; font-size: .9rem; color: var(--navy); background: var(--yellow); padding: 3px 10px; border-radius: 99px; margin-bottom: 14px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.steps { margin-top: 60px; background: var(--navy); color: #fff; border-radius: 22px; padding: 40px; }
.steps__title { color: #fff; margin-bottom: 26px; }
.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 58px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--yellow); color: var(--navy); font-weight: 800; display: grid; place-items: center; font-size: 1.1rem;
}
.steps strong { display: block; font-size: 1.05rem; margin-bottom: 3px; }
.steps span { color: #C9D6EE; font-size: .95rem; }

/* ---------- Bandeau ---------- */
.banner { background: linear-gradient(120deg, var(--blue), #0F57D9); padding: 46px 0; }
.banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner h2 { margin-bottom: .2em; color: #fff; }
.banner p { margin: 0; color: #DCE8FF; font-weight: 500; }
.banner .btn--accent { background: var(--navy); color: #fff; box-shadow: none; font-size: 1.1rem; }
.banner .btn--accent:hover { background: var(--navy-2); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact__list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.contact__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact__list a, .contact__list span:not(.contact__label) { font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.05rem; }

.form { background: var(--tint); border-radius: 22px; padding: 34px; border: 1px solid var(--line); }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 16px; color: var(--navy); }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23,105,255,.15); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__note { font-size: .82rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.form__error { color: #B91C1C; font-weight: 600; font-size: .9rem; text-align: center; margin: 10px 0 0; }

/* ---------- Footer ---------- */
.footer { background: #0A1428; color: #9FB1D1; padding: 46px 0 30px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.footer__inner .brand { margin-bottom: 12px; }
.footer__copy { font-size: .85rem; color: #6F83A8; margin: 0; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(37,211,102,.6);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Réseau animé en fond du haut de page */
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .75; }

/* Apparition du texte d'accueil */
.hero__text > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__text > :nth-child(2) { animation-delay: .1s; }
.hero__text > :nth-child(3) { animation-delay: .2s; }
.hero__text > :nth-child(4) { animation-delay: .3s; }
.hero__text > :nth-child(5) { animation-delay: .4s; }
.hero__visual { animation: rise 1s .25s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Reflet lumineux sur « entre de bonnes mains » */
.hero .hl {
  background: linear-gradient(100deg, var(--yellow) 0%, var(--yellow) 40%, #D9FBFF 50%, var(--yellow) 60%, var(--yellow) 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s ease-in-out 1.2s infinite;
}
@keyframes shine { 0% { background-position: 100% 0; } 35%, 100% { background-position: 0 0; } }

/* Tableau de bord vivant */
.hero__card--main { position: relative; overflow: hidden; }
.hero__card--main::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(0,194,215,.10) 70%, rgba(0,194,215,.45) 99%, transparent);
  animation: scan 4.5s linear infinite;
}
@keyframes scan { from { transform: translateY(-80px); } to { transform: translateY(520px); } }
.term {
  margin: -8px 0 18px; padding: 8px 12px; border-radius: 10px; background: #0A1428; color: #7FE6F2;
  font: 600 .78rem/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: nowrap; overflow: hidden;
}
.term__prompt { color: var(--yellow); }
.term__caret { display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #7FE6F2; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.dot { position: relative; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22C55E; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.bars i::after { animation: refill 8s ease-in-out infinite; }
.bars div:nth-child(2) i::after { animation-delay: .35s; }
.bars div:nth-child(3) i::after { animation-delay: .7s; }
.bars div:nth-child(4) i::after { animation-delay: 1.05s; }
@keyframes refill { 0% { width: 0; } 18%, 88% { width: var(--w); } 100% { width: var(--w); opacity: .9; } }
.hero__card--chip { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Cartes néon et effet 3D */
.service, .extra, .feature, .audience__card { position: relative; transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease, opacity .6s ease; transition-delay: var(--d, 0s); transform-style: preserve-3d; }
.service > *, .extra > * { position: relative; z-index: 1; }
.service { border-top: 1px solid var(--line); overflow: hidden; }
.service::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--blue), var(--yellow), var(--navy)); background-size: 300% 100%; transition: background-position .8s ease; }
.service::before, .extra::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(0,194,215,.13), transparent 60%);
}
.service:hover, .extra:hover, .feature:hover, .audience__card:hover {
  border-color: rgba(0,194,215,.55);
  box-shadow: 0 0 0 1px rgba(0,194,215,.35), 0 22px 45px -18px rgba(23,105,255,.45);
}
.service:hover::before, .extra:hover::before { opacity: 1; }
.service:hover::after { background-position: 100% 0; }
.service__icon { transition: box-shadow .35s ease; }
.service:hover .service__icon { box-shadow: 0 0 0 4px rgba(0,194,215,.15), 0 0 22px rgba(0,194,215,.55); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__text > *, .hero__visual, .hero .hl, .hero__card--main::after, .term__caret, .dot::after, .bars i::after, .hero__card--chip { animation: none !important; }
  .hero__card--main::after { display: none; }
  .hero .hl { background: none; color: var(--yellow); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .section { padding: 64px 0; }
  .hero { padding: 60px 0 70px; }
  .services, .extras, .audience, .features, .steps ol, .form__row { grid-template-columns: 1fr; }
  .service, .audience__card, .form, .steps { padding: 24px; }
  .container { padding: 0 16px; }
}
