@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --blue: #0a6cff;
    --blue-text: #0057d9;
    --blue-deep: #0b3d91;
    --orange: #ff5a1f;
    --ink: #0b1220;
    --ink-2: #4a5568;
    --ink-3: #5f6878;
    --line: #e4e9f2;
    --paper: #ffffff;
    --soft: #f4f7fc;
    --sky-1: #cfe3ff;
    --sky-2: #7fb0ec;
    --c-lime: #d9ec94;
    --c-lav: #b9b7f7;
    --c-mint: #ade8e2;
    --c-sun: #fbe46b;
    --c-sky: #7fc3fb;
    --radius: 28px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }

  .frame { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
  .frame.bleed { max-width: none; padding: 0; }
  .wrap { max-width: 1320px; margin: 0 auto; width: 100%; }
  .inner { padding: 72px 56px; }
  h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
  h2 { font-size: clamp(34px, 4.6vw, 60px); }
  .lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
  .center { text-align: center; }
  .eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

  /* Pill button with detached arrow, like the references */
  .cta { display: inline-flex; align-items: center; gap: 4px; }
  .cta .pill, .cta .dot {
    height: 56px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 16px; transition: transform .2s ease;
  }
  .cta .pill { padding: 0 30px; }
  .cta .dot { width: 56px; }
  .cta:hover .dot { transform: rotate(45deg); }
  .cta.light .pill, .cta.light .dot { background: #fff; color: var(--ink); }
  .cta.blue .pill, .cta.blue .dot { background: var(--blue); color: #fff; }
  .cta svg { width: 18px; height: 18px; }

  /* ---- Hero ---- */
  .hero {
    position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh;
    color: #fff; display: flex; flex-direction: column;
    background: #0b3d6b url("/img/hero-poster-l.webp") center/cover no-repeat;
  }
  @media (orientation: portrait) { .hero { background-image: url("/img/hero-poster-p.webp"); } }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(3,30,70,.82) 0%, rgba(3,30,70,.45) 45%, rgba(3,30,70,.2) 65%, rgba(3,30,70,.45) 100%), linear-gradient(0deg, rgba(3,30,70,.55) 0%, rgba(3,30,70,0) 45%);
  }
  .hero > * { position: relative; z-index: 2; }
  .hero::before { z-index: 1; }
  .hero > video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  nav.top { display: flex; align-items: center; justify-content: space-between; padding: 28px 48px; gap: 20px; max-width: 1400px; margin: 0 auto; width: 100%; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
  .brand .mark { width: 40px; height: 40px; flex: 0 0 40px; color: #fff; }
  .brand .wm { font-weight: 800; font-size: 26px; letter-spacing: -0.04em; line-height: 1; display: flex; align-items: baseline; gap: 7px; }
  .brand .wm small { font-size: 10px; font-weight: 700; letter-spacing: .32em; opacity: .75; }
  .links { display: flex; gap: 6px; }
  .links a {
    padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
    background: rgba(255,255,255,.12); backdrop-filter: blur(8px); transition: background .2s;
  }
  .links a:hover { background: rgba(255,255,255,.28); }
  .btn-start { background: #fff; color: var(--ink); padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; }

  .hero-body { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 40px; padding: 0 48px 40px; max-width: 1400px; margin: 0 auto; width: 100%; }
  .rating { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 22px; opacity: .95; }
  .stars { color: #ffd166; letter-spacing: 2px; }
  .rating u { text-underline-offset: 3px; }
  .hero h1 { font-size: clamp(44px, 6.6vw, 92px); }
  .hero-side { justify-self: end; text-shadow: 0 1px 18px rgba(3,20,50,.7); }
  .hero-side p { font-size: 17px; line-height: 1.6; opacity: .92; margin-bottom: 26px; max-width: 380px; }
  .hero-foot {
    display: flex; justify-content: space-between; align-items: center; padding: 26px 0 32px;
    max-width: calc(1400px - 96px); width: calc(100% - 96px); margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,.25); font-size: 14px;
  }
  .avatars { display: flex; align-items: center; gap: 12px; }
  .avatars > span {
    width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; margin-left: -12px;
    display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink);
  }
  .avatars > span:first-child { margin-left: 0; }


  /* ---- Tracking ---- */
  .tracking { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; align-items: start; padding: 88px 56px 24px; }
  .tracking .intro h2 { margin: 14px 0 18px; }
  .tracking .intro .hint { margin-top: 26px; font-size: 14px; color: var(--ink-3); line-height: 1.8; }
  .tracking .intro .hint button {
    font: inherit; font-size: 13px; border: 1px solid var(--line); background: var(--soft); color: var(--ink);
    padding: 4px 10px; border-radius: 999px; cursor: pointer; margin: 4px 4px 0 0;
  }
  .tracking .intro .hint button:hover { border-color: var(--blue); color: var(--blue); }
  .tcard { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: 0 30px 60px -30px rgba(11,40,90,.25); }
  .tcard .ttl { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
  .tcard .ttl b { font-size: 18px; font-weight: 600; }
  .tcard .ttl span { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
  .tcard .ttl span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
  .tform { display: flex; gap: 10px; }
  .tform .in { flex: 1; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px; height: 56px; transition: border-color .2s; }
  .tform .in:focus-within { border-color: var(--blue); }
  .tform .in svg { width: 20px; height: 20px; color: var(--ink-3); flex: 0 0 20px; }
  .tform input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; letter-spacing: .04em; background: transparent; color: var(--ink); min-width: 0; text-transform: uppercase; }
  .tform input::placeholder { text-transform: none; letter-spacing: 0; color: var(--ink-3); }
  .tform button { height: 56px; border-radius: 14px; border: 0; font: inherit; font-weight: 600; font-size: 15px; padding: 0 22px; cursor: pointer; }
  .tform .reset { background: var(--soft); color: var(--ink-2); }
  .tform .go { background: var(--blue); color: #fff; }
  .tform .go:disabled { opacity: .6; cursor: wait; }
  .tres { margin-top: 26px; }
  .tres .empty { text-align: center; padding: 38px 10px; color: var(--ink-3); border: 1.5px dashed var(--line); border-radius: 18px; }
  .tres .empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; font-weight: 600; }
  .thead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 20px 22px; background: var(--soft); border-radius: 18px; }
  .thead small { display: block; font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
  .thead strong { font-size: 16px; font-weight: 600; }
  .badge-st { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
  .badge-st svg { width: 14px; height: 14px; }
  .badge-st.transit { background: #e0edff; color: var(--blue); }
  .badge-st.done { background: #dcfce7; color: #15803d; }
  .badge-st.wait { background: #fff4d6; color: #a16207; }
  .route { display: flex; align-items: center; gap: 10px; }
  .route i { width: 40px; height: 2px; background: var(--ink-3); position: relative; }
  .route i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--ink-3); }
  .tline { display: grid; grid-template-columns: repeat(6, 1fr); margin: 30px 4px 8px; position: relative; }
  .tline .rail, .tline .fill { position: absolute; top: 11px; left: 8.33%; height: 3px; border-radius: 3px; }
  .tline .rail { right: 8.33%; background: var(--line); }
  .tline .fill { background: #16a34a; width: 0; transition: width .9s cubic-bezier(.2,.8,.2,1); }
  .tline .st { position: relative; text-align: center; font-size: 13px; color: var(--ink-3); line-height: 1.35; padding: 0 4px; }
  .tline .st .d { width: 25px; height: 25px; border-radius: 50%; margin: 0 auto 10px; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; transition: all .3s; }
  .tline .st.ok { color: var(--ink); }
  .tline .st.ok .d { background: #16a34a; border-color: #16a34a; }
  .tline .st.ok .d::after { content: ""; width: 7px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px,-1px); }
  .tline .st.now .d { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 6px #e0edff; }
  .tline .st.now .d::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); border: 0; transform: none; animation: pulse 1.4s ease-in-out infinite; }
  .tline .st.now { color: var(--blue); font-weight: 600; }
  @keyframes pulse { 50% { transform: scale(.55); } }
  .events { margin-top: 22px; border-top: 1px solid var(--line); }
  .events li { list-style: none; display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .events li:first-child b { color: var(--blue); }
  .events time { color: var(--ink-3); }
  .events span { color: var(--ink-3); text-align: right; }
  .fade-in { animation: fadein .35s ease; }
  @keyframes fadein { from { opacity: 0; transform: translateY(6px); } }

  /* ---- Partners ---- */
  .partners { padding: 56px 20px 16px; overflow: hidden; }
  .partners .eyebrow { text-align: center; margin-bottom: 26px; }
  .marquee { display: flex; gap: 64px; width: max-content; animation: slide 36s linear infinite; }
  .marquee span { font-size: 26px; font-weight: 700; color: #b7c0cf; letter-spacing: -0.02em; white-space: nowrap; }
  @keyframes slide { to { transform: translateX(-50%); } }
  .mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

  /* ---- About ---- */
  .about { background: var(--soft); border-radius: var(--radius); margin-top: 40px; }
  .about h2 { max-width: 1040px; margin: 0 auto 36px; }
  .band { position: relative; display: flex; align-items: center; justify-content: center; margin-top: 64px; }
  .half { flex: 0 0 auto; height: 300px; width: 150px; }
  .half.l { border-radius: 300px 0 0 300px; }
  .half.r { border-radius: 0 300px 300px 0; }
  .half.sm { height: 240px; width: 120px; }
  .capsule { position: relative; flex: 1; max-width: 780px; height: 360px; border-radius: 999px; overflow: hidden; }
  .capsule img { width: 100%; height: 100%; object-fit: cover; }
  .float {
    position: absolute; right: 9%; bottom: 13%; width: 300px; background: #fff; border-radius: 14px;
    padding: 16px 18px; box-shadow: 0 20px 40px rgba(11,18,32,.18); font-size: 13px;
  }
  .float b { display: block; font-weight: 600; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .float .row { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 12px; margin-bottom: 10px; }
  .bar { height: 6px; background: var(--line); border-radius: 9px; position: relative; }
  .bar i { position: absolute; inset: 0 auto 0 0; background: var(--blue); border-radius: 9px; }
  .bar i::after { content: ""; position: absolute; right: -8px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }

  /* ---- Services ---- */
  .head-split { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
  .head-split p { max-width: 440px; }
  .services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .svc { border-radius: 24px; overflow: hidden; background: var(--soft); display: flex; flex-direction: column; }
  .svc img { height: 250px; width: 100%; object-fit: cover; }
  .svc .body { padding: 26px; }
  .svc h3 { font-size: 26px; margin-bottom: 10px; }
  .svc p { color: var(--ink-2); line-height: 1.6; font-size: 15px; }
  .svc ul { list-style: none; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
  .svc li { font-size: 13px; padding: 6px 12px; background: #fff; border-radius: 999px; border: 1px solid var(--line); }

  /* ---- Stats ---- */
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 64px; }
  .stat { padding: 34px 26px 0; border-left: 1px solid var(--line); }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .stat b { display: block; font-size: clamp(38px, 4.4vw, 58px); font-weight: 500; letter-spacing: -0.03em; }
  .stat span { color: var(--ink-2); font-size: 15px; }

  /* ---- Steps ---- */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 56px 0 48px; }
  .step { border-radius: 22px; padding: 26px 26px 0; display: flex; flex-direction: column; min-height: 520px; overflow: hidden; }
  .step .n { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 17px; margin-bottom: 26px; }
  .step h3 { font-size: 34px; margin-bottom: 14px; }
  .step p { font-size: 17px; line-height: 1.5; color: rgba(11,18,32,.75); }
  .mock {
    margin-top: auto; background: #fff; border-radius: 14px 14px 0 0; padding: 18px; font-size: 12px;
    box-shadow: 0 -6px 0 rgba(255,255,255,.5);
  }
  .mock label { display: block; font-weight: 600; margin: 10px 0 6px; }
  .mock label:first-child { margin-top: 0; }
  .mock .field { border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; color: var(--ink-3); }
  .opt { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .opt small { display: block; color: var(--ink-3); }
  .opt .ico { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
  .opt .ico svg, .field svg { width: 16px; height: 16px; }
  .opt-box { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
  .opt-box .opt { border: 0; padding: 0; margin: 0 0 10px; }
  .field svg { vertical-align: -3px; margin-right: 6px; }
  .opt .radio { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-3); }
  .opt .radio.on { background: #16a34a; border-color: #16a34a; box-shadow: inset 0 0 0 3px #fff; }
  .days { display: flex; gap: 6px; }
  .days span { flex: 1; border: 1px solid var(--line); border-radius: 8px; text-align: center; padding: 6px 0; line-height: 1.3; }
  .days span.on { border-color: var(--blue); color: var(--blue); font-weight: 600; }
  .track input { display: none; }
  .track .field { margin-bottom: 10px; }
  .track .btns { display: flex; gap: 6px; margin-bottom: 18px; }
  .track .btns span { padding: 5px 10px; border-radius: 6px; background: var(--soft); font-size: 11px; }
  .track .btns span.go { background: var(--blue); color: #fff; }
  .timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
  .timeline::before { content: ""; position: absolute; top: 4px; left: 4px; right: 20%; height: 2px; background: #16a34a; }
  .timeline div { position: relative; font-size: 10px; color: var(--ink-3); line-height: 1.35; }
  .timeline div::before { content: ""; display: block; width: 9px; height: 9px; border-radius: 50%; background: #16a34a; margin-bottom: 8px; }
  .timeline b { display: block; color: var(--ink); font-size: 10.5px; }
  .done { text-align: center; padding: 28px 18px 34px; }
  .done .badge {
    width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 22px; border: 4px solid var(--orange);
    display: grid; place-items: center; transform: rotate(8deg); color: var(--orange);
  }
  .done .badge svg { transform: rotate(-8deg); width: 32px; height: 32px; }
  .done b { font-size: 18px; font-weight: 500; }

  /* ---- Truck / story ---- */
  .story-head { display: flex; justify-content: space-between; align-items: start; gap: 40px; margin-bottom: 48px; }
  .story-head h2 { font-size: clamp(56px, 8vw, 110px); font-weight: 700; letter-spacing: -0.05em; color: #0b1a3a; }
  .story-head p { max-width: 460px; font-size: 18px; line-height: 1.6; padding-top: 14px; }
  .truck { border-radius: var(--radius); overflow: hidden; }
  .truck img { width: 100%; }
  .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 48px; }
  .pillars h3 { font-size: 22px; margin-bottom: 10px; }
  .pillars p { color: var(--ink-2); line-height: 1.6; }
  .pillars .k { font-size: 13px; color: #c2410c; font-weight: 700; margin-bottom: 14px; }

  /* ---- Testimonials ---- */
  .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
  .quote { background: var(--soft); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 24px; }
  .quote p { font-size: 18px; line-height: 1.55; }
  .quote .who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
  .quote .who span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
  .quote .who small { display: block; color: var(--ink-3); }

  /* ---- CTA + footer ---- */
  .final {
    position: relative; border-radius: var(--radius); overflow: hidden; min-height: 620px; color: #fff;
    background: #0a8cf0 url("/img/crane.webp") right center/cover no-repeat;
    display: flex; align-items: center;
  }
  .final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,120,230,.85) 0%, rgba(10,120,230,.35) 45%, rgba(10,120,230,0) 70%); }
  .final > div { position: relative; padding: 0 80px; max-width: 760px; }
  .final h2 { margin-bottom: 22px; }
  .final p { font-size: 18px; line-height: 1.6; opacity: .92; margin-bottom: 34px; max-width: 520px; }
  .newsletter { display: grid; grid-template-columns: 1fr 1.6fr auto; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; }
  .newsletter input { border: 0; font: inherit; font-size: 16px; outline: none; color: var(--ink); background: transparent; }
  .newsletter button { border: 0; background: none; font: inherit; color: var(--ink-3); cursor: pointer; font-size: 16px; }
  .newsletter button:hover { color: var(--blue); }
  .legal { display: flex; justify-content: space-between; padding: 36px 36px 16px; color: var(--ink-3); font-size: 13px; }
  .big-mark { font-size: clamp(90px, 22vw, 300px); font-weight: 700; letter-spacing: -0.07em; line-height: .8; color: var(--soft); text-align: center; padding-top: 10px; user-select: none; }

  /* ---- Responsive ---- */
  @media (max-width: 1080px) {
    .services, .quotes, .pillars { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .links { display: none; }
  }
  @media (max-width: 760px) {
    .frame { padding: 0 12px; }
    .frame.bleed { padding: 0; }
    .inner { padding: 48px 18px; }
    nav.top { padding: 20px; }
    
    .hero-body { grid-template-columns: 1fr; padding: 0 20px 28px; gap: 24px; align-content: end; }
    .hero-foot { width: calc(100% - 40px); }
    .hero-foot .scroll { display: none; }
    .head-split, .story-head { flex-direction: column; align-items: start; }
    .services, .quotes, .pillars, .steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .half { display: none; }
    .capsule { height: 280px; border-radius: 40px; }
    .float { right: 12px; bottom: 12px; width: 230px; }
    .final { min-height: 560px; background-position: 70% center; }
    .final::before { background: linear-gradient(180deg, rgba(10,120,230,.9) 0%, rgba(10,120,230,.5) 60%, rgba(10,120,230,.2) 100%); }
    .final > div { padding: 40px 24px; align-self: start; }

    .newsletter { grid-column: 1 / -1; grid-template-columns: 1fr; }
    .tracking { grid-template-columns: 1fr; padding: 56px 8px 8px; gap: 28px; }
    .tcard { padding: 18px; border-radius: 20px; }
    .tform { flex-wrap: wrap; }
    .tform .in { flex: 1 1 100%; }
    .tform button { flex: 1; }
    .tline { grid-template-columns: 1fr; gap: 14px; margin: 24px 0 4px; }
    .tline .rail, .tline .fill { top: 12px; bottom: 12px; left: 11px; right: auto; width: 3px !important; height: auto; }
    .tline .fill { transition: height .9s cubic-bezier(.2,.8,.2,1); }
    .tline .st { display: flex; align-items: center; gap: 14px; text-align: left; padding: 0; }
    .tline .st .d { margin: 0; flex: 0 0 25px; }
    .events li { grid-template-columns: 1fr; gap: 2px; }
    .events span { text-align: left; }
    .legal { flex-direction: column; gap: 8px; padding: 24px 8px 8px; }
  }

/* =========================================================================
   Pages intérieures, menu mobile, formulaires, FAQ, paiement, pages légales
   ========================================================================= */
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* Menu : même composant sur le hero (overlay) et les pages intérieures (light) */
nav.top { position: relative; z-index: 20; }
.links a.on { background: rgba(255,255,255,.3); }
.burger { display: none; width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgba(255,255,255,.16); color: inherit; cursor: pointer; place-items: center; }
.burger svg { width: 22px; height: 22px; }
.mnav { display: none; }
.site-header.light { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.site-header.light nav.top { color: var(--ink); padding-top: 18px; padding-bottom: 18px; }
.site-header.light .brand .mark { color: var(--ink); }
.site-header.light .links a { background: var(--soft); backdrop-filter: none; }
.site-header.light .links a:hover, .site-header.light .links a.on { background: #e3ebf7; }
.site-header.light .btn-start { background: var(--blue); color: #fff; }
.site-header.light .burger { background: var(--soft); }
@media (max-width: 1080px) {
  .burger { display: grid; }
  nav.top .btn-start { display: none; }
  .mnav.open { display: flex; flex-direction: column; position: absolute; top: calc(100% - 4px); left: 16px; right: 16px; background: #fff; color: var(--ink); border-radius: 20px; padding: 10px; box-shadow: 0 24px 60px rgba(11,18,32,.25); z-index: 40; }
  .mnav a { padding: 14px 16px; border-radius: 12px; font-weight: 500; }
  .mnav a:hover, .mnav a.on { background: var(--soft); }
  .mnav a.go { background: var(--blue); color: #fff; text-align: center; margin-top: 6px; font-weight: 600; }
}

/* En-tête de page intérieure */
.page-head { padding: 72px 56px 36px; }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: clamp(40px, 5.6vw, 76px); margin-bottom: 18px; }
.page-head p { max-width: 640px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--blue); }

/* Boutons simples */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; transition: transform .15s ease, background .2s; }
.btn:active { transform: scale(.98); }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover { background: #075ad6; }
.btn.ghost { background: var(--soft); color: var(--ink); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn svg { width: 18px; height: 18px; }

/* Formulaires */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form label small { font-weight: 400; color: var(--ink-3); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .2s;
}
.form textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); }
.form .types { display: flex; flex-wrap: wrap; gap: 8px; }
.form .types input { position: absolute; opacity: 0; pointer-events: none; }
.form .types label { margin: 0; font-weight: 500; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; transition: all .15s; }
.form .types input:checked + label { border-color: var(--blue); background: #e0edff; color: var(--blue-text); }
.form .types input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.form .hp { position: absolute; left: -9999px; }
.form .actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form .note { font-size: 13px; color: var(--ink-3); }
.alert { border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 1.5; }
.alert.ok { background: #dcfce7; color: #14532d; }
.alert.err { background: #fee2e2; color: #7f1d1d; }
.alert.info { background: #e0edff; color: #0b3d91; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; padding: 0 56px 88px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: 0 30px 60px -36px rgba(11,40,90,.25); }
.side-card { background: var(--soft); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.side-card h2, .side-card h3 { font-size: 22px; }
.side-card dl div { padding: 14px 0; border-top: 1px solid var(--line); }
.side-card dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 4px; }
.side-card dd { font-weight: 500; line-height: 1.5; }
.side-card a { color: var(--blue); }

/* FAQ */
.faq { max-width: 900px; margin: 40px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); line-height: 1.7; font-size: 16px; max-width: 760px; }

/* Paiement des droits */
.pay-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; padding: 0 56px 40px; align-items: start; }
.invoice { margin-top: 24px; }
.invoice table { width: 100%; border-collapse: collapse; font-size: 15px; }
.invoice td { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.invoice td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.invoice td small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.invoice tr.total td { border-bottom: 0; font-size: 20px; font-weight: 600; padding-top: 18px; }
.invoice .paybar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.secure svg { width: 16px; height: 16px; }
.steps-mini { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 16px; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; line-height: 1.5; color: var(--ink-2); }
.steps-mini li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 600; color: var(--ink); }
.steps-mini b { color: var(--ink); display: block; }
.duebox { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; background: #fff4d6; border-radius: 16px; color: #713f12; }
.duebox b { font-size: 16px; }

/* Services détaillés */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .pic { order: 2; }
.svc-row .pic { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.svc-row .pic img { width: 100%; height: 100%; object-fit: cover; }
.svc-row h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 12px 0 16px; }
.svc-row ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.svc-row li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; line-height: 1.5; color: var(--ink-2); }
.svc-row li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #e0edff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6cff' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Pages légales */
.prose { max-width: 820px; padding: 0 56px 96px; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-size: 19px; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.75; font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--ink-3); font-size: 14px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 56px 8px; }
.legal-nav a { padding: 9px 16px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 500; }
.legal-nav a.on { background: var(--ink); color: #fff; }
.todo { background: #fff3a6; color: #713f12; padding: 0 4px; border-radius: 4px; }

/* Pied de page partagé */
.site-footer { padding: 72px 56px 0; }
.site-footer .fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer .about-col p { color: var(--ink-2); line-height: 1.6; margin-top: 16px; font-size: 15px; max-width: 300px; }
.site-footer .brand { color: var(--ink); }
.site-footer .brand .mark { color: var(--ink); }
.site-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; }
.site-footer .col a, .site-footer .col div { display: block; padding: 9px 0; font-size: 15px; color: var(--ink); }
.site-footer .col a:hover { color: var(--blue); }
.site-footer .newsletter { grid-column: auto; margin-top: 48px; }
.site-footer .legal { padding: 28px 0 16px; border-top: 1px solid var(--line); margin-top: 28px; gap: 10px; flex-wrap: wrap; }
.nl-msg { font-size: 14px; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.nf b { display: block; font-size: clamp(90px, 18vw, 200px); letter-spacing: -0.06em; line-height: 1; color: var(--soft); font-weight: 700; }

@media (max-width: 1080px) {
  .site-footer .fgrid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer .about-col { grid-column: 1 / -1; }
  .contact-grid, .pay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-head { padding: 44px 8px 24px; }
  .contact-grid, .pay-grid { padding: 0 0 56px; }
  .panel { padding: 22px; border-radius: 20px; }
  .form { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; padding: 40px 8px; gap: 24px; }
  .svc-row:nth-child(even) .pic { order: 0; }
  .prose, .legal-nav { padding-left: 8px; padding-right: 8px; }
  .site-footer { padding: 48px 8px 0; }
  .site-footer .fgrid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer .newsletter { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; }
}

/* Accueil : 4 services */
.services.four { grid-template-columns: repeat(4, 1fr); }
.services.four .svc img { height: 200px; }
.services.four .svc h3 { font-size: 22px; }
.site-header.overlay { color: #fff; z-index: 5; }
@media (max-width: 1080px) { .services.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .services.four { grid-template-columns: 1fr; } }

/* Paragraphes détaillés (services) et blocs explicatifs */
.svc-row p.more { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin-top: 14px; }
.svc-row p.more a { color: var(--blue); text-decoration: underline; }
.prose-block .head-split { margin-bottom: 8px; }
.prose-block .pillars { margin-top: 32px; }
/* Réserve la hauteur du menu pour éviter le décalage au chargement */
.site-header.light { min-height: 76px; }

/* Liens dans le texte : bleu plus foncé (contraste) et soulignés */
.side-card a, .form .note a, .tres a, .prose a, .faq a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 2px; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 8px 56px 72px; }
.guide-grid.two { grid-template-columns: repeat(2, 1fr); padding: 28px 0 0; }
.guide-card { display: flex; flex-direction: column; background: var(--soft); border-radius: 24px; overflow: hidden; transition: transform .15s; }
.guide-card:hover { transform: translateY(-3px); }
.guide-card img { width: 100%; height: 190px; object-fit: cover; }
.guide-card > div { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide-card h2, .guide-card h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.guide-card p { color: var(--ink-2); line-height: 1.6; font-size: 15px; flex: 1; }
.guide-card .more-link { color: var(--blue-text); font-weight: 600; font-size: 15px; }
.article-head h1 { font-size: clamp(34px, 4.4vw, 56px); max-width: 980px; }
.article-head .byline { margin-top: 18px; color: var(--ink-3); font-size: 14px; }
.article-hero { padding: 0 56px; }
.article-hero img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 26px; }
.prose.article { padding-top: 40px; }
.prose ol { padding-left: 22px; margin: 10px 0; }
.takeaways { background: var(--soft); border-radius: 20px; padding: 24px 28px; margin-bottom: 8px; }
.takeaways h2 { font-size: 20px; margin: 0 0 10px; }
.prose .disclaimer { margin-top: 36px; font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 18px; }
.related h2 { font-size: clamp(28px, 3.4vw, 42px); }
@media (max-width: 1080px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .guide-grid, .guide-grid.two { grid-template-columns: 1fr; padding-left: 8px; padding-right: 8px; }
  .article-hero { padding: 0 8px; }
}

/* Vidéo de présentation (accueil) */
.video-sec .vwrap { position: relative; margin-top: 40px; border-radius: 28px; overflow: hidden; background: #0b1220; aspect-ratio: 16 / 9; box-shadow: 0 40px 80px -40px rgba(11, 18, 32, .45); }
.video-sec video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.vplay { position: absolute; left: 32px; bottom: 32px; display: flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 600 17px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; box-shadow: 0 18px 40px -14px rgba(11, 18, 32, .45); transition: transform .2s; }
.vplay:hover { transform: translateY(-2px); }
.vplay .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.vplay .ic svg { width: 22px; height: 22px; margin-left: 3px; }
.vplay small { font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.video-sec.playing .vplay, .video-sec.playing .vplay-m { display: none; }
.vplay-m { display: none; }
.transcript { margin-top: 22px; }
.transcript summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--ink); }
.transcript p { margin-top: 12px; max-width: 860px; color: var(--ink-2); line-height: 1.75; font-size: 16px; }
@media (max-width: 760px) {
  .video-sec .vwrap { border-radius: 18px; margin-top: 28px; }
  .vwrap .vplay { display: none; }
  .vplay-m { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 7px 22px 7px 7px; border: 0; border-radius: 999px; background: var(--blue-text); color: #fff; font: 600 16px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; }
  .vplay-m .ic { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--blue-text); display: flex; align-items: center; justify-content: center; }
  .vplay-m .ic svg { width: 16px; height: 16px; margin-left: 2px; }
  .vplay-m small { font-weight: 500; color: #fff; margin-left: 4px; }
}
