@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root{
  --max:1540px;
  --gutter:34px;
  --nav-h:94px;
  --red:#f1263f;
  --red2:#ff334c;
  --ink:#101821;
  --muted:#71808f;
  --line:#dfe5ea;
  --soft:#f5f7f9;
  --dark:#050d15;
  --dark2:#0a151f;
  --shadow:0 18px 50px rgba(11,24,38,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--ink);
  background:#f5f7f9;
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
button{font:inherit;cursor:pointer}
img{display:block;max-width:100%}

/* ===== HEADER ===== */
.header{
  position:fixed;z-index:100;top:0;left:0;right:0;
  height:var(--nav-h);
  color:#fff;
  background:rgba(4,11,18,.92);
  border-bottom:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(26px) saturate(160%);
  -webkit-backdrop-filter:blur(26px) saturate(160%);
}
.header-inner{
  width:min(var(--max),calc(100% - var(--gutter)*2));
  height:100%;margin:auto;
  display:flex;align-items:center;gap:28px;
}
.logo{width:168px;flex:0 0 168px}
.logo img{width:145px}
.nav{
  flex:1;display:flex;align-self:stretch;justify-content:center;
}
.nav a{
  position:relative;
  min-width:92px;
  padding:0 16px;
  display:flex;align-items:center;justify-content:center;
  color:#bdc7d0;
  font-size:13px;font-weight:800;
  transition:.2s ease;
}
.nav a:hover{color:#fff;background:rgba(255,255,255,.045)}
.nav a.active{color:#fff}
.nav a.active:after{
  content:"";position:absolute;left:17px;right:17px;bottom:15px;
  height:3px;background:var(--red);border-radius:3px;
  box-shadow:0 0 15px rgba(241,38,63,.55);
}
.header-right{display:flex;align-items:center;gap:10px}
.search-trigger{
  width:310px;height:46px;padding:0 14px;
  display:flex;align-items:center;gap:10px;
  color:#8796a4;background:rgba(255,255,255,.055);
  border:1px solid rgba(164,181,196,.27);border-radius:10px;
}
.search-trigger .search-placeholder{font-size:11px;text-align:left;flex:1}
.search-trigger kbd{
  font-size:8px;color:#758392;padding:4px 6px;
  border:1px solid rgba(255,255,255,.13);border-radius:5px;
}
.icon-btn{
  width:46px;height:46px;color:#dbe2e8;
  background:transparent;border:1px solid transparent;border-radius:10px;
  font-size:18px;
}
.login-btn,.create-btn{
  height:46px;padding:0 17px;border-radius:10px;
  font-size:11px;font-weight:850;white-space:nowrap;
}
.login-btn{color:#fff;background:rgba(255,255,255,.035);border:1px solid rgba(164,181,196,.34)}
.create-btn{
  color:#fff;min-width:154px;
  background:linear-gradient(135deg,#ff3049,#e81731);
  box-shadow:0 10px 26px rgba(241,38,63,.25);
}
.hamburger{display:none}

/* ===== HERO ===== */
.hero{
  position:relative;height:650px;margin-top:0;
  color:#fff;overflow:hidden;background:#07111a;
}
.hero-image{
  position:absolute;inset:0;
  background:url("https://images.pexels.com/photos/37532811/pexels-photo-37532811.png?cs=srgb&dl=pexels-ericxon-37532811.jpg&fm=jpg") center/cover no-repeat;
  transform:scale(1.005);
}
.hero-overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(2,8,13,.96) 0%,rgba(2,8,13,.82) 26%,rgba(2,8,13,.30) 56%,rgba(2,8,13,.10) 78%,rgba(2,8,13,.38) 100%),
    linear-gradient(180deg,rgba(2,8,13,.20),rgba(2,8,13,0) 48%,rgba(2,8,13,.86));
}
.hero-glow{
  position:absolute;right:8%;top:14%;
  width:520px;height:520px;border-radius:50%;
  background:rgba(241,38,63,.09);filter:blur(100px);
}
.hero-inner{
  position:relative;z-index:2;
  width:min(var(--max),calc(100% - var(--gutter)*2));
  height:100%;margin:auto;padding:166px 80px 0;
}
.kicker{
  color:var(--red);font-size:11px;font-weight:900;letter-spacing:3px;
}
.kicker>span{
  display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--red);box-shadow:0 0 12px rgba(241,38,63,.8);
  margin-right:7px;
}
.kicker.dark{color:var(--red)}
.hero-copy{max-width:760px}
.hero h1{
  margin:18px 0 15px;
  font-size:58px;line-height:1.01;
  letter-spacing:-2.8px;font-weight:900;
}
.hero h1 strong{color:var(--red)}
.hero-copy p{
  margin:0;max-width:700px;
  color:#c5ced6;font-size:16px;line-height:1.55;
}
.hero-actions{display:flex;gap:12px;margin-top:26px}
.red-btn,.glass-btn{
  min-height:52px;padding:0 24px;
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  border-radius:10px;font-size:13px;font-weight:850;
}
.red-btn{
  color:#fff;background:linear-gradient(135deg,#ff3049,#e81731);
  box-shadow:0 12px 30px rgba(241,38,63,.25);
}
.glass-btn{
  color:#fff;background:rgba(6,15,23,.38);
  border:1px solid rgba(190,204,216,.35);
  backdrop-filter:blur(13px);
}
.arrow-inline{font-size:18px;font-weight:500;line-height:1}
.hero-quote{
  position:absolute;right:80px;top:248px;width:330px;
  color:rgba(255,255,255,.83);
  font-size:14px;line-height:1.75;font-weight:800;letter-spacing:2px;
}
.hero-quote span{font-size:26px}
.hero-quote i{
  display:block;width:72px;height:4px;margin-top:16px;
  background:var(--red);box-shadow:0 0 18px rgba(241,38,63,.5);
}
.hero-benefits{
  position:absolute;left:80px;right:80px;bottom:35px;
  display:grid;grid-template-columns:repeat(4,1fr);gap:30px;
}
.benefit{display:flex;align-items:center;gap:13px}
.benefit:before{
  content:"";width:9px;height:9px;flex:0 0 9px;
  border:2px solid var(--red);border-radius:50%;
  box-shadow:0 0 10px rgba(241,38,63,.45);
}
.benefit b{display:block;font-size:12px;font-weight:850}
.benefit small{display:block;margin-top:4px;color:#94a1ad;font-size:10px}

/* ===== STATS — REFERENCE CARD DESIGN ===== */
.stats{
  width:min(1230px,calc(100% - 36px));
  margin:-30px auto 0;
  position:relative;
  z-index:8;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  background:transparent;
}
.stat{
  min-width:0;
  min-height:70px;
  padding:9px 13px;
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid #e7ebf1;
  border-radius:9px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%);
  box-shadow:0 5px 16px rgba(25,42,64,.055);
  overflow:hidden;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.stat:hover{
  transform:translateY(-2px);
  border-color:#dce3ec;
  box-shadow:0 10px 24px rgba(25,42,64,.10);
}
.stat-icon{
  flex:0 0 44px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:10px;
}
.stat-icon svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.stat-copy{min-width:0}
.stat strong{
  display:block;
  color:#0c1726;
  font-size:15px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.35px;
}
.stat span{
  display:block;
  margin-top:3px;
  color:#596678;
  font-size:9.5px;
  line-height:1.2;
  font-weight:600;
  white-space:nowrap;
}
.stat small{
  display:block;
  margin-top:3px;
  color:#16a56f;
  font-size:8px;
  line-height:1.1;
  font-weight:800;
  white-space:nowrap;
}
.stat-purple .stat-icon{color:#7137e8;background:#eee7ff}
.stat-green .stat-icon{color:#16a36c;background:#ddf6ec}
.stat-orange .stat-icon{color:#ed7b11;background:#fff0df}
.stat-red .stat-icon{color:#ef233c;background:#ffe2e6}
.stat-blue .stat-icon{color:#1674d2;background:#e4f0ff}

/* Keep the following section visually tied to the reference strip. */
#prestations{
  padding-top:27px;
}
#prestations .section-title{
  margin-bottom:22px;
}
#prestations .kicker.dark{
  color:#ef233c;
  letter-spacing:1.35px;
  font-size:9px;
  font-weight:850;
}
#prestations .kicker.dark span{
  display:none;
}

/* ===== SECTIONS ===== */
.content,.quick,.vehicles,.trust{
  width:min(var(--max),calc(100% - var(--gutter)*2));
  margin-left:auto;margin-right:auto;
}
.content{padding:78px 0 22px}
.section-title{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:30px;margin-bottom:24px;
}
.section-title h2{
  margin:9px 0 0;font-size:27px;line-height:1.1;
  font-weight:900;letter-spacing:-1.1px;
}
.section-title>a,.light-link{
  color:#344250;background:none;font-size:11px;font-weight:850;
}
.section-title>a:hover,.light-link:hover{color:var(--red)}

/* ===== SERVICES ===== */
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.service{
  position:relative;overflow:hidden;height:315px;
  background:#fff;border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow);
  transition:.25s ease;
}
.service:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(11,24,38,.13)}
.service-photo{height:178px;background-size:cover;background-position:center}
.photo-1{background-image:url("https://images.pexels.com/photos/36103858/pexels-photo-36103858.jpeg?cs=srgb&dl=pexels-astesmedia-2155232278-36103858.jpg&fm=jpg")}
.photo-2{background-image:url("https://images.pexels.com/photos/4116191/pexels-photo-4116191.jpeg?cs=srgb&dl=pexels-lumierestudiomx-4116191.jpg&fm=jpg")}
.photo-3{background-image:url("https://images.pexels.com/photos/6969032/pexels-photo-6969032.jpeg?cs=srgb&dl=pexels-svjae-6969032.jpg&fm=jpg")}
.photo-4{background-image:url("https://images.pexels.com/photos/18038888/pexels-photo-18038888.jpeg?cs=srgb&dl=pexels-erik-mclean-18038888.jpg&fm=jpg")}
.service-shine{
  position:absolute;inset:0 0 auto;height:178px;
  background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.28));
}
.service-info{
  min-height:137px;padding:20px 20px 17px;
  display:grid;grid-template-columns:1fr 38px;gap:15px;align-items:center;
}
.service-text h3{
  margin:0;font-size:16px;font-weight:900;letter-spacing:-.25px
}
.service-text p{
  margin:7px 0 11px;color:#7e8c9a;font-size:11px;line-height:1.4
}
.service-text span{font-size:11px;color:#7a8794}
.service-text span b,.service-text span.red{color:var(--red)}
.service .arrow{
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;color:#fff;
  background:#17222d;font-size:18px;
}
.service:hover .arrow{background:var(--red)}

/* ===== QUICK ===== */
.quick{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:18px;padding:0 0 34px}
.quick-card{
  min-height:154px;position:relative;overflow:hidden;
  display:flex;align-items:center;padding:25px;
  background:#fff;border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow);
}
.quick-card h3{margin:0 0 9px;font-size:13px;font-weight:900}
.quick-card p{margin:0 0 15px;color:#7e8b98;font-size:10px;line-height:1.55}
.mini-btn{
  min-height:37px;padding:0 14px;
  display:inline-flex;align-items:center;gap:8px;
  background:#fff;border:1px solid #d6dde4;border-radius:8px;
  color:#253342;font-size:10px;font-weight:850;
}
.mini-btn:hover{border-color:var(--red);color:var(--red)}
.social-card{background:#07131e;color:#fff}
.social-card h3{color:#fff}
.social-card p{color:#9eacb8}
.social-card .mini-btn{background:transparent;color:#fff;border-color:#52606c}
.social-card>img{
  position:absolute;right:0;top:0;width:55%;height:100%;
  object-fit:cover;opacity:.42;
  mask-image:linear-gradient(90deg,transparent,black 50%);
}
.social-card>div{position:relative;z-index:2}

/* ===== VEHICLES ===== */
.vehicles{padding:36px 0 55px}
.vehicle-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.vehicle-card{
  position:relative;height:205px;overflow:hidden;
  display:flex;align-items:flex-end;padding:24px;color:#fff;
  background:#09131d;border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
}
.vehicle-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.v1{background-image:url("https://images.pexels.com/photos/37532811/pexels-photo-37532811.png?cs=srgb&dl=pexels-ericxon-37532811.jpg&fm=jpg")}
.v2{background-image:url("https://images.pexels.com/photos/6969032/pexels-photo-6969032.jpeg?cs=srgb&dl=pexels-svjae-6969032.jpg&fm=jpg")}
.v3{background-image:url("https://images.pexels.com/photos/35528066/pexels-photo-35528066.jpeg?cs=srgb&dl=pexels-connorscottmcmanus-35528066.jpg&fm=jpg")}
.vehicle-card:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(2,8,13,.88),rgba(2,8,13,.18) 70%,rgba(2,8,13,.42));
}
.vehicle-card>div:last-of-type{position:relative;z-index:2}
.vehicle-card small{font-size:8px;color:#ff4055;letter-spacing:2px;font-weight:900}
.vehicle-card h3{margin:5px 0 4px;font-size:20px;font-weight:900}
.vehicle-card p{margin:0;color:#c3ccd4;font-size:10px}
.vehicle-arrow{
  position:absolute;z-index:3;right:18px;bottom:18px;
  width:39px;height:39px;border-radius:50%;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.11);
}
.vehicle-arrow:after{
  content:"→";position:absolute;inset:0;display:grid;place-items:center;
  font-size:17px;color:#fff;
}

/* ===== TRUST ===== */
.trust{
  display:grid;grid-template-columns:1.2fr 2.7fr 2.8fr;
  align-items:center;gap:35px;padding:28px 0;
  border-top:1px solid var(--line);
}
.trust-title p{margin:7px 0 0;color:#8c99a5;font-size:9px}
.brand-logos{display:flex;align-items:center;justify-content:center;gap:27px}
.brand-logos img{width:39px;height:39px;object-fit:contain;transition:.2s}
.brand-logos img:hover{transform:scale(1.1)}
.contact-banner{
  height:92px;display:flex;align-items:center;gap:18px;padding:16px 20px;
  color:#fff;background:
  linear-gradient(90deg,rgba(5,14,22,.96),rgba(5,14,22,.76)),
  url("https://images.pexels.com/photos/37532811/pexels-photo-37532811.png?cs=srgb&dl=pexels-ericxon-37532811.jpg&fm=jpg") center/cover;
  border:1px solid #1a2a37;border-radius:13px;
}
.banner-copy{flex:1}
.banner-copy small{display:block;color:#ff4055;font-size:8px;font-weight:900;letter-spacing:1.7px}
.banner-copy h3{margin:4px 0;font-size:16px;font-weight:900}
.banner-copy h3 b{color:var(--red)}
.banner-copy p{margin:0;color:#92a0ac;font-size:8px}
.contact-banner .red-btn{min-height:42px;font-size:9px;padding:0 17px}

/* ===== FOOTER ===== */
footer{background:#fff;border-top:1px solid var(--line)}
.footer-inner{
  width:min(var(--max),calc(100% - var(--gutter)*2));
  min-height:82px;margin:auto;display:flex;align-items:center;gap:20px
}
.footer-inner>img{width:120px}
.footer-inner>span,.footer-links{color:#98a3ad;font-size:8px}
.footer-links{margin-left:auto;display:flex;gap:10px}
.footer-links i{font-style:normal;color:#c4cbd1}
.footer-social{display:flex;gap:13px;margin-left:8px}
.footer-social a{width:25px;height:25px;display:grid;place-items:center}
.footer-social img{width:18px;height:18px;object-fit:contain}

/* ===== MODALS ===== */
.modal-wrap,.search-wrap{
  display:none;position:fixed;inset:0;z-index:300;
  align-items:center;justify-content:center;padding:25px;
  background:rgba(2,8,14,.76);backdrop-filter:blur(16px)
}
.modal-wrap.open,.search-wrap.open{display:flex}
.modal-box,.search-box{
  position:relative;width:min(620px,100%);padding:32px;
  background:#fff;border-radius:16px;box-shadow:0 35px 100px rgba(0,0,0,.35)
}
.modal-x{
  position:absolute;right:14px;top:14px;width:36px;height:36px;
  border-radius:50%;background:#eef2f5;color:#586675;font-size:21px
}
.modal-box h2,.search-box h2{margin:10px 0 7px;font-size:27px}
.modal-desc{margin:0 0 20px;color:#7e8c99;font-size:11px}
.modal-box form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.modal-box label{font-size:10px;font-weight:850;color:#435260}
.modal-box label:nth-child(6),.modal-box .submit{grid-column:1/-1}
.modal-box input,.modal-box textarea,.search-box>input{
  width:100%;margin-top:6px;padding:12px;
  border:1px solid #d9e0e6;border-radius:9px;outline:0;font-size:11px
}
.modal-box input:focus,.modal-box textarea:focus,.search-box>input:focus{
  border-color:var(--red);box-shadow:0 0 0 4px rgba(241,38,63,.08)
}
.success{display:none;margin-top:15px;padding:13px;background:#e8f8ef;color:#16805a;border-radius:9px;font-size:10px}
.search-box>input{height:50px;font-size:12px}
.search-items{margin-top:10px}
.search-items button{
  width:100%;height:48px;margin:5px 0;padding:0 14px;
  display:flex;justify-content:space-between;align-items:center;
  background:#f7f9fa;border:1px solid #e1e7eb;border-radius:9px;
  color:#273543;font-size:11px;font-weight:800
}

/* ===== RESPONSIVE ===== */
@media(max-width:1400px){
  :root{--gutter:26px}
  .header-inner{gap:15px}
  .logo{width:140px;flex-basis:140px}
  .logo img{width:122px}
  .nav a{min-width:76px;padding:0 9px;font-size:11px}
  .search-trigger{width:245px}
  .hero-inner{padding-left:55px;padding-right:55px}
  .hero-benefits{left:55px;right:55px}
  .hero-quote{right:55px}
}
@media(max-width:1150px){
  .nav a{min-width:auto;padding:0 7px;font-size:10px}
  .search-trigger{width:200px}
  .create-btn{min-width:125px;padding:0 11px}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .trust{grid-template-columns:1fr 2fr}
  .contact-banner{grid-column:1/-1}
}
@media(max-width:900px){
  :root{--nav-h:76px;--gutter:20px}
  .header-inner{width:calc(100% - 30px)}
  .nav{display:none;position:absolute;top:76px;left:0;right:0;height:auto;padding:10px;background:rgba(4,11,18,.98);flex-direction:column}
  .nav.open{display:flex}
  .nav a{height:48px;justify-content:flex-start;padding:0 14px;font-size:12px}
  .nav a.active:after{left:14px;right:auto;bottom:2px;width:35px}
  .search-trigger{display:none}
  .hamburger{display:flex;flex-direction:column;gap:5px;width:36px;height:36px;align-items:center;justify-content:center;background:transparent}
  .hamburger i{width:23px;height:2px;background:#fff;border-radius:2px}
  .hero{height:600px}
  .hero-inner{width:calc(100% - 30px);padding:125px 30px 0}
  .hero h1{font-size:45px}
  .hero-copy p{font-size:13px}
  .hero-quote{display:none}
  .hero-benefits{left:30px;right:30px;grid-template-columns:1fr 1fr;bottom:26px}
  .stats{grid-template-columns:repeat(3,1fr)}
  .stat{border-bottom:1px solid rgba(182,199,213,.12)}
  .quick{grid-template-columns:1fr}
  .vehicle-row{grid-template-columns:1fr}
  .trust{grid-template-columns:1fr}
  .brand-logos{justify-content:flex-start;flex-wrap:wrap}
}
@media(max-width:600px){
  :root{--gutter:14px}
  .header-inner{width:calc(100% - 18px)}
  .logo{width:100px;flex-basis:100px}
  .logo img{width:92px}
  .login-btn{font-size:0;width:42px;padding:0}
  .create-btn{min-width:42px;width:42px;padding:0;font-size:0}
  .hero{height:650px}
  .hero-inner{width:calc(100% - 18px);padding:110px 14px 0}
  .hero h1{font-size:35px;letter-spacing:-1.6px}
  .hero-copy p{font-size:11px}
  .hero-actions{flex-direction:column}
  .red-btn,.glass-btn{width:100%}
  .hero-benefits{left:20px;right:20px}
  .benefit b{font-size:9px}
  .benefit small{font-size:8px}
  .stats{grid-template-columns:1fr 1fr}
  .stat{padding:15px}
  .stat strong{font-size:20px}
  .stat:last-child{grid-column:1/-1}
  .content{padding-top:55px}
  .section-title{align-items:flex-start;flex-direction:column;gap:8px}
  .section-title h2{font-size:22px}
  .service-grid{grid-template-columns:1fr}
  .service{height:300px}
  .service-photo{height:165px}
  .quick-card{min-height:145px}
  .footer-inner{flex-wrap:wrap;padding:15px 0}
  .footer-links{margin-left:0}
  .footer-social{margin-left:auto}
  .modal-box{padding:22px}
  .modal-box form{grid-template-columns:1fr}
  .modal-box label:nth-child(6),.modal-box .submit{grid-column:auto}
}


/* ===== STATS RESPONSIVE REFINEMENT ===== */
@media (max-width: 1150px){
  .stats{width:min(960px,calc(100% - 28px));grid-template-columns:repeat(3,1fr)}
  .stat:nth-child(4),.stat:nth-child(5){grid-column:auto}
}
@media (max-width: 900px){
  .stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:-20px}
  .stat{min-height:68px}
}
@media (max-width: 600px){
  .stats{width:calc(100% - 20px);grid-template-columns:1fr 1fr;gap:8px}
  .stat{padding:9px 10px;gap:9px}
  .stat-icon{flex-basis:38px;width:38px;height:38px;border-radius:9px}
  .stat-icon svg{width:20px;height:20px}
  .stat strong{font-size:14px}
  .stat span{font-size:8.5px}
  .stat small{font-size:7.5px}
  #prestations{padding-top:22px}
}
@media (max-width: 430px){
  .stats{grid-template-columns:1fr}
  .stat:nth-child(4),.stat:nth-child(5){grid-column:auto}
}


/* ===== BASE VEHICLE SECTION — restored reference geometry ===== */
.vehicles .vehicle-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.vehicles .vehicle-card{
  position:relative;
  min-width:0;
  height:205px;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(12,23,38,.13);
  background:#111820;
  box-shadow:0 8px 22px rgba(12,23,38,.10);
}
.vehicles .vehicle-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transition:transform .5s ease,filter .5s ease;
}
.vehicles .vehicle-card:hover .vehicle-bg{
  transform:scale(1.045);
  filter:saturate(1.05) contrast(1.03);
}
.vehicles .vehicle-card > div:not(.vehicle-bg){
  position:absolute;
  left:24px;
  right:74px;
  bottom:22px;
  z-index:2;
}
.vehicles .vehicle-card small{
  display:block;
  margin-bottom:7px;
  color:#ff263f;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:1.5px;
}
.vehicles .vehicle-card h3{
  margin:0;
  color:#fff;
  font-size:22px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.5px;
}
.vehicles .vehicle-card p{
  margin:7px 0 0;
  color:rgba(255,255,255,.82);
  font-size:10px;
  line-height:1.2;
}
.vehicles .vehicle-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(2,7,12,.05) 22%,rgba(2,7,12,.42) 62%,rgba(2,7,12,.88) 100%);
}
.vehicles .vehicle-arrow{
  position:absolute;
  z-index:3;
  right:18px;
  bottom:18px;
  width:40px;
  height:40px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  background:rgba(18,24,31,.72);
  backdrop-filter:blur(8px);
}
.vehicles .vehicle-arrow::after{
  content:"→";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:16px;
}
@media (max-width:900px){
  .vehicles .vehicle-row{grid-template-columns:1fr}
  .vehicles .vehicle-card{height:220px}
}
@media (max-width:600px){
  .vehicles .vehicle-card > div:not(.vehicle-bg){left:18px;bottom:18px}
  .vehicles .vehicle-card h3{font-size:20px}
}


/* ===== CLEAN DJEZ PERFORMANCE WORDMARK ===== */
.header .logo{
  width:174px;
  flex:0 0 174px;
  height:72px;
  display:flex;
  align-items:center;
}
.header .logo img{
  width:148px;
  height:auto;
  max-height:58px;
  display:block;
  object-fit:contain;
  object-position:left center;
  background:transparent;
}
@media (max-width:600px){
  .header .logo{width:145px;flex-basis:145px;height:58px}
  .header .logo img{width:124px;max-height:48px}
}

/* Navbar: séparation entre navigation publique et espace connecté */
.nav-separator{
  display:inline-block;
  width:1px;
  height:22px;
  margin:0 8px;
  background:currentColor;
  opacity:.22;
  vertical-align:middle;
}
@media (max-width: 1100px){
  .nav-separator{display:none;}
}

/* Premium account buttons - homepage */
.header-right {
  gap: 10px;
  padding-right: 22px;
  min-width: 0;
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  flex-shrink: 0;
}

.account-actions .login-btn,
.account-actions .create-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 13px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .035em;
  white-space: nowrap;
  box-sizing: border-box;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.account-actions .login-btn {
  color: #f2f4f6;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.17);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.account-actions .create-btn {
  color: #fff;
  background: #c81018;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 5px 15px rgba(200,16,24,.20);
}

.account-actions .login-btn:hover,
.account-actions .create-btn:hover {
  transform: translateY(-1px);
}

.account-actions .login-btn:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
}

.account-actions .create-btn:hover {
  background: #df171f;
  box-shadow: 0 8px 20px rgba(200,16,24,.28);
}

/* Keep the whole right side inside the viewport. */
.header-inner {
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 18px;
}

@media (max-width: 1400px) {
  .header-inner {
    padding-left: 20px;
    padding-right: 14px;
  }
  .account-actions .login-btn,
  .account-actions .create-btn {
    padding: 0 10px;
    font-size: 10px;
  }
  .account-actions {
    gap: 6px;
  }
}

@media (max-width: 1150px) {
  .header-right {
    padding-right: 8px;
  }
  .account-actions .login-btn,
  .account-actions .create-btn {
    height: 36px;
    padding: 0 9px;
  }
}
/* Account buttons — reference style */
.account-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
  flex-shrink: 0;
}

.account-actions a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 15px;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.account-actions a::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Connexion / Déconnexion : dark glass button */
.account-actions .login-btn {
  color: #e9edf2;
  background: linear-gradient(180deg, rgba(20,31,41,.94), rgba(10,19,27,.94));
  border: 1px solid rgba(111,132,151,.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 2px 10px rgba(0,0,0,.18);
}

.account-actions .login-btn::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9edf2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 8V6.5A2.5 2.5 0 0 0 12.5 4h-6A2.5 2.5 0 0 0 4 6.5v11A2.5 2.5 0 0 0 6.5 20h6a2.5 2.5 0 0 0 2.5-2.5V16'/%3E%3Cpath d='M11 12h9m-3.5-3.5L20 12l-3.5 3.5'/%3E%3C/svg%3E");
}

/* Inscription / Espace client : red primary button */
.account-actions .create-btn {
  color: #fff;
  background: linear-gradient(180deg, #ff2634 0%, #e51422 100%);
  border: 1px solid #ff3946;
  box-shadow: 0 4px 15px rgba(232,20,34,.34), inset 0 1px 0 rgba(255,255,255,.18);
}

.account-actions .create-btn::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c.8-3.1 3.1-5 7-5s6.2 1.9 7 5'/%3E%3C/svg%3E");
}

.account-actions a:hover {
  transform: translateY(-1px);
}

.account-actions .login-btn:hover {
  background: linear-gradient(180deg, rgba(28,42,54,.98), rgba(13,24,34,.98));
  border-color: rgba(140,160,178,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 5px 15px rgba(0,0,0,.25);
}

.account-actions .create-btn:hover {
  background: linear-gradient(180deg, #ff3441 0%, #ed1725 100%);
  box-shadow: 0 7px 21px rgba(232,20,34,.42), inset 0 1px 0 rgba(255,255,255,.2);
}

.account-actions a:active {
  transform: translateY(0);
}

/* Keep the buttons safely inside the right edge. */
.header-right {
  min-width: 0;
  gap: 10px;
  padding-right: 24px;
}

.header-inner {
  box-sizing: border-box;
  max-width: 100%;
  padding-right: 20px;
}

@media (max-width: 1250px) {
  .account-actions {
    gap: 7px;
    margin-left: 3px;
  }
  .account-actions a {
    height: 40px;
    padding: 0 12px;
  }
}

@media (max-width: 1050px) {
  .account-actions a {
    height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }
  .account-actions a::before {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }
}
/* FINAL ACCOUNT BUTTON OVERRIDE */
.header .header-right .account-actions {
  display:flex !important;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-left:8px;
  flex:0 0 auto;
}

.header .header-right .account-actions > a.login-btn,
.header .header-right .account-actions > a.create-btn {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:7px;
  height:42px !important;
  min-width:0 !important;
  width:auto !important;
  padding:0 15px !important;
  margin:0 !important;
  border-radius:8px !important;
  box-sizing:border-box;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1;
  letter-spacing:0;
  white-space:nowrap;
  text-decoration:none;
  overflow:visible;
}

.header .header-right .account-actions > a.login-btn {
  color:#e9edf2 !important;
  background:linear-gradient(180deg,#141f29,#0a131b) !important;
  border:1px solid rgba(111,132,151,.55) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 3px 10px rgba(0,0,0,.2) !important;
}

.header .header-right .account-actions > a.create-btn {
  color:#fff !important;
  background:linear-gradient(180deg,#ff2634,#e51422) !important;
  border:1px solid #ff3946 !important;
  box-shadow:0 5px 16px rgba(232,20,34,.3),inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.header .header-right .account-actions > a.login-btn::before,
.header .header-right .account-actions > a.create-btn::before {
  content:"";
  width:15px;
  height:15px;
  flex:0 0 15px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

.header .header-right .account-actions > a.login-btn::before {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9edf2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 8V6.5A2.5 2.5 0 0 0 12.5 4h-6A2.5 2.5 0 0 0 4 6.5v11A2.5 2.5 0 0 0 6.5 20h6a2.5 2.5 0 0 0 2.5-2.5V16'/%3E%3Cpath d='M11 12h9m-3.5-3.5L20 12l-3.5 3.5'/%3E%3C/svg%3E");
}
.header .header-right .account-actions > a.create-btn::before {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c.8-3.1 3.1-5 7-5s6.2 1.9 7 5'/%3E%3C/svg%3E");
}

.header .header-right .account-actions > a:hover {
  transform:translateY(-1px);
}
.header .header-right .account-actions > a.login-btn:hover {
  background:linear-gradient(180deg,#1c2a36,#0d1822) !important;
  border-color:rgba(145,164,181,.75) !important;
}
.header .header-right .account-actions > a.create-btn:hover {
  background:linear-gradient(180deg,#ff3441,#ed1725) !important;
  box-shadow:0 8px 22px rgba(232,20,34,.4),inset 0 1px 0 rgba(255,255,255,.2) !important;
}

@media(max-width:1200px){
  .header .header-right .account-actions{gap:7px;margin-left:4px;}
  .header .header-right .account-actions > a.login-btn,
  .header .header-right .account-actions > a.create-btn{
    height:40px !important;
    padding:0 11px !important;
    font-size:11px !important;
  }
}
@media(max-width:900px){
  .header .header-right .account-actions > a.login-btn,
  .header .header-right .account-actions > a.create-btn{
    height:38px !important;
    padding:0 10px !important;
  }
}
@media(max-width:600px){
  .header .header-right .account-actions > a.login-btn,
  .header .header-right .account-actions > a.create-btn{
    width:42px !important;
    min-width:42px !important;
    padding:0 !important;
    font-size:0 !important;
    gap:0;
  }
}
/* LARGE PREMIUM ACCOUNT BUTTONS */
.header .header-right .account-actions {
  display:flex !important;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  margin-left:14px;
  flex:0 0 auto;
}

.header .header-right .account-actions > a.login-btn,
.header .header-right .account-actions > a.create-btn {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:9px;
  height:48px !important;
  min-width:0 !important;
  width:auto !important;
  padding:0 19px !important;
  border-radius:10px !important;
  box-sizing:border-box;
  font-family:inherit;
  font-size:13px !important;
  font-weight:750 !important;
  line-height:1;
  letter-spacing:.01em;
  white-space:nowrap;
  text-decoration:none;
  transition:all .2s ease;
}

/* Dark outlined button */
.header .header-right .account-actions > a.login-btn {
  color:#f4f7fa !important;
  background:linear-gradient(180deg,rgba(22,34,45,.96),rgba(8,17,25,.98)) !important;
  border:1px solid rgba(116,141,163,.65) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 4px 16px rgba(0,0,0,.28) !important;
}

/* Red primary button */
.header .header-right .account-actions > a.create-btn {
  color:#fff !important;
  background:linear-gradient(180deg,#ff303d 0%,#e81726 100%) !important;
  border:1px solid rgba(255,75,87,.9) !important;
  box-shadow:
    0 6px 20px rgba(232,23,38,.38),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
}

/* Icons */
.header .header-right .account-actions > a.login-btn::before,
.header .header-right .account-actions > a.create-btn::before {
  content:"";
  width:17px;
  height:17px;
  flex:0 0 17px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:17px 17px;
}

.header .header-right .account-actions > a.login-btn::before {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f7fa' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.2 20c.8-3.1 3-5 6.8-5s6 1.9 6.8 5'/%3E%3C/svg%3E");
}

.header .header-right .account-actions > a.create-btn::before {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.2 20c.8-3.1 3-5 6.8-5s6 1.9 6.8 5'/%3E%3C/svg%3E");
}

.header .header-right .account-actions > a:hover {
  transform:translateY(-2px);
}

.header .header-right .account-actions > a.login-btn:hover {
  background:linear-gradient(180deg,#20303e,#0e1b26) !important;
  border-color:rgba(157,181,202,.82) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 8px 22px rgba(0,0,0,.32) !important;
}

.header .header-right .account-actions > a.create-btn:hover {
  background:linear-gradient(180deg,#ff3d4a,#ed1827) !important;
  box-shadow:
    0 10px 28px rgba(232,23,38,.48),
    inset 0 1px 0 rgba(255,255,255,.24) !important;
}

.header .header-right .account-actions > a:active {
  transform:translateY(0);
}

/* Keep the larger buttons inside the viewport by giving the public nav a little more room. */
.header .header-inner {
  gap:18px;
  max-width:calc(100% - 28px);
}

.header .nav {
  min-width:0;
}

@media (max-width:1400px) {
  .header .header-inner {
    gap:12px;
    max-width:calc(100% - 22px);
  }
  .header .nav a {
    min-width:auto;
    padding-left:8px;
    padding-right:8px;
    font-size:11px;
  }
  .header .header-right .account-actions {
    gap:8px;
    margin-left:8px;
  }
  .header .header-right .account-actions > a.login-btn,
  .header .header-right .account-actions > a.create-btn {
    height:46px !important;
    padding:0 15px !important;
    font-size:12px !important;
  }
}

@media (max-width:1150px) {
  .header .header-right .account-actions > a.login-btn,
  .header .header-right .account-actions > a.create-btn {
    height:44px !important;
    padding:0 13px !important;
    font-size:11px !important;
  }
  .header .header-right .account-actions > a.login-btn::before,
  .header .header-right .account-actions > a.create-btn::before {
    width:16px;
    height:16px;
    flex-basis:16px;
    background-size:16px 16px;
  }
}

@media (max-width:900px) {
  .header .header-right .account-actions > a.login-btn,
  .header .header-right .account-actions > a.create-btn {
    height:42px !important;
    padding:0 12px !important;
  }
}

@media (max-width:600px) {
  .header .header-right .account-actions > a.login-btn,
  .header .header-right .account-actions > a.create-btn {
    width:44px !important;
    min-width:44px !important;
    height:42px !important;
    padding:0 !important;
    font-size:0 !important;
    gap:0;
  }
}
/* DEFINITIVE HOMEPAGE ACCOUNT BUTTON STYLE */
.header .header-right .account-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-left: 18px !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 20 !important;
}

.header .header-right .account-actions a.login-btn,
.header .header-right .account-actions a.create-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: 50px !important;
  padding: 0 21px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: .2s ease !important;
}

/* LEFT: dark outlined button exactly as the reference concept */
.header .header-right .account-actions a.login-btn {
  color: #f2f5f8 !important;
  background: #0b151e !important;
  border: 1px solid #536777 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 3px 12px rgba(0,0,0,.28) !important;
}

/* RIGHT: red filled button exactly as the reference concept */
.header .header-right .account-actions a.create-btn {
  color: #ffffff !important;
  background: #f21f31 !important;
  border: 1px solid #ff4654 !important;
  box-shadow: 0 5px 18px rgba(242,31,49,.34), inset 0 1px 0 rgba(255,255,255,.22) !important;
}

.header .header-right .account-actions a.login-btn::before,
.header .header-right .account-actions a.create-btn::before {
  content: "" !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  margin-right: 8px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 18px 18px !important;
}

.header .header-right .account-actions a.login-btn::before {
  /* Connexion : porte + flèche entrante */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5H7.5A2.5 2.5 0 0 0 5 7.5v9A2.5 2.5 0 0 0 7.5 19H14'/%3E%3Cpath d='M11 12h8m-3.5-3.5L19 12l-3.5 3.5'/%3E%3C/svg%3E") !important;
}

.header .header-right .account-actions a.create-btn::before {
  /* Inscription : utilisateur + */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3.8 19.5c.7-3.1 2.4-4.8 5.2-4.8s4.5 1.7 5.2 4.8'/%3E%3Cpath d='M18 9v6M15 12h6'/%3E%3C/svg%3E") !important;
}

.header .header-right .account-actions a:hover {
  transform: translateY(-2px) !important;
}

.header .header-right .account-actions a.login-btn:hover {
  background: #142330 !important;
  border-color: #8198aa !important;
}

.header .header-right .account-actions a.create-btn:hover {
  background: #ff2d3e !important;
  box-shadow: 0 8px 24px rgba(242,31,49,.46), inset 0 1px 0 rgba(255,255,255,.24) !important;
}

/* Give the navigation enough breathing room while keeping everything on-screen. */
.header .header-inner {
  width: min(var(--max), calc(100% - 24px)) !important;
  max-width: none !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

.header .nav {
  min-width: 0 !important;
  overflow: visible !important;
}

.header .nav a {
  min-width: auto !important;
  padding-left: 9px !important;
  padding-right: 9px !important;
}

@media (max-width: 1400px) {
  .header .header-inner {
    width: calc(100% - 18px) !important;
    gap: 9px !important;
  }
  .header .nav a {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 10px !important;
  }
  .header .header-right .account-actions {
    gap: 7px !important;
    margin-left: 8px !important;
  }
  .header .header-right .account-actions a.login-btn,
  .header .header-right .account-actions a.create-btn {
    height: 46px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 1150px) {
  .header .header-right .account-actions a.login-btn,
  .header .header-right .account-actions a.create-btn {
    height: 43px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 900px) {
  .header .header-right .account-actions a.login-btn,
  .header .header-right .account-actions a.create-btn {
    height: 42px !important;
    padding: 0 11px !important;
  }
}

@media (max-width: 600px) {
  .header .header-right .account-actions a.login-btn,
  .header .header-right .account-actions a.create-btn {
    width: 44px !important;
    min-width: 44px !important;
    height: 42px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }
  .header .header-right .account-actions a.login-btn::before,
  .header .header-right .account-actions a.create-btn::before {
    margin-right: 0 !important;
  }
}
/* CONNECTED NAV DROPDOWN */
.header .nav .client-menu {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  margin-left: 2px;
}

.header .nav .client-menu-trigger {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(110,133,151,.5);
  border-radius: 9px;
  background: rgba(14,25,35,.9);
  color: #eef2f5;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: .2s ease;
}

.header .nav .client-menu-trigger:hover,
.header .nav .client-menu.open .client-menu-trigger {
  background: rgba(28,43,56,.98);
  border-color: rgba(151,175,194,.72);
  box-shadow: 0 7px 18px rgba(0,0,0,.22);
}

.client-menu-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.client-menu-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.client-menu-chevron {
  font-size: 15px;
  line-height: 10px;
  opacity: .7;
  transform: translateY(-1px);
  transition: transform .2s ease;
}

.client-menu.open .client-menu-chevron {
  transform: rotate(180deg) translateY(1px);
}

.header .nav .client-menu-dropdown {
  position: absolute;
  top: calc(100% - 3px);
  right: 0;
  width: 235px;
  padding: 8px;
  border: 1px solid rgba(103,126,145,.34);
  border-radius: 13px;
  background: rgba(7,15,23,.98);
  box-shadow: 0 18px 45px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 1000;
}

.header .nav .client-menu.open .client-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header .nav .client-menu-dropdown a {
  min-width: 0 !important;
  height: auto !important;
  min-height: 50px !important;
  padding: 8px 10px !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px;
  border-radius: 9px;
  color: #e7edf2;
  text-decoration: none;
  box-sizing: border-box;
  transition: background .16s ease, transform .16s ease;
}

.header .nav .client-menu-dropdown a:hover {
  background: rgba(255,255,255,.065);
  transform: translateX(2px);
}

.client-menu-item-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  font-size: 14px;
}

.client-menu-dropdown a:nth-child(2) .client-menu-item-icon,
.client-menu-dropdown a:nth-child(4) .client-menu-item-icon {
  color: #ff3342;
}

.client-menu-dropdown a > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.client-menu-dropdown strong {
  font-size: 11px;
  font-weight: 800;
}

.client-menu-dropdown small {
  color: #7f909f;
  font-size: 9px;
  font-weight: 500;
}

@media (max-width: 1400px) {
  .header .nav .client-menu-trigger {
    height: 38px;
    padding: 0 11px;
    font-size: 10px;
  }
}

@media (max-width: 900px) {
  .header .nav .client-menu {
    display: block;
    align-self: auto;
  }

  .header .nav .client-menu-trigger {
    width: 100%;
    height: 48px;
    justify-content: flex-start;
    padding: 0 14px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    font-size: 12px;
  }

  .header .nav .client-menu-dropdown {
    position: static;
    width: 100%;
    margin-top: 4px;
    box-sizing: border-box;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(255,255,255,.025);
  }

  .header .nav .client-menu.open .client-menu-dropdown {
    display: block;
  }
}
/* DEFINITIVE CLIENT DROPDOWN FIX */
.header .nav .client-menu {
  position: relative !important;
  z-index: 9999 !important;
}

.header .nav .client-menu-trigger {
  position: relative !important;
  z-index: 10001 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.header .nav .client-menu-dropdown {
  display: block !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  z-index: 10000 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-8px) !important;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
}

.header .nav .client-menu.open .client-menu-dropdown {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.header .nav .client-menu-dropdown a {
  pointer-events: auto !important;
}

@media (max-width: 900px) {
  .header .nav .client-menu-dropdown {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    width: 235px !important;
  }
}


/* FINAL VISIBILITY FIX FOR CLIENT MENU */
.header,
.header-inner,
.header .nav,
.header .client-menu {
  overflow: visible !important;
}
.header .client-menu-dropdown {
  clip-path: none !important;
  max-height: none !important;
}


/* MOBILE CLIENT DROPDOWN — DARK OPAQUE BACKGROUND */
@media (max-width: 900px) {
  .header .nav .client-menu-dropdown,
  .header .nav .client-menu.open .client-menu-dropdown {
    background: #111318 !important;
    background-color: #111318 !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.55) !important;
    opacity: 1;
  }

  .header .nav .client-menu-dropdown a {
    background: #111318 !important;
    background-color: #111318 !important;
  }

  .header .nav .client-menu-dropdown a:hover,
  .header .nav .client-menu-dropdown a:active {
    background: #1b1e25 !important;
  }
}


/* MOBILE NAV + CLIENT DROPDOWN — FULLY OPAQUE DARK PANEL */
@media (max-width: 900px) {
  .header .nav,
  .header .nav.open {
    background: #080d13 !important;
    background-color: #080d13 !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.65) !important;
  }

  .header .nav .client-menu-dropdown,
  .header .nav .client-menu.open .client-menu-dropdown {
    background: #080d13 !important;
    background-color: #080d13 !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    box-shadow: 0 14px 35px rgba(0,0,0,.6) !important;
  }

  .header .nav .client-menu-dropdown a,
  .header .nav .client-menu-dropdown a:hover,
  .header .nav .client-menu-dropdown a:active {
    background: #10161e !important;
    background-color: #10161e !important;
  }

  .header .nav .client-menu-dropdown a + a {
    border-top: 1px solid rgba(255,255,255,.06);
  }
}

/* OPAQUE MOBILE NAV ABSOLUTE OVERRIDE */
@media screen and (max-width: 900px) {
  .header .nav, .header .nav.open {
    background: #0b1118 !important;
    background-color: #0b1118 !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .header .nav .client-menu-dropdown,
  .header .nav .client-menu.open .client-menu-dropdown {
    background: #0b1118 !important;
    background-color: #0b1118 !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Harmonized account dropdown / professional pictograms */
.client-menu-admin{border-top:1px solid rgba(255,255,255,.09);margin-top:4px;padding-top:10px!important}
.client-menu-admin .client-menu-item-icon{color:#ff2632}
.client-menu-item-icon .ui-icon{width:18px;height:18px}

/* =========================================================
   MOBILE HOMEPAGE — ACCOUNT ACTIONS MUST BE IDENTIFIABLE
   Keep both labels visible on the homepage mobile header.
   ========================================================= */
@media (max-width: 600px) {
  .header .header-right .account-actions {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin-left: 4px !important;
  }

  .header .header-right .account-actions a.login-btn,
  .header .header-right .account-actions a.create-btn {
    width: auto !important;
    min-width: 82px !important;
    height: 42px !important;
    padding: 0 10px !important;
    gap: 6px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 9px !important;
  }

  .header .header-right .account-actions a.login-btn::before,
  .header .header-right .account-actions a.create-btn::before {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
    margin-right: 0 !important;
    background-size: 15px 15px !important;
  }

  /* Connexion: login/arrow pictogram */
  .header .header-right .account-actions a.login-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f7fa' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5H7.5A2.5 2.5 0 0 0 5 7.5v9A2.5 2.5 0 0 0 7.5 19H14'/%3E%3Cpath d='M11 12h8m-3-3 3 3-3 3'/%3E%3C/svg%3E") !important;
  }

  /* Inscription: user-plus pictogram */
  .header .header-right .account-actions a.create-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.1'/%3E%3Cpath d='M3.8 19.5c.7-3.1 2.4-4.8 5.2-4.8s4.5 1.7 5.2 4.8'/%3E%3Cpath d='M18 9v6M15 12h6'/%3E%3C/svg%3E") !important;
  }
}

/* Very small phones: keep the labels readable without letting the header overflow. */
@media (max-width: 390px) {
  .header .header-inner {
    width: calc(100% - 12px) !important;
    gap: 5px !important;
  }

  .header .logo {
    width: 86px !important;
    flex-basis: 86px !important;
    height: 52px !important;
  }

  .header .logo img {
    width: 78px !important;
    max-height: 42px !important;
  }

  .header .header-right {
    gap: 4px !important;
    padding-right: 0 !important;
  }

  .header .header-right .account-actions {
    gap: 4px !important;
    margin-left: 0 !important;
  }

  .header .header-right .account-actions a.login-btn,
  .header .header-right .account-actions a.create-btn {
    min-width: 75px !important;
    height: 40px !important;
    padding: 0 7px !important;
    font-size: 10px !important;
    gap: 4px !important;
  }

  .header .header-right .account-actions a.login-btn::before,
  .header .header-right .account-actions a.create-btn::before {
    width: 14px !important;
    height: 14px !important;
    flex-basis: 14px !important;
    background-size: 14px 14px !important;
  }

  .header .hamburger {
    width: 40px !important;
    min-width: 40px !important;
  }
}
