/* ==========================================================================
   Polices
   Codec Pro : déposer les fichiers dans assets/fonts/ (ou installer la police)
   ========================================================================== */
@font-face { font-family: 'Codec Pro'; font-weight: 400; font-style: normal; font-display: swap;
  src: local('Codec Pro'), local('CodecPro-Regular'), url('../assets/fonts/CodecPro-Regular.woff2') format('woff2'), url('../assets/fonts/CodecPro-Regular.otf') format('opentype'); }
@font-face { font-family: 'Codec Pro'; font-weight: 500; font-style: normal; font-display: swap;
  src: local('Codec Pro News'), local('CodecPro-News'), url('../assets/fonts/CodecPro-News.woff2') format('woff2'), url('../assets/fonts/CodecPro-News.otf') format('opentype'); }
@font-face { font-family: 'Codec Pro'; font-weight: 700; font-style: normal; font-display: swap;
  src: local('Codec Pro Bold'), local('CodecPro-Bold'), url('../assets/fonts/CodecPro-Bold.woff2') format('woff2'), url('../assets/fonts/CodecPro-Bold.otf') format('opentype'); }

/* ==========================================================================
   Base
   ========================================================================== */
:root {
  --ink: #0d0d0d;
  --ink-2: #2a2a2a;
  --muted: #9a9a9a;
  --line: #ececec;
  --brown: #2b241e;
  --sand: #f5f1ed;
  --accent: #9d8571;
  --footer: #1b1915;
  --font: 'Codec Pro', 'Sora', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.snap { scroll-snap-type: y mandatory; }
body { font-family: var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }
.container { width: min(1140px, 100% - 48px); margin-inline: auto; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; }
.logo img { height: 26px; width: auto; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: #111; font-weight: 500; white-space: nowrap; transition: background .2s; }
.btn:hover { background: #ece8e4; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: clamp(600px, 48.2vw, 780px); color: #fff; display: flex; flex-direction: column;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 15%),
    linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
    #3b322b url("../assets/images/hero.webp") center / cover no-repeat; }
.nav { display: grid; grid-template-columns: 369px 1fr auto; align-items: center; height: 76px; position: relative; z-index: 2; }
.nav-links { display: flex; gap: 46px; font-size: 13px; }
.nav-links a:hover { opacity: .75; }
.nav-right { display: flex; align-items: center; gap: 12px; margin-right: 79px; }
.lang { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.lang .flag { width: 13px; height: 13px; border-radius: 50%; overflow: hidden; display: flex; box-shadow: 0 0 0 .5px rgba(255,255,255,.4); }
.lang .flag i { flex: 1; }
.flag .blue { background: #2a4bb5; }
.flag .white { background: #fff; }
.flag .red { background: #e0333a; }
.lang .caret { width: 7px; height: 7px; fill: currentColor; }
.btn-nav { height: 26px; padding: 0 17px; font-size: 10.5px; border-radius: 7px; }
.hero-content { margin-top: auto; padding-bottom: 126px; position: relative; z-index: 1; }
.hero h1 { font-size: 50px; font-weight: 400; line-height: .98; letter-spacing: -0.03em; }
.hero-sub { margin-top: 12px; font-size: 14.5px; line-height: 1.2; }
.hero-actions { margin-top: 17px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-hero { height: 36px; padding: 0 14px; font-size: 12.5px; }
.link-arrow { font-size: 12px; border-bottom: 1px solid #fff; padding-bottom: 2px; display: inline-flex; align-items: center; gap: 3px; }
.link-arrow svg { width: 10px; height: 10px; stroke-width: 2; }

/* ==========================================================================
   Clients & usages
   ========================================================================== */
.clients { padding-top: 77px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.clients img { width: auto; }
.client-smartflare { height: 24.6px; }
.client-restorephone { height: 22.3px; }
.client-keolis { height: 22.9px; }
.client-ldlc { height: 24.6px; }
.client-senselink { height: 33.7px; }
.client-fitnesspark { height: 29.7px; }
.uses { margin-top: 62px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.uses li { list-style: none; background: #fff; height: 57px; display: flex; align-items: center; gap: 10px; padding-left: 24px; font-size: 12px; font-weight: 500; letter-spacing: -0.05em; }
.uses .icon { font-size: 17px; color: #6b6b6b; stroke-width: 1.3; }

/* ==========================================================================
   Parcours : cartes plein écran empilées
   ========================================================================== */
.journey-head { padding-top: 124px; scroll-snap-align: start; }
.section-title { font-size: 39px; font-weight: 400; line-height: .95; letter-spacing: -0.03em; }
.journey-intro { margin-top: 18px; font-size: 21.5px; line-height: 1.1; max-width: 900px; }
.steps { position: relative; margin-top: 58px; }
.snap-point { position: absolute; left: 0; width: 1px; height: 100vh; height: 100svh; top: calc(var(--i) * 100vh); top: calc(var(--i) * 100svh); scroll-snap-align: start; pointer-events: none; }
.snap-point:nth-of-type(1) { --i: 0; }
.snap-point:nth-of-type(2) { --i: 1; }
.snap-point:nth-of-type(3) { --i: 2; }
.snap-point:nth-of-type(4) { --i: 3; }
.step { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; background: var(--sand); }
.step + .step { box-shadow: 0 -10px 28px -14px rgba(43, 36, 30, .14); }
.step-inner { position: relative; width: min(1140px, 100% - 48px); margin-inline: auto; padding: 0 85px; display: grid; grid-template-columns: minmax(0, 538px) minmax(0, 1fr); column-gap: 35px; }
.step-label { position: absolute; top: -32px; left: 85px; font-size: 15px; line-height: 18px; text-transform: uppercase; letter-spacing: -0.01em; }
.step-img { width: 100%; aspect-ratio: 538 / 358; object-fit: cover; border-radius: 12px; }
.step-text { padding-top: 44px; }
.pill { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 8px; background: var(--brown); color: #fff; font-size: 13px; font-weight: 500; }
.step h3 { margin-top: 10px; font-size: 27px; font-weight: 400; line-height: 1.2; letter-spacing: -0.025em; }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.2; max-width: 356px; }
.step .more { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--accent); }
.step .more:hover { text-decoration: underline; }

/* ==========================================================================
   Liberté de financement
   ========================================================================== */
.freedom { padding-top: 140px; scroll-snap-align: start; }
.freedom h2 { font-size: 34px; font-weight: 400; line-height: 1.05; letter-spacing: -0.04em; }
.freedom .sub { margin-top: 8px; font-size: 16px; color: var(--muted); }
.perks { margin-top: 42px; background: var(--brown); color: #fff; border-radius: 12px 12px 0 0; min-height: 161px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 24px 40px; text-align: center; }
.perks h3 { font-size: 17.5px; font-weight: 500; letter-spacing: -0.02em; }
.perks p { margin-top: 10px; font-size: 14.5px; line-height: 1.22; color: #bdb4ab; letter-spacing: -0.035em; }
.photos { margin-top: 17px; display: grid; grid-template-columns: 687fr 434fr; gap: 18px; height: 342px; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos img:first-child { border-radius: 0 0 0 12px; }
.photos img:last-child { border-radius: 0 0 12px 0; }

/* ==========================================================================
   Comparatif
   ========================================================================== */
.compare { padding-top: 130px; }
.table-wrap { overflow-x: auto; }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare col.c1 { width: 38%; }
.compare col.c2 { width: 31%; }
.compare th { text-align: left; font-size: 18px; font-weight: 400; padding: 0 0 20px; border-bottom: 1px solid #bdbdbd; }
.compare td { height: 60px; border-bottom: 1px solid #c9c9c9; font-size: 13.5px; color: #333; letter-spacing: -0.03em; }
.compare td:first-child { font-size: 15.5px; color: var(--ink-2); padding-left: 4px; }
.cell { display: flex; align-items: center; gap: 14px; }
.mark { width: 19px; height: 19px; flex: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-top: 160px; padding-bottom: 140px; }
.faq h2 { font-size: 32px; font-weight: 400; letter-spacing: -0.03em; }
.faq-grid { margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 29px; }
.faq ul { list-style: none; border-top: 1px solid #b5b5b5; }
.faq li { border-bottom: 1px solid #b5b5b5; }
.faq li a { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15.5px; letter-spacing: -0.03em; padding-right: 14px; }
.faq li a:hover { color: var(--accent); }
.faq li svg { width: 10px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; flex: none; }

/* ==========================================================================
   Appel à l'action
   ========================================================================== */
.cta { color: #fff; text-align: center; padding-top: 70px; overflow: hidden;
  background:
    radial-gradient(55% 60% at 100% 88%, rgba(172,146,124,.8) 0%, rgba(172,146,124,0) 72%),
    radial-gradient(40% 55% at 0% 78%, rgba(110,90,76,.55) 0%, rgba(110,90,76,0) 72%),
    linear-gradient(180deg, #0c0b0a 0%, #171412 35%, #2e2621 75%, #3e342d 100%); }
.cta h2 { font-size: 30px; font-weight: 400; line-height: 38px; letter-spacing: -0.035em; }
.cta p { margin-top: 6px; font-size: 14px; line-height: 22px; color: #bcb5ae; letter-spacing: -0.03em; }
.btn-cta { margin-top: 30px; height: 36px; padding: 0 17px; font-size: 12px; }
.cta-visual { width: min(1141px, 100% - 48px); margin: 27px auto 0; }
.cta-visual img { width: 100%; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer { background: var(--footer); color: #fff; padding: 52px 0 160px; }
.footer-top { display: grid; grid-template-columns: 599px 215px 214px 1fr; height: 207px; }
.footer-brand p { margin-top: 10px; font-size: 10.5px; line-height: 1.12; color: #6f6b66; max-width: 196px; }
.footer-col h6 { font-size: 10.5px; font-weight: 600; line-height: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-top: 9px; font-size: 11.5px; line-height: 14px; color: #e9e6e2; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #3a3632; padding-top: 16px; font-size: 8.5px; color: #6d6a66; letter-spacing: -0.01em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .nav { grid-template-columns: auto 1fr auto; gap: 32px; }
  .nav-right { margin-right: 0; }
  .nav-links { justify-content: center; gap: 32px; }
  .step-inner { padding: 0 48px; }
  .step-label { left: 48px; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: auto 1fr; }
  .nav-right { justify-self: end; }
  .hero { background-position: 70% center; }
  .clients { flex-wrap: wrap; justify-content: center; gap: 28px 44px; }
  .uses { grid-template-columns: repeat(2, 1fr); }
  .journey-intro br { display: none; }
  .step-inner { grid-template-columns: minmax(0, 1fr); padding: 0; max-width: 560px; }
  .step-label { position: static; margin-bottom: 14px; }
  .step-text { padding-top: 24px; }
  .step p { max-width: 520px; }
  .perks { grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 36px 24px; }
  .photos { grid-template-columns: 1fr; height: auto; }
  .photos img { aspect-ratio: 16 / 10; }
  .photos img:first-child { border-radius: 0; }
  .photos img:last-child { border-radius: 0 0 12px 12px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid ul + ul { border-top: 0; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; height: auto; gap: 32px; padding-bottom: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer { padding-bottom: 64px; }
}
@media (max-width: 600px) {
  .btn-nav { display: none; }
  .hero h1 { font-size: 33px; }
  .hero-sub br { display: none; }
  .uses { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
  .journey-intro { font-size: 17px; }
  .step h3 { font-size: 24px; }
  .freedom h2 { font-size: 28px; }
  .perks { grid-template-columns: 1fr; }
  .cta { padding-inline: 16px; }
  .cta h2 { font-size: 24px; line-height: 1.25; }
  .cta h2 br, .cta p br { display: none; }
  .cta-visual { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
/* Écrans trop bas pour une carte plein écran : défilement classique */
@media (max-height: 600px) {
  .step { position: relative; height: auto; padding: 72px 0; }
  .step + .step { box-shadow: none; margin-top: 2px; }
  .snap-point { display: none; }
}
