/* ===== SKD Garage — feuille de style commune ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#070b14;--bg2:#0b1220;--card:#101a2d;--card2:#142038;
  --line:rgba(255,255,255,.07);--line-b:rgba(59,130,246,.28);
  --text:#e6ecf5;--muted:#8a9ab3;--white:#fff;
  --blue:#3b82f6;--blue-l:#7db3ff;--cyan:#22d3ee;--ok:#22c55e;--bad:#ef4444;
  --grad:linear-gradient(135deg,#3b82f6,#06b6d4);
  --r:16px;--r-s:10px;
  --head:'Barlow Condensed','Arial Narrow',Impact,sans-serif;
  --body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{font-family:var(--body);background:var(--bg);color:var(--text);line-height:1.65;overflow-x:hidden;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--head);line-height:1.08;text-transform:uppercase;letter-spacing:.4px;color:var(--white)}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
.container{max-width:1200px;margin:0 auto;padding:0 1.4rem}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:6px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:#fff;color:#000;padding:.6rem 1rem;border-radius:8px;z-index:2000}
.skip:focus{left:8px}
.grad-text{background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* ===== Boutons ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.9rem 1.6rem;border-radius:50px;font-family:var(--body);font-weight:700;font-size:.95rem;border:1px solid transparent;cursor:pointer;transition:transform .25s,box-shadow .25s,background .25s,border-color .25s;white-space:nowrap}
.btn svg{width:18px;height:18px;flex-shrink:0}
.btn-primary{background:var(--grad);color:#fff;box-shadow:0 6px 24px rgba(59,130,246,.3)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 32px rgba(59,130,246,.5)}
.btn-outline{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.16);color:#fff}
.btn-outline:hover{background:rgba(59,130,246,.14);border-color:var(--line-b);transform:translateY(-3px)}
.btn-sm{padding:.6rem 1.15rem;font-size:.85rem}

/* ===== Bandeau du haut ===== */
.topbar{background:#050810;border-bottom:1px solid var(--line);font-size:.82rem;color:var(--muted)}
.topbar .container{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-top:.45rem;padding-bottom:.45rem;flex-wrap:wrap}
.open-pill{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;color:var(--text)}
.dot{width:9px;height:9px;border-radius:50%;background:var(--muted)}
.open-pill.is-open .dot{background:var(--ok);box-shadow:0 0 0 4px rgba(34,197,94,.2)}
.open-pill.is-closed .dot{background:var(--bad)}
.topbar a:hover{color:#fff}
.topbar-right{display:flex;gap:1.4rem}

/* ===== En-tête ===== */
.header{position:sticky;top:0;z-index:1000;background:rgba(7,11,20,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.6rem;padding-bottom:.6rem}
.brand{display:flex;align-items:center;gap:.8rem}
.brand img{height:44px;width:auto;border-radius:8px;border:1px solid var(--line-b)}
.brand-text{font-family:var(--head);font-weight:800;font-size:1.45rem;letter-spacing:1px;color:#fff;line-height:1}
.brand-text small{display:block;font-family:var(--body);font-size:.62rem;font-weight:500;letter-spacing:1.6px;color:var(--muted);margin-top:3px}
.nav{display:flex;align-items:center;gap:.3rem}
.nav a.link{padding:.5rem .95rem;border-radius:8px;font-size:.9rem;font-weight:600;color:var(--muted);transition:color .2s,background .2s}
.nav a.link:hover,.nav a.link.on{color:#fff;background:rgba(59,130,246,.12)}
.nav .btn{margin-left:.6rem}
.burger{display:none;background:none;border:1px solid var(--line);border-radius:10px;width:44px;height:44px;cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.burger span{width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .25s,opacity .25s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ===== Hero ===== */
.hero{position:relative;overflow:hidden;padding:4.5rem 0 4rem;isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;z-index:-2;
  background:radial-gradient(ellipse 60% 55% at 78% 40%,rgba(59,130,246,.22),transparent 70%),radial-gradient(ellipse 40% 40% at 10% 90%,rgba(6,182,212,.12),transparent 70%)}
.hero::after{content:"";position:absolute;inset:-20% -10%;z-index:-1;opacity:.5;transform:skewY(-8deg);
  background:repeating-linear-gradient(0deg,transparent 0 46px,rgba(59,130,246,.05) 46px 48px);
  mask-image:linear-gradient(90deg,transparent 15%,#000 70%);-webkit-mask-image:linear-gradient(90deg,transparent 15%,#000 70%)}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center}
.kicker{display:inline-flex;align-items:center;gap:.6rem;font-size:.78rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--blue-l);margin-bottom:1.1rem}
.kicker::before{content:"";width:34px;height:2px;background:var(--grad)}
.hero h1{font-size:clamp(2.7rem,6.2vw,4.8rem);font-weight:800;margin-bottom:1.2rem}
.hero p.lead{font-size:1.12rem;color:var(--muted);max-width:540px;margin-bottom:2rem}
.hero-btns{display:flex;flex-wrap:wrap;gap:.8rem;margin-bottom:2.2rem}
.chips{display:flex;flex-wrap:wrap;gap:.55rem}
.chip{display:inline-flex;align-items:center;gap:.45rem;background:rgba(59,130,246,.08);border:1px solid rgba(59,130,246,.2);padding:.4rem .9rem;border-radius:50px;font-size:.82rem;font-weight:600;color:var(--text)}
.chip svg{width:15px;height:15px;stroke:var(--cyan)}
.hero-visual{position:relative}
.hero-visual::before{content:"";position:absolute;inset:8% 4%;background:var(--grad);filter:blur(70px);opacity:.28;border-radius:50%;z-index:-1}
.hero-visual img{width:100%;border-radius:22px;border:1px solid var(--line-b);box-shadow:0 30px 70px rgba(0,0,0,.55)}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:3.2rem;border-top:1px solid var(--line);padding-top:2rem}
.stat b{display:block;font-family:var(--head);font-size:3rem;font-weight:800;line-height:1}
.stat span{font-size:.82rem;color:var(--muted);letter-spacing:.4px}

/* ===== Sections ===== */
.section{padding:5.5rem 0}
.alt{background:var(--bg2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sec-head{max-width:640px;margin-bottom:3rem}
.sec-head.center{text-align:center;margin-left:auto;margin-right:auto}
.sec-head h2{font-size:clamp(2.2rem,4.6vw,3.4rem);font-weight:800;margin:.4rem 0 .8rem}
.sec-head p{color:var(--muted);font-size:1.05rem}

/* Services */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.svc{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:1.8rem;position:relative;overflow:hidden;transition:transform .3s,border-color .3s}
.svc::before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:var(--grad);transform:scaleX(0);transform-origin:left;transition:transform .4s}
.svc:hover{transform:translateY(-5px);border-color:var(--line-b)}
.svc:hover::before{transform:scaleX(1)}
.ico{width:54px;height:54px;border-radius:14px;background:rgba(59,130,246,.12);border:1px solid rgba(59,130,246,.25);display:grid;place-items:center;margin-bottom:1.1rem}
.ico svg{width:27px;height:27px;stroke:var(--cyan);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.svc h3{font-size:1.5rem;font-weight:700;margin-bottom:.55rem}
.svc p{color:var(--muted);font-size:.93rem}
.ticks li{position:relative;padding-left:1.35rem;color:var(--muted);font-size:.92rem;margin:.25rem 0}
.ticks li::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:2px;background:var(--grad);transform:rotate(45deg)}
.svc.photo{padding:0;grid-column:span 3;display:grid;grid-template-columns:1fr 1fr;min-height:260px}
.svc.photo+.svc.photo{margin-top:0}
.svc.photo .ph{position:relative;min-height:240px}
.svc.photo .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.svc.photo .tx{padding:2rem 2.2rem;display:flex;flex-direction:column;justify-content:center}
.svc.photo.rev .ph{order:2}
.plus{margin-top:1.2rem;background:linear-gradient(135deg,rgba(59,130,246,.14),rgba(6,182,212,.07));border:1px solid var(--line-b);border-radius:var(--r);padding:2rem 2.2rem;display:flex;gap:1.6rem;align-items:flex-start}
.plus .ico{margin:0;flex-shrink:0}
.plus h3{font-size:1.7rem;margin-bottom:.5rem}
.plus li{color:var(--muted);margin:.3rem 0;font-size:.95rem}

/* Tarifs */
.tarifs{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.tarif{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:2rem;display:flex;flex-direction:column}
.tarif.hot{border-color:var(--line-b);background:linear-gradient(180deg,var(--card2),var(--card))}
.tarif .tag{font-size:.74rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--blue-l)}
.tarif h3{font-size:1.5rem;margin:.3rem 0 .6rem}
.price{font-family:var(--head);font-size:3.4rem;font-weight:800;line-height:1;margin-bottom:1.2rem}
.price small{font-family:var(--body);font-size:.85rem;color:var(--muted);font-weight:500;margin-left:.3rem}
.tarif-note{margin-top:1.6rem;display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;color:var(--muted);font-size:.9rem}

/* Teaser salon */
.teaser{display:grid;grid-template-columns:1.05fr .95fr;gap:0;background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden}
.teaser .ph{position:relative;min-height:340px;background:#000}
.teaser .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.teaser .tx{padding:2.6rem}
.teaser h3{font-size:2.1rem;margin:.3rem 0 .6rem}
.teaser .meta{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 1.4rem}
.meta span{background:rgba(59,130,246,.09);border:1px solid rgba(59,130,246,.2);padding:.25rem .8rem;border-radius:50px;font-size:.8rem;color:var(--muted);font-weight:600}
.teaser .big{font-family:var(--head);font-size:3rem;font-weight:800;margin-bottom:1.4rem}
.teaser .big small{font-family:var(--body);font-size:.8rem;color:var(--muted);font-weight:500;margin-left:.5rem}
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.5rem}
.trio div{display:flex;gap:.7rem;align-items:flex-start;color:var(--muted);font-size:.9rem}
.trio svg{width:22px;height:22px;stroke:var(--cyan);fill:none;stroke-width:1.8;flex-shrink:0;margin-top:2px}
.trio b{display:block;color:#fff;font-size:.95rem}

/* Contact */
.contact-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:1.4rem}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:1.9rem}
.card h3{font-size:1.5rem;margin-bottom:1.1rem}
.row{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.1rem}
.row .ico{width:44px;height:44px;margin:0;border-radius:12px;flex-shrink:0}
.row .ico svg{width:21px;height:21px}
.row small{display:block;color:var(--muted);font-size:.78rem;letter-spacing:.5px;text-transform:uppercase}
.row b,.row a{font-weight:600;color:#fff}
.row a:hover{color:var(--cyan)}
.hours{width:100%;border-collapse:collapse;font-size:.92rem;margin-top:.3rem}
.hours td{padding:.42rem .2rem;border-bottom:1px solid var(--line);color:var(--muted)}
.hours td:last-child{text-align:right}
.hours tr.today td{color:#fff;font-weight:700}
.hours tr.today td:first-child::after{content:"  · aujourd'hui";color:var(--cyan);font-weight:600;font-size:.78rem}
.hours tr.off td:last-child{color:var(--bad)}
.map{border-radius:var(--r);overflow:hidden;border:1px solid var(--line);min-height:340px;background:var(--card);display:flex;flex-direction:column}
.map iframe{border:0;width:100%;flex:1;min-height:300px;filter:grayscale(.25) invert(.92) hue-rotate(185deg) contrast(.95)}
.map-foot{padding:.9rem 1.2rem;display:flex;justify-content:space-between;gap:1rem;align-items:center;flex-wrap:wrap;font-size:.9rem;color:var(--muted);border-top:1px solid var(--line)}

/* Pied de page */
.footer{background:#050810;border-top:1px solid var(--line);padding:3rem 0 6rem}
.footer-in{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.footer h3{font-size:1.6rem;margin-bottom:.4rem}
.footer p,.footer a{color:var(--muted);font-size:.9rem}
.footer a:hover{color:var(--cyan)}
.footer-bot{margin-top:2rem;padding-top:1.4rem;border-top:1px solid var(--line);color:var(--muted);font-size:.8rem;text-align:center}

/* Barre d'action mobile */
.mbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:900;background:rgba(7,11,20,.96);backdrop-filter:blur(14px);border-top:1px solid var(--line-b);padding:.55rem .7rem calc(.55rem + env(safe-area-inset-bottom));gap:.5rem}
.mbar a{flex:1;display:flex;align-items:center;justify-content:center;gap:.4rem;padding:.75rem .3rem;border-radius:12px;font-weight:700;font-size:.85rem;background:rgba(255,255,255,.06);color:#fff}
.mbar a.p{background:var(--grad)}
.mbar svg{width:17px;height:17px}

/* Animations d'apparition */
.rv{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.rv.in{opacity:1;transform:none}

/* ===== Page Salon ===== */
.crumb{padding:2.2rem 0 .5rem;color:var(--muted);font-size:.88rem}
.crumb a{color:var(--blue-l)}
.page-h{padding:.5rem 0 2rem}
.page-h h1{font-size:clamp(2.6rem,6vw,4.2rem);font-weight:800}
.page-h p{color:var(--muted);font-size:1.05rem;margin-top:.4rem}
.veh{background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;margin-bottom:2rem}
.gal-main{position:relative;aspect-ratio:16/9;background:#05080f;cursor:zoom-in}
.gal-main img{width:100%;height:100%;object-fit:contain}
.arrow{position:absolute;top:50%;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;background:rgba(7,11,20,.72);backdrop-filter:blur(10px);border:1px solid var(--line-b);color:#fff;cursor:pointer;display:grid;place-items:center;transition:background .2s}
.arrow:hover{background:rgba(59,130,246,.45)}
.arrow svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2.2}
.arrow.l{left:1rem}.arrow.r{right:1rem}
.count{position:absolute;right:1rem;bottom:1rem;background:rgba(7,11,20,.78);border:1px solid var(--line-b);padding:.3rem .9rem;border-radius:50px;font-size:.8rem;font-weight:600}
.thumbs{display:flex;gap:.5rem;padding:.9rem 1.1rem;overflow-x:auto;background:var(--card2);scrollbar-width:thin}
.thumbs button{flex:0 0 auto;width:92px;height:62px;border-radius:8px;overflow:hidden;border:2px solid transparent;opacity:.5;cursor:pointer;padding:0;background:#000;transition:opacity .2s,border-color .2s}
.thumbs button:hover{opacity:.85}
.thumbs button.on{border-color:var(--blue);opacity:1}
.thumbs img{width:100%;height:100%;object-fit:cover}
.veh-body{padding:2.2rem 2.4rem}
.veh-top{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;align-items:flex-start;padding-bottom:1.6rem;border-bottom:1px solid var(--line);margin-bottom:1.8rem}
.veh-top h2{font-size:clamp(1.8rem,3.4vw,2.5rem);max-width:640px}
.veh-top h3{font-family:var(--body);text-transform:none;font-size:1rem;font-weight:500;color:var(--blue-l);margin:.5rem 0 .8rem;letter-spacing:0}
.veh-price{text-align:right}
.veh-price b{display:block;font-family:var(--head);font-size:3.6rem;font-weight:800;line-height:1}
.veh-price span{color:var(--muted);font-size:.85rem}
.spec-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;margin-bottom:1.8rem}
.spec{background:rgba(59,130,246,.06);border:1px solid rgba(59,130,246,.15);border-radius:12px;padding:.9rem 1rem}
.spec small{display:block;color:var(--muted);font-size:.72rem;letter-spacing:.8px;text-transform:uppercase}
.spec b{font-size:.98rem}
.notice{background:var(--card2);border:1px solid var(--line);border-radius:12px;padding:1.1rem 1.4rem;margin-bottom:1.8rem;color:var(--text)}
.notice strong{color:var(--blue-l)}
.eq h3{font-size:1.5rem;margin-bottom:1rem}
.eq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.3rem .8rem;margin-bottom:2rem}
.eq-grid li{position:relative;padding:.4rem .6rem .4rem 1.5rem;color:var(--muted);font-size:.92rem;border-radius:8px}
.eq-grid li::before{content:"";position:absolute;left:.4rem;top:1em;width:7px;height:7px;border-radius:2px;background:var(--grad);transform:rotate(45deg)}
.eq-grid li:hover{background:rgba(59,130,246,.06);color:var(--text)}
.cta-box{background:linear-gradient(135deg,rgba(59,130,246,.16),rgba(6,182,212,.08));border:1px solid var(--line-b);border-radius:18px;padding:2.2rem;text-align:center}
.cta-box h4{font-size:2rem;margin-bottom:.4rem}
.cta-box p{color:var(--muted);margin-bottom:1.4rem}
.cta-box .hero-btns{justify-content:center;margin:0}
.note{display:flex;gap:1rem;align-items:center;justify-content:center;margin:2.5rem auto 0;max-width:720px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:1.3rem 1.6rem;color:var(--muted);font-size:.93rem}
.note svg{width:26px;height:26px;stroke:var(--cyan);fill:none;stroke-width:1.8;flex-shrink:0}
.lb{position:fixed;inset:0;z-index:3000;background:rgba(3,6,12,.96);display:none;align-items:center;justify-content:center}
.lb.open{display:flex}
.lb img{max-width:94vw;max-height:88vh;object-fit:contain;border-radius:8px}
.lb .x{position:absolute;top:1rem;right:1rem;width:46px;height:46px;border-radius:50%;border:1px solid var(--line-b);background:rgba(255,255,255,.08);color:#fff;font-size:1.4rem;cursor:pointer}
.lb .arrow{background:rgba(255,255,255,.1)}

/* ===== Mobile ===== */
@media (max-width:980px){
  .hero-grid,.teaser,.contact-grid{grid-template-columns:1fr}
  .hero{padding:3rem 0}
  .svc-grid{grid-template-columns:1fr 1fr}
  .svc.photo{grid-column:span 2}
  .tarifs{grid-template-columns:1fr}
  .trio{grid-template-columns:1fr}
  .spec-grid{grid-template-columns:1fr 1fr}
  .nav{position:fixed;inset:0;top:0;background:rgba(7,11,20,.985);flex-direction:column;justify-content:center;gap:.6rem;display:none;z-index:1100}
  .nav.open{display:flex}
  .nav a.link{font-size:1.3rem;padding:.8rem 1.6rem}
  .nav .btn{margin:1rem 0 0}
  .burger{display:flex;position:relative;z-index:1200}
  .mbar{display:flex}
  .topbar-right{display:none}
}
@media (max-width:640px){
  .container{padding:0 1.1rem}
  .section{padding:4rem 0}
  .svc-grid{grid-template-columns:1fr}
  .svc.photo{grid-column:auto;grid-template-columns:1fr}
  .svc.photo .ph,.svc.photo.rev .ph{order:0;min-height:200px}
  .stats{gap:.4rem}.stat b{font-size:2.3rem}
  .plus{flex-direction:column}
  .teaser .tx{padding:1.8rem}
  .veh-body{padding:1.5rem}
  .veh-price{text-align:left}
  .arrow{width:40px;height:40px}
  .brand-text small{display:none}
  .hero-btns .btn{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
  .rv{opacity:1;transform:none}
}
.meta{display:flex;flex-wrap:wrap;gap:.5rem}
.contact-grid>*,.hero-grid>*,.teaser>*{min-width:0}
.row>div:last-child{min-width:0}
.row a,.row b{overflow-wrap:anywhere}

/* ===== Correctifs après revue ===== */
:root{--grad-btn:linear-gradient(135deg,#2563eb,#0e7490)}
.btn-primary,.mbar a.p{background:var(--grad-btn)}
.cta-box h3{font-size:2rem;margin-bottom:.4rem}
.footer a,.row a{display:inline-block;padding:.5rem 0}
@media (max-width:980px){
  .header{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(7,11,20,.97)}
  .nav a.link{color:#fff}
}
@media (max-width:640px){
  .teaser .big small{display:block;margin:.35rem 0 0}
}
@media (max-width:480px){
  .row a{font-size:.9rem}
}

/* Nom complet dans le titre + menu mobile opaque */
.brand-text{font-size:1.3rem;line-height:1.05}
@media (max-width:980px){
  .nav{background:#070b14}
}
@media (max-width:640px){
  .brand-text{font-size:1.02rem;letter-spacing:.6px}
  .brand img{height:38px}
}
