:root {
  color-scheme: light;
  --ink: #151619;
  --muted: #484d56;
  --red: #df0714;
  --dark-red: #b40010;
  --line: #e2e3e7;
  --paper: #f4f5f8;
  --radius: 19px;
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: white; color: var(--ink); line-height: 1.58; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #de2432; outline-offset: 4px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); letter-spacing: -.047em; }
h2 { font-size: clamp(1.78rem, 3.2vw, 2.5rem); letter-spacing: -.03em; }
h3 { font-size: 1.14rem; }
p + p { margin-top: .7rem; }
.wrap { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 3; background: white; padding: 12px; transform: translateY(-210%); }
.skip:focus { transform: none; }
.site-header, footer { background: #080808; color: white; }
.bar { width: min(1190px, calc(100% - 48px)); margin-inline: auto; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-mark {
  position: relative;
  display: block;
  width: 172px;
  aspect-ratio: 1536 / 290;
  container-type: inline-size;
}
.brand-mark img {
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 100% 0, 100% 49%, 41.1% 49%, 41.1% 100%, 0 100%);
}
.brand-location {
  position: absolute;
  left: 41.6%;
  top: 52.5%;
  color: #fff;
  font-size: 7.9cqw;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .005em;
}
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; font-size: .82rem; font-weight: 700; text-transform: uppercase; }
nav a { transition: color .18s; }
nav a:hover, nav [aria-current] { color: #ff5d66; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 22px; border-radius: 999px; border: 1px solid transparent; background: white; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 700; text-align: center; cursor: pointer; transition: background .18s, color .18s, border .18s; }
.primary { background: var(--red); color: white; }
.primary:hover { background: var(--dark-red); }
.secondary { border-color: #d5d6dc; }
.secondary:hover { color: var(--dark-red); border-color: #d63b46; }
.nav-cta { text-transform: uppercase; letter-spacing: .08em; }
.home-hero { background: radial-gradient(ellipse at 14% 20%, #f9dcde 0%, #f8eeed 37%, #eff0f2 74%); padding-block: clamp(30px, 6vw, 74px) clamp(28px, 5vw, 54px); border-bottom: 1px solid #e7e5e9; }
.hero-grid { display: grid; grid-template-columns: 1.22fr 1fr; gap: 26px; }
.home-panel, .home-photo { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 16px 36px #26232f13; }
.home-panel { padding: clamp(25px, 3.6vw, 42px) clamp(22px, 3vw, 34px); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; background: #fdfdfd; font-size: .82rem; font-weight: 700; }
.badge span { width: 8px; height: 8px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 3px #ffdddd; }
.home-panel h1, .feature-hero h1 { margin: 16px 0; }
.lead { max-width: 720px; color: var(--muted); font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags a { border: 1px solid #f1d4da; border-radius: 99px; background: #fcf0f2; padding: 6px 12px; color: #333944; font-size: .78rem; font-weight: 700; }
.tags a:hover { border-color: var(--red); }
.home-photo { display: flex; flex-direction: column; }
.home-photo > img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; object-position: 55% 68%; flex: 1; }
.home-photo figcaption { padding: 14px 16px; display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.home-photo figcaption small { display: block; color: var(--muted); }
.section { padding-block: clamp(39px, 5.8vw, 72px); }
.subdued { background: var(--paper); }
.section h2 { margin: 8px 0 14px; }
.eyebrow { text-transform: uppercase; color: var(--dark-red); font-size: .78rem; font-weight: 800; letter-spacing: .13em; }
.cards { display: grid; gap: 16px; margin-top: 22px; }
.inline-cards, .activity-cards { grid-template-columns: repeat(3, 1fr); }
.activity-cards > div > .card { height: 100%; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 26px #1c202b0b; }
.card-image { width: 100%; height: 180px; object-fit: cover; object-position: 50% 64%; }
.card-body { padding: 19px; }
.card-body h3 + p { margin-top: 7px; }
.card-body p:not(.eyebrow) { color: var(--muted); }
.card-body .eyebrow { margin-bottom: 9px; }
.card-body .button { margin-top: 13px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 21px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 1.32; object-fit: cover; object-position: 50% 63%; }
.gallery figcaption { padding: 8px 12px; font-weight: 700; font-size: .9rem; }
.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 25px 48px; }
.feature-hero { background: radial-gradient(ellipse at 0 16%, #421419, #211c1d 52%, #1e1e20 85%); color: white; padding-block: clamp(38px, 5.6vw, 72px) clamp(40px, 5vw, 58px); }
.feature-grid { display: grid; grid-template-columns: 1.42fr 1fr; gap: 30px; align-items: center; }
.feature-hero h1 { font-size: clamp(2.1rem, 4vw, 3.15rem); letter-spacing: -.032em; }
.feature-overline, .feature-hero .lead, .checks { color: #eae5e6; }
.feature-overline { font-size: .9rem; }
.feature-hero .secondary { border-color: #a89a9b; background: transparent; color: white; }
.feature-hero .secondary:hover { background: #ffffff16; border-color: white; }
.feature-photo { background: #101011; border-radius: var(--radius); padding: 22px; box-shadow: 0 18px 34px #0006; }
.feature-photo figcaption { margin-bottom: 13px; font-weight: 700; }
.feature-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 66%; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; font-size: .87rem; }
.checks li::before { content: "✓"; color: #ff6972; font-weight: 800; margin-right: 9px; }
.pack-visual { height: 152px; background: #292b30 center / cover; }
.pack-zones { background-image: url('/assets/pack-zones-maroc.svg'); }
.pack-front { background-image: url('/assets/pack-front-maroc.svg'); }
.pack-full { background-image: url('/assets/pack-full-maroc.svg'); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.demo { padding: 17px; }
.demo-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.demo-head small, .demo > p { color: var(--muted); }
.demo > p { margin-top: 11px; font-size: .9rem; }
.demo-image { width: 100%; aspect-ratio: 1.66; object-fit: cover; object-position: 50% 67%; }
.comparison, .finish-photo { border-radius: 13px; overflow: hidden; border: 1px solid #35353a; }
.comparison { --split: 50%; position: relative; }
.comparison-overlay { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); }
.divider { position: absolute; inset-block: 0; left: clamp(1px,var(--split),calc(100% - 1px)); transform: translateX(-50%); width: 2px; background: #fffd; display: grid; place-items: center; }
.divider span { width: 36px; height: 36px; margin-left: -17px; background: #212326db; color: white; display: grid; place-items: center; border-radius: 50%; }
.comparison-label { position: absolute; top: 10px; color: white; background: #18191dd9; padding: 3px 9px; border-radius: 99px; font-size: .68rem; }
.comparison-label.left { left: 10px; }
.comparison-label.right { right: 10px; }
.comparison input { position: absolute; inset: 0; margin: 0; padding: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparison:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.finish-select { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }
.finish-select button { border-radius: 99px; padding: 7px 13px; border: 1px solid var(--line); background: white; color: var(--dark-red); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.finish-select [aria-pressed=true] { border-color: #de1828; background: #fff0f1; }
.finish-photo { display: grid; background: #191919; }
.finish-photo img { grid-area: 1 / 1; opacity: 0; transition: opacity .24s ease; }
.finish-photo .is-active { opacity: 1; }
.demo .visual-credit { font-size: .75rem; }
.partner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 4vw, 34px); border-top: 4px solid var(--red); }
.partner p:not(.eyebrow) { max-width: 560px; }
.partner .actions { min-width: max-content; }
.steps, .faq { margin-top: 18px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 14px 12px 14px 56px; background: #fff; border: 1px solid var(--line); border-radius: 14px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fce9ec; color: var(--dark-red); font-weight: 800; }
.steps strong, .steps span { display: block; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { padding: 8px 0 0 18px; color: var(--muted); }
.form-card { padding: 20px; display: grid; gap: 13px; }
.form-card label { display: grid; gap: 5px; font-size: .88rem; font-weight: 700; }
.form-card > button { justify-self: start; }
.form-card input, .form-card select, .form-card textarea { width: 100%; min-height: 40px; font: inherit; background: #fafafa; color: var(--ink); border: 1px solid #c6c9cf; border-radius: 8px; padding: 8px; }
.form-card textarea { resize: vertical; }
.result { border-top: 1px solid var(--line); padding-top: 13px; }
.result .actions { margin-top: 8px; }
.result [role=status] { font-size: .85rem; margin-top: 7px; }
.contact > div > a { display: inline-block; margin-top: 14px; color: var(--dark-red); font-weight: 700; }
.product-cards { grid-template-columns: repeat(4, 1fr); }
.prowrap-film { background: #111315; color: #fff; }
.prowrap-film .lead { color: #e5e0e0; }
.film-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); align-items: center; gap: clamp(28px, 6vw, 90px); }
.film-copy { max-width: 630px; }
.film-copy > p:not(.eyebrow) { line-height: 1.6; }
.film-frame { max-width: 390px; justify-self: center; width: 100%; }
.film-frame video { aspect-ratio: 464 / 832; }
.prowrap-film .button.secondary { background: transparent; color: white; border-color: #888; }
@media (max-width: 690px) { .film-grid { grid-template-columns: 1fr; } .film-frame { width: min(100%, 350px); } }
.pro-hero { padding-block: clamp(44px, 9vw, 112px); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-block: 32px; font-size: .88rem; color: #ececec; }
.footer a:hover { color: #ff727b; }
@media (max-width: 920px) {
  .bar { padding-block: 13px; gap: 16px; }
  nav { gap: 9px 14px; font-size: .75rem; }
  .partner { flex-wrap: wrap; }
  .partner .actions { min-width: 0; }
}
@media (max-width: 690px) {
  .wrap, .bar { width: calc(100% - 34px); }
  .bar { display: grid; gap: 10px; grid-template-columns: 1fr auto; }
  .brand-mark { width: 146px; }
  nav { grid-column: 1 / -1; grid-row: 2; gap: 9px 12px; }
  .nav-cta { min-height: 37px; padding: 6px 15px; }
  .hero-grid, .feature-grid, .demo-grid, .contact { grid-template-columns: 1fr; }
  .inline-cards, .activity-cards, .gallery, .product-cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-photo > img { height: 300px; min-height: 0; flex: auto; }
  .feature-photo img { aspect-ratio: 4 / 3; }
  .card-image { height: 140px; }
}
@media (max-width: 420px) {
  .inline-cards, .activity-cards, .steps { grid-template-columns: 1fr; }
  .demo-head { display: block; }
  .home-photo figcaption .button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.official-distributor {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 13px;
  border-left: 3px solid var(--red);
  background: #fff0f1;
  color: var(--dark-red);
  font-weight: 750;
}
.official-distributor:hover { text-decoration: underline; text-underline-offset: 3px; }
#prowrap .partner .actions { min-width: 0; max-width: 380px; }

.performance-photo img { aspect-ratio: 3 / 2; }
.performance-photo figcaption { margin: 10px 0 0; font-size: .86rem; }

/* Raid en buggy */
.raid-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #131517; padding-block: clamp(54px, 8vw, 105px); }
.raid-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 82% 24%, #a94b2a 0%, #592d28 28%, transparent 54%), linear-gradient(150deg, #121315 28%, #2a2020 72%, #451819); }
.raid-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(26px, 5vw, 72px); }
.raid-kicker { display: inline-block; border-left: 3px solid #ed242e; padding-left: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #f5c7b2; }
.raid-hero h1 { margin: 20px 0; max-width: 700px; font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.065em; }
.raid-hero .lead { color: #e9ddd7; font-size: 1.12rem; }
.raid-hero .secondary { color: white; background: transparent; border-color: #b9a3a0; }
.raid-illustration { min-height: 410px; display: grid; place-items: center; border: 1px solid #ffffff30; border-radius: 22px; overflow: hidden; background: #252120; box-shadow: 0 25px 70px #0007; }
.raid-illustration svg { width: 100%; height: 100%; min-height: 410px; object-fit: cover; }
.raid-intro { max-width: 730px; }
.raid-intro p { font-size: 1.04rem; }
.raid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raid-card { padding: 25px; min-height: 205px; }
.raid-card .index { display: block; margin-bottom: 26px; color: #bd101e; font-size: .82rem; font-weight: 800; letter-spacing: .12em; }
.raid-card h3 { font-size: 1.3rem; margin-bottom: 9px; }
.raid-partner { background: #161719; color: #fff; border-top: 4px solid var(--red); border-radius: 20px; padding: clamp(25px, 4vw, 42px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: center; }
.raid-partner strong { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.035em; }
.raid-partner strong span { color: #f95a60; }
.raid-partner p { color: #e4e2e2; }
.raid-note { color: var(--muted); font-size: .86rem; margin-top: 15px; }
@media (max-width: 760px) { .raid-hero-grid, .raid-partner { grid-template-columns: 1fr; } .raid-illustration, .raid-illustration svg { min-height: 250px; } .raid-cards { grid-template-columns: 1fr; } }

.raid-photo { margin: 0; align-self: center; overflow: hidden; border-radius: 22px; background: #171719; box-shadow: 0 25px 70px #0007; border: 1px solid #ffffff30; }
.raid-photo img { width: 100%; height: auto; aspect-ratio: auto; }
.raid-photo figcaption { padding: 12px 18px; color: #eee; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.home-photo > img[src$="cayenne.webp"] { object-position: center 70%; }
.performance-photo img { object-position: center; }


/* Annuaire national des installateurs */
.network-hero { padding-block: clamp(60px,8vw,110px); }
.network-hero h1 { max-width: 830px; }
.network-layout { display:grid; grid-template-columns: minmax(320px,.9fr) minmax(350px,1.1fr); gap: clamp(20px,3vw,42px); align-items:start; margin-top:32px; }
.morocco-map { position:relative; align-self:start; aspect-ratio:1; overflow:hidden; border-radius:24px; background:radial-gradient(circle at 62% 40%,#29424a,#14242b 62%,#111a20); color:white; box-shadow:0 22px 60px #1113; }
.morocco-map svg { position:absolute; width:100%; height:100%; inset:0; }
.map-ocean,.map-sea { position:absolute; color:#9db8bd; opacity:.55; letter-spacing:.2em; font-size:.67rem; font-weight:800; pointer-events:none; }
.map-ocean { left:4%; top:55%; writing-mode:vertical-rl; transform:rotate(180deg); }
.map-sea { right:4%; top:1%; }
.map-city { position:absolute; left:var(--x); top:var(--y); transform:translate(-50%,-50%); padding:7px 10px; border:1px solid #ffffff70; border-radius:30px; background:#172127dd; color:#fff; font:inherit; font-size:.75rem; font-weight:700; cursor:pointer; white-space:nowrap; box-shadow:0 4px 12px #0005; }
.map-city::before { content:""; display:inline-block; width:7px; height:7px; border-radius:50%; margin-right:5px; background:#c5c5c5; vertical-align:middle; }
.map-city.is-listed::before { background:#f0343d; box-shadow:0 0 0 3px #e6343955; }
.map-city.is-selected { outline:2px solid #fff; background:#a71922; }
.map-city:hover,.map-city:focus-visible { background:#a71922; z-index:2; }
.map-caption { position:absolute; bottom:8px; left:18px; font-size:.7rem; color:#d6e1e3; }
.network-search { display:grid; gap:15px; scroll-margin-top:100px; }
.network-search label { display:grid; gap:7px; font-weight:700; }
.network-search input,.network-search select { width:100%; border:1px solid #ccc; border-radius:9px; background:#fff; padding:13px 15px; font:inherit; color:#151515; }
.directory-count { font-weight:800; margin:4px 0 0; }
.directory-results { display:grid; gap:15px; }
.directory-empty { background:#fff; border:1px solid #e4e0dd; border-radius:15px; padding:25px; line-height:1.6; }
.directory-empty .button { display:table; margin-top:16px; }
.directory-card { padding:24px; }
.directory-card h3 { margin:0 0 8px; font-size:1.45rem; }
.directory-location { font-weight:700; }
.directory-services { color:var(--muted); }
@media(max-width:760px) { .network-layout { grid-template-columns:1fr; } .map-city { padding:5px 7px; font-size:.68rem; } }

.feature-photo img[src$="trackday-bmw-m2.webp"] { object-position: 52% center; }
.feature-photo img[src$="audi.webp"] { object-position: 50% 65%; }
.catalogue-products { grid-template-columns:repeat(3,minmax(0,1fr)); }
.catalogue-products .card { overflow:hidden; }
.catalogue-products .product-photo { width:100%; height:185px; object-fit:cover; object-position:43% center; background:#d6d0c5; }
.catalogue-products .card-body { display:flex; flex-direction:column; }
.catalogue-products .product-spec { color:var(--muted); font-weight:700; font-size:.85rem; }
.catalogue-products .product-price { font-size:1.4rem; font-weight:800; letter-spacing:-.04em; margin:9px 0 0; }
.catalogue-products .button { align-self:flex-start; }
@media(max-width:800px){.catalogue-products{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.catalogue-products{grid-template-columns:1fr;}.catalogue-products .product-photo{height:215px;}}

/* Défilement narratif Maroc Auto Racing */
.site-header { position:sticky; top:0; z-index:40; box-shadow:0 1px 0 #ffffff22; }
.scroll-meter { position:fixed; top:0; left:0; width:100%; height:3px; z-index:60; pointer-events:none; background:linear-gradient(90deg,#bd0715,#ff3946); transform:scaleX(var(--page-progress,0)); transform-origin:left; }
.story { background:#080a0d; color:white; padding-bottom:12px; }
.story-intro { padding-block:clamp(56px,8vw,120px); }
.story-intro h2 { font-size:clamp(2.5rem,6vw,5.4rem); line-height:.96; letter-spacing:-.065em; margin:16px 0; }
.story-intro > p:last-child { color:#aeb3bd; }
.story-panel { position:sticky; top:78px; min-height:calc(100svh - 78px); display:flex; align-items:center; isolation:isolate; overflow:hidden; border-radius:22px 22px 0 0; background:#12151a; margin-top:10px; }
.story-panel:nth-of-type(1){z-index:1}.story-panel:nth-of-type(2){z-index:2}.story-panel:nth-of-type(3){z-index:3}
.story-panel > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transform:scale(1.08); transition:transform 1.1s cubic-bezier(.18,.7,.18,1); }
.story-panel.is-visible > img { transform:scale(1); }
.story-protect > img { object-position:54% center; }
.story-perform > img { object-position:55% center; }
.story-drive > img { object-position:50% center; }
.story-shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#07090ce8 2%,#0a0b0dc5 31%,#11101562 60%,#05050820 100%),linear-gradient(0deg,#07080a88,transparent 35%); }
.story-content { padding-block:60px; }
.story-index { color:#ff4552; font-weight:800; font-size:.85rem; letter-spacing:.24em; }
.story-content h2 { max-width:690px; font-size:clamp(3rem,7.3vw,7rem); line-height:.93; letter-spacing:-.068em; text-wrap:balance; margin:22px 0; }
.story-content > p:not(.story-index) { max-width:520px; font-size:clamp(1rem,1.5vw,1.25rem); color:#ecedf1; }
.story-content > .button { margin-top:28px; }
.story-content .button span { margin-left:9px; }
.story-secondary { background:transparent; border:1px solid #ffffff8a; color:white; }
.story-secondary:hover { background:#ffffff22; }
.story-photo-note { position:absolute; bottom:18px; right:clamp(18px,6vw,70px); font-size:.72rem; color:#ffffffa9; }
@media(prefers-reduced-motion:no-preference){
  .motion-ready .motion-enter { opacity:0; transform:translate3d(0,34px,0); transition:opacity .72s ease, transform .85s cubic-bezier(.2,.7,.2,1); transition-delay:var(--motion-delay,0ms); }
  .motion-ready .motion-enter.is-visible { opacity:1; transform:translate3d(0,0,0); }
  .motion-ready .story-panel .story-content > * { opacity:0; transform:translateY(32px); transition:opacity .7s ease,transform .9s cubic-bezier(.2,.7,.2,1); }
  .motion-ready .story-panel.is-visible .story-content > * { opacity:1; transform:translateY(0); }
  .story-panel .story-content > :nth-child(2) { transition-delay:.12s; }
  .story-panel .story-content > :nth-child(3) { transition-delay:.23s; }
  .story-panel .story-content > :nth-child(4) { transition-delay:.34s; }
}
@media(max-width:690px){
  .site-header { position:relative; }
  .story-panel { top:0; min-height:85svh; border-radius:15px 15px 0 0; }
  .story-shade { background:linear-gradient(0deg,#07080af2 3%,#080a0cd8 32%,#08090b4d 100%); }
  .story-content { align-self:flex-end; padding-block:32px 70px; }
  .story-content h2 { font-size:clamp(2.8rem,13vw,4.8rem); max-width:470px; }
  .story-panel > img { object-position:60% 36%; }
  .story-photo-note { bottom:13px; left:17px; right:auto; }
}

/* PPF coloré : scène, offre et formulaire dédiés */
.color-spotlight,.color-page-hero { position:relative; isolation:isolate; display:flex; align-items:center; overflow:hidden; background:#0c0f16; color:#fff; }
.color-spotlight { min-height:clamp(540px,75svh,850px); }
.color-page-hero { min-height:clamp(580px,80svh,880px); }
.color-spotlight > img,.color-page-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; object-position:58% center; }
.color-spotlight-shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#090b10ed 0%,#0a0e17c2 35%,#080b1566 66%,#05091112 100%),linear-gradient(0deg,#05070a70,transparent 50%); }
.color-spotlight-content,.color-page-hero-content { padding-block:80px; }
.color-spotlight h2,.color-page-hero h1 { max-width:810px; font-size:clamp(3.1rem,7vw,7rem); line-height:.95; letter-spacing:-.07em; margin:20px 0; text-wrap:balance; }
.color-page-hero h1 { font-size:clamp(3rem,7.6vw,7.6rem); }
.color-spotlight-content > p:not(.story-index),.color-page-hero-content > p:not(.story-index) { max-width:550px; font-size:clamp(1.05rem,1.6vw,1.3rem); color:#eef0f8; }
.color-spotlight-content > .button { margin-top:20px; }
.color-spotlight-content > span,.color-page-hero-content > small { display:block; color:#c2c6d1; font-size:.76rem; margin-top:28px; }
.color-offer-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:clamp(25px,5vw,72px); }
.color-offer-grid figure { margin:0; background:#12141a; border-radius:18px; overflow:hidden; }
.color-offer-grid img { display:block; width:100%; height:clamp(300px,30vw,440px); object-fit:cover; object-position:62% center; }
.color-offer-grid figcaption { color:#eee; background:#12141a; padding:12px 20px; font-size:.75rem; }
@media(max-width:760px){.color-offer-grid{grid-template-columns:1fr}.color-spotlight,.color-page-hero{min-height:690px;align-items:flex-end}.color-spotlight > img,.color-page-hero > img{object-position:64% center}.color-spotlight-shade{background:linear-gradient(0deg,#070a12f5 0%,#070a12d2 36%,#070a1270 72%,#070a1230 100%)}.color-spotlight-content,.color-page-hero-content{padding-block:260px 65px}.color-spotlight h2,.color-page-hero h1{font-size:clamp(3rem,12vw,5rem)}}

/* Direction sombre sur l'ensemble du site */
:root { color-scheme:dark; --ink:#f6f6f7; --muted:#b4b8c0; --paper:#111419; --line:#33373f; --dark-red:#ff5b65; }
body { background:#0a0c10; }
.section { background:#0b0d11; }
.section.subdued { background:#12151b; }
.card,.steps li { background:#191c22; border-color:#333740; box-shadow:0 13px 36px #0003; }
.card-body p:not(.eyebrow),.demo-head small,.demo > p,details p { color:#b6bac2; }
.gallery figure { background:#171a20; border-color:#333740; }
.button.secondary { color:#f4f5f7; border-color:#737985; background:#ffffff08; }
.button.secondary:hover { color:white; border-color:#ff6671; background:#e421321a; }
.finish-select button { background:#242830; color:#f4f5f7; border-color:#515661; }
.finish-select [aria-pressed=true] { background:#6b1420; border-color:#ff6671; color:white; }
.steps li::before { background:#682029; color:#fff; }
.form-card input,.form-card select,.form-card textarea { color:#f7f7f9; background:#101319; border-color:#595e68; }
.form-card input::placeholder,.form-card textarea::placeholder { color:#9aa1ab; }
.contact > div > a { color:#ff7079; }
.official-distributor { background:#75121e6b; color:#ffc8cb; }
.raid-note,.directory-services { color:#aeb4bd; }
.site-header { background:#060709; }
.skip { background:#f4f5f7; color:#111319; }
.network-search input,.network-search select { background:#171b22; color:#f5f6f7; border-color:#5d6570; }
.directory-empty { background:#191c22; border-color:#3b404a; }

/* L'accueil ouvre sur un vrai visuel, sans cartes blanches. */
.home-hero { position:relative; overflow:hidden; background:radial-gradient(circle at 70% 42%,#262b34 0%,#101216 41%,#07080a 78%); border:0; padding-block:0; color:#fff; }
.home-hero .hero-grid { position:relative; min-height:min(850px,calc(100svh - 78px)); max-width:1440px; width:100%; display:flex; align-items:center; padding:clamp(70px,8vw,130px) max(34px,calc((100% - 1160px)/2)); }
.home-panel { position:relative; z-index:2; width:min(590px,58%); background:transparent; box-shadow:none; border-radius:0; padding:0; }
.home-panel .badge { color:#f9f9fa; background:#a80d1e39; border:1px solid #c8485575; letter-spacing:.07em; text-transform:uppercase; }
.home-panel h1 { font-size:clamp(4.4rem,8.5vw,9rem); letter-spacing:-.088em; line-height:.83; margin:30px 0; text-shadow:0 10px 45px #0005; }
.home-panel h1::first-line { color:#fff; }
.home-panel .lead { color:#d7d9df; max-width:530px; font-size:clamp(1rem,1.3vw,1.2rem); }
.home-panel .tags { margin-top:36px; }
.home-panel .tags a { color:#d7d9df; border-color:#757b86; background:#151920c9; }
.home-panel .tags a:hover { border-color:#ff6771; color:#fff; }
.home-photo { position:absolute; z-index:0; inset:0 0 0 auto; width:66%; height:100%; border-radius:0; background:transparent; box-shadow:none; }
.home-photo::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,#07080a 0%,#080a0cf2 10%,#0a0b0eb3 32%,#07080a2c 64%,#07080a12 100%),linear-gradient(0deg,#07080ae9 0%,transparent 22%,transparent 76%,#08090b8a 100%); }
.home-photo > img { width:100%; height:100%; min-height:0; object-fit:cover; object-position:50% 64%; filter:brightness(.72) contrast(1.12) saturate(.7); }
.home-photo figcaption { position:absolute; z-index:1; bottom:28px; right:40px; border:1px solid #ffffff54; border-radius:10px; color:#fff; background:#090b0ec9; backdrop-filter:blur(7px); }
.home-photo figcaption small { color:#d0d3da; }
.home-photo figcaption .button { background:transparent; color:#fff; border:1px solid #ffffff75; }
.home-hero::after { content:""; position:absolute; bottom:0; left:0; right:0; height:4px; background:linear-gradient(90deg,#c30a1a 0%,#ed2635 30%,transparent 70%); }
@media(max-width:900px){
  .home-hero .hero-grid { min-height:700px; align-items:flex-end; padding:210px 25px 70px; }
  .home-photo { width:100%; }
  .home-photo::after { background:linear-gradient(0deg,#07080afb 0%,#07080adb 38%,#07080a45 75%,#07080a67 100%); }
  .home-photo > img { object-position:50% 43%; filter:brightness(.74) contrast(1.1) saturate(.8); }
  .home-panel { width:min(620px,100%); }
  .home-panel h1 { font-size:clamp(4rem,12vw,7rem); }
  .home-photo figcaption { display:none; }
}
@media(max-width:540px){
  .home-hero .hero-grid { min-height:850px; padding:210px 18px 42px; }
  .home-photo > img { object-position:50% 30%; }
  .home-panel h1 { font-size:clamp(3.6rem,15.4vw,5.7rem); margin:19px 0; }
  .home-panel .lead { font-size:.96rem; }
  .home-panel .tags { margin-top:25px; }
}

/* Ouverture vidéo courte et signature animée */
.home-photo .hero-video { position:absolute; inset:0; z-index:1; width:100%; height:100%; object-fit:cover; object-position:50% 60%; filter:brightness(.86) contrast(1.08); }
.home-photo::after { z-index:2; }
.home-photo figcaption { z-index:3; }
.hero-intro { position:absolute; z-index:5; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:23px; background:#07080a; pointer-events:none; overflow:hidden; }
.hero-intro .brand-mark { width:min(440px,72vw); filter:drop-shadow(0 13px 50px #e5002328); }
.intro-claim { color:#dadde3; letter-spacing:.36em; font-size:clamp(.63rem,1.25vw,.9rem); font-weight:800; text-align:center; }
.intro-line { position:absolute; top:53%; left:0; width:100%; height:4px; background:linear-gradient(90deg,transparent,#ed1428 28%,#f55c68 53%,transparent 75%); box-shadow:0 0 36px #e81130; transform-origin:left; }
@media(prefers-reduced-motion:no-preference){
  .hero-intro { animation:intro-out 2.35s both; }
  .hero-intro .brand-mark { animation:logo-in 1.5s both; }
  .intro-claim { animation:claim-in 1.3s .35s both; }
  .intro-line { animation:line-sweep 1.25s .18s both; }
  .home-panel > * { animation:hero-copy-in .8s 1.9s both; }
  .home-panel > h1 { animation-delay:2.02s; }
  .home-panel > .lead { animation-delay:2.12s; }
  .home-panel > .official-distributor { animation-delay:2.2s; }
  .home-panel > .actions { animation-delay:2.28s; }
  .home-panel > .tags { animation-delay:2.38s; }
  @keyframes intro-out { 0%,68%{opacity:1;visibility:visible} 100%{opacity:0;visibility:hidden} }
  @keyframes logo-in { from{opacity:0;transform:scale(.72) translateY(22px);filter:blur(10px)} 55%,100%{opacity:1;transform:scale(1) translateY(0);filter:blur(0)} }
  @keyframes claim-in { from{opacity:0;transform:translateY(18px)} 55%,100%{opacity:1;transform:translateY(0)} }
  @keyframes line-sweep { 0%{transform:scaleX(0);opacity:0} 30%{opacity:1} 75%{transform:scaleX(1);opacity:1} 100%{transform:scaleX(1);opacity:0} }
  @keyframes hero-copy-in { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
}
@media(prefers-reduced-motion:reduce){.hero-intro,.home-photo .hero-video{display:none}}

#packs .pack-photo{width:100%;aspect-ratio:1.55;object-fit:cover}#packs .visual-credit{font-size:.75rem;color:var(--muted)}@media(max-width:690px){#packs .inline-cards{grid-template-columns:1fr}}

.brand-film { background: #050507; }
.brand-film video { display: block; width: 100%; max-height: 80svh; aspect-ratio: 240 / 113; object-fit: contain; }

/* Une rangée de commandes sous la signature de l’atelier. */
.site-header .bar {
  display:grid; grid-template-columns:minmax(0, 1fr) auto auto; gap:11px 16px;
  width:min(1190px,calc(100% - 40px)); padding-block:14px 10px;
}
.site-header .brand { justify-self:start; }
.site-header .nav-cta { grid-area:1 / 3; min-height:40px; }
.site-header nav {
  grid-area:2 / 1 / 3 / -1; display:flex; flex-wrap:nowrap; min-width:0;
  overflow-x:auto; padding:3px 2px 5px; gap:6px;
  scrollbar-width:thin; scrollbar-color:#585b63 transparent;
  scroll-snap-type:x proximity; text-transform:none; font-size:.82rem;
}
.site-header nav a {
  flex:1 0 auto; display:inline-flex; align-items:center; justify-content:center;
  gap:8px; min-height:44px; padding:0 12px; white-space:nowrap;
  border:1px solid #383b41; border-radius:8px; color:#f9fafb;
  background:linear-gradient(160deg,#25272b,#151619); scroll-snap-align:start;
  transition:background .16s,border-color .16s;
}
.site-header nav svg { fill:none; stroke:#ff6268; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.site-header nav a:hover, .site-header nav a[aria-current] { color:white; border-color:#d44850; background:#371c21; }
.site-header nav a:focus-visible { outline:2px solid white; outline-offset:1px; }
@media(max-width:760px) {
  .site-header .bar { width:100%; padding:10px 0 0; gap:7px 0; }
  .site-header .brand { margin-left:16px; }
  .site-header .nav-cta { margin-right:16px; }
  .site-header nav { padding:3px 16px 10px; scroll-padding-inline:16px; }
  .site-header nav a { flex:0 0 auto; }
}

.realisation-card {
  align-self: start;
  overflow: hidden;
  border: 1px solid #333740;
  border-radius: var(--radius);
  background: #171a20;
}
.realisation-card summary {
  cursor: pointer;
  list-style: none;
}
.realisation-card summary::-webkit-details-marker { display: none; }
.realisation-card summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
.realisation-card summary span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 700;
}
.realisation-card summary span::after { content: "+" / ""; }
.realisation-card[open] summary span::after { content: "−" / ""; }
.realisation-content { padding: 0 12px 12px; }
.realisation-content p { margin: 0 0 8px; }
.video-frame {
  box-sizing: border-box;
  padding: clamp(5px, 1vw, 9px);
  overflow: hidden;
  border: 1px solid #565a63;
  border-top-color: #c94a51;
  border-radius: 16px;
  background: linear-gradient(155deg, #2a2e36, #101114 75%);
  box-shadow: 0 12px 28px #0006;
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  background: #090a0d;
  object-fit: contain;
}
.video-frame-portrait {
  max-width: min(100%, 340px, 40vh);
  margin-inline: auto;
}
.realisation-content .video-frame {
  margin-top: 12px;
}
.raid-photo {
  width: min(100%, 370px);
  justify-self: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.raid-photo figcaption {
  padding-inline: 0;
  text-align: center;
}

.ppf-palette { scroll-margin-top: 112px; }
.ppf-configurator {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(16px, 3vw, 32px);
  margin-top: 24px;
}
.ppf-preview {
  position: sticky;
  top: 116px;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid #444854;
  border-radius: var(--radius);
  background: #15171c;
  box-shadow: 0 12px 30px #0005;
}
.ppf-preview img { display: block; width: 100%; height: auto; }
.ppf-preview figcaption { display: grid; gap: 3px; padding: 12px 16px; color: #f5f5f7; }
.ppf-preview small { color: #c7c9cf; }
.ppf-palette-list { display: grid; gap: 8px; }
.ppf-swatches { display: flex; gap: 6px; }
.ppf-swatch {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 84px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #545760;
  border-radius: 8px;
  background: #f5f5f5;
  color: #fff;
  cursor: pointer;
  transition: flex-grow .32s ease, border-color .2s ease;
}
.ppf-swatch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ppf-swatch span {
  position: absolute;
  inset: auto 0 0;
  padding: 4px 5px;
  background: #12141ae8;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.15;
}
.ppf-swatch[aria-pressed="true"] { border-color: #ff6268; box-shadow: inset 0 0 0 1px #ff6268; }
.ppf-swatch[aria-pressed="true"] span { background: #821e27; }
.ppf-swatch:focus-visible { flex-grow: 3; outline: 2px solid #fff; outline-offset: -3px; }
@media (hover: hover) {
  .ppf-swatch:hover { flex-grow: 3; }
}
@media (max-width: 760px) {
  .ppf-configurator { grid-template-columns: 1fr; }
  .ppf-preview { top: 8px; }
  .ppf-preview img { max-height: 34svh; object-fit: contain; background: #090a0d; }
  .ppf-swatch { min-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .ppf-swatch { transition: none; }
}

.trackdays-photo img { height: auto; aspect-ratio: auto; }

#drift { scroll-margin-top: 120px; }

.drift-scene {
  margin-block: 24px;
  overflow: hidden;
  border: 1px solid #42434a;
  border-radius: var(--radius);
  background: #202124;
}
.drift-scene img {
  display: block;
  width: 100%;
  aspect-ratio: 2.35;
  object-fit: cover;
  object-position: 42% 55%;
}
@media (max-width: 600px) {
  .drift-scene img { aspect-ratio: 1.75; }
}
@media (prefers-reduced-motion: no-preference) {
  .drift-scene.is-playing img { animation: drift-camera 3.5s ease-out; }
}
@keyframes drift-camera {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}

.site-language { grid-area: 1 / 2; align-self: center; }
.site-language select {
  width: auto;
  max-width: 112px;
  min-height: 40px;
  color: #fff;
  background: #181a1e;
  border: 1px solid #4c4f57;
  border-radius: 8px;
  padding: 4px 7px;
  font: inherit;
  font-size: .82rem;
}
.assistant-launch, .assistant-panel {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  z-index: 50;
}
.assistant-launch {
  bottom: max(16px, env(safe-area-inset-bottom));
  min-height: 46px;
  border-radius: 24px;
  border: 1px solid #ff6a70;
  padding: 0 18px;
  background: #a91325;
  color: white;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 5px 22px #0007;
}
.assistant-panel {
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 54px);
  width: min(370px, calc(100vw - 32px));
  max-height: min(510px, calc(100dvh - 95px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #494d57;
  border-radius: 18px;
  background: #14161d;
  color: #f8f8fb;
  box-shadow: 0 20px 55px #000a;
}
.assistant-panel[hidden] { display: none; }
.assistant-header, .assistant-form { display: flex; align-items: center; gap: 8px; padding: 11px 13px; background: #20222a; }
.assistant-header { justify-content: space-between; }
.assistant-content { overflow-y: auto; padding: 12px 14px; }
.assistant-content p { margin: 0 0 9px; }
.assistant-suggestions { display: flex; gap: 6px; flex-wrap: wrap; }
.assistant-panel button {
  border: 1px solid #555966;
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
  color: #fff;
  background: #272a33;
  font: inherit;
  font-size: .82rem;
}
.assistant-close { min-width: 34px; }
.assistant-panel button:hover { border-color: #ff7379; }
.assistant-reply:not(:empty) { margin-top: 12px; padding: 10px; border-radius: 8px; background: #262a33; }
.assistant-reply a { color: #ff9da3; font-weight: 700; text-decoration: underline; }
.assistant-form input { flex: 1; min-width: 0; color: #fff; background: #12141a; }
.assistant-form button { min-height: 40px; background: #a91325; }
html[dir="rtl"] .story-content, html[dir="rtl"] .color-page-hero-content,
html[dir="rtl"] .color-spotlight-content { text-align: right; }
html[dir="rtl"] .morocco-map { direction: ltr; }
html[dir="rtl"] .map-city { direction: rtl; }
@media (max-width: 760px) {
  .site-header .bar { column-gap: 8px; }
  .site-header .brand { margin-inline: 12px 0; }
  .site-header .nav-cta { margin-inline: 0 12px; }
  .site-language select { max-width: 86px; }
}
@media (max-width: 420px) {
  .site-header .brand { min-width: 0; }
  .site-header .brand-mark { max-width: 100%; }
  .site-header .nav-cta { padding-inline: 10px; }
  .site-language select { max-width: 78px; }
}

.assistant-contact {
  display: block;
  padding: 11px 14px;
  border-top: 1px solid #3b3f49;
  color: #b5f5ca;
  font-size: .86rem;
  font-weight: 700;
  text-align: center;
}
.assistant-contact:hover, .assistant-contact:focus-visible { background: #222932; }

.carlexx-logo {
  display: block;
  width: min(85%, 315px);
  height: auto;
  margin-block-end: clamp(22px, 4vw, 36px);
}
.carlexx-feature { margin: 0; min-width: 0; }
.carlexx-range { scroll-margin-top: 120px; }
.carlexx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 22px; }
.carlexx-card img, .carlexx-card-image { background: #fff; object-fit: contain; }
.carlexx-card img { display: block; width: 100%; height: 168px; padding: 12px; }
@media (max-width: 760px) { .carlexx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .carlexx-grid { grid-template-columns: 1fr; } }

.shiro-showcase { width: min(100%, 280px); margin-block: 0; justify-self: center; }
.shiro-wheel img { display: block; width: 100%; height: 220px; object-fit: contain; background: #fff; padding: 12px; }
.shiro-card-image { object-fit: contain; background: #fff; }
#collections { scroll-margin-top: 120px; }

.shiro-logo { display: block; width: min(72%, 250px); height: auto; margin-block-end: 22px; }

.ppf-color-card-image { object-fit: contain; object-position: center; background: #101216; }
.color-offer-grid .ppf-color-framed-image { height: auto; aspect-ratio: 16 / 9; object-fit: contain; }

.ppf-hero-video { width: min(100%, 300px); margin-block: 0; justify-self: center; }

.home-intro { padding-block: clamp(14px, 3vw, 30px); background: #111318; }
.home-intro-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 22px; }
.home-intro h1 { margin: 0; color: #fff; font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: 1.12; }
.home-intro p { margin: 7px 0 0; color: #cfd2d9; }
.home-intro .actions { margin: 0; }
#distributeurs, #trackday-contact { scroll-margin-top: 118px; }
@media (max-width: 900px) { .home-intro-grid { grid-template-columns: 1fr; } }
