:root {
  --ink: #0b0e17; --ink2: #2c3242; --muted: #626979; --faint: #9399a7; --line: #ebe8e2; --line2: #e3e6ec;
  --bg: #fff; --ivory: #faf8f4; --sand: #f3efe8; --warm: #c9b79c;
  --blue: #1a5cff; --blue-d: #0a2fd0; --cyan: #18d2ff;
  --grad: linear-gradient(120deg, #18d2ff 0%, #1a5cff 55%, #0a2fd0 100%);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(20, 24, 40, .04), 0 12px 40px rgba(20, 24, 40, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
h1 i, h2 i { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--blue); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px;
  border: 0; cursor: pointer; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .4s var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(26, 92, 255, .22); }
.btn:hover::before { opacity: 1; }
.btn.sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line2); }
.btn.ghost::before { background: var(--ivory); }
.btn.ghost:hover { box-shadow: none; }
.btn.full { width: 100%; }

/* en-tête */
.top { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .4s, border-color .4s, box-shadow .4s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 36px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: .14em; white-space: nowrap; }
.brand em { font-style: italic; font-weight: 400; font-family: var(--serif); font-size: 21px; letter-spacing: 0; color: var(--blue); }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav a { position: relative; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top-r { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; background: #fff; }
.lang button { border: 0; background: none; color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.lang button.on { background: var(--ink); color: #fff; }

/* hero */
.hero { position: relative; padding: 140px 0 0; background: linear-gradient(180deg, var(--ivory) 0%, #fff 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(24, 210, 255, .12), transparent); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 30px; font-size: 13px; letter-spacing: .03em; color: var(--ink2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; box-shadow: var(--shadow); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--blue); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
.hero h1 { font-size: clamp(46px, 6.3vw, 92px); }
.lead { font-size: 18.5px; color: var(--muted); margin: 30px 0 40px; max-width: 540px; line-height: 1.7; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { position: relative; }
.frame { position: relative; border-radius: 34px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(40, 32, 20, .35); }
.photo { width: 100%; height: 640px; object-fit: cover; object-position: 50% 22%; transform-origin: 50% 30%; }
.glass {
  position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 20px; max-width: 290px;
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 20px 40px -12px rgba(30, 28, 20, .22);
}
.glass b { display: block; font-size: 14px; font-weight: 600; }
.glass span:not(.ico) { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.g1 { left: -48px; top: 70px; animation: float 7s ease-in-out infinite; }
.g2 { right: -30px; bottom: 60px; animation: float 7s ease-in-out -3.5s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.ico { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); box-shadow: 0 6px 16px rgba(26, 92, 255, .3); }
.ico svg { width: 18px; height: 18px; fill: #fff; }
.ico.big { width: 56px; height: 56px; border-radius: 18px; }
.ico.big svg { width: 24px; height: 24px; }
.pillars { list-style: none; margin: 110px 0 0; padding: 40px 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillars li { padding: 0 32px; border-left: 1px solid var(--line); }
.pillars li:first-child { padding-left: 0; border-left: 0; }
.pillars b { display: block; font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; margin-bottom: 12px; letter-spacing: -.01em; }
.pillars span { font-size: 14px; color: var(--muted); line-height: 1.5; display: block; }

/* sections */
.sec { padding: 140px 0; }
.sec.soft { background: var(--ivory); }
.sec.ivory { background: var(--ivory); }
.kick { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink2); }
.kick::before { content: ""; width: 28px; height: 1px; background: var(--blue); }
.sec h2 { font-size: clamp(38px, 4.6vw, 64px); }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 96px; }
.about-txt > p { font-size: 19px; color: var(--ink2); margin: 0 0 22px; line-height: 1.75; }
.split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; border-top: 1px solid var(--line); }
.split > div { padding: 32px 32px 0 0; }
.split > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.split h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 34px; margin-bottom: 16px; color: var(--blue); }
.split ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.split li { color: var(--muted); padding-left: 22px; position: relative; font-size: 15.5px; }
.split li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 1px; background: var(--ink); }

/* étapes */
.steps { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { background: #fff; border-radius: 24px; padding: 30px 26px 32px; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.steps li:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -18px rgba(20, 24, 40, .18); }
.steps .n { display: block; font-family: var(--serif); font-size: 50px; line-height: 1; margin-bottom: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.time { margin: 48px 0 0; color: var(--muted); font-size: 16px; text-align: center; }

/* gains */
.earn { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; align-items: stretch; }
.breakdown, .sim { border-radius: 28px; padding: 38px; }
.breakdown { border: 1px solid var(--line); }
.eq { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink2); }
.eq:last-child { border: 0; }
.eq b { font-weight: 600; white-space: nowrap; color: var(--ink); }
.eq .neg { color: #c81e45; }
.eq.you { margin: 8px -18px; padding: 20px 18px; border-radius: 16px; border: 0; background: var(--grad); color: #fff; font-weight: 500; box-shadow: 0 16px 34px -14px rgba(26, 92, 255, .55); }
.eq.you b { color: #fff; font-size: 22px; font-family: var(--serif); font-weight: 400; }
.sim { background: var(--ivory); }
.sim h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin-bottom: 28px; letter-spacing: -.01em; }
.rng { display: block; margin-bottom: 22px; }
.rng > span { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink2); margin-bottom: 10px; }
.rng b { font-weight: 600; color: var(--ink); white-space: nowrap; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--p, 50%), var(--line2) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line2); }
input[type=range]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--blue); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border-radius: 50%; background: #fff; border: 1px solid var(--line2); box-shadow: 0 2px 8px rgba(20, 24, 40, .18); transition: transform .2s; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid var(--line2); box-shadow: 0 2px 8px rgba(20, 24, 40, .18); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.res { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.res div { background: #fff; border-radius: 18px; padding: 18px 20px; }
.res span { display: block; font-size: 13px; color: var(--muted); }
.res b { display: block; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.15; white-space: nowrap; }
.res .big { background: var(--ink); color: #fff; }
.res .big span { color: rgba(255, 255, 255, .7); }
.honest { margin: 32px 0 0; color: var(--muted); font-size: 15px; max-width: 860px; }

/* sécurité */
.feature { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; margin-top: 64px; padding: 48px 52px; border-radius: 32px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.feature-l { display: flex; align-items: center; gap: 22px; }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: -.01em; line-height: 1.1; }
.feature p { margin: 0; color: var(--ink2); font-size: 17px; line-height: 1.7; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -18px rgba(20, 24, 40, .16); }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.flags { margin-top: 16px; border-radius: 24px; padding: 32px 36px; background: #fff; border: 1px solid #f1d6dc; }
.flags h3 { font-size: 18px; font-weight: 600; margin-bottom: 14px; letter-spacing: -.01em; }
.flags ul { margin: 0; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; color: var(--ink2); font-size: 15px; }
.flags li::marker { color: #c81e45; }
.flags p { margin: 16px 0 0; font-weight: 600; color: #c81e45; font-size: 15px; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 96px; align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: 120px; }
.side-note { color: var(--muted); margin: 24px 0 0; max-width: 340px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 48px 26px 0; font-size: 18px; font-weight: 500; position: relative; letter-spacing: -.01em; transition: color .3s; }
.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { margin: -8px 0 26px; color: var(--muted); max-width: 640px; animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* candidature */
.apply { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.apply .lead { margin: 26px 0 30px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 6px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.form { background: #fff; color: var(--ink); border-radius: 32px; padding: 40px; display: grid; gap: 18px; box-shadow: 0 30px 70px -30px rgba(20, 24, 40, .25); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label > span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.form input:not([type=checkbox]), .form select, .form textarea {
  width: 100%; border: 1px solid var(--line2); border-radius: 14px; background: #fff; padding: 13px 15px;
  font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .3s, box-shadow .3s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 92, 255, .1); }
.form textarea { resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: center; }
.form .check span { margin: 0; color: var(--ink); font-size: 15px; }
.form .check input { width: 18px; height: 18px; accent-color: var(--blue); }
.fine { margin: 0; text-align: center; font-size: 13px; color: var(--faint); }
.err { margin: 0; color: #c81e45; font-size: 14px; font-weight: 500; }
.err:empty { display: none; }

/* pied */
.foot { border-top: 1px solid var(--line); padding: 36px 0; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; min-width: 220px; }
.foot a { color: var(--blue); font-size: 14px; }

/* animations (seulement si le JS tourne : sinon tout reste visible) */
.js .hero-txt > *, .js .hero .pillars li { opacity: 0; transform: translateY(24px); }
.js.ready .hero-txt > *, .js.ready .hero .pillars li { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js.ready .hero-txt > :nth-child(2) { transition-delay: .1s; } .js.ready .hero-txt > :nth-child(3) { transition-delay: .2s; } .js.ready .hero-txt > :nth-child(4) { transition-delay: .3s; }
.js.ready .hero .pillars li:nth-child(1) { transition-delay: .55s; } .js.ready .hero .pillars li:nth-child(2) { transition-delay: .65s; }
.js.ready .hero .pillars li:nth-child(3) { transition-delay: .75s; } .js.ready .hero .pillars li:nth-child(4) { transition-delay: .85s; }
.js .frame { clip-path: inset(12% 10% 12% 10% round 34px); }
.js .frame .photo { transform: scale(1.18); }
.js.ready .frame { clip-path: inset(0 0 0 0 round 34px); transition: clip-path 1.5s var(--ease) .15s; }
.js.ready .frame .photo { transform: scale(1); transition: transform 2.2s var(--ease) .15s; }
.js .glass { opacity: 0; }
.js.ready .glass { opacity: 1; transition: opacity .9s var(--ease) 1.1s; }
.js.ready .g2 { transition-delay: 1.3s; }
.js .rv { opacity: 0; transform: translateY(32px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in.card, .js .rv.in.steps-li { transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), box-shadow .5s var(--ease); }

@media (max-width: 1140px) {
  .nav { display: none; }
  .top-r { margin-left: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .wrap { padding: 0 24px; }
  .hero { padding-top: 116px; }
  .hero-in, .about, .earn, .faq-wrap, .apply, .feature { grid-template-columns: 1fr; gap: 44px; }
  .faq-wrap > div:first-child { position: static; }
  .hero-media { max-width: 480px; }
  .photo { height: auto; aspect-ratio: 4 / 5; }
  .glass { position: relative; left: auto; right: auto; top: auto; bottom: auto; max-width: none; margin-top: 12px; animation: none; box-shadow: var(--shadow); border-color: var(--line); }
  .pillars { grid-template-columns: 1fr 1fr; margin-top: 72px; row-gap: 36px; }
  .pillars li:nth-child(3) { padding-left: 0; border-left: 0; }
  .sec { padding: 96px 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .feature { padding: 36px; gap: 22px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top-in { gap: 12px; height: 66px; }
  .brand { font-size: 13px; letter-spacing: .1em; } .brand em { font-size: 18px; }
  .top .btn.sm { padding: 0 14px; }
  .lead { font-size: 16.5px; }
  .glass { padding: 12px 14px; }
  .pillars b { font-size: 40px; }
  .pillars li { padding: 0 0 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .split, .grid, .res, .form .row, .flags ul { grid-template-columns: 1fr; }
  .split > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; }
  .breakdown, .sim, .form { padding: 26px; }
  .feature { padding: 30px 26px; }
  .feature h3 { font-size: 30px; }
  .sec { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-txt > *, .js .hero .pillars li, .js .rv, .js .glass { opacity: 1; transform: none; }
  .js .frame { clip-path: none; } .js .frame .photo { transform: none; }
}
