/*
Theme Name: PARKEY
Theme URI: https://www.parkey.tn/
Author: MOBY ERA
Description: Thème du site PARKEY — paiement mobile du stationnement en Tunisie. Pages : accueil, municipalités & entreprises, aide & contact, politique de confidentialité.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Propriétaire
Text Domain: parkey
*/

:root{
  /* Nouvelle identité — échantillonnée sur le logo (voir brand-spec.md) */
  --bg:#ffffff;
  --surface:#f5f5f5;
  --fg:#000000;
  --muted:oklch(0.46 0 0);
  --border:#dbdbdb;
  --accent:oklch(0.951 0.204 107.6);          /* jaune logo #fef703 */
  --accent-hover:oklch(0.87 0.19 107.6);
  --ring:oklch(0.649 0.192 251.6);            /* bleu anneau #0090fe */
  --night:oklch(0.259 0.076 252.2);           /* ciel nuit #012447 */
  --night-2:oklch(0.342 0.095 249.5);         /* #013a67 */
  --night-line:oklch(0.42 0.08 250);
  --on-night:#ffffff;
  --on-night-muted:oklch(0.84 0.03 250);

  --font-display:"Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body:"Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono:ui-monospace, SFMono-Regular, Menlo, monospace;

  --r:8px;
  --wrap:1200px;
  --gutter:clamp(20px, 4vw, 48px);
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{font-family:var(--font-body);font-size:17px;line-height:1.6;color:var(--fg);background:var(--bg);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:var(--font-display);font-weight:900;line-height:1.08;letter-spacing:-0.02em;text-wrap:balance}
p{text-wrap:pretty}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
:focus-visible{outline:3px solid var(--ring);outline-offset:3px;border-radius:var(--r)}

.eyebrow{font-family:var(--font-body);font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.night .eyebrow{color:var(--on-night-muted)}
.hl{color:var(--accent)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:var(--r);font:700 16px/1 var(--font-body);text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background-color .15s,border-color .15s,transform .15s}
.btn-primary{background:var(--accent);color:var(--fg)}
.btn-primary:hover{background:var(--accent-hover);color:var(--fg)}
.btn-primary:active{transform:translateY(1px)}
.btn-ghost{background:transparent;color:var(--on-night);border-color:var(--night-line)}
.btn-ghost:hover{background:var(--night-2);border-color:var(--on-night-muted);color:var(--on-night)}
.link-arrow{display:inline-flex;align-items:center;gap:8px;min-height:48px;font-weight:700;text-decoration:none;color:var(--on-night);border-bottom:1px solid transparent}
.link-arrow:hover{border-bottom-color:currentColor}
.link-arrow svg{transition:transform .15s}
.link-arrow:hover svg{transform:translateX(3px)}

/* Header */
.site-header{position:sticky;top:0;z-index:20;background:var(--night);border-bottom:1px solid var(--night-2)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px}
.brand{display:flex;align-items:center}
.brand img{height:56px;width:auto}
.nav{display:flex;align-items:center;gap:32px}
.nav ul{display:flex;gap:28px;list-style:none;padding:0}
.nav a:not(.btn){color:var(--on-night-muted);text-decoration:none;font-weight:500;font-size:15px;padding:12px 0;border-bottom:2px solid transparent}
.nav a:not(.btn):hover{color:var(--on-night);border-bottom-color:var(--on-night)}
.menu-toggle{display:none;width:48px;height:48px;border-radius:var(--r);border:1px solid var(--night-line);background:transparent;color:var(--on-night);cursor:pointer;align-items:center;justify-content:center}
.menu-toggle:hover{background:var(--night-2)}

/* Hero */
.hero{position:relative;background:var(--night);color:var(--on-night);overflow:hidden;min-height:clamp(640px, 62.5vw, 940px)}
.hero-media{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:50% 100%}
.hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom, oklch(0.259 0.076 252.2 / .9) 0, oklch(0.259 0.076 252.2 / .78) 38%, oklch(0.259 0.076 252.2 / .25) 62%, oklch(0.259 0.076 252.2 / 0) 78%)}
.hero-copy{position:relative;z-index:1;text-align:center;padding:clamp(48px,7vh,80px) 0 64px;max-width:920px;margin:0 auto}
.hero-copy .eyebrow{margin-bottom:24px}
.hero h1{font-size:clamp(40px, 5.4vw, 72px);color:var(--on-night)}
.hero h1 .hl{display:block}
.hero-lede{max-width:600px;margin:24px auto 0;font-size:clamp(17px,1.6vw,20px);color:var(--on-night-muted)}
.hero-lede strong{color:var(--on-night);font-weight:700}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px 32px;justify-content:center;align-items:center;margin-top:40px}

