/*
Theme Name: KL Carrosserie Premium V9
Author: KL Carrosserie
Description: Site vitrine automobile responsive, Marseille.
Version: 9.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kl-carrosserie
*/
:root{--yellow:#ffcf19;--ink:#202226;--gray:#62676e;--light:#f3f4f5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #a87c00;outline-offset:4px}img{max-width:100%;display:block}h1,h2,h3,p{margin:0 0 16px}h1,h2,h3{line-height:1.12;letter-spacing:-.04em}h1{font-size:clamp(44px,6vw,88px)}h2{font-size:clamp(30px,4vw,48px)}h3{font-size:24px}.wrap{width:min(1200px,92%);margin:auto}.top{background:#24262a;color:#eee;font-size:13px;padding:8px 0}.top .wrap,.nav,.actions{display:flex;align-items:center;justify-content:space-between;gap:18px}.header{position:sticky;top:0;background:#fff;z-index:10;border-bottom:1px solid #e6e6e6}.nav{min-height:80px}.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:-.04em;font-size:22px;line-height:1}.brand small{display:block;font-size:10px;letter-spacing:.18em;color:#686b70;margin-top:6px}.mark{background:var(--yellow);color:#222;border-radius:12px;padding:13px;font-size:25px;font-style:italic}.custom-logo{max-width:68px;max-height:68px;object-fit:contain}.links{display:flex;gap:24px;font-size:14px;font-weight:650}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--yellow);color:#18191b;border:0;border-radius:9px;padding:14px 22px;font-weight:800;line-height:1.3;cursor:pointer}.btn:hover{filter:brightness(.94)}.btn.dark{background:#25272b;color:white}.btn.outline{background:transparent;color:white;border:1px solid #777}.hero{background:#27292d;color:white;padding:76px 0 64px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:45px;align-items:center}.eyebrow{font-size:12px;font-weight:850;letter-spacing:.16em;text-transform:uppercase;color:#806200;margin-bottom:16px}.hero .eyebrow,.dark-section .eyebrow{color:var(--yellow)}.hero h1 span{color:var(--yellow)}.hero p{color:#d4d5d7;font-size:19px;max-width:560px}.hero .actions{justify-content:flex-start;flex-wrap:wrap;margin-top:30px}.hero-photo{position:relative;border-radius:24px;overflow:hidden;border:1px solid #777;background:#3c3e42}.hero-photo img{width:100%;aspect-ratio:1.3;object-fit:cover}.photo-label{position:absolute;bottom:15px;left:15px;background:#222;color:white;padding:8px 14px;border-radius:7px;font-size:12px}.strip{background:var(--yellow);padding:22px 0}.strip .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;font-weight:800;text-align:center}.section{padding:80px 0}.section-head{max-width:720px;margin-bottom:32px}.section-head p,.card p,.muted{color:var(--gray)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{border:1px solid #e2e4e6;border-radius:18px;padding:26px;background:white;box-shadow:0 8px 25px #20222608}.card .num{display:inline-grid;place-items:center;background:#fff3bd;width:48px;height:48px;border-radius:12px;font-weight:900;margin-bottom:22px}.card a{font-weight:800;color:#735800}.light{background:var(--light)}.vehicle{padding:0;overflow:hidden}.vehicle img{width:100%;height:220px;object-fit:cover}.vehicle .inner{padding:22px}.dark-section{background:#27292d;color:white}.dark-section p{color:#d4d5d7}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.step{border-top:3px solid var(--yellow);padding:20px 0}.step b{color:var(--yellow);font-size:28px}.contact{display:grid;grid-template-columns:1fr 1fr;gap:32px}.contact a:not(.btn){overflow-wrap:anywhere}.contact .card{padding:32px}details{border-bottom:1px solid #ddd;padding:18px 0}summary{cursor:pointer;font-weight:750}details p{margin:12px 0 0;color:var(--gray)}footer{background:#202226;color:#d9d9d9;padding:35px 0 90px}footer a{color:white}.floating{position:fixed;bottom:20px;right:20px;z-index:20;background:#168647;color:white;box-shadow:0 6px 25px #0003}.notice{font-size:13px;color:#686b70;margin-top:20px}.mobile-toggle{display:none}.page-content{min-height:45vh}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;z-index:100;background:white;padding:12px}@media(max-width:850px){.hero-grid,.contact{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}.links{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:22px;flex-direction:column;border-bottom:1px solid #ddd}.links.open{display:flex}.mobile-toggle{display:block;background:none;border:0;font-size:24px}.nav>.btn{display:none}.strip .wrap{grid-template-columns:repeat(2,1fr)}.hero{padding:48px 0}.section{padding:55px 0}.top .wrap{flex-wrap:wrap;gap:4px}.steps{grid-template-columns:1fr}}@media(max-width:520px){.grid{grid-template-columns:1fr}.brand{font-size:19px}.hero-photo img{aspect-ratio:1.5}.floating{bottom:12px;right:12px}.vehicle img{height:200px}}
/* Premium automotive edition */
:root{--yellow:#ffd21c;--ink:#17191d;--gray:#5e646c;--light:#eef0f2}body{background:#f9fafb}.wrap{width:min(1360px,91%)}.header{background:#ffffffed;backdrop-filter:blur(18px);transition:box-shadow .3s}.header.scrolled{box-shadow:0 10px 35px #1112}.nav{min-height:84px}.mark{border-radius:50%;box-shadow:0 0 0 4px #ffcf1930}.links a{position:relative}.links a:after{content:'';position:absolute;bottom:-7px;left:0;width:0;height:2px;background:var(--yellow);transition:width .25s}.links a:hover:after{width:100%}.btn{border-radius:999px;padding:17px 25px;transition:transform .25s,box-shadow .25s,background .25s}.btn:hover{transform:translateY(-3px);box-shadow:0 10px 25px #ffcf1940}.hero{position:relative;isolation:isolate;background:radial-gradient(ellipse at 85% 40%,#4c5058 0%,#24272d 38%,#111318 80%);padding:105px 0 95px}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(120deg,transparent 0 85px,#ffffff05 86px 87px);mask-image:linear-gradient(90deg,transparent,#000)}.hero-grid{gap:5%;grid-template-columns:1fr 1.08fr}.hero h1{font-size:clamp(48px,6.5vw,100px);letter-spacing:-.075em;line-height:.98;margin:24px 0}.hero p{line-height:1.7}.hero-photo{border-radius:32px;box-shadow:0 35px 90px #0007;border:1px solid #ffffff30;transform:rotate(-1deg);transition:transform .5s}.hero-photo:hover{transform:rotate(0)}.hero-photo img{aspect-ratio:1.12;transition:opacity .25s,transform .7s}.hero-photo:hover img{transform:scale(1.035)}.hero-photo:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#0009);pointer-events:none}.photo-label,.hero-index,.hero-controls{z-index:2}.photo-label{background:#17191de0;backdrop-filter:blur(12px);border-radius:999px;bottom:20px;left:18px}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--yellow);margin-right:8px;box-shadow:0 0 12px #ffd21c99}.hero-index{position:absolute;top:20px;right:20px;background:#17191dbb;color:white;padding:7px 12px;border-radius:99px;font-size:12px;letter-spacing:.1em}.hero-controls{position:absolute;bottom:18px;right:18px;display:flex;gap:6px}.hero-controls button{border:1px solid #fff6;background:#17191ddd;color:white;width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:20px}.hero-controls button:hover{background:var(--yellow);color:#17191d}.brand-band{background:#191b20;color:#d9dce1;padding:22px 0;border-top:1px solid #ffffff14}.brand-band .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.brand-band span{font-size:10px;letter-spacing:.18em;color:#a6aab1}.brand-band b{font-size:clamp(14px,2vw,24px);letter-spacing:-.04em}.strip{padding:24px 0}.section{padding:100px 0}.section-head{margin-bottom:42px}.section h2{font-size:clamp(34px,4.6vw,64px);letter-spacing:-.065em}.card{border-radius:24px;padding:32px;position:relative;transition:transform .35s,box-shadow .35s,border-color .35s;box-shadow:0 12px 40px #17191d07}.card:hover{transform:translateY(-7px);box-shadow:0 20px 50px #17191d15;border-color:#e8bc13}.card .num{border-radius:50%;background:#ffdf49;color:#17191d}.card h3{font-size:25px}.card a:not(.btn):hover{text-decoration:underline}.vehicle{padding:0}.vehicle img{height:260px;transition:transform .6s}.vehicle:hover img{transform:scale(1.045)}.vehicle .inner{position:relative;background:white;padding:26px}.dark-section{background:radial-gradient(ellipse at top right,#444850,#15171b 65%)}.step{padding:28px 20px 24px 0}.step b{font-size:48px;line-height:1.2}.contact .card{border-top:5px solid var(--yellow)}details{background:white;border:1px solid #e0e3e7;border-radius:16px;padding:22px;margin-bottom:12px}summary{list-style:none}summary:after{content:'+';float:right;font-size:24px;line-height:1}details[open] summary:after{content:'−'}.floating{background:#138344;box-shadow:0 8px 32px #0004}.reveal-pending{opacity:0;transform:translateY(25px);transition:opacity .65s ease,transform .65s ease;transition-delay:var(--delay,0ms)}.reveal-pending.revealed{opacity:1;transform:translateY(0)}.reveal-pending.revealed.card:hover{transform:translateY(-7px)}@media(min-width:851px){body.admin-bar .header{top:32px}}@media(max-width:850px){.hero-grid{grid-template-columns:1fr}.hero{padding:60px 0}.hero-photo{transform:none}.section{padding:65px 0}.brand-band .wrap{justify-content:center}.hero-photo img{aspect-ratio:1.5}.photo-label{font-size:10px;max-width:65%}.hero-controls button{width:34px;height:34px}.vehicle img{height:220px}}@media(max-width:520px){.hero h1{font-size:52px}.card{padding:24px}.vehicle{padding:0}.hero .actions .btn{width:100%}.strip .wrap{font-size:13px}.brand-band span{width:100%;text-align:center}.brand-band .wrap{gap:14px}.section h2{font-size:38px}.hero-photo{border-radius:20px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.reveal-pending{opacity:1;transform:none}}

/* Mobile-first refinement */
.mobile-dock{display:none}.hero-photo{touch-action:pan-y}.hero-controls button{min-width:44px;min-height:44px}.btn{min-height:48px}.links a{padding:10px 0}.scroll-meter{position:absolute;bottom:0;left:0;height:3px;background:var(--yellow);width:100%;transform:scaleX(0);transform-origin:left;pointer-events:none}.hero-grid>div:first-child{min-width:0}.hero-photo img{display:block}.card{min-width:0}.card a{overflow-wrap:anywhere}.mobile-toggle{cursor:pointer}.vehicle img{background:#24262a}
@media(max-width:850px){html{scroll-padding-top:85px}.wrap{width:calc(100% - 36px)}.top{display:none}.header{backdrop-filter:none;background:#fff}.nav{min-height:70px;gap:10px}.brand{gap:10px;font-size:clamp(16px,4.5vw,22px)}.brand small{font-size:9px}.mark{padding:10px;font-size:21px}.mobile-toggle{width:48px;height:48px;border-radius:14px;background:#eef0f2;font-size:25px;flex-shrink:0}.links{padding:12px 20px 24px;gap:0;box-shadow:0 16px 30px #0002;max-height:70vh;overflow:auto}.links.open{animation:menuIn .2s ease-out}.links a{padding:16px 4px;border-bottom:1px solid #e8e8e8}.hero{padding:36px 0 30px}.hero-grid{gap:24px}.hero h1{font-size:clamp(36px,10.5vw,62px);line-height:1.04;margin-bottom:16px}.hero p{font-size:16px;line-height:1.6}.hero .eyebrow{font-size:10px;letter-spacing:.13em}.hero .actions{margin-top:20px;gap:10px}.hero .actions .btn{width:100%;min-height:52px}.hero-photo{border-radius:18px}.hero-photo img{aspect-ratio:1.45;object-fit:cover}.hero-controls button{width:44px;height:44px}.photo-label{left:10px;bottom:12px;max-width:56%;padding:7px 9px}.brand-band{padding:15px 0}.brand-band .wrap{gap:12px}.strip{padding:16px 0}.strip .wrap{gap:10px;font-size:13px;text-align:left}.section{padding:46px 0}.section h2{font-size:clamp(30px,8vw,46px);line-height:1.1}.section-head{margin-bottom:24px}.grid{gap:12px}.card{padding:22px;border-radius:18px}.card h3{font-size:22px}.card .num{margin-bottom:14px;width:40px;height:40px}.card a:not(.btn){display:inline-flex;align-items:center;min-height:44px}.vehicle{padding:0}.vehicle .inner{padding:18px}.vehicle img{height:190px}.contact .card{padding:22px}.step{padding:16px 0}.steps{gap:8px}.floating{display:none}.mobile-dock{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fff;border-top:1px solid #e4e6e9;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));gap:10px;box-shadow:0 -6px 24px #0001}.mobile-dock .btn{flex:1;background:#128044;color:#fff;font-size:14px;padding:12px}.mobile-dock .dock-call{display:grid;place-items:center;min-width:54px;border-radius:12px;background:#eef0f2;font-size:22px}.mobile-dock .btn span{font-size:18px}footer{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}.reveal-pending{opacity:1;transform:none}.reveal-pending.revealed{animation:mobileReveal .38s ease-out both;animation-delay:var(--delay,0ms)}body.admin-bar .header{top:46px}}
@media(max-width:520px){.grid{grid-template-columns:1fr}#vehicules .grid{display:grid;grid-auto-flow:column;grid-auto-columns: min(83vw,340px);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:2px;padding:2px 2px 16px;overscroll-behavior-inline:contain}#vehicules .grid>.card{scroll-snap-align:start}#vehicules .grid .card{min-height:310px}#vehicules .grid .card .btn{white-space:normal}.contact{gap:20px}details{padding:16px}summary{padding-right:8px}.hero-index{font-size:12px}}
@media(hover:none){.card:hover,.reveal-pending.revealed.card:hover{transform:none;box-shadow:0 8px 25px #20222608}.vehicle:hover img{transform:none}.btn:active{transform:scale(.98)}}
@keyframes mobileReveal{from{opacity:.55;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes menuIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.reveal-pending.revealed{animation:none!important}.links.open{animation:none!important}}

/* Photographies des prestations */
.service-card{padding:0;overflow:hidden;display:flex;flex-direction:column}.service-photo{overflow:hidden;aspect-ratio: 16/10;background:#24262a}.service-photo img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}.service-body{padding:26px;flex:1;display:flex;flex-direction:column;align-items:flex-start}.service-body a{margin-top:auto}.service-body .num{margin-top:-47px;position:relative;border:3px solid white;box-shadow:0 3px 12px #0002}.hero-photo img{object-position:center 55%}@media(hover:hover) and (prefers-reduced-motion:no-preference){.service-card:hover img{transform:scale(1.045)}}@media(max-width:850px){.service-card{padding:0}.service-body{padding:20px}.service-body .num{margin-top:-40px}.service-photo{aspect-ratio: 4/3}.hero-photo img{aspect-ratio: 1.15;object-position:center}}

.kl-header-logo{display:block;flex:0 0 auto;width:64px;height:64px;border-radius:50%;overflow:hidden}.kl-header-logo img{width:100%;height:100%;object-fit:contain}@media(max-width:520px){.kl-header-logo{width:46px;height:46px}}

/* V9 mobile */
.mobile-toggle{color:#202226;-webkit-appearance:none;appearance:none}.kl-header-logo{width:64px;height:64px}.kl-header-logo img{display:block;width:100%;height:100%;object-fit:contain}.dock-call{color:#202226}.mobile-dock .btn{min-width:0}@media(max-width:850px){.nav{min-height:68px}.brand{font-size:clamp(15px,4vw,20px);gap:8px}.brand small{letter-spacing:.12em}.kl-header-logo{width:52px;height:52px}.mobile-toggle{color:#202226;background:#ffcf19;width:44px;height:44px}.hero{padding:24px 0}.hero-grid{gap:16px}.hero h1{font-size:clamp(34px,9vw,50px);margin-bottom:12px}.hero .eyebrow{margin-bottom:10px}.hero p{font-size:15px;line-height:1.5;margin-bottom:12px}.hero .actions{margin-top:12px;display:grid;grid-template-columns:1fr;gap:8px}.hero .actions .btn{min-height:44px;padding:10px 14px;font-size:15px}.hero-photo img{aspect-ratio:1;object-fit:contain;background:#202226}.mobile-dock{z-index:100}.section{padding:36px 0}}
