/* SPES — site vitrine (https://spes-entreprise.com). Couleurs de la marque : bleu nuit et or. */
:root {
  --navy: #0b2347; --navy2: #0d3a75; --gold: #d4a62a; --gold2: #f0c75e; --ink: #14213d; --muted: #5b667a;
  --bg: #ffffff; --soft: #f4f6fb; --line: #e3e7ef; --radius: 18px; --shadow: 0 12px 40px rgba(11, 35, 71, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16.5px; }
img { max-width: 100%; display: block; }
a { color: var(--navy2); }
h1, h2, h3 { font-family: 'Montserrat', 'Inter', sans-serif; line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-block; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--gold); margin-bottom: .7em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
section { padding: clamp(56px, 8vw, 104px) 0; }
.soft { background: var(--soft); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.menu a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 9px 12px; border-radius: 10px; font-size: .95rem; }
.menu a:hover, .menu a.on { background: var(--soft); color: var(--navy2); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-left: 8px; }
.lang button { border: 0; background: transparent; padding: 7px 12px; font-weight: 700; cursor: pointer; color: var(--muted); font: inherit; font-size: .85rem; }
.lang button.on { background: var(--navy); color: #fff; }
.burger { display: none; margin-left: auto; border: 0; background: var(--soft); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px auto; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .15s; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.gold { background: var(--gold); color: var(--navy); }
.btn.navy { background: var(--navy); color: #fff; }
.btn.ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn.line { border-color: var(--navy); color: var(--navy); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Bandeau principal */
.hero { position: relative; color: #fff; padding: clamp(90px, 14vw, 170px) 0; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 35, 71, .95) 0%, rgba(11, 35, 71, .82) 45%, rgba(11, 35, 71, .35) 100%); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--gold2); }
.hero .lead { color: #dfe6f3; }
.pagehead { padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 80px); }

/* Cartes */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 34px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 10px rgba(11, 35, 71, .04); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy2)); color: var(--gold2); margin-bottom: 16px; }
.card .ico svg { width: 28px; height: 28px; }
.card p { color: var(--muted); margin: 0; }
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1.05fr 1fr; align-items: center; }
.photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 900; display: grid; place-items: center; font-size: .8rem; }

/* Chiffres / bandeau or */
.band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; border-radius: 26px; padding: clamp(28px, 5vw, 54px); display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #d5def0; }

/* Étapes */
.steps { counter-reset: s; display: grid; gap: 16px; margin-top: 30px; }
.step { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.step::before { content: counter(s); width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--gold2); font-weight: 900; font-size: 1.3rem; display: grid; place-items: center; }
.step h3 { margin: 4px 0 4px; }
.step p { margin: 0; color: var(--muted); }

/* Application */
.store { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; border-radius: 12px; padding: 10px 18px; text-decoration: none; }
.store small { display: block; font-size: .7rem; opacity: .8; }
.store b { font-size: 1.05rem; }
.store.soon { opacity: .55; pointer-events: none; }
.qr { background: #fff; padding: 14px; border-radius: 16px; display: inline-block; box-shadow: var(--shadow); }

/* Contact */
.contact-list { display: grid; gap: 14px; margin-top: 18px; }
.contact-item { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.contact-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--navy2); flex: none; }
.contact-item .ico svg { width: 22px; height: 22px; }
.map { border: 0; width: 100%; height: 380px; border-radius: 20px; box-shadow: var(--shadow); }

/* Pied de page */
footer { background: #071731; color: #c3cde0; padding: 56px 0 26px; }
footer .cols { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
footer h4 { color: #fff; margin: 0 0 12px; font-family: 'Montserrat', sans-serif; }
footer a { color: #c3cde0; text-decoration: none; display: block; padding: 3px 0; }
footer a:hover { color: var(--gold2); }
footer .logo { background: #fff; border-radius: 14px; padding: 8px 12px; display: inline-block; }
footer .logo img { height: 44px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.social a:hover { background: var(--gold); color: var(--navy); }
.social svg { width: 20px; height: 20px; }
.legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 34px; padding-top: 18px; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
.legal a { display: inline; }

/* Bouton flottant « Devenir partenaire » */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 40; background: var(--gold); color: var(--navy); font-weight: 900; text-decoration: none; padding: 14px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); display: flex; align-items: center; gap: 8px; }
.float-cta svg { width: 20px; height: 20px; }

/* Animation d'apparition */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .menu { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu a { padding: 14px; font-size: 1.05rem; }
  .lang { margin: 10px 0 0; align-self: flex-start; }
  .burger { display: block; }
  .split, .band { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .float-cta span { display: none; }
}
@media (max-width: 560px) { footer .cols { grid-template-columns: 1fr; } .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto; } }