/* Sections */
section{padding:clamp(72px,10vw,128px) 0}
.section-head{max-width:720px;margin-bottom:56px}
.section-head h2{font-size:clamp(32px,4.2vw,52px);margin-top:16px}
.section-head p{margin-top:20px;color:var(--muted);font-size:18px}
.night{background:var(--night);color:var(--on-night)}
.night .section-head p{color:var(--on-night-muted)}
.tint{background:var(--surface)}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;list-style:none;padding:0;counter-reset:step}
.step{border-top:1px solid var(--fg);padding-top:24px}
.step-num{font:900 56px/1 var(--font-display);color:var(--night);letter-spacing:-0.03em}
.step h3{font-size:24px;margin:24px 0 12px}
.step p{color:var(--muted)}

/* Platform */
.platform{display:grid;grid-template-columns:5fr 7fr;gap:clamp(40px,6vw,88px);align-items:center}
.platform .section-head{margin-bottom:0}
.platform .section-head p + p{margin-top:16px}
.shot{border:1px solid var(--border);border-radius:var(--r);background:var(--bg);overflow:hidden;box-shadow:0 24px 48px -24px oklch(0.259 0.076 252.2 / .35)}
.shot img{width:100%;aspect-ratio:1280/675}
.shot figcaption{padding:12px 16px;font-size:14px;color:var(--muted);border-top:1px solid var(--border)}
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:72px}
.pillar{background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:32px}
.pillar h3{font-size:20px;margin-bottom:12px}
.pillar p{color:var(--muted);font-size:16px}
.pillar-tag{display:inline-block;font:500 12px/1 var(--font-mono);color:var(--night);background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:6px 8px;margin-bottom:20px}

/* Audiences */
.audiences{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.aud{background:var(--night-2);border:1px solid var(--night-line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.aud img{width:100%;aspect-ratio:16/10;object-fit:cover}
.aud-body{padding:32px;display:flex;flex-direction:column;gap:12px;flex:1}
.aud h3{font-size:24px;color:var(--on-night)}
.aud p{color:var(--on-night-muted);font-size:16px}
.aud p.lead{color:var(--on-night);font-weight:500}

/* Contact */
.contact{display:grid;grid-template-columns:5fr 7fr;gap:clamp(40px,6vw,88px);align-items:start}
.contact .section-head{margin-bottom:40px}
.coords{list-style:none;padding:0;display:grid;gap:0;border-top:1px solid var(--border)}
.coords li{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:20px 0;border-bottom:1px solid var(--border)}
.coords span{font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding-top:3px}
.coords a{text-decoration:none;font-weight:500;border-bottom:1px solid var(--border)}
.coords a:hover{border-bottom-color:var(--fg)}
.form{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:clamp(24px,4vw,40px);display:grid;grid-template-columns:1fr 1fr;gap:20px}
.field{display:flex;flex-direction:column;gap:8px}
.field.full{grid-column:1/-1}
.field label{font-weight:500;font-size:15px}
.field input,.field select,.field textarea{font:inherit;font-size:16px;color:var(--fg);background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:12px 14px;min-height:48px;width:100%}
.field textarea{min-height:140px;resize:vertical}
.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--muted)}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:3px solid var(--ring);outline-offset:0;border-color:var(--night);border-radius:var(--r)}
.field [aria-invalid="true"]{border-color:oklch(0.55 0.2 27)}
.err{font-size:14px;color:oklch(0.5 0.2 27);min-height:0}
.form-foot{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:8px}
.form-foot small{color:var(--muted);font-size:14px}
.form-status{grid-column:1/-1;background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:16px;font-weight:500}
.form-status[hidden]{display:none}

