:root {
  --blue-1: #5de0e6;
  --blue-2: #004aad;
  --grad: linear-gradient(100deg, var(--blue-1), var(--blue-2));
  --black: #0d0d0d;
  --white: #ffffff;
  --bg: #f1f1f1;
  --muted: #5c5c5c;
  --line: rgba(0,0,0,.14);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Inter Tight', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
body { font-family: var(--sans); color: var(--black); background: var(--bg); line-height: 1.5; overflow-x: hidden; }
/* grain */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; }
main { position: relative; z-index: 1; }

h1, h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .92; }
h1 { font-size: clamp(3rem, 11vw, 9.5rem); }
h2 { font-size: clamp(2.6rem, 8vw, 6.5rem); margin-bottom: 3rem; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Blurred gradient blobs */
.blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: var(--blue-1); top: -160px; right: -140px; }
.b2 { width: 460px; height: 460px; background: var(--blue-2); bottom: -180px; left: -160px; opacity: .35 !important; }
.b3 { width: 300px; height: 300px; background: var(--blue-1); top: 45%; left: 40%; opacity: .18 !important; }

/* Mono label row */
.label-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }

/* Buttons */
.btn { display: inline-block; background: var(--black); color: var(--white); text-decoration: none; padding: .9rem 1.6rem; border-radius: 999px; border: 1px solid var(--black); cursor: pointer; font: 500 1rem var(--sans); transition: transform .2s, background .3s; }
.btn:hover { transform: translateY(-2px); background: var(--blue-2); border-color: var(--blue-2); }
.btn-ghost { background: transparent; color: var(--black); }
.btn-ghost:hover { color: var(--white); }
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(241,241,241,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; text-decoration: none; display: flex; align-items: center; gap: .55rem; }
.logo-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.menu { display: flex; align-items: center; gap: 2rem; }
.menu a { white-space: nowrap; }
.menu a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: currentColor; transition: width .25s; }
.menu a:not(.btn):hover::after { width: 100%; }
.burger { display: none; background: none; border: 0; width: 34px; height: 34px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 4px; right: 4px; height: 2px; background: var(--black); transition: transform .3s, top .3s; }
.burger span:first-child { top: 12px; }
.burger span:last-child { top: 21px; }
.menu-open .burger span:first-child { top: 16px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 16px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero h1 { margin-bottom: 56px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.lead { font-size: 1.25rem; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Marquee */
.marquee { position: relative; z-index: 1; background: var(--black); color: var(--white); overflow: hidden; padding: 12px 0; font-family: var(--mono); font-size: .85rem; text-transform: uppercase; }
.track { display: flex; width: max-content; animation: scroll 35s linear infinite; }
.track span { padding: 0 2.5rem; white-space: nowrap; }
.track span::before { content: "✦"; margin-right: 2.5rem; color: var(--blue-1); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 110px 0; }
.big-text { font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.big-text.small { font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin-bottom: 2rem; }

.why { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.levels { list-style: none; border-top: 1px solid var(--line); }
.levels li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.1rem; color: rgba(0,0,0,.35); }
.levels li span { font-family: var(--mono); font-size: .8rem; font-weight: 400; padding-top: 4px; }
.levels li.on { color: var(--black); }
.levels li.on::after { content: "Objectif"; margin-left: auto; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--white); background: var(--grad); padding: 4px 10px; border-radius: 999px; align-self: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 96px; }
.stats strong { display: block; font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stats span { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; color: var(--muted); }

.services { border-top: 1px solid var(--line); }
.services article { display: grid; grid-template-columns: 120px 1fr 1.2fr; gap: 24px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .3s; }
.services article::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--grad); transition: width .5s; }
.services article:hover::before { width: 100%; }
.services article:hover { padding-left: 12px; }
.num { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.services h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.services p { color: var(--muted); }

.dark { background: var(--black); color: var(--white); position: relative; z-index: 1; }
.dark .label-row { border-color: rgba(255,255,255,.18); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.steps li { padding: 32px 28px 8px 0; border-right: 1px solid rgba(255,255,255,.18); }
.steps li + li { padding-left: 28px; }
.steps li:last-child { border-right: 0; }
.steps span { font-family: var(--mono); font-size: .85rem; display: block; margin-bottom: 48px; color: var(--blue-1); }
.steps h3 { margin-bottom: .6rem; }
.steps p { color: rgba(255,255,255,.65); }

.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.two-col h2 { margin-bottom: 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { border: 1px solid var(--black); padding: .5rem 1.1rem; border-radius: 999px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.tags li:hover { background: var(--grad); color: var(--white); border-color: transparent; }

.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { font-weight: 600; font-size: 1.2rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 1.4rem; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 1rem; max-width: 640px; }

/* Contact */
.contact-title { font-size: clamp(2.8rem, 10vw, 8.5rem); margin-bottom: 32px; }
.contact-intro { max-width: 720px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; max-width: 900px; margin-top: 56px; }
.form .full { grid-column: 1 / -1; }
.form label span { display: block; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; margin-bottom: 10px; }
.form input, .form select, .form textarea { width: 100%; font: 400 1.05rem var(--sans); color: var(--black); background: transparent; border: 0; border-bottom: 1px solid rgba(0,0,0,.3); padding: 8px 0 12px; border-radius: 0; resize: vertical; appearance: none; -webkit-appearance: none; }
.form select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d0d0d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.form input::placeholder, .form textarea::placeholder { color: rgba(0,0,0,.4); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom: 2px solid var(--blue-2); }

.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-note a { color: var(--blue-2); }

/* Legal & thank-you pages */
.page { padding: 72px 0 110px; }
.page h1 { font-size: clamp(2.6rem, 8vw, 6rem); margin-bottom: 48px; }
.page h2 { font-size: 1.5rem; letter-spacing: -.01em; text-transform: none; line-height: 1.2; margin: 48px 0 12px; }
.page p, .page li { max-width: 760px; color: #333; margin-bottom: .6rem; }
.page ul { padding-left: 1.2rem; }
.todo { background: #fff3c4; padding: 0 4px; }

/* Footer */
.footer { position: relative; z-index: 1; background: var(--black); color: var(--white); padding: 120px 0 0; overflow: hidden; clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%); }
.footer::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: var(--blue-2); filter: blur(120px); opacity: .5; top: -300px; left: -200px; }
.footer .wrap { position: relative; }
.footer .label-row { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.7); margin-bottom: 32px; }
.footer-mail { display: inline-block; font-size: clamp(1.8rem, 5.5vw, 4.5rem); font-weight: 700; letter-spacing: -.03em; text-decoration: none; word-break: break-all; }
.footer-mail:hover { color: var(--blue-1); }
.footer-sub { margin-top: 12px; color: rgba(255,255,255,.7); }
.footer-bottom { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 72px; }
.footer-bottom nav { display: grid; gap: 8px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-end; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; color: rgba(255,255,255,.6); }
.footer-giant { font-size: 18vw; font-weight: 800; letter-spacing: -.05em; line-height: .8; margin-top: 56px; text-align: center; background: linear-gradient(180deg, rgba(93,224,230,.35), rgba(0,74,173,0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* Responsive */
@media (max-width: 960px) {
  .why, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .services article { grid-template-columns: 60px 1fr; }
  .services article p { grid-column: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(3) { padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .menu { position: fixed; top: 70px; left: 0; right: 0; height: calc(100vh - 70px); background: var(--bg); flex-direction: column; align-items: flex-start; padding: 40px 32px; gap: 1.2rem; transform: translateY(-120%); transition: transform .4s ease; z-index: -1; }
  .menu a:not(.btn) { font-size: 2.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; }
  .menu .btn { margin-top: 1rem; }
  .menu-open .menu { transform: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .label-row { grid-template-columns: 50px 1fr; }
  .label-row span:last-child { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 36px 0 56px; }
  .stats { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 28px 0 20px; border-right: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .steps li:first-child { border-top: 0; }
  .steps span { margin-bottom: 20px; }
  .form { grid-template-columns: 1fr; }
  .b1 { width: 320px; height: 320px; }
  .b2 { width: 300px; height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  html { scroll-behavior: auto; }
}
