/* AgendIK — page d'accueil commerciale (agendik.fr).
   Direction « la route » (MARQUE.md) : blanc, graphite, neutre chaud, une seule mandarine
   porteuse de sens — l'action principale, l'état courant, le repère de position.
   Jetons repris de public/style.css, qui fait foi. Aucun attribut style= : la CSP les refuse. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --wash: #F6F5F2;
  --wash-2: #EEECE7;
  --ink: #1B1A18;
  --ink-2: #5A5852;
  --ink-3: #6E6B64;
  --rule: rgba(27, 26, 24, .09);
  --rule-strong: rgba(27, 26, 24, .2);
  --accent: #C0450F;
  --accent-bright: #D4501E;
  --accent-ink: #A83C11;
  --accent-wash: #FCEFE8;
  --accent-hover: #9C370B;
  --r-s: 8px;
  --r: 11px;
  --r-l: 16px;
  --shadow-float: 0 1px 2px rgba(27, 26, 24, .06), 0 10px 30px -8px rgba(27, 26, 24, .16);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --page: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 650; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow .faq, .wrap-narrow .section-lead { max-width: 820px; }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-s); }
.skip:focus { top: 12px; color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .15s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Barre haute ------------------------------------------------------------ */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.4) blur(10px); } }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.word { font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
.word span { color: var(--accent-ink); }
.nav { display: none; gap: 26px; margin-left: 12px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.link-quiet { display: none; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.link-quiet:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 900px) { .nav { display: flex; } }
@media (min-width: 560px) { .link-quiet { display: inline; } }

/* Héros ------------------------------------------------------------------ */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 80px 0 88px; } .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; } }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--wash); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 13px 5px 11px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 3px var(--accent-wash); flex: none; }
.hero h1 { font-size: clamp(36px, 8.6vw, 60px); font-weight: 700; letter-spacing: -.035em; }
.lead { margin-top: 20px; font-size: clamp(18px, 2.2vw, 20px); color: var(--ink-2); max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-left { margin-top: 32px; }
.fine { margin-top: 18px; font-size: 14.5px; color: var(--ink-3); max-width: 34em; }
@media (max-width: 420px) { .hero .cta .btn { flex: 1 1 100%; } }

/* Exemple de journée : la route posée sur la page, sans carte enfermante. */
.day { margin: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-l); box-shadow: var(--shadow-float); padding: 20px 20px 18px; max-width: 460px; width: 100%; justify-self: center; }
.day-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); background: var(--wash); border-radius: 6px; padding: 2px 8px; }
.route { list-style: none; margin: 0; padding: 14px 0 6px; position: relative; }
.route::before { content: ""; position: absolute; left: 63px; top: 26px; bottom: 26px; width: 2px; background: repeating-linear-gradient(to bottom, var(--rule-strong) 0 6px, transparent 6px 11px); }
.stop, .leg { display: grid; grid-template-columns: 52px 24px 1fr; align-items: center; }
.stop { min-height: 46px; }
.stop::before { content: ""; grid-column: 2; grid-row: 1; justify-self: center; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); position: relative; z-index: 1; }
.stop.is-end::before { background: var(--accent-bright); border-color: var(--accent-bright); box-shadow: 0 0 0 4px var(--accent-wash); }
.time { grid-column: 1; grid-row: 1; font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.what { grid-column: 3; grid-row: 1; padding-left: 10px; font-weight: 550; font-size: 15.5px; line-height: 1.3; }
.what small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13.5px; }
.leg { min-height: 34px; }
.km { grid-column: 3; grid-row: 1; padding-left: 10px; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.leg-label { grid-column: 3; grid-row: 1; justify-self: end; font-size: 12.5px; color: var(--ink-3); }
.day-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--rule); }
.validated { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.validated::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.sum { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sum strong { color: var(--ink); font-size: 18px; }
.day-note { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }

/* En bref ---------------------------------------------------------------- */
.facts { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 36px 0; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.facts-list { margin: 0; display: grid; gap: 22px; }
@media (min-width: 720px) { .facts-list { grid-template-columns: repeat(2, 1fr); gap: 26px 48px; } }
@media (min-width: 1040px) { .facts-list { grid-template-columns: repeat(4, 1fr); } }
.facts-list dt { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.facts-list dd { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* Sections --------------------------------------------------------------- */
.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section-wash { background: var(--wash); }
.section h2 { font-size: clamp(28px, 5.4vw, 40px); font-weight: 700; letter-spacing: -.03em; max-width: 20em; }
.section-lead { margin-top: 14px; color: var(--ink-2); font-size: 18px; max-width: 38em; }

/* Étapes : une route numérotée. */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.steps li { position: relative; padding: 0 0 32px 56px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--rule-strong); }
.steps li:last-child::before { display: none; }
.step-n { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 15px; background: var(--paper); border: 2px solid var(--ink); color: var(--ink); }
.steps li:last-child .step-n { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps h3 { font-size: 20px; padding-top: 5px; }
.steps p { margin-top: 8px; color: var(--ink-2); max-width: 32em; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { padding: 58px 0 0; }
  .steps li::before { left: 44px; right: -28px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .steps h3 { padding-top: 0; }
}

/* Différences ------------------------------------------------------------ */
.diffs { list-style: none; margin: 36px 0 0; padding: 0; display: grid; }
.diffs li { padding: 22px 0; border-top: 1px solid var(--rule-strong); display: grid; gap: 6px; }
.diffs li:last-child { border-bottom: 1px solid var(--rule-strong); }
.diffs h3 { font-size: 19px; }
.diffs p { color: var(--ink-2); max-width: 42em; }
@media (min-width: 900px) { .diffs li { grid-template-columns: 340px 1fr; gap: 40px; padding: 26px 0; } }

.table-wrap { margin-top: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
.table-wrap:focus-visible { outline-offset: 2px; }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; background: var(--paper); border-radius: var(--r); }
.compare-title { margin-top: 48px; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.swipe-hint { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
@media (min-width: 680px) { .swipe-hint { display: none; } }
.compare th, .compare td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-size: 14px; font-weight: 650; border-bottom: 1px solid var(--rule-strong); }
.compare thead small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.compare tbody th { font-weight: 550; width: 28%; }
.compare td { color: var(--ink-2); }
.compare .is-us { color: var(--ink); font-weight: 600; background: var(--accent-wash); }
.compare thead .is-us { color: var(--accent-ink); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* Prix ------------------------------------------------------------------- */
.beta-note { margin-top: 28px; padding: 14px 18px; border-left: 3px solid var(--accent-bright); background: var(--accent-wash); border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--ink); font-size: 15.5px; max-width: 46em; }
.plans { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } .plan + .plan { border-left: 1px solid var(--rule-strong); padding-left: 32px; } }
.plan { padding: 24px 0; border-bottom: 1px solid var(--rule-strong); }
.plan h3 { font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.price { margin-top: 6px; font-size: 17px; color: var(--ink-2); }
.price strong { font-size: 48px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); margin-right: 4px; font-variant-numeric: tabular-nums; }
.plan-detail { margin-top: 4px; color: var(--ink-3); font-size: 15px; }
.plan-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .plan-list { grid-template-columns: 1fr 1fr; gap: 12px 32px; } }
.plan-list li { position: relative; padding-left: 28px; color: var(--ink-2); }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3 3 7-7' fill='none' stroke='%231B1A18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Questions -------------------------------------------------------------- */
.faq { margin-top: 32px; border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 17.5px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* Fin de page ------------------------------------------------------------ */
.closing { padding: 72px 0; border-top: 1px solid var(--rule); }
.closing-in { text-align: left; }
.closing h2 { font-size: clamp(28px, 5.4vw, 40px); font-weight: 700; letter-spacing: -.03em; }
.closing p { margin-top: 10px; font-size: 19px; color: var(--ink-2); }

.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); font-size: 14.5px; }
.foot-in { display: grid; gap: 24px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.4fr 1fr; gap: 24px 64px; } .foot-note { grid-column: 1 / -1; } }
.foot .word { color: #fff; font-size: 20px; margin-bottom: 8px; }
.foot .word span { color: #F08A5D; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-links a { color: #fff; display: inline-block; padding: 6px 0; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); }
.foot-links a:hover { text-decoration-color: #fff; }
.foot-note { color: rgba(255, 255, 255, .7); font-size: 13.5px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; }
.foot :focus-visible { outline-color: #fff; }
.notfound { margin-top: 28px; font-size: clamp(30px, 6vw, 44px); font-weight: 700; letter-spacing: -.03em; }