/* Footer */
.site-footer{background:var(--night);color:var(--on-night-muted);padding:64px 0 32px}
.foot-top{display:grid;grid-template-columns:2fr 1fr 1fr;gap:48px;padding-bottom:48px;border-bottom:1px solid var(--night-line)}
.foot-top img{height:88px;width:auto;margin-bottom:20px}
.foot-top h4{font:700 13px/1 var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--on-night);margin-bottom:20px}
.foot-top ul{list-style:none;padding:0;display:grid;gap:4px}
.foot-top a{text-decoration:none;display:inline-block;padding:6px 0;color:var(--on-night-muted)}
.foot-top a:hover{color:var(--on-night);text-decoration:underline}
.foot-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-top:24px;font-size:14px}

/* Responsive */
@media (max-width: 960px){
  .platform,.contact{grid-template-columns:1fr}
  .steps,.pillars,.audiences{grid-template-columns:1fr}
  .pillars{margin-top:48px}
  .foot-top{grid-template-columns:1fr 1fr}
  .foot-top > div:first-child{grid-column:1/-1}
}
@media (max-width: 1000px){
  .menu-toggle{display:inline-flex}
  .nav{position:absolute;top:72px;left:0;right:0;background:var(--night);border-bottom:1px solid var(--night-2);flex-direction:column;align-items:stretch;gap:16px;padding:16px var(--gutter) 24px;display:none}
  .nav.open{display:flex}
  .nav ul{flex-direction:column;gap:0}
  .nav a:not(.btn){display:block;padding:14px 0;border-bottom:1px solid var(--night-2)}
  .nav a:not(.btn):hover{border-bottom-color:var(--night-line)}
}
@media (max-width: 600px){
  body{font-size:16px}
  .form{grid-template-columns:1fr}
  .coords li{grid-template-columns:1fr;gap:4px}
  .foot-top{grid-template-columns:1fr}
  .hero{min-height:760px}
  .hero-media img{object-position:35% 100%}
  .hero-media::after{background:linear-gradient(to bottom, oklch(0.259 0.076 252.2 / .92) 0, oklch(0.259 0.076 252.2 / .82) 55%, oklch(0.259 0.076 252.2 / .2) 80%, oklch(0.259 0.076 252.2 / 0) 92%)}
}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* ===== Multi-page additions ===== */
.nav a[aria-current="page"]{color:var(--on-night);border-bottom-color:var(--accent)}
.hero-sm{min-height:0}
.hero-sm .hero-copy{padding:clamp(64px,9vw,112px) 0 clamp(56px,8vw,96px)}
.hero-sm h1{font-size:clamp(36px,4.8vw,60px)}
.hero-sm .hero-lede{max-width:640px}

