/* Base commune KAAB — en-tête, navigation, pied de page, boutons.
   Utilisée par les pages véhicule générées. */
:root{
  --bg:#0d0d0d;
  --bg-alt:#111111;
  --card:#3a3b3f;
  --card-fond:linear-gradient(180deg,#43444a 0%,#34353a 100%); /* surface des cartes, dégradé vertical doux */
  --card-hover:#45474b;
  --line:#4a4c50;
  --text:#ffffff;
  --muted:#c2c2c2;   /* texte secondaire : nettement gris, et au-dessus du seuil
                        de lisibilité même sur le dégradé des cartes (5,4 contre 1) */
  --muted-2:#b5b5b5; /* mentions discrètes : légendes, méta, bas de page */
  --orange:#f0731b;
  --orange-hi:#ff8a33;
  --radius:10px;
  --container:1400px;
  --input-bg:#ffffff;
  --input-text:#16161c;
  --input-border:#c9c9d2;
  --input-ring:0 0 0 3px rgba(240,115,27,.3);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:var(--bg)}
body{
  background:var(--bg);color:var(--text);
  font-family:'Inter',system-ui,sans-serif;font-size:15px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
input,select,textarea{font:inherit}
::placeholder{color:#63636d;opacity:1}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 24px}
.display{font-family:'Oswald',sans-serif;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:.01em}
.eyebrow{color:var(--orange);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.22em;margin-bottom:14px}

/* ---------- boutons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:'Oswald',sans-serif;font-weight:600;font-size:14px;
  text-transform:uppercase;letter-spacing:.12em;
  padding:15px 30px;border-radius:999px;border:1px solid transparent;transition:.2s ease;
}
.btn-primary{background:var(--orange);color:#fff}
.btn-primary:hover{background:var(--orange-hi)}
.btn-ghost{border-color:rgba(255,255,255,.5);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.08);border-color:#fff}
.btn-sm{padding:11px 22px;font-size:12px}

/* ---------- barre supérieure ---------- */
.topbar{background:var(--bg);padding:14px 0}
.topbar-inner{display:flex;align-items:center;gap:32px}
.logo{flex-shrink:0;display:block}
.logo img{height:78px;width:auto}
.topbar-info{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-left:auto}
.info-item{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#e6e6e6}
.info-item svg{width:15px;height:15px;stroke:var(--muted);fill:none;stroke-width:1.7}
.topbar-auth{display:flex;align-items:center;gap:16px;margin-left:34px}
.btn-signup{
  font-family:'Oswald',sans-serif;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--orange);border:1.5px solid var(--orange);border-radius:999px;padding:8px 20px;transition:.2s;
}
.btn-signup:hover{background:var(--orange);color:#fff}

/* ---------- navigation ---------- */
.nav{background:var(--bg-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:56px}
.nav-links{display:flex;align-items:center;gap:30px;list-style:none}
.nav-links a{
  font-family:'Oswald',sans-serif;font-size:13px;font-weight:500;
  letter-spacing:.13em;text-transform:uppercase;color:#d8d8d8;
  padding:18px 0;display:block;border-bottom:2px solid transparent;transition:.2s;
}
.nav-links a:hover{color:#fff}
.nav-links a.active{color:var(--orange);border-bottom-color:var(--orange)}
.mobile-menu-toggle,.mobile-menu{display:none}

@media (max-width:767px){
  .mobile-menu-ready .topbar{padding:9px 0}
  .mobile-menu-ready .topbar-inner{justify-content:space-between;flex-wrap:nowrap}
  .mobile-menu-ready .topbar .logo img{height:57px}
  .mobile-menu-ready .topbar-info,.mobile-menu-ready .topbar-auth,.mobile-menu-ready .nav{display:none}
  .mobile-menu-ready .mobile-menu-toggle,.mobile-menu-close{
    display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--orange);border-radius:10px;
  }
  .mobile-menu[open]{
    display:block;position:fixed;inset:0 0 auto;margin:0;
    width:100%;max-width:none;max-height:100vh;
    max-height:100dvh;overflow:auto;overscroll-behavior:contain;
    border:0;border-radius:0 0 12px 12px;border-bottom:3px solid var(--orange);
    background:#0d0d0d;color:var(--text);box-shadow:0 20px 65px rgba(0,0,0,.55);
  }
  .mobile-menu::backdrop{background:rgba(20,21,23,.79)}
  html:has(.mobile-menu[open]){overflow:hidden}
  .mobile-menu-header{
    position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;
    padding:9px 24px;background:var(--bg);border-bottom:1px solid #38393c;
  }
  .mobile-menu-header .logo img{height:57px}
  .mobile-menu svg,.mobile-menu-toggle svg{width:23px;height:23px;flex-shrink:0;stroke-width:1.65}
  .mobile-menu-content{padding:9px 16px 16px}
  .mobile-menu-links{list-style:none}
  .mobile-menu-links li{border-bottom:1px solid #38393c}
  .mobile-menu-links li:has(a[aria-current="page"]){border-bottom-color:transparent}
  .mobile-menu-links a{display:flex;align-items:center;gap:17px;min-height:44px;padding:8px 12px;font-size:15px}
  .mobile-menu-links a[aria-current="page"]{color:var(--orange-hi);background:#321d0f;border-radius:9px}
  .mobile-menu-actions{display:grid;gap:9px;margin:16px 0 14px}
  .mobile-menu-actions .btn{min-height:44px;padding:8px 14px;letter-spacing:.08em}
  .mobile-menu-actions .btn-primary{color:#17110c}
  .mobile-menu-actions .btn-ghost{border-color:#d6d6d6}
  .mobile-menu-actions .btn-ghost[aria-current="page"]{border-color:var(--orange);color:var(--orange-hi)}
  .mobile-menu-info{border-top:1px solid #38393c;padding-top:8px;color:#e2e2e2;font-size:clamp(11px,3.4vw,13px)}
  .mobile-menu-info a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;text-align:center}
  .mobile-menu-info svg{width:17px;height:17px}
  .mobile-menu-phones{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}
  .mobile-menu-phones a{padding:0 8px;white-space:nowrap}
  .mobile-menu-phones a+a{border-left:1px solid #38393c}
  .mobile-menu a:focus-visible,.mobile-menu button:focus-visible,.mobile-menu-toggle:focus-visible{
    outline:2px solid var(--orange-hi);outline-offset:2px;
  }
}

/* ---------- pied de page ---------- */
footer{background:#0a0a0a;border-top:1px solid var(--line);padding:60px 0 0}
/* Cinq colonnes depuis l'ajout des pages de contenu : la grille était
   déclarée pour quatre, et la cinquième serait passée à la ligne. */
.foot-grid{display:grid;grid-template-columns:1.4fr .9fr .9fr .9fr 1.1fr;gap:34px;padding-bottom:46px}
.foot-about .logo img{height:88px}
.foot-about p{font-size:14px;color:var(--muted);margin-top:20px;max-width:260px}
.foot-col h4{font-family:'Oswald',sans-serif;font-size:14px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:20px}
.foot-col ul{list-style:none;display:grid;gap:13px}
.foot-col a{font-size:14px;color:var(--muted);transition:.2s}
.foot-col a:hover{color:var(--orange)}
.foot-nav a{font-family:'Oswald',sans-serif;letter-spacing:.08em;text-transform:uppercase;font-size:14px}
.foot-contact li{list-style:none;font-size:14px;color:var(--muted);line-height:1.7}
.foot-bottom{
  border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;
  gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--muted-2);
}
/* Accès de l'équipe : présent pour qui le cherche, discret pour les autres. */
.lien-equipe{opacity:.75;transition:color .2s,opacity .2s}
.lien-equipe:hover{opacity:1;color:var(--orange)}

/* ---------- actions flottantes ---------- */
/* Ancrés en bas et non au milieu : au milieu, la colonne passait par-dessus
   les boutons du bandeau de page dès que la fenêtre descendait sous ~1400 px,
   et le « Contact us » du bandeau devenait inatteignable. */
.float-actions{
  position:fixed;right:24px;bottom:28px;
  display:flex;flex-direction:column;gap:14px;z-index:45;
}
/* Effacées quand le pied de page est à l'écran — elles masquaient les
   coordonnées. La transition évite qu'elles disparaissent d'un coup. */
.float-actions{transition:opacity .2s,visibility .2s}
.float-actions[data-cache="oui"]{opacity:0;visibility:hidden;pointer-events:none}
/* Les coordonnées sont devenues des liens : on le montre au survol. */
.topbar-info a.info-item{transition:color .15s}
.topbar-info a.info-item:hover{color:var(--orange)}
.foot-contact a{transition:color .15s}
.foot-contact a:hover{color:var(--orange)}
.fab{
  width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  border:2px solid var(--orange);background:rgba(13,13,13,.85);backdrop-filter:blur(6px);transition:.2s;
}
.fab svg{width:21px;height:21px;stroke:#fff;fill:none;stroke-width:1.8}
.fab:hover{background:var(--orange);transform:scale(1.07)}
.fab-chat{background:var(--orange);border-color:var(--orange)}
.fab-chat:hover{background:var(--orange-hi)}

@media (max-width:1000px){
  .topbar-inner{flex-wrap:wrap;gap:16px}
  .topbar-info{margin-left:0}
  .topbar-auth{margin-left:auto}
  .nav-inner{height:auto;padding:12px 24px;flex-direction:column;gap:12px;align-items:flex-start}
  .nav-links{flex-wrap:wrap;gap:18px}
  .nav-links a{padding:6px 0}
  .foot-grid{grid-template-columns:repeat(2,1fr)}
  .float-actions{bottom:20px;flex-direction:row;right:20px}
  .fab{width:46px;height:46px}
}
@media (max-width:640px){
  .foot-grid{grid-template-columns:1fr}
}

/* ---------- bandeau de page (Service, Detailing, Storage) ---------- */
.page-hero{position:relative;overflow:hidden;min-height:320px;display:flex;align-items:center}
.page-hero-bg{position:absolute;inset:0}
.page-hero-bg img{width:100%;height:100%;object-fit:cover}
.page-hero-bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(10,10,10,.78) 0%,rgba(10,10,10,.55) 45%,rgba(13,13,13,.4) 100%);
}
.page-hero-inner{
  position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;
  gap:34px;flex-wrap:wrap;padding:52px 24px;
}
.page-hero-text{flex:1 1 440px;min-width:0}
.page-hero h1{font-size:54px}
/* `flex:0 0 auto` empêchait la boîte de rétrécir : sur téléphone, le second
   bouton sortait de l'écran au lieu de passer à la ligne. */
.page-hero-actions{flex:0 1 auto;max-width:100%;display:flex;gap:13px;flex-wrap:wrap}
@media(max-width:760px){.page-hero h1{font-size:38px}}

/* ---------- popup newsletter ---------- */
.nl-popup{
  margin:auto;border:1px solid var(--line);border-radius:14px;padding:38px 36px 32px;
  background:var(--card-fond);color:var(--text);max-width:440px;width:calc(100vw - 32px);
  font-family:'Inter',system-ui,sans-serif;
}
.nl-popup::backdrop{background:rgba(0,0,0,.72)}
.nl-fermer{
  position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:50%;
  background:rgba(255,255,255,.08);border:none;color:var(--muted);font-size:14px;cursor:pointer;
}
.nl-fermer:hover{background:rgba(255,255,255,.16);color:#fff}
.nl-fermer:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.nl-remise{
  color:var(--orange);font-size:11px;font-weight:700;text-transform:uppercase;
  letter-spacing:.18em;margin-bottom:12px;
}
.nl-popup h2{
  font-family:'Oswald',sans-serif;font-weight:600;font-size:27px;text-transform:uppercase;
  line-height:1.1;margin-bottom:12px;
}
.nl-texte{color:var(--muted);font-size:14.5px;line-height:1.65;margin-bottom:22px}
.nl-label{
  display:block;font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.12em;color:var(--muted);margin-bottom:7px;
}
.nl-popup input[type=email]{
  width:100%;height:46px;padding:0 14px;border-radius:8px;
  background:var(--input-bg);color:var(--input-text);border:1px solid var(--input-border);
  font-size:15px;margin-bottom:14px;
}
.nl-popup input[type=email]:focus-visible{
  outline:none;border-color:var(--orange);box-shadow:var(--input-ring);
}
.nl-envoyer{
  width:100%;height:46px;border:none;border-radius:999px;background:var(--orange);color:#111;
  font-family:'Oswald',sans-serif;font-weight:600;font-size:14px;text-transform:uppercase;
  letter-spacing:.06em;cursor:pointer;
}
.nl-envoyer:hover{background:var(--orange-hi)}
.nl-envoyer:disabled{opacity:.6;cursor:default}
.nl-envoyer:focus-visible{outline:2px solid #fff;outline-offset:2px}
.nl-note{color:var(--muted-2);font-size:12px;text-align:center;margin-top:12px}
.nl-retour{border-radius:8px;padding:14px 16px;font-size:14.5px;line-height:1.6}
.nl-ok{border:1px solid rgba(62,196,109,.45);background:rgba(62,196,109,.1);color:#bfe8cd}
.nl-ok strong{color:var(--orange-hi);font-size:17px;letter-spacing:.04em}
.nl-erreur{border:1px solid rgba(239,75,75,.45);background:rgba(239,75,75,.1);color:#f3b4b4}
@media(max-width:480px){.nl-popup{padding:32px 22px 26px}.nl-popup h2{font-size:23px}}

[data-kaab-widget] { display: contents; }
