:root {
  --ink: #102b34;
  --ink-soft: #33515a;
  --blue: #0d3b4b;
  --blue-2: #15566a;
  --teal: #0fa8a1;
  --orange: #ffad22;
  --orange-dark: #e88700;
  --cream: #fbf7ef;
  --paper: #fffdf9;
  --line: #dce7e8;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(19, 54, 65, .12);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; z-index: 999; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 231, 232, .8);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 850; letter-spacing: -.03em; white-space: nowrap; }
.brand img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; }
.beta { padding: 2px 7px; border: 1px solid rgba(15,168,161,.35); border-radius: 999px; color: var(--teal); font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; }
nav { margin-left: auto; display: flex; align-items: center; gap: 26px; color: var(--ink-soft); font-size: 14px; font-weight: 650; }
nav a:hover { color: var(--ink); }
.menu-button { display: none; margin-left: auto; border: 0; background: transparent; font-size: 25px; color: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 3px solid var(--ink); border-radius: 14px; padding: 12px 18px; font-weight: 400; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button-small { padding: 9px 14px; font-size: 14px; }
.button-primary { background: var(--orange); color: #1f2c2c; border-color: var(--orange); box-shadow: 0 14px 34px rgba(255, 173, 34, .28); }
.button-primary:hover { background: #ffba3f; box-shadow: 0 18px 44px rgba(255, 173, 34, .36); }
.button-large { padding: 16px 24px; font-size: 17px; }
.text-link { font-weight: 800; color: var(--blue-2); border-bottom: 1px solid currentColor; }

.hero { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; padding: 84px 0 76px; background: radial-gradient(circle at 70% 12%, #fff4cf 0, transparent 34%), linear-gradient(180deg, #fffdf9 0%, #f5fbfa 100%); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 68px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 14px; color: var(--teal); text-transform: uppercase; letter-spacing: .13em; font-weight: 850; font-size: 12px; }
.eyebrow.light { color: #7ee4da; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(46px, 6.2vw, 82px); }
h1 span { color: var(--blue-2); }
h2 { margin: 0 0 20px; font-size: clamp(34px, 4.3vw, 58px); }
h3 { font-size: 23px; }
.hero-copy > p { max-width: 680px; color: var(--ink-soft); font-size: 18px; }
.hero-lead { font-size: 22px !important; color: var(--ink) !important; font-weight: 620; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 32px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--teal); }
.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.hero-visual > img { position: relative; z-index: 2; width: min(470px, 88%); filter: drop-shadow(0 36px 45px rgba(12, 52, 64, .22)); }
.hero-image-ring { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: linear-gradient(145deg, #ffe3a1, #8de5d9); opacity: .72; filter: blur(3px); }
.floating-card { position: absolute; z-index: 3; min-width: 170px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.floating-card small, .floating-card span { display: block; color: var(--ink-soft); font-size: 12px; }
.floating-card strong { display: block; font-size: 26px; line-height: 1.15; }
.floating-card-top { top: 55px; right: 0; }
.floating-card-bottom { left: 0; bottom: 58px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .32; }
.hero-glow-one { width: 360px; height: 360px; background: var(--orange); top: -120px; right: 16%; }
.hero-glow-two { width: 300px; height: 300px; background: var(--teal); bottom: -120px; left: 18%; }

.proof-strip { border-block: 1px solid var(--line); background: white; }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.proof-grid div { padding: 25px 30px; border-right: 1px solid var(--line); }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: 16px; }
.proof-grid span { color: var(--ink-soft); font-size: 13px; }

.section { padding: 110px 0; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading p { color: var(--ink-soft); font-size: 18px; }
.before-after { display: grid; grid-template-columns: .72fr 80px 1.28fr; align-items: stretch; gap: 24px; }
.compare-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 18px 50px rgba(19,54,65,.07); }
.compare-label { display: block; margin-bottom: 22px; color: var(--ink-soft); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.compare-simple { display: flex; flex-direction: column; justify-content: center; }
.compare-simple > strong { font-size: 70px; line-height: 1; }
.compare-simple p { color: var(--ink-soft); }
.compare-rich { background: var(--blue); color: white; border-color: var(--blue); }
.compare-rich .compare-label { color: #9dd5db; }
.compare-arrow { display: grid; place-items: center; font-size: 34px; color: var(--teal); }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.metric-grid div { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.metric-grid strong, .metric-grid span { display: block; }
.metric-grid strong { font-size: 25px; }
.metric-grid span { color: #b9d7db; font-size: 12px; }

.section-dark { background: var(--blue); color: white; }
.section-dark p { color: #c3dadd; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.align-center { align-items: center; }
.question-list { margin: 0; padding: 0; list-style: none; }
.question-list li { display: flex; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 20px; font-weight: 720; }
.question-list span { color: #70d5cd; font-size: 12px; letter-spacing: .08em; }

.app-showcase { background: #f3f8f7; }
.browser-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.browser-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: #eef3f3; color: #71878d; font-size: 12px; }
.browser-top i { width: 10px; height: 10px; border-radius: 50%; background: #c3d1d3; }
.browser-top span { margin-left: 10px; }
.browser-frame img { width: 100%; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 32px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.feature-card p { color: var(--ink-soft); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #e5f7f4; color: var(--blue); font-size: 23px; font-weight: 900; }

.illustration-stack { position: relative; display: grid; place-items: center; }
.illustration-stack > img { width: min(430px, 90%); filter: drop-shadow(0 30px 38px rgba(13,59,75,.2)); }
.mini-panel { position: absolute; right: 4%; bottom: 5%; min-width: 220px; padding: 18px 20px; border-radius: 18px; background: white; box-shadow: var(--shadow); }
.mini-panel span, .mini-panel strong, .mini-panel small { display: block; }
.mini-panel span, .mini-panel small { color: var(--ink-soft); }
.mini-panel strong { font-size: 30px; }
.check-list { padding: 0; list-style: none; }
.check-list li { margin: 14px 0; padding-left: 32px; position: relative; font-weight: 650; }
.check-list li::before { content: "✓"; position: absolute; left: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #d9f2ee; color: #08786f; font-size: 12px; }

.assistance-section { padding-top: 30px; }
.assistance-card { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; padding: 70px; border-radius: 34px; background: linear-gradient(135deg, #0d3b4b 0%, #176075 100%); color: white; box-shadow: var(--shadow); }
.assistance-card p { color: #cee3e6; }
.aid-card-demo { padding: 30px; border: 1px solid rgba(255,255,255,.28); border-radius: 24px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.aid-tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 900; }
.aid-card-demo h3 { font-size: 34px; }
.aid-card-demo > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); }
.aid-card-demo strong { font-size: 18px; }
.aid-card-demo small { color: #bcd6db; }

.quote-section { padding: 90px 0; background: #f5e7c4; overflow: hidden; }
.quote-wrap { display: grid; grid-template-columns: 330px 1fr; align-items: center; gap: 70px; }
.quote-wrap img { filter: drop-shadow(0 20px 30px rgba(13,59,75,.2)); }
blockquote { margin: 0; }
blockquote p { margin: 0; font-size: clamp(32px, 5vw, 65px); line-height: 1.15; letter-spacing: -.045em; }
blockquote strong { color: var(--blue-2); }
blockquote footer { margin-top: 24px; color: var(--ink-soft); font-weight: 700; }

.final-cta { padding-bottom: 120px; }
.cta-box { padding: 76px 40px; text-align: center; border-radius: 34px; background: var(--blue); color: white; }
.cta-box h2 { max-width: 850px; margin-inline: auto; }
.cta-box p:not(.eyebrow) { max-width: 680px; margin: 0 auto 30px; color: #c7dfe2; }

.site-footer { padding: 58px 0 24px; background: #071d24; color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid p, .footer-grid a { color: #a8c0c5; font-size: 14px; }
.footer-grid a:hover { color: white; }
.footer-brand img { width: 48px; height: 48px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #819ba1; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-sm { transition-delay: .08s; }
.reveal-delay { transition-delay: .16s; }

@media (max-width: 980px) {
  nav { display: none; position: absolute; left: 20px; right: 20px; top: 72px; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav a { padding: 11px; }
  .nav-wrap > .button-small { display: none; }
  .menu-button { display: block; }
  .hero-grid, .split-grid, .assistance-card { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .hero-visual { min-height: 460px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-grid div:nth-child(2) { border-right: 0; }
  .before-after { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); }
  .feature-grid { grid-template-columns: 1fr; }
  .split-grid { gap: 50px; }
  .assistance-card { padding: 46px; gap: 40px; }
  .quote-wrap { grid-template-columns: 240px 1fr; gap: 38px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 76px 0; }
  .brand span:not(.beta) { font-size: 17px; }
  .brand img { width: 42px; height: 42px; }
  h1 { font-size: 46px; }
  .hero { min-height: auto; }
  .hero-copy > p { font-size: 16px; }
  .hero-lead { font-size: 19px !important; }
  .hero-visual { min-height: 390px; }
  .hero-image-ring { width: 320px; height: 320px; }
  .floating-card { min-width: 145px; padding: 12px 14px; }
  .floating-card-top { right: -4px; top: 28px; }
  .floating-card-bottom { left: -4px; bottom: 28px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { padding: 18px 16px; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .compare-card { padding: 26px; }
  .assistance-card { padding: 32px 24px; }
  .quote-wrap { grid-template-columns: 1fr; text-align: center; }
  .quote-wrap img { width: 230px; margin-inline: auto; }
  .cta-box { padding: 54px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* Mise à jour captures récentes et usage mobile hors ligne */
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.72); color: var(--blue); }
.button-light { background: white; color: var(--blue); border-color: white; }
.beta-access-note { margin-top: 16px !important; color: var(--ink-soft); font-size: 14px !important; }
.beta-access-note a { color: var(--blue-2); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.screen-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 18px; }
.screen-card { min-width: 0; padding: 0; overflow: hidden; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); cursor: zoom-in; box-shadow: 0 10px 28px rgba(19,54,65,.06); transition: transform .2s ease, box-shadow .2s ease; }
.screen-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(19,54,65,.12); }
.screen-card img { width: 100%; height: 150px; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.screen-card span { display: block; padding: 13px 15px; font-size: 13px; font-weight: 800; }
.mobile-companion { background: linear-gradient(180deg,#ffffff 0%,#edf8f6 100%); }
.mobile-grid { display: grid; grid-template-columns: minmax(300px,.75fr) 1.25fr; gap: 90px; align-items: center; }
.phone-mockup { position: relative; width: min(390px,90%); margin-inline: auto; padding: 17px 12px 22px; border: 8px solid #102d37; border-radius: 46px; background: #102d37; box-shadow: 0 38px 70px rgba(13,43,53,.25); }
.phone-speaker { width: 84px; height: 7px; margin: 0 auto 12px; border-radius: 999px; background: #36525b; }
.phone-screen { overflow: hidden; min-height: 560px; border-radius: 29px; background: #f5f6f8; }
.phone-screen img { display: block; width: 100%; height: 250px; object-fit: cover; object-position: left top; }
.phone-screen img:last-child { height: 330px; border-top: 8px solid #f5f6f8; }
.mobile-points { display: grid; gap: 20px; margin: 30px 0; }
.mobile-points div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.mobile-points strong { color: var(--blue-2); }
.mobile-points span { color: var(--ink-soft); }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-contact { margin-top: 18px !important; font-size: 14px; }
.cta-contact a { color: white; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.image-lightbox { width: min(94vw,1600px); max-width: none; padding: 14px; border: 0; border-radius: 20px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.image-lightbox::backdrop { background: rgba(3,18,24,.82); backdrop-filter: blur(4px); }
.image-lightbox img { width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(7,29,36,.88); color: white; font-size: 28px; cursor: pointer; }
@media(max-width:980px){.screen-gallery{grid-template-columns:repeat(2,1fr)}.mobile-grid{grid-template-columns:1fr;gap:52px}.phone-mockup{width:min(380px,85%)}}
@media(max-width:680px){.screen-gallery{grid-template-columns:1fr}.screen-card img{height:180px}.mobile-points div{grid-template-columns:1fr;gap:4px}.phone-screen{min-height:500px}.phone-screen img{height:220px}.phone-screen img:last-child{height:280px}.hero-actions{align-items:stretch}.hero-actions .button{width:100%;justify-content:center}}

/* ============================================================
   Ultra Roadbook — illustrations premium
   Ajouté pour améliorer l'affichage des illustrations en grand
   ============================================================ */

.hero-illustration,
.feature-illustration,
.gallery-item,
.illustration-stack,
.quote-wrap {
  position: relative;
}

.hero-illustration img,
.feature-illustration img,
.gallery-item img,
.illustration-stack > img,
.quote-wrap > img {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 20px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, .04),
    0 10px 30px rgba(0, 0, 0, .08);
  transition:
    transform .28s cubic-bezier(.2, .8, .2, 1),
    box-shadow .28s cubic-bezier(.2, .8, .2, 1),
    border-color .28s ease;
}

.hero-illustration img:hover,
.feature-illustration img:hover,
.gallery-item img:hover,
.illustration-stack > img:hover,
.quote-wrap > img:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 124, 0, .25);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, .10),
    0 22px 50px rgba(0, 0, 0, .15);
}

.hero-illustration img,
.feature-illustration img,
.illustration-stack > img,
.quote-wrap > img {
  animation: illustrationAppear .7s ease both;
}

@keyframes illustrationAppear {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-illustration {
  max-width: 560px;
  margin-inline: auto;
}

.hero-illustration img,
.hero-visual > img {
  border-radius: 24px;
}

.feature-illustration {
  max-width: 520px;
  margin-inline: auto;
}

.feature-illustration img,
.illustration-stack > img,
.quote-wrap > img {
  border-radius: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.gallery-item {
  overflow: visible;
}

.gallery-item img {
  width: 100%;
  border-radius: 20px;
}

.screenshot,
.browser-frame img,
.screen-card img,
.phone-screen img {
  border-radius: 12px;
}

/* Les miniatures de galerie conservent leurs coins arrondis sans
   masquer l'ombre portée. */
.screen-card {
  overflow: hidden;
  border-radius: 16px;
}

.screen-card img {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-illustration img,
  .feature-illustration img,
  .gallery-item img,
  .illustration-stack > img,
  .quote-wrap > img {
    animation: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-illustration,
  .feature-illustration {
    max-width: 100%;
  }
}
