/* Shadow Partenaire — feuille de style unique */
:root {
  /* Ambiance sombre, dans la continuité de la vidéo d'accueil */
  --paper: #070708;
  --white: #111214;      /* surface des cartes et champs */
  --ink: #EEECE7;        /* texte principal */
  --ink-2: #BDBDB8;
  --mute: #85878C;
  --line: #222327;
  --line-2: #33353A;
  --accent: #2340F0;     /* bleu Shadow Partenaire (fonds, boutons) */
  --accent-2: #3552FF;
  --accent-t: #7F92FF;   /* même bleu, éclairci pour le texte sur fond noir */
  --night: #070708;
  --r: 6px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --f: 'Archivo', system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.55; font-variation-settings: 'wdth' 100; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.x { font-stretch: 125%; font-variation-settings: 'wdth' 125; }
h1, h2, h3 { margin: 0; font-weight: 750; line-height: 1.02; letter-spacing: -0.01em; text-transform: uppercase; font-variation-settings: 'wdth' 125; }
h1 { font-size: clamp(38px, 4.7vw, 70px); }
h2 { font-size: clamp(28px, 3.3vw, 46px); }
h3 { font-size: 19px; line-height: 1.15; }
p { margin: 0; }
.lab { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.lab b { color: var(--accent-t); font-weight: 700; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 560px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 4px; border: 1px solid var(--ink); background: var(--ink); color: #0F1012; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.acc { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.acc:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.light { background: #F4F2EC; color: #0F1012; border-color: #F4F2EC; }
.btn.light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.arrow { display: inline-block; transition: transform .15s; }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(7,7,8,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo strong { font-size: 17px; font-weight: 800; letter-spacing: 0.04em; font-variation-settings: 'wdth' 125; text-transform: uppercase; }
.logo span { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-top: 5px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--accent-t); }
.region { display: flex; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
.region a { padding: 7px 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; color: var(--mute); }
.region a[aria-current="true"] { background: var(--ink); color: #0F1012; }
.top .btn { height: 40px; padding: 0 16px; font-size: 13px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 4px; background: none; cursor: pointer; }
.burger i, .burger i::before, .burger i::after { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 0 auto; position: relative; content: ''; }
.burger i::before { position: absolute; top: -6px; } .burger i::after { position: absolute; top: 6px; }

/* Héros */
.hero { padding: 28px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 28px; align-items: stretch; }
.hero-txt { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 28px 0 8px; }
.hero-txt h1 span { color: var(--accent); }
.hero-txt .lead { margin-top: 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.hero-facts div { padding: 16px 16px 0 0; }
.hero-facts strong { display: block; font-size: 22px; font-weight: 750; font-variation-settings: 'wdth' 125; }
.hero-facts span { font-size: 13px; color: var(--mute); }
.hero-img { position: relative; border-radius: var(--r); overflow: hidden; min-height: 560px; background: #1b1c1e; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; padding: 8px 12px; border-radius: 3px; }

/* Bandeau des 3 métiers (raccourcis) */
.quick { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.quick a { display: flex; align-items: center; gap: 16px; padding: 22px 24px; text-decoration: none; border-right: 1px solid var(--line); }
.quick a:last-child { border-right: 0; }

.quick em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent); width: 26px; }
.quick strong { display: block; font-size: 16px; font-weight: 700; }
.quick span { font-size: 13.5px; color: var(--mute); }
.quick .arrow { margin-left: auto; color: var(--mute); }

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0 0; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; margin-bottom: 44px; }
.head .lab { margin-bottom: 18px; }
.head p { color: var(--ink-2); max-width: 520px; justify-self: end; }

/* Métiers */
.metiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.metier { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.metier .ph { aspect-ratio: 4 / 3; overflow: hidden; background: #18191C; }
.metier .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.metier:hover .ph img { transform: scale(1.03); }
.metier .bd { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.metier .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-t); }
.metier ul { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.metier li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; }
.metier li span { color: var(--mute); font-size: 13px; white-space: nowrap; }
.metier .go { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.metier .go:hover { color: var(--accent-t); }

/* Flotte */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 16px; border-radius: 4px; border: 1px solid var(--line-2); background: transparent; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #0F1012; }
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.car { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.car[hidden] { display: none; }
.car .ph { aspect-ratio: 16 / 10; background: #18191C; overflow: hidden; }
.car .ph img { width: 100%; height: 100%; object-fit: cover; }
.car .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.car .mk { font-size: 12px; font-weight: 600; color: var(--mute); letter-spacing: 0.04em; text-transform: uppercase; }
.car h3 { font-size: 17px; }
.car .specs { display: flex; gap: 14px; font-size: 13px; color: var(--mute); margin-top: 2px; }
.car .cf { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.car .price { font-size: 13px; color: var(--mute); line-height: 1.25; }
.car .price strong { display: block; font-size: 18px; color: var(--ink); font-weight: 750; font-variation-settings: 'wdth' 112; }
.car .pick { height: 36px; padding: 0 14px; font-size: 13px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 7px; border-radius: 3px; background: var(--paper); color: var(--ink-2); align-self: flex-start; }
.badge.l { background: rgba(35,64,240,.2); color: var(--accent-t); }
.fleet-note { margin-top: 16px; font-size: 14px; color: var(--mute); }

/* ShadowCar (bande sombre) */
/* ShadowCar : bande blanche, pour trancher avec le reste du site */
.dark { background: #F4F3EF; color: #0F1012; margin-top: clamp(72px, 10vw, 128px); padding: clamp(64px, 9vw, 112px) 0; }
.dark .lab { color: #6E7177; }
.dark .lab b { color: var(--accent); }
.dark .head p { color: #34363A; }
.sc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.sc-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 2 / 1; position: relative; }
.sc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.sc-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #DADBD8; border: 1px solid #DADBD8; border-radius: var(--r); overflow: hidden; }
.sc-item { background: #FFFFFF; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.sc-item em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent); }
.sc-item h3 { font-size: 18px; }
.sc-item p { font-size: 14.5px; color: #34363A; }
.sc-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; padding: 22px 24px; background: #FFFFFF; border: 1px solid #DADBD8; border-radius: var(--r); flex-wrap: wrap; }
.sc-cta p { color: #34363A; }
.dark .btn.light { background: #0F1012; border-color: #0F1012; color: #fff; }
.dark .btn.light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.step { padding: 22px 22px 0 0; }
.step em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--accent); }
.step h3 { margin: 14px 0 10px; font-size: 17px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* Demande + estimation */
.req { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tab { padding: 18px 14px; border: 0; background: none; cursor: pointer; text-align: left; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 14.5px; font-weight: 600; color: var(--mute); }
.tab small { display: block; font-size: 12.5px; font-weight: 400; margin-top: 2px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.form { padding: 24px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 14px; }
.f { grid-column: span 6; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f.h { grid-column: span 3; } .f.t { grid-column: span 2; }
.f[hidden], .grp[hidden] { display: none; }
.grp { display: contents; }
.f > label, .f > .lbl { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.f input, .f select, .f textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--white); font-size: 15px; outline: none; transition: border-color .15s; }
.f textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--accent); }
.f select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23BDBDB8' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 14px; cursor: pointer; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: #0F1012; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sep { grid-column: span 6; height: 1px; background: var(--line); margin: 6px 0; }
.hp { position: absolute; left: -9999px; }
.consent { grid-column: span 6; font-size: 12.5px; color: var(--mute); }
.form .btn { grid-column: span 6; height: 52px; }
.msg { grid-column: span 6; font-size: 14px; padding: 12px 14px; border-radius: 4px; }
.msg.ok { background: rgba(80,170,110,.14); color: #8FD3A6; }
.msg.err { background: rgba(220,80,80,.14); color: #F0A0A0; }

.est { position: sticky; top: 92px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.est .amount { font-size: clamp(38px, 4vw, 52px); font-weight: 750; line-height: 1; font-variation-settings: 'wdth' 125; letter-spacing: -0.01em; }
.est .amount small { font-size: 15px; font-weight: 500; color: var(--mute); font-variation-settings: 'wdth' 100; letter-spacing: 0; margin-left: 6px; }
.est .ondemand { font-size: 26px; }
.est .lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.est .lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.est .note { font-size: 13px; color: var(--mute); }
.wa { display: flex; align-items: center; gap: 14px; padding: 18px 24px; margin-top: 16px; text-decoration: none; }
.wa svg { width: 28px; height: 28px; color: #1FA855; flex: none; }
.wa strong { display: block; font-size: 15px; }
.wa span { font-size: 13.5px; color: var(--mute); }
.wa .arrow { margin-left: auto; }

/* Zones */
.zones { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.zones ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zones li { font-size: 14px; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--white); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; line-height: 1; color: var(--mute); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 22px; max-width: 760px; color: var(--ink-2); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; }

/* Pied de page */
.foot { margin-top: clamp(72px, 10vw, 128px); background: #030304; border-top: 1px solid var(--line); color: #C4C6CA; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot .logo strong { color: var(--ink); }
.foot h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8A8D93; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .big { font-size: clamp(28px, 3vw, 40px); color: var(--ink); font-weight: 750; font-variation-settings: 'wdth' 125; text-decoration: none; display: inline-block; margin-top: 18px; }
.foot .legal { margin-top: 56px; padding-top: 20px; border-top: 1px solid #2A2C30; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: #8A8D93; flex-wrap: wrap; }
.foot .region { border-color: #3A3C40; }
.foot .region a { color: #8A8D93; }
.foot .region a[aria-current="true"] { background: var(--ink); color: #0F1012; }

/* Bouton WhatsApp mobile */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: none; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.fab svg { width: 28px; height: 28px; }

/* Menu mobile */
.drawer { position: fixed; inset: 72px 0 0; z-index: 49; background: var(--paper); padding: 24px var(--pad); display: none; flex-direction: column; gap: 4px; }
.drawer.open { display: flex; }
.drawer a { font-size: 24px; font-weight: 700; font-variation-settings: 'wdth' 125; text-transform: uppercase; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .top .btn, .top .region { display: none; }
  .burger { display: block; }
  .hero-grid, .head, .sc-grid, .req, .faq-grid { grid-template-columns: 1fr; }
  .head p { justify-self: start; }
  .hero-img { min-height: 380px; order: -1; }
  .hero-txt { padding-top: 8px; }
  .quick { grid-template-columns: 1fr; }
  .quick a { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick a:last-child { border-bottom: 0; }
  .metiers { grid-template-columns: 1fr; }
  .fleet { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .step { padding-bottom: 24px; }
  .est { position: static; }
  .fab { display: flex; }
  .sc-img { aspect-ratio: 16 / 10; }
  .sc-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .fleet { grid-template-columns: 1fr; }
  .sc-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .f.h, .f.t { grid-column: span 6; }
  .form { padding: 18px; }
  .tab { padding: 14px 10px; font-size: 13.5px; }
  .tab small { display: none; }
  .hero-facts strong { font-size: 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-img { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Héros vidéo : les phares s'allument, puis le texte apparaît */
.has-film .top { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-film .top:not(.scrolled) .logo strong, .has-film .top:not(.scrolled) .nav a { color: #fff; }
.has-film .top:not(.scrolled) .logo span { color: rgba(255,255,255,.6); }
.has-film .top:not(.scrolled) .region { border-color: rgba(255,255,255,.3); }
.has-film .top:not(.scrolled) .region a { color: rgba(255,255,255,.7); }
.has-film .top:not(.scrolled) .region a[aria-current="true"] { background: #fff; color: #0F1012; }
.has-film .top:not(.scrolled) .burger { border-color: rgba(255,255,255,.35); }
.has-film .top:not(.scrolled) .burger i, .has-film .top:not(.scrolled) .burger i::before, .has-film .top:not(.scrolled) .burger i::after { background: #fff; }
.has-film .top.scrolled { background: rgba(7,7,8,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.film { position: relative; padding: 0; background: var(--paper); color: #fff; overflow: hidden; }
.film-media { position: relative; height: calc(100vh - 170px); height: calc(100svh - 170px); min-height: 460px; max-height: 980px; }
.film-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,.6) 0, rgba(5,5,6,0) 20%, rgba(7,7,8,0) 72%, #070708 100%); pointer-events: none; }
.film-txt { position: relative; display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: end; margin-top: -56px; padding-bottom: clamp(48px, 7vw, 88px); }
.film-r { justify-self: end; max-width: 420px; }
.film .lab { color: rgba(255,255,255,.7); }
.film h1 { margin-top: 16px; font-size: clamp(30px, 3.7vw, 56px); }
.film h1 span { color: rgba(255,255,255,.5); }
.film .lead { color: rgba(255,255,255,.78); font-size: 15.5px; }
.film .hero-cta { margin-top: 22px; }
.film .hero-cta .btn { height: 44px; padding: 0 18px; font-size: 13.5px; }
.btn.ghost-l { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn.ghost-l:hover { border-color: #fff; background: transparent; }
/* Apparition du texte une fois les phares allumés */
.film.wait .film-l > *, .film.wait .film-r > *, .film.wait .stats { opacity: 0; transform: translateY(14px); }
.film.show .film-l > *, .film.show .film-r > *, .film.show .stats { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.film.show .film-l > *:nth-child(2) { transition-delay: .12s; }
.film.show .film-r > *:nth-child(1) { transition-delay: .3s; }
.film.show .film-r > *:nth-child(2) { transition-delay: .42s; }
.film.show .stats { transition-delay: .55s; }
.has-film:has(.film.wait:not(.show)) .top { opacity: 0; }
.has-film .top { transition: opacity .9s ease, border-color .2s; }
.has-film .hero { padding-top: 0; }
.has-film .quick { margin-top: 28px; }
@media (max-width: 900px) {
  .film-media { height: auto; min-height: 0; aspect-ratio: 1 / 1; margin-top: 56px; }
  .film-txt { margin-top: -24px; }
  .film-v { object-position: 50% 50%; }
  .film-txt { grid-template-columns: 1fr; gap: 18px; }
  .film-l, .film-r { grid-column: 1; justify-self: start; max-width: none; }
  .film h1 { font-size: clamp(30px, 8vw, 44px); }
  .has-film .quick { margin-top: 16px; border-radius: var(--r); }
}
@media (max-width: 560px) { .film .hero-facts span { font-size: 12px; } }
.replay { position: absolute; right: var(--pad); bottom: 70px; z-index: 2; height: 34px; padding: 0 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,.3); background: rgba(5,5,6,.35); color: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.replay:hover { border-color: #fff; color: #fff; }
.replay[hidden] { display: none; }
@media (max-width: 900px) { .replay { bottom: auto; top: 12px; right: 12px; height: 30px; font-size: 12px; } }

/* Pages légales */
.legal-page { padding: 64px 0 24px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(30px, 4vw, 48px); }
.legal-page h2 { font-size: 18px; margin: 40px 0 12px; }
.legal-page p, .legal-page dd { color: var(--ink-2); }
.legal-page dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0; }
.legal-page dt { color: var(--mute); font-size: 14px; }
.legal-page dd { margin: 0; }
.legal-page a { color: var(--accent-t); }
@media (max-width: 560px) { .legal-page dl { grid-template-columns: 1fr; gap: 2px; } .legal-page dd { margin-bottom: 10px; } }

/* Flotte : même relief 3D que « Trois services » */
.fleet { perspective: 900px; }
.car { position: relative; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, opacity .4s ease, filter .4s ease, border-color .3s; will-change: transform; }
.car .ph, .car .bd { transform-style: preserve-3d; }
.car .ph { position: relative; }
.car .ph img, .car .bd > * { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.car.tilt { z-index: 2; transition: transform .1s linear, box-shadow .4s ease, opacity .4s ease, filter .4s ease, border-color .3s; border-color: rgba(127,146,255,.35);
  box-shadow: 0 50px 90px -25px rgba(0,0,0,.95), 0 0 0 1px rgba(127,146,255,.15), 0 0 60px -10px rgba(35,64,240,.35); }
.car.tilt .ph img { transform: translateZ(70px) scale(1.12); }
.car.tilt .bd > * { transform: translateZ(45px); }
.car.tilt .bd .cf { transform: translateZ(65px); }
.fleet.has-tilt .car:not(.tilt) { opacity: .45; filter: saturate(.6); transform: scale(.97); }
.car .ph::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.4), rgba(255,255,255,0) 60%); mix-blend-mode: soft-light; transform: translateZ(71px); }
.car.tilt .ph::after { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .car.tilt, .fleet.has-tilt .car:not(.tilt) { transform: none !important; opacity: 1; filter: none; }
  .car.tilt .ph img, .car.tilt .bd > * { transform: none; }
}

/* « Trois services » : la carte survolée sort franchement de l'écran, les autres reculent */
.metiers { perspective: 900px; }
.metier { position: relative; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, opacity .4s ease, filter .4s ease, border-color .3s; will-change: transform; }
.metier .ph, .metier .bd { transform-style: preserve-3d; }
.metier .ph img, .metier .bd > * { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.metier.tilt { z-index: 2; transition: transform .1s linear, box-shadow .4s ease, opacity .4s ease, filter .4s ease, border-color .3s; border-color: rgba(127,146,255,.35);
  box-shadow: 0 50px 90px -25px rgba(0,0,0,.95), 0 0 0 1px rgba(127,146,255,.15), 0 0 60px -10px rgba(35,64,240,.35); }
.metier.tilt .ph img { transform: translateZ(70px) scale(1.12); }
.metier.tilt .bd > * { transform: translateZ(45px); }
.metier.tilt .bd > .go { transform: translateZ(65px); }
.metiers.has-tilt .metier:not(.tilt) { opacity: .45; filter: saturate(.6); transform: scale(.97); }
.metier .ph { position: relative; }
.metier .ph::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.4), rgba(255,255,255,0) 60%); mix-blend-mode: soft-light; transform: translateZ(71px); }
.metier.tilt .ph::after { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .metier.tilt, .metiers.has-tilt .metier:not(.tilt) { transform: none !important; opacity: 1; filter: none; }
  .metier.tilt .ph img, .metier.tilt .bd > * { transform: none; }
}

/* Téléphone et tablette : « Trois services » et la flotte en carrousel (glisser au doigt) */
.dots { display: none; }
@media (max-width: 900px) {
  .metiers, .fleet {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad));
    padding: 6px var(--pad) 18px; scroll-padding: 0 var(--pad); perspective: none;
  }
  .metiers::-webkit-scrollbar, .fleet::-webkit-scrollbar { display: none; }
  .metier, .car { flex: 0 0 84%; scroll-snap-align: start; transition: transform .35s ease, opacity .35s ease; }
  .fleet .car { flex-basis: 78%; }
  .metiers.carousel .metier:not(.on), .fleet.carousel .car:not(.on) { transform: scale(.94); opacity: .55; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
  .dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--line-2); cursor: pointer; transition: width .25s, background .25s; }
  .dots button.on { width: 22px; border-radius: 4px; background: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .metier, .car { transition: none; } }

/* Téléphone : les 4 services ShadowCar en carrousel aussi */
@media (max-width: 900px) {
  .sc-list {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scrollbar-width: none; background: transparent; border: 0; border-radius: 0;
    margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 6px var(--pad) 18px; scroll-padding: 0 var(--pad);
  }
  .sc-list::-webkit-scrollbar { display: none; }
  .sc-item { flex: 0 0 78%; scroll-snap-align: start; border: 1px solid #DADBD8; border-radius: var(--r); transition: transform .35s ease, opacity .35s ease; }
  .sc-list.carousel .sc-item:not(.on) { transform: scale(.94); opacity: .55; }
  .dark .dots button { background: #C9CAC6; }
  .dark .dots button.on { background: #0F1012; }
}

/* Demande et estimation : version courte */
.req-h { margin: 14px 0 28px; }
#demande .tab { padding: 15px 14px; text-align: center; }
#demande .form { padding: 18px; gap: 10px; }
#demande .f { gap: 5px; }
#demande .f > label, #demande .f > .lbl { font-size: 12px; }
#demande .f input, #demande .f select { height: 44px; font-size: 14.5px; }
#demande .seg span { height: 36px; font-size: 13.5px; padding: 0 12px; }
#demande .sep { margin: 2px 0; }
#demande .form .btn { height: 48px; }
#demande .consent { text-align: center; font-size: 11.5px; margin-top: -2px; }
.est-inline { display: none; }
.req-side { display: flex; flex-direction: column; gap: 12px; }
.req-side .wa { margin-top: 0; }
#demande .est { gap: 12px; padding: 20px; }
@media (max-width: 900px) {
  .req-side .est { display: none; }
  .est-inline { grid-column: span 6; display: flex; justify-content: space-between; align-items: baseline; padding: 4px 2px 0; }
  .est-inline span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
  .est-inline strong { font-size: 24px; font-weight: 750; font-variation-settings: 'wdth' 125; }
  .req { gap: 12px; }
  .req-side .wa { padding: 14px 18px; }
}
@media (max-width: 560px) {
  #demande .f.m2 { grid-column: span 3; }
  #demande .form { padding: 14px; }
  #demande .seg { gap: 6px; }
}

/* Téléphone : titre d'accueil sur 3 lignes nettes, une phrase par ligne, même alignement */
@media (max-width: 900px) {
  .film h1 { white-space: nowrap; font-size: min(6.7vw, 46px); line-height: 1.04; letter-spacing: -0.005em; }
  .film-l, .film-r { min-width: 0; }
}

/* Téléphone : texte d'accueil et boutons alignés sur la largeur du titre */
@media (max-width: 900px) {
  .film-txt { gap: 0; }
  .film .lead-d { display: none; }
  .film .lead-m { display: block; margin-top: 14px; font-size: min(3.85vw, 16px); line-height: 1.55; max-width: none; }
  .film .lead-m span { display: block; white-space: nowrap; }
  .film .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .film .hero-cta .btn { width: 100%; padding: 0 10px; }
}

.lead-m { display: none; }

/* Typographie : titres équilibrés, pas de mot isolé en fin de paragraphe (ordinateur et téléphone) */
h1, h2, h3, .faq summary, .tag { text-wrap: balance; }
p, li, dd, .lead { text-wrap: pretty; }

/* Téléphone : chaque ligne de titre de section tient sur une ligne, à la même taille partout */
@media (max-width: 900px) {
  .head h2, .req-h, .faq-grid h2 { white-space: nowrap; font-size: min(6.3vw, 42px); line-height: 1.04; }
  .head { gap: 14px; margin-bottom: 26px; }
  .head .lab { margin-bottom: 12px; }
  .head p { font-size: 15px; line-height: 1.6; }
  .req-h { margin: 12px 0 20px; }
  .metier h3 { font-size: 17px; }
  .sc-item h3 { font-size: 16px; }
  .metier li { font-size: 14px; }
  .faq summary { font-size: 15.5px; padding: 16px 0; }
  .faq-grid { gap: 18px; }
}

.metier li { align-items: baseline; }
.metier li span { text-align: right; }
@media (max-width: 900px) { .metier li { font-size: 14px; } .metier li span { font-size: 12.5px; } }
@media (max-width: 900px) { .foot .big { font-size: min(6.6vw, 40px); white-space: nowrap; } }
/* Ordinateur uniquement : chaque ligne de titre de section reste entière */
@media (min-width: 901px) {
  .head { grid-template-columns: 1.35fr 1fr; }
  .head h2, .req-h, .faq-grid h2 { white-space: nowrap; }
}
@media (max-width: 1100px) and (min-width: 901px) { .head h2, .req-h, .faq-grid h2 { font-size: 3.6vw; } }

/* Page « Location premium » */
.loc-hero { padding-top: clamp(48px, 7vw, 88px); }
.loc-hero .lab a { color: inherit; text-decoration: none; }
.loc-hero .lab a:hover { color: var(--ink); }
.loc-head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: end; margin-top: 18px; }
.loc-head h1 { font-size: clamp(28px, 3.3vw, 46px); white-space: nowrap; }
.loc-head p { color: var(--ink-2); }
.loc-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.loc-chips li { font-size: 13px; font-weight: 600; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink-2); }
.loc-list { padding-top: clamp(32px, 5vw, 56px); }
.fleet.fleet-all { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.loc-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.loc-cond, .loc-cta { padding: 24px; }
.loc-cond h3, .loc-cta h3 { font-size: 17px; margin-bottom: 14px; }
.loc-cond ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.loc-cond li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.loc-cond li span { color: var(--mute); font-size: 13px; }
.loc-cond p, .loc-cta p { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.loc-cta .hero-cta { margin-top: 20px; }
.fleet-all-link { color: var(--accent-t); text-decoration: none; font-weight: 600; white-space: nowrap; }
.fleet-all-link:hover { color: var(--ink); }
@media (max-width: 1100px) { .fleet.fleet-all { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .loc-head { grid-template-columns: 1fr; gap: 14px; }
  .loc-head h1 { font-size: min(7vw, 44px); }
  .loc-bottom { grid-template-columns: 1fr; }
  .fleet-all-link { display: inline-block; margin-top: 6px; }
}
@media (max-width: 560px) {
  .loc-cta .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .loc-cta .hero-cta .btn { width: 100%; }
}
.loc-bottom > * { min-width: 0; }
@media (max-width: 560px) {
  .loc-cta .hero-cta { grid-template-columns: 1fr; }
  .loc-cta .hero-cta .btn { padding: 0 14px; }
}
.metier { cursor: pointer; }

/* Corporate */
.corp-grid { display: block; }
.corp-img { position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; border: 1px solid var(--line); }
.corp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.corp-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.corp-item { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.corp-item em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent-t); padding-top: 3px; }
.corp-item h3 { font-size: 17px; }
.corp-item p { font-size: 14.5px; color: var(--ink-2); }
.corp-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); flex-wrap: wrap; }
.corp-cta p { color: var(--ink-2); max-width: 620px; }
#demande .tabs { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .corp-grid { grid-template-columns: 1fr; }
  .corp-img { min-height: 0; aspect-ratio: 16 / 10; }
  .corp-img img { object-position: 50% 30%; }
  .corp-list {
    display: flex; flex-direction: row; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 0;
    margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 6px var(--pad) 18px; scroll-padding: 0 var(--pad);
  }
  .corp-list::-webkit-scrollbar { display: none; }
  .corp-item { flex: 0 0 78%; scroll-snap-align: start; grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); transition: transform .35s ease, opacity .35s ease; }
  .corp-list.carousel .corp-item:not(.on) { transform: scale(.94); opacity: .55; }
  .corp-cta .btn { width: 100%; }
  #demande .tab { padding: 14px 6px; font-size: 13px; }
}

/* Chiffres de confiance (sous le titre d'accueil) */
.stats { grid-column: 1 / -1; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); margin-top: 8px; }
.stats li { padding: 22px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line-2); }
.stats b { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.01em; line-height: 1.05; color: var(--ink); }
.stats span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .stats li { padding: 18px 12px 0 0; }
  .stats li + li { padding-left: 16px; }
  .stats li:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .stats b { font-size: 22px; }
}

/* ShadowCar et Corporate : même relief 3D au survol (ordinateur) */
@media (min-width: 901px) and (hover: hover) {
  .sc-list { gap: 12px; background: none; border: 0; overflow: visible; perspective: 900px; }
  .sc-item { border: 1px solid #DADBD8; border-radius: var(--r); }
  .corp-list { perspective: 900px; }
  .sc-item, .corp-item { position: relative; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, opacity .4s ease, filter .4s ease, border-color .3s; will-change: transform; }
  .sc-item > *, .corp-item > * { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  .sc-item.tilt, .corp-item.tilt { z-index: 2; transition: transform .1s linear, box-shadow .4s ease, opacity .4s ease, filter .4s ease, border-color .3s; }
  .sc-item.tilt > *, .corp-item.tilt > * { transform: translateZ(45px); }
  .sc-item.tilt > em, .corp-item.tilt > em { transform: translateZ(65px); }
  .corp-item.tilt { border-color: rgba(127,146,255,.35); box-shadow: 0 50px 90px -25px rgba(0,0,0,.95), 0 0 0 1px rgba(127,146,255,.15), 0 0 60px -10px rgba(35,64,240,.35); }
  .sc-item.tilt { border-color: rgba(35,64,240,.35); box-shadow: 0 50px 80px -30px rgba(15,16,18,.45), 0 0 0 1px rgba(35,64,240,.12), 0 0 50px -12px rgba(35,64,240,.3); }
  .sc-list.has-tilt .sc-item:not(.tilt), .corp-list.has-tilt .corp-item:not(.tilt) { opacity: .45; filter: saturate(.6); transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) {
  .sc-item.tilt, .corp-item.tilt, .sc-list.has-tilt .sc-item:not(.tilt), .corp-list.has-tilt .corp-item:not(.tilt) { transform: none !important; opacity: 1; filter: none; }
}