/* Store badges */
.stores{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hero .stores{justify-content:center;margin-top:40px}
.store{display:inline-flex;border-radius:var(--r);transition:transform .15s, box-shadow .15s}
.store img{height:52px;width:auto}
.store:hover{transform:translateY(-2px);box-shadow:0 10px 24px -10px oklch(0 0 0 / .6)}
.stores-note{font-size:14px;color:var(--on-night-muted);margin-top:16px}

/* Flow diagram (parcours) */
.flow{display:grid;grid-template-columns:1fr 56px 1fr 56px 1fr 56px 1fr;align-items:stretch;list-style:none;padding:0}
.node{background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:28px 24px;display:flex;flex-direction:column;gap:12px;position:relative}
.node-key{border-color:var(--night);box-shadow:0 0 0 1px var(--night)}
.node-ico{width:48px;height:48px;border-radius:var(--r);background:var(--night);color:var(--accent);display:grid;place-items:center}
.node-ico svg{width:26px;height:26px}
.node-step{font:500 12px/1 var(--font-mono);color:var(--muted);letter-spacing:.06em}
.node h3{font-size:22px}
.node p{color:var(--muted);font-size:15.5px}
.link{display:flex;align-items:center;justify-content:center;color:var(--night)}
.link svg{width:40px;height:16px}
.loop{margin-top:20px;display:flex;align-items:center;gap:12px;justify-content:flex-end;color:var(--muted);font-size:15px}
.loop svg{flex:none;color:var(--night)}

/* Fork diagram (voirie / parking) */
.fork-wrap{display:grid;grid-template-columns:7fr 4fr;gap:clamp(40px,6vw,80px);align-items:center}
.fork{display:grid;grid-template-columns:1fr;gap:0}
.fork-root{justify-self:center;background:var(--night);color:var(--on-night);border-radius:var(--r);padding:16px 28px;font-weight:700;font-size:18px}
.fork-lines{height:64px;width:100%}
.fork-lines path{stroke:var(--night);stroke-width:1.5;fill:none}
.fork-branches{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.branch{background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:28px}
.branch h3{font-size:22px;margin-bottom:16px}
.branch ol{padding-left:20px;display:grid;gap:8px;color:var(--muted);font-size:15.5px}
.branch ol li::marker{color:var(--night);font-weight:700}
.device{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:16px}
.device img{width:100%;border-radius:var(--r);border:1px solid var(--border)}
.device figcaption{font-size:14px;color:var(--muted);margin-top:12px}

/* App screenshots strip */
.screens{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;align-items:start}
.screen{margin:0}
.screen .frame{background:var(--night-2);border:1px solid var(--night-line);border-radius:var(--r);padding:12px;aspect-ratio:3/4;display:grid;place-items:center}
.screen img{max-height:100%;width:auto;max-width:100%;object-fit:contain;border-radius:var(--r)}
.screen figcaption{margin-top:14px;color:var(--on-night);font-weight:500;font-size:15.5px}
.screen figcaption span{display:block;color:var(--on-night-muted);font-weight:400;font-size:14px;margin-top:4px}
.screens-note{margin-top:32px;font-size:14px;color:var(--on-night-muted)}

/* Download band */
.download{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center}
.download h2{font-size:clamp(28px,3.4vw,44px)}
.download p{color:var(--on-night-muted);margin-top:12px;max-width:560px}

/* Ecosystem diagram */
.eco{display:grid;grid-template-columns:1fr 200px 1.1fr 200px 1fr;grid-template-rows:auto 96px auto;align-items:center}
.actor{background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:24px;display:flex;flex-direction:column;gap:10px}
.actor h3{font-size:20px}
.actor p{color:var(--muted);font-size:15px}
.actor .role{font:500 12px/1 var(--font-mono);color:var(--muted);letter-spacing:.06em;text-transform:uppercase}
.hub{background:var(--night);color:var(--on-night);border-radius:var(--r);padding:28px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.hub img{height:72px;width:auto}
.hub p{color:var(--on-night-muted);font-size:15px}
.edge{display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 12px;text-align:center}
.edge svg{width:100%;height:18px;color:var(--night)}
.edge span{font-size:14px;color:var(--fg);font-weight:500;line-height:1.35}
.edge small{font-size:13px;color:var(--muted);line-height:1.35}
.edge-v{grid-column:3;grid-row:2;flex-direction:row;justify-content:center;height:100%;gap:14px;text-align:left}
.edge-v svg{width:18px;height:100%}
.eco-driver{grid-column:1;grid-row:1}
.eco-e1{grid-column:2;grid-row:1}
.eco-hub{grid-column:3;grid-row:1}
.eco-e2{grid-column:4;grid-row:1}
.eco-agent{grid-column:5;grid-row:1}
.eco-dash{grid-column:3;grid-row:3}
.eco-legend{grid-column:1/3;grid-row:3;align-self:end;font-size:14px;color:var(--muted);max-width:340px}

/* Offer blocks */
.offer{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,80px);align-items:center}
.offer + .offer{margin-top:clamp(64px,8vw,112px)}
.offer.reverse .offer-media{order:2}
.offer-media img{width:100%;border-radius:var(--r);border:1px solid var(--border)}
.offer h2{font-size:clamp(28px,3.6vw,44px);margin-top:12px}
.offer > div > p{color:var(--muted);margin-top:16px;font-size:17.5px}
.checks{list-style:none;padding:0;margin-top:28px;display:grid;gap:0;border-top:1px solid var(--border)}
.checks li{padding:16px 0 16px 36px;border-bottom:1px solid var(--border);position:relative}
.checks li::before{content:"";position:absolute;left:4px;top:22px;width:14px;height:8px;border-left:2.5px solid var(--night);border-bottom:2.5px solid var(--night);transform:rotate(-45deg)}
.checks strong{font-weight:700}
.pilot{display:inline-flex;align-items:center;gap:10px;margin-top:24px;font-size:15px;color:var(--on-night-muted)}
.pilot i{width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}

/* FAQ */
.faq{border-top:1px solid var(--border)}
.faq details{border-bottom:1px solid var(--border)}
.faq summary{cursor:pointer;list-style:none;padding:20px 40px 20px 0;font-weight:700;font-size:18px;position:relative;min-height:44px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:8px;top:28px;width:10px;height:10px;border-right:2px solid var(--fg);border-bottom:2px solid var(--fg);transform:rotate(45deg);transition:transform .15s}
.faq details[open] summary::after{transform:rotate(-135deg);top:32px}
.faq summary:hover{background:var(--surface)}
.faq details p{padding:0 40px 24px 0;color:var(--muted)}

@media (max-width: 1080px){
  .flow{grid-template-columns:1fr 56px 1fr}
  .flow .link-mid{display:none}
  .flow > li:nth-child(n+5){margin-top:24px}
  .eco{grid-template-columns:1fr;grid-template-rows:none;gap:0}
  .eco > *{grid-column:1 !important;grid-row:auto !important}
  .eco-driver{order:1}.eco-e1{order:2}.eco-hub{order:3}.eco-e2{order:4}.eco-agent{order:5}.edge-v{order:6}.eco-dash{order:7}.eco-legend{order:8;margin-top:24px}
  .eco .edge{flex-direction:row;justify-content:center;gap:14px;padding:16px 0;text-align:left}
  .eco .edge svg{width:18px;height:56px;flex:none}
  .eco .edge .h{display:none}
  .eco .edge .v{display:block !important}
}
@media (max-width: 960px){
  .fork-wrap,.offer,.download{grid-template-columns:1fr}
  .offer.reverse .offer-media{order:0}
  .screens{grid-template-columns:repeat(2,1fr)}
  .device{max-width:420px}
}
@media (max-width: 700px){
  .flow{grid-template-columns:1fr}
  .flow .link{height:48px}
  .flow .link svg{transform:rotate(90deg)}
  .flow > li:nth-child(n+5){margin-top:0}
  .flow .link-mid{display:flex}
  .fork-branches{grid-template-columns:1fr}
  .fork-lines{display:none}
  .fork-root{justify-self:stretch;text-align:center;margin-bottom:16px}
}
.eco .edge .v{display:none}
.edge-v .v{display:block !important}
.tint .form{background:var(--bg)}
.edge-v .h{display:none}

/* Individual app screens (small) */
.node-shot{width:112px;height:auto;aspect-ratio:335/725;border-radius:14px;border:1px solid var(--border);box-shadow:0 12px 28px -16px oklch(0.259 0.076 252.2 / .45);margin-bottom:8px;background:var(--bg)}

/* Try / contact band */
.try{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.try-card{border:1px solid var(--border);border-radius:var(--r);padding:clamp(28px,4vw,48px);display:flex;flex-direction:column;align-items:flex-start;gap:16px;background:var(--surface)}
.try-card.night{border-color:var(--night)}
.try-card h2{font-size:clamp(26px,3vw,36px)}
.try-card p:not(.eyebrow){color:var(--muted);max-width:440px}
.try-card.night p:not(.eyebrow){color:var(--on-night-muted)}
.try-card .stores,.try-card .btn{margin-top:auto;padding-top:8px}
.try-card .btn{padding-top:0}
@media (max-width: 960px){.try{grid-template-columns:1fr}}

/* Routes diagram (voirie / parking) */
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.routes{display:flex;flex-direction:column;align-items:center}
.routes-hub{background:var(--night);border-radius:var(--r);padding:12px 20px;box-shadow:0 16px 32px -18px oklch(0.259 0.076 252.2 / .6)}
.routes-hub img{height:64px;width:auto}
.routes-lines{width:50%;height:72px;color:var(--night)}
.routes-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;width:100%}
.route{background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:28px}
.route-head{display:flex;align-items:center;gap:14px;margin-bottom:24px}
.route-ico{width:44px;height:44px;border-radius:var(--r);background:var(--night);color:var(--accent);display:grid;place-items:center;flex:none}
.route-ico svg{width:24px;height:24px}
.route-head h3{font-size:24px}
.route-body{display:grid;grid-template-columns:128px 1fr;gap:28px;align-items:center}
.route-shot{width:128px;height:auto;aspect-ratio:335/725;border-radius:var(--r);border:1px solid var(--border);box-shadow:0 12px 28px -16px oklch(0.259 0.076 252.2 / .45)}
.timeline{list-style:none;padding:0;display:grid;gap:28px;position:relative}
.timeline::before{content:"";position:absolute;left:21px;top:22px;bottom:22px;width:0;border-left:1.5px dashed var(--night)}
.timeline li{display:flex;align-items:center;gap:16px;font-weight:700;font-size:16.5px;line-height:1.3;position:relative}
.t-ico{width:44px;height:44px;border-radius:50%;background:var(--bg);border:1.5px solid var(--night);color:var(--night);display:grid;place-items:center;flex:none}
.t-ico svg{width:22px;height:22px}
.timeline li:last-child .t-ico{background:var(--night);color:var(--accent)}
@media (max-width: 900px){
  .routes-grid{grid-template-columns:1fr}
  .routes-lines{display:none}
  .routes-hub{margin-bottom:24px}
}
@media (max-width: 420px){
  .route{padding:20px}
  .route-body{grid-template-columns:96px 1fr;gap:18px}
  .route-shot{width:96px}
  .timeline li{font-size:15px}
}

/* Mode switch (voirie / parking) — v2 */
.nowrap-pair{white-space:nowrap}
.mode-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap;margin-bottom:40px}
.mode-head .section-head{margin-bottom:0}
.seg{display:inline-flex;background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:4px;gap:4px}
.seg-btn{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px;border:0;border-radius:var(--r);background:transparent;color:var(--fg);font:700 16px/1 var(--font-body);cursor:pointer;transition:background-color .15s}
.seg-btn svg{width:20px;height:20px}
.seg-btn:hover{background:var(--surface)}
.seg-btn[aria-selected="true"]{background:var(--night);color:var(--on-night)}
.seg-btn[aria-selected="true"] svg{color:var(--accent)}
.mode-panel{display:grid;grid-template-columns:minmax(260px,5fr) 7fr;border-radius:var(--r);overflow:hidden;border:1px solid var(--border);background:var(--bg)}
.mode-panel[hidden]{display:none}
.mode-stage{background:var(--night);display:grid;place-items:center;padding:48px 24px}
.mode-stage img{width:200px;height:auto;aspect-ratio:335/725;border-radius:var(--r);box-shadow:0 30px 60px -24px oklch(0 0 0 / .7),0 0 0 6px var(--night-2)}
.mode-steps{list-style:none;padding:clamp(32px,5vw,64px);display:grid;align-content:center;gap:36px;position:relative}
.mode-steps li{display:grid;grid-template-columns:56px 1fr;gap:20px;align-items:start;position:relative}
.mode-steps li:not(:last-child)::after{content:"";position:absolute;left:27px;top:60px;height:calc(100% - 24px);border-left:1.5px dashed var(--night)}
.m-ico{width:56px;height:56px;border-radius:50%;border:1.5px solid var(--night);color:var(--night);display:grid;place-items:center;background:var(--bg)}
.m-ico svg{width:26px;height:26px}
.mode-steps li:last-child .m-ico{background:var(--night);color:var(--accent)}
.m-num{font:500 12px/1 var(--font-mono);color:var(--muted);letter-spacing:.08em}
.mode-steps h3{font-size:22px;margin:6px 0 4px}
.mode-steps p{color:var(--muted);font-size:16px}
@media (max-width: 860px){
  .mode-panel{grid-template-columns:1fr}
  .mode-stage{padding:32px 24px}
  .mode-stage img{width:160px}
  .seg{width:100%}
  .seg-btn{flex:1;justify-content:center;padding:0 12px}
}
@media (max-width: 420px){
  .seg-btn svg{display:none}
  .mode-steps{padding:28px 20px}
}

/* Privacy policy page */
.policy{display:grid;grid-template-columns:260px 1fr;gap:clamp(40px,6vw,88px);padding-top:clamp(56px,8vw,96px);padding-bottom:clamp(72px,10vw,128px);align-items:start}
.policy-toc{position:sticky;top:96px}
.policy-toc ol{list-style:none;padding:0;margin-top:16px;display:grid;gap:2px;border-left:1px solid var(--border)}
.policy-toc a{display:block;padding:8px 0 8px 16px;margin-left:-1px;border-left:2px solid transparent;text-decoration:none;font-size:15px;color:var(--fg)}
.policy-toc a:hover{border-left-color:var(--night);background:var(--surface)}
.policy-body{max-width:720px}
.policy-intro p{font-size:18.5px;line-height:1.65}
.policy-intro p + p{margin-top:16px;color:var(--muted);font-size:17px}
.policy-sec{padding-top:48px;margin-top:48px;border-top:1px solid var(--border);scroll-margin-top:88px}
.policy-sec h2{font-size:clamp(24px,2.6vw,30px);margin-bottom:20px}
.policy-sec h3{font-size:19px;margin:28px 0 10px}
.policy-sec p{color:var(--fg)}
.policy-sec p + p{margin-top:14px}
.policy-sec ul{margin:12px 0 0;padding-left:22px;display:grid;gap:6px}
.policy-sec ul.terms{list-style:none;padding:0;gap:0;border-top:1px solid var(--border);margin-top:16px}
.policy-sec ul.terms li{padding:14px 0;border-bottom:1px solid var(--border)}
.policy-sec ul.terms + p{margin-top:20px}
.policy-sec a{color:var(--night);font-weight:500}
.policy-sec a:hover{text-decoration-thickness:2px}
.policy-addr{font-style:normal;margin-top:16px;padding:20px 24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);line-height:1.7}
@media (max-width: 960px){
  .policy{grid-template-columns:1fr}
  .policy-toc{position:static;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:20px}
}

/* WordPress */
.admin-bar .site-header{top:32px}
@media (max-width:782px){.admin-bar .site-header{top:46px}}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.wp-page{padding:clamp(56px,8vw,96px) 0}
.wp-page .entry{max-width:720px}
