/* RS Multipost - site vitrine. Feuille de style unique, sans dépendance externe.
   Palette issue du logo officiel : navy #0c295c, bleu #0172fe, bleu clair #4aa4fe. */

:root {
  --blue: #0172fe;
  --blue-2: #4aa4fe;
  --navy: #0c295c;
  --navy-2: #123a7d;
  --ink: #17233d;
  --muted: #5a6b85;
  --bg: #ffffff;
  --bg-soft: #f3f7ff;
  --bg-tint: #eaf3ff;
  --line: #e3ecf7;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(12, 41, 92, .08);
  --shadow-lg: 0 26px 60px rgba(12, 41, 92, .16);
  /* Couleurs de marque des réseaux */
  --fb: #1877f2;
  --ig: #e1306c;
  --li: #0a66c2;
  --tk: #010101;
  --container: 1140px;
  --gutter: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.gradient-text { background: linear-gradient(100deg, var(--blue-2), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(1, 114, 254, .32); }
.btn--primary:hover { background: #0a63d8; color: #fff; }
.btn--light { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.btn--light:hover { color: var(--blue); }
.btn--ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }

/* ---------- Marque / logo ---------- */
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 60px; width: auto; display: block; }
.site-footer .brand__logo { height: 70px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 75px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 500; }
.nav__links a:hover { color: var(--blue); }
/* Le CTA du header reste en texte blanc (sinon écrasé par .nav__links a). */
.nav__links a.btn--primary, .nav__links a.btn--primary:hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Héros (bleu foncé) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(150deg, #123a7d 0%, #0c295c 60%, #081b3f 100%); }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -140px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 164, 254, .35), transparent 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 460px; height: 460px; left: -180px; bottom: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 114, 254, .3), transparent 60%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; padding: clamp(60px, 9vw, 108px) var(--gutter); }

/* Fond animé : flux de signal en éventail (un contenu -> 4 réseaux) */
.hero__flow { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  opacity: .9; -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); }
.hero__flow svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__flow .flow-line { fill: none; stroke: rgba(140, 192, 255, .32); stroke-width: 1.1;
  stroke-dasharray: 2 5; animation: flowdash 7s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -112; } }
@media (prefers-reduced-motion: reduce) {
  .hero__flow .flow-line { animation: none; }
  .hero__flow .flow-anim { display: none; }
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero__col { max-width: 640px; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: #cfe4ff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.2rem; }
.hero h1 { color: #fff; }
.hero__slogan { display: block; color: var(--blue-2); font-weight: 800; font-size: clamp(1.3rem, 2.7vw, 1.9rem); margin-top: .4rem; }
.hero__lede { font-size: 1.2rem; color: #dbe8ff; max-width: 600px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 2rem; }
.netrow { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.2rem; }
.netrow__label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #a9c6ef; }
.netrow .net { width: 26px; height: 26px; }
.netrow .net svg { width: 100%; height: 100%; fill: #fff; opacity: .95; }

/* Aperçu produit */
.appshot { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); color: var(--ink); overflow: hidden; }
.appshot__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.appshot__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f2; }
.appshot__bar span { margin-left: auto; font-size: .8rem; color: var(--muted); font-weight: 600; }
.appshot__body { padding: 18px; }
.appshot__label { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.appshot__post { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: .5rem 0 1rem; background: var(--bg-soft); }
.appshot__nets { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--navy);
  background: var(--bg-tint); border: 1px solid var(--line); padding: .35rem .7rem; border-radius: 999px; }
.chip svg { width: 15px; height: 15px; }
.appshot__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.appshot__stats { display: flex; gap: 1.1rem; font-size: .8rem; color: var(--muted); }
.appshot__stats b { display: block; color: var(--navy); font-size: 1.05rem; }
.appshot .btn { padding: .6rem 1.1rem; font-size: .92rem; }

/* ---------- Bandeau statistiques ---------- */
.statband { background: linear-gradient(180deg, #0c295c 0%, #0a2350 100%); }
section[id] { scroll-margin-top: 90px; }
.statband .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; padding: clamp(1.6rem, 2.6vw, 2.4rem) var(--gutter); }
.stat { display: block; text-align: center; padding: 1.05rem .8rem .95rem; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); text-decoration: none;
  transition: transform .28s ease, border-color .28s ease, background .28s ease; }
.stat:hover { transform: translateY(-4px); border-color: rgba(74, 164, 254, .42); background: rgba(255, 255, 255, .065); }
.stat__icon { width: 34px; height: 34px; margin: 0 auto .6rem; display: grid; place-items: center; border-radius: 10px;
  background: rgba(74, 164, 254, .14); color: #8ec2ff; }
.stat__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stat b { display: block; font-size: clamp(1.7rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(120deg, #ffffff 0%, #7fb6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: .4rem; font-size: .82rem; color: #b9cdec; }

/* ---------- Sections ---------- */
.section { padding: clamp(58px, 8vw, 100px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: linear-gradient(160deg, #0c295c, #081b3f); color: #dbe8ff; }
.section--navy h2 { color: #fff; }
.section__head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--bg-tint); padding: .3rem .8rem; border-radius: 999px; margin-bottom: .9rem; }
.section--navy .eyebrow { color: #bcd6ff; background: rgba(255, 255, 255, .1); }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--navy .lead { color: #b9cff0; }

/* ---------- Cartes fonctionnalités ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; margin-bottom: 1rem; }
.card__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Réseaux (détaillé, coloré) ---------- */
.netgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.netcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem;
  box-shadow: var(--shadow); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.netcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.netcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent, var(--blue)); }
.netcard__head { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.netcard__logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, #fff); }
.netcard__logo svg { width: 28px; height: 28px; fill: var(--accent); }
.netcard__head h3 { margin: 0; }
.netcard__head span { font-size: .85rem; color: var(--muted); }
.netcard ul { list-style: none; margin: 0; padding: 0; }
.netcard li { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .5rem; color: var(--ink); font-size: .97rem; }
.netcard li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; stroke: var(--accent); fill: none; stroke-width: 2; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 1.6rem 1.9rem; box-shadow: var(--shadow); text-align: center;
  transition: transform .18s ease, box-shadow .18s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 1.2rem; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff;
  font-weight: 800; font-size: 1.3rem; box-shadow: 0 12px 24px rgba(1, 114, 254, .35); }
.step h3 { margin-bottom: .35rem; }
.step .step__lead { color: var(--navy); font-weight: 600; margin: 0 0 .5rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Confiance ---------- */
.trust-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.trust-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.trust-list { margin-top: 1.6rem; display: grid; gap: 1.3rem; }
.trust { display: flex; gap: 1rem; align-items: flex-start; }
.trust svg { width: 28px; height: 28px; stroke: var(--blue-2); fill: none; stroke-width: 1.8; flex: 0 0 auto; margin-top: 3px; }
.trust h3 { color: #fff; font-size: 1.1rem; margin: 0 0 .25rem; }
.trust p { margin: 0; color: #b9cff0; font-size: .96rem; }

/* Capture de l'app dans le héros */
.hero__shot img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .18); display: block; }
/* Illustration de la section réseaux */
.net-illus { display: block; width: 100%; max-width: 300px; height: auto; margin: -.5rem auto 2.4rem; }

/* ---------- Formulaires ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.form-intro h2 { margin-bottom: .6rem; }
.form-intro .lead { margin-bottom: 1.4rem; }
.form-perks { list-style: none; margin: 0; padding: 0; }
.form-perks li { display: flex; gap: .6rem; align-items: center; margin-bottom: .7rem; color: var(--ink); }
.form-perks svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 2; flex: 0 0 auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-lg); }
.form-tabs { display: flex; gap: .5rem; margin-bottom: 1.3rem; background: var(--bg-soft); padding: .3rem; border-radius: 999px; }
.form-tabs button { flex: 1; border: 0; background: transparent; padding: .6rem; border-radius: 999px; font-weight: 600; color: var(--muted); cursor: pointer; }
.form-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(1, 114, 254, .15); }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .82rem; color: var(--muted); margin: 1.2rem 0 0; }
.form-legal { font-size: .74rem; line-height: 1.55; color: var(--muted); margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.form-legal a { text-decoration: underline; }
.form-msg { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; }
.form-msg.ok { display: block; background: #e7f7ee; color: #12683f; border: 1px solid #b7e6cb; }
.form-msg.err { display: block; background: #fdecec; color: #a12626; border: 1px solid #f3c2c2; }
.form-hp { position: absolute; left: -9999px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .8rem; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff;
  text-align: center; border-radius: var(--radius); padding: clamp(40px, 6vw, 68px); }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 164, 254, .5), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe8ff; max-width: 560px; margin: 0 auto 1.6rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: linear-gradient(160deg, #0c295c, #081b3f); color: #b9cbe4; padding: 58px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2.4rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #b9cbe4; }
.site-footer a:hover { color: #fff; }
.footer-note { max-width: 340px; color: #8ea6c8; font-size: .95rem; margin: 1rem 0 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.4rem; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: .8rem; font-size: .9rem; color: #8ea6c8; }

/* ---------- Pages légales ---------- */
.legal-hero { background: linear-gradient(150deg, #123a7d, #0c295c); color: #fff; padding: clamp(48px, 7vw, 76px) 0 clamp(40px, 6vw, 60px); }
.legal-hero h1 { color: #fff; margin-bottom: .3rem; }
.legal-hero .updated { color: #bcd6ff; margin: 0; }
.legal { padding: clamp(44px, 6vw, 72px) 0; }
.legal .container { max-width: var(--container); }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; padding-top: .3rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal .contact-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-top: 1rem; }

:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, html { scroll-behavior: auto !important; transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .appshot { max-width: 460px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .trust-wrap { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; box-shadow: var(--shadow); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: .7rem 0; width: 100%; }
  .nav .btn { margin-top: .5rem; }
  .statband .container { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .grid, .steps, .netgrid, .field-row, .footer-grid { grid-template-columns: 1fr; }
}
