:root {
  --bg: #ffffff;
  --surface: #f7f7fb;
  --surface-strong: #efedf7;
  --text: #17141f;
  --muted: #666073;
  --line: rgba(62, 47, 91, 0.14);
  --purple: #5b21b6;
  --purple-2: #8b5cf6;
  --violet: #a855f7;
  --plum: #2e124f;
  --ink: #10071f;
  --mint: #13c8a3;
  --amber: #f6b642;
  --rose: #ef5da8;
  --glow: 0 24px 80px rgba(123, 64, 220, 0.24);
  --shadow: 0 24px 60px rgba(24, 12, 51, 0.13);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.animations-paused .hero-visual *,
body.animations-paused .modern-training * {
  animation-play-state: paused !important;
}

html[dir="rtl"] body {
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.narrow {
  max-width: 890px;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(var(--max), calc(100% - 34px));
  height: 72px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--text);
  backdrop-filter: blur(20px);
  transition: background 0.35s ease, box-shadow 0.35s ease, top 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled,
.site-header.menu-active {
  top: 12px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(91, 33, 182, 0.12);
  box-shadow: 0 16px 46px rgba(28, 12, 58, 0.12);
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo-mark {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 17px;
  color: #fff;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 34px rgba(91, 33, 182, 0.24);
  font-size: 20px;
  overflow: hidden;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-letter {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 950;
  color: #fff;
  text-shadow: 0 2px 8px rgba(17, 7, 31, 0.22);
}

.logo-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.logo-text {
  font-size: 18px;
  direction: rtl;
}

.logo-subtitle {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: rgba(23, 20, 31, 0.74);
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--rose));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--purple);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

html[dir="rtl"] .desktop-nav,
html[dir="rtl"] .mobile-panel nav,
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .section-copy,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .training-copy,
html[dir="rtl"] .reviews-summary,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .site-footer {
  text-align: right;
}

html[dir="rtl"] .logo-copy,
html[dir="rtl"] .logo-text {
  direction: rtl;
}

html[dir="rtl"] .eyebrow {
  flex-direction: row-reverse;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(91, 33, 182, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 28px rgba(24, 12, 51, 0.06);
}

.lang-btn {
  min-width: 38px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lang-btn:hover,
.lang-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  transform: translateY(-1px);
}

.mobile-language {
  justify-content: center;
  width: 100%;
  margin-top: 12px;
}

.mobile-language .lang-btn {
  flex: 1;
}

.header-cta,
.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  box-shadow: 0 18px 35px rgba(91, 33, 182, 0.24);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-cta:hover,
.mobile-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 42px rgba(91, 33, 182, 0.32);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(91, 33, 182, 0.1);
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--purple);
  transition: transform 0.28s ease, opacity 0.28s ease, top 0.28s ease;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
}

.menu-toggle span:nth-child(3) {
  top: 29px;
}

.menu-toggle.active span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  top: 96px;
  left: 17px;
  right: 17px;
  z-index: 90;
  padding: 18px;
  border: 1px solid rgba(91, 33, 182, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transform: translateY(-18px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mobile-panel nav {
  display: grid;
  gap: 6px;
}

.mobile-panel a:not(.mobile-cta) {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--text);
  font-weight: 800;
}

.mobile-panel a:not(.mobile-cta):hover {
  background: rgba(91, 33, 182, 0.08);
}

.mobile-cta {
  width: 100%;
  margin-top: 12px;
}

.hero {
  min-height: 100svh;
  padding-top: 150px;
  padding-bottom: 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(168, 85, 247, 0.18), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(19, 200, 163, 0.14), transparent 24%),
    linear-gradient(180deg, #fbfaff 0%, #fff 58%, #f7f7fb 100%);
}

.hero-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.hero-grid,
.scene-grid,
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 33, 182, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 33, 182, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  transform: perspective(900px) rotateX(62deg) translateY(-120px);
  transform-origin: center top;
  opacity: 0.68;
}

.blob {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 42% 58% 64% 36%;
  filter: blur(8px);
  opacity: 0.28;
  animation: morph 16s ease-in-out infinite alternate;
}

.blob-one {
  top: 110px;
  left: -110px;
  background: var(--violet);
}

.blob-two {
  top: 140px;
  right: -90px;
  background: var(--purple);
  animation-delay: -5s;
}

.blob-three {
  bottom: 120px;
  right: 24%;
  width: 220px;
  height: 220px;
  background: var(--mint);
  animation-delay: -9s;
}

.particle-field span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(91, 33, 182, 0.22);
  box-shadow: 0 0 24px rgba(91, 33, 182, 0.45);
  animation: particle 13s linear infinite;
}

.particle-field span:nth-child(1) { left: 10%; top: 22%; animation-delay: -1s; }
.particle-field span:nth-child(2) { left: 21%; top: 72%; animation-delay: -4s; }
.particle-field span:nth-child(3) { left: 34%; top: 18%; animation-delay: -8s; }
.particle-field span:nth-child(4) { left: 48%; top: 82%; animation-delay: -2s; }
.particle-field span:nth-child(5) { left: 62%; top: 25%; animation-delay: -10s; }
.particle-field span:nth-child(6) { left: 78%; top: 70%; animation-delay: -6s; }
.particle-field span:nth-child(7) { left: 88%; top: 35%; animation-delay: -3s; }
.particle-field span:nth-child(8) { left: 14%; top: 46%; animation-delay: -11s; }
.particle-field span:nth-child(9) { left: 29%; top: 38%; animation-delay: -5s; }
.particle-field span:nth-child(10) { left: 58%; top: 58%; animation-delay: -7s; }
.particle-field span:nth-child(11) { left: 71%; top: 16%; animation-delay: -9s; }
.particle-field span:nth-child(12) { left: 92%; top: 86%; animation-delay: -12s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--mint));
}

.eyebrow.light {
  color: #efe8ff;
}

.eyebrow.light::before {
  background: #fff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-title {
  margin-bottom: 22px;
  max-width: 720px;
  font-size: clamp(50px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  box-shadow: 0 18px 42px rgba(91, 33, 182, 0.28);
}

.btn.secondary {
  color: var(--purple);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(91, 33, 182, 0.15);
  box-shadow: 0 16px 40px rgba(24, 12, 51, 0.08);
}

.btn.whatsapp {
  color: #083c32;
  background: rgba(19, 200, 163, 0.18);
  border: 1px solid rgba(19, 200, 163, 0.28);
}

.btn.light {
  color: var(--purple);
  background: #fff;
  box-shadow: 0 18px 35px rgba(16, 7, 31, 0.18);
}

.btn.outline-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.hero-visual {
  position: relative;
  min-height: 600px;
  perspective: 1200px;
  transform-style: preserve-3d;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 58px 2% 18px 5%;
  z-index: 0;
  border-radius: 48%;
  background:
    linear-gradient(rgba(91, 33, 182, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 33, 182, 0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle, #000 0 54%, transparent 76%);
  opacity: 0.72;
}

.visual-glow {
  position: absolute;
  inset: 15% 3% 8% 8%;
  z-index: 0;
  border-radius: 46%;
  background:
    radial-gradient(circle at 52% 62%, rgba(168, 85, 247, 0.34), rgba(91, 33, 182, 0.16) 36%, transparent 68%),
    radial-gradient(circle at 72% 38%, rgba(19, 200, 163, 0.16), transparent 34%);
  filter: blur(16px);
  animation: pulseGlow var(--hero-glow-speed, 4.8s) ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  left: 13%;
  top: 12%;
  z-index: 1;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(91, 33, 182, 0.18);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-18deg);
  animation: spinOrbit var(--hero-orbit-speed, 20s) linear infinite;
}

.orbit-two {
  left: 20%;
  top: 21%;
  width: 56%;
  border-style: dashed;
  border-color: rgba(19, 200, 163, 0.24);
  animation-duration: var(--hero-orbit-secondary-speed, 28s);
  animation-direction: reverse;
}

.road-stage {
  position: absolute;
  left: 1%;
  right: 1%;
  bottom: 22px;
  height: 396px;
  perspective: 1050px;
  isolation: isolate;
  transform-style: preserve-3d;
}

.road-stage::before {
  content: "";
  position: absolute;
  left: 17%;
  right: 8%;
  bottom: 62px;
  z-index: 0;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(91, 33, 182, 0.34), rgba(168, 85, 247, 0.13) 45%, transparent 72%);
  filter: blur(14px);
  animation: roadGlowBreath var(--hero-road-glow-speed, 2.6s) ease-in-out infinite;
}

.road-base {
  position: absolute;
  left: 7%;
  right: 5%;
  bottom: 34px;
  height: 280px;
  z-index: 1;
  border-radius: 72px 82px 104px 96px;
  clip-path: polygon(8% 10%, 90% 2%, 100% 82%, 15% 100%);
  background:
    radial-gradient(circle at 52% 44%, rgba(168, 85, 247, 0.32), transparent 38%),
    linear-gradient(102deg, rgba(255, 255, 255, 0.11), transparent 24% 76%, rgba(255, 255, 255, 0.07)),
    linear-gradient(135deg, #191026 0%, #2c1650 42%, #130b26 100%);
  box-shadow:
    inset 0 22px 42px rgba(255, 255, 255, 0.11),
    inset 0 -30px 52px rgba(7, 5, 19, 0.58),
    0 44px 92px rgba(32, 13, 68, 0.34);
  overflow: hidden;
  transform: perspective(900px) rotateX(61deg) rotateZ(-7deg) translateY(20px);
  transform-origin: center 80%;
}

.road-base::before,
.road-base::after {
  content: "";
  position: absolute;
  inset: 0;
}

.road-base::before {
  z-index: 1;
  background: linear-gradient(100deg, transparent 8%, rgba(168, 85, 247, 0.42) 34%, rgba(255, 255, 255, 0.18) 49%, transparent 68%);
  filter: blur(10px);
  opacity: 0.62;
  transform: translateX(-34%);
  animation: roadSweep var(--hero-road-sweep-speed, 2.4s) linear infinite;
}

.road-base::after {
  z-index: 2;
  background:
    repeating-linear-gradient(92deg, transparent 0 44px, rgba(255, 255, 255, 0.07) 45px 47px, transparent 48px 94px),
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.24) 47% 53%, transparent 54%);
  opacity: 0.42;
}

.road-sheen {
  position: absolute;
  left: 18%;
  right: 16%;
  top: 38%;
  z-index: 3;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.2), rgba(168, 85, 247, 0.13) 45%, transparent 72%);
  filter: blur(8px);
}

.road-marker,
.road-edge {
  position: absolute;
  z-index: 4;
  display: block;
  border-radius: 999px;
  pointer-events: none;
}

.road-marker {
  top: 50%;
  width: 108px;
  height: 7px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.24);
  transform: rotate(-2deg);
}

.marker-one {
  left: 25%;
}

.marker-two {
  left: 47%;
  opacity: 0.82;
}

.marker-three {
  left: 69%;
  opacity: 0.62;
}

.road-edge {
  top: 13%;
  bottom: 10%;
  width: 4px;
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.8), transparent);
  filter: blur(0.3px);
  opacity: 0.54;
}

.edge-left {
  left: 11%;
}

.edge-right {
  right: 8%;
}

.road-line {
  position: absolute;
  left: 16%;
  right: 12%;
  bottom: 170px;
  z-index: 2;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.8), rgba(255, 255, 255, 0.86), rgba(19, 200, 163, 0.54), transparent);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.54);
  transform: perspective(900px) rotateX(61deg) rotateZ(-7deg);
  animation: glowLine var(--hero-road-glow-speed, 2.6s) ease-in-out infinite;
}

.road-line-two {
  bottom: 116px;
  left: 22%;
  right: 18%;
  opacity: 0.42;
  animation-delay: -1.2s;
}

.car-3d {
  position: absolute;
  left: 50%;
  bottom: 104px;
  z-index: 8;
  width: min(360px, 54vw);
  height: 194px;
  transform: translateX(-50%) translateY(0);
  transform-style: flat;
  animation: carFloat var(--hero-car-speed, 4.5s) ease-in-out infinite;
}

.car-3d.has-custom-car {
  bottom: 82px;
  width: min(520px, 76vw);
  height: 310px;
  transform: translateX(-50%) translateY(0);
  animation-name: customCarFloat;
}

.custom-car-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.car-3d.has-custom-car .hero-custom-car {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(20, 9, 40, 0.3));
}

.car-3d.has-custom-car .car-body,
.car-3d.has-custom-car .wheel {
  opacity: 0;
}

.car-3d.has-custom-car .car-shadow {
  left: 13%;
  right: 7%;
  bottom: 54px;
  z-index: 1;
  height: 34px;
  background: radial-gradient(ellipse, rgba(8, 5, 20, 0.5), rgba(91, 33, 182, 0.18) 58%, transparent 78%);
  filter: blur(13px);
}

.car-shadow {
  position: absolute;
  left: 12%;
  right: 10%;
  bottom: 25px;
  z-index: 0;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(11, 6, 25, 0.5), rgba(91, 33, 182, 0.18) 54%, transparent 76%);
  filter: blur(11px);
  transform: scaleX(1.04);
  animation: carShadowSoft var(--hero-car-speed, 4.5s) ease-in-out infinite;
}

.car-body {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 50px;
  z-index: 3;
  height: 82px;
  clip-path: polygon(3% 54%, 10% 34%, 33% 18%, 61% 12%, 84% 19%, 97% 44%, 94% 82%, 9% 84%);
  border-radius: 34px 76px 34px 30px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.82), transparent 12%),
    linear-gradient(160deg, #f5f3fb 0%, #c9c5d6 25%, #8d84aa 56%, #5f537e 78%, #302741 100%);
  box-shadow:
    inset 0 14px 20px rgba(255, 255, 255, 0.38),
    inset 0 -18px 24px rgba(31, 21, 51, 0.44),
    0 20px 34px rgba(20, 9, 40, 0.22);
}

.car-body::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 26px;
  bottom: 16px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(46, 18, 79, 0.24), rgba(255, 255, 255, 0.12));
}

.car-body::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 36px;
  top: 21px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08));
}

.car-reflection {
  position: absolute;
  left: 52px;
  right: 72px;
  top: 6px;
  z-index: 2;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.28), rgba(255, 255, 255, 0.36), transparent);
  filter: blur(1px);
}

.car-top {
  position: absolute;
  left: 92px;
  bottom: 66px;
  z-index: 4;
  width: 144px;
  height: 66px;
  clip-path: polygon(6% 96%, 22% 28%, 50% 4%, 78% 18%, 96% 96%);
  border-radius: 40px 54px 14px 14px;
  background:
    linear-gradient(135deg, #fbfaff, #cbc6db 45%, #766b92 100%);
  box-shadow:
    inset 0 12px 18px rgba(255, 255, 255, 0.42),
    inset 0 -12px 18px rgba(32, 22, 50, 0.24);
}

.car-window {
  position: absolute;
  left: 111px;
  bottom: 78px;
  z-index: 5;
  width: 112px;
  height: 42px;
  clip-path: polygon(8% 94%, 21% 24%, 52% 8%, 85% 28%, 96% 94%);
  border-radius: 28px 38px 8px 8px;
  background:
    linear-gradient(135deg, rgba(221, 247, 255, 0.95), rgba(79, 159, 222, 0.64) 46%, rgba(45, 26, 88, 0.62)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.78), transparent 32%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.car-window::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 8px;
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  transform: rotate(7deg);
}

.car-door-line {
  position: absolute;
  left: 175px;
  bottom: 18px;
  z-index: 5;
  width: 2px;
  height: 47px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 4px 0 10px rgba(31, 20, 51, 0.16);
}

.car-handle {
  position: absolute;
  right: 92px;
  top: 37px;
  z-index: 5;
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: rgba(34, 26, 48, 0.42);
}

.car-mirror {
  position: absolute;
  right: 99px;
  top: 17px;
  z-index: 6;
  width: 24px;
  height: 16px;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(135deg, #f7f3ff, #817799);
  box-shadow: 0 5px 10px rgba(20, 9, 40, 0.18);
}

.car-light {
  position: absolute;
  bottom: 28px;
  z-index: 5;
  border-radius: 999px;
}

.car-light.left {
  left: 28px;
  width: 22px;
  height: 13px;
  background: #ef4444;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.48);
}

.car-light.right {
  right: 24px;
  width: 34px;
  height: 13px;
  background: #fff6ca;
  box-shadow: 0 0 22px rgba(255, 246, 202, 0.7);
}

.car-grill {
  position: absolute;
  right: 34px;
  bottom: 47px;
  z-index: 5;
  width: 44px;
  height: 22px;
  border-radius: 9px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.26) 0 2px, transparent 2px 5px),
    linear-gradient(135deg, #2b2636, #62596e);
}

.car-bumper {
  position: absolute;
  right: 16px;
  bottom: 17px;
  z-index: 5;
  width: 62px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #342c42, #8f879b);
}

.wheel {
  position: absolute;
  bottom: 28px;
  z-index: 4;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ebe7f5 0 11%, #777087 12% 22%, #17131f 23% 56%, #05040a 57% 100%);
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.06),
    inset 0 -10px 14px rgba(0, 0, 0, 0.38),
    0 10px 16px rgba(0, 0, 0, 0.2);
}

.wheel::before {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #f7f5ff 0 20%, #8f88a2 22% 48%, #352d45 50% 100%);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.32);
}

.wheel::after {
  content: "";
  position: absolute;
  inset: 27px;
  border-radius: 50%;
  background: #17131f;
}

.wheel-left {
  left: 70px;
}

.wheel-right {
  right: 44px;
}

.floating-card,
.floating-sign,
.steering-wheel {
  position: absolute;
  z-index: 6;
  transform-style: preserve-3d;
}

.license-card {
  top: 38px;
  right: 36px;
  width: 178px;
  padding: 18px 19px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 239, 255, 0.72));
  box-shadow: var(--shadow);
  animation: floatY 6.8s ease-in-out infinite;
}

.license-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.license-card strong {
  display: block;
  margin-top: 8px;
  color: var(--purple);
  font-size: 30px;
}

.license-card small {
  color: var(--text);
  font-weight: 900;
}

.floating-sign {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: #fff;
  font-weight: 950;
  box-shadow: 0 16px 30px rgba(20, 9, 40, 0.16);
  animation: iconOrbit var(--hero-icon-speed, 7s) ease-in-out infinite;
}

.sign-warning {
  top: 210px;
  left: -30px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--amber), #f97316);
  clip-path: polygon(50% 5%, 100% 92%, 0 92%);
}

.sign-warning span {
  transform: translateY(8px);
}

.sign-speed {
  top: 90px;
  left: 140px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  animation-delay: -2s;
}

.sign-code {
  right: -34px;
  bottom: 178px;
  border-radius: 19px;
  background: linear-gradient(135deg, var(--mint), #07957d);
  animation-delay: -4s;
}

.steering-wheel {
  left: -32px;
  bottom: 74px;
  width: 76px;
  height: 76px;
  border: 10px solid #221833;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 28%, rgba(255, 255, 255, 0.38) 30% 34%, transparent 36%);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.12), 0 16px 30px rgba(20, 9, 40, 0.18);
  animation: floatY 7.4s ease-in-out infinite;
}

.steering-wheel span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 40px;
  transform-origin: center top;
  border-radius: 999px;
  background: #221833;
}

.steering-wheel span:nth-child(1) {
  transform: rotate(0deg) translate(-50%, -4px);
}

.steering-wheel span:nth-child(2) {
  transform: rotate(120deg) translate(-50%, -4px);
}

.steering-wheel span:nth-child(3) {
  transform: rotate(240deg) translate(-50%, -4px);
}

/* Uploaded hero icons */
.image-sign {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  clip-path: none !important;
  box-shadow: none;
  overflow: visible;
}

.image-sign img,
.image-steering img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(20, 9, 40, 0.18));
  pointer-events: none;
  user-select: none;
}

.sign-warning.image-sign {
  width: 82px;
  height: 82px;
}

.sign-speed.image-sign {
  width: 76px;
  height: 76px;
}

.sign-code.image-sign {
  width: 78px;
  height: 78px;
}

.image-steering {
  width: 90px;
  height: 90px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.stat-card,
.formation-card,
.advantage-card,
.contact-card,
.review-card,
.faq-item,
.contact-form,
.map-card {
  border: 1px solid rgba(91, 33, 182, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(24, 12, 51, 0.08);
  backdrop-filter: blur(18px);
}

.stat-card {
  min-height: 146px;
  padding: 24px;
  border-radius: 24px;
  transform-style: preserve-3d;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover,
.formation-card:hover,
.advantage-card:hover,
.contact-card:hover,
.map-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: var(--glow);
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
}

.stat-card strong {
  display: block;
  font-size: 30px;
}

.stat-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.about {
  background: linear-gradient(180deg, #f7f7fb, #fff);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}

.instructor-scene {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(91, 33, 182, 0.12);
  border-radius: 38px;
  background:
    radial-gradient(circle at 30% 25%, rgba(168, 85, 247, 0.24), transparent 28%),
    radial-gradient(circle at 72% 70%, rgba(19, 200, 163, 0.18), transparent 30%),
    linear-gradient(145deg, #fff, #f1ecff);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.coach-card,
.dashboard-card,
.pedal-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.coach-card {
  left: 36px;
  top: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  animation: floatY 5.2s ease-in-out infinite;
}

.coach-avatar {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: linear-gradient(145deg, #34115f, #9f7aea);
  position: relative;
  overflow: hidden;
}

.coach-avatar span {
  position: absolute;
  left: 18px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffe3c2;
  box-shadow: 0 34px 0 18px #fff;
}

.coach-card strong,
.dashboard-card strong {
  display: block;
  margin-bottom: 4px;
}

.coach-card p,
.dashboard-card span,
.dashboard-card p {
  margin: 0;
  color: var(--muted);
}

.dashboard-card {
  right: 34px;
  top: 154px;
  width: 210px;
  padding: 20px;
  animation: floatY 5.6s ease-in-out infinite -1.8s;
}

.dashboard-card strong {
  color: var(--purple);
  font-size: 42px;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(91, 33, 182, 0.13);
}

.progress-track span {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--mint));
}

.mini-car {
  position: absolute;
  left: 86px;
  bottom: 74px;
  width: 280px;
  height: 128px;
  border-radius: 72px 78px 34px 38px;
  background: linear-gradient(135deg, #fff, #b184ff 28%, #5b21b6);
  box-shadow: 0 32px 70px rgba(91, 33, 182, 0.25);
  transform: rotate(-8deg);
}

.mini-car::before {
  content: "";
  position: absolute;
  left: 70px;
  top: -48px;
  width: 126px;
  height: 72px;
  border-radius: 64px 64px 14px 14px;
  background: linear-gradient(135deg, #fff, #cdb7ff 50%, #7c3aed);
}

.mini-car::after {
  content: "";
  position: absolute;
  left: 44px;
  bottom: -22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 14%, #2e124f 15% 60%, #0f1023 61%);
  box-shadow: 154px 0 0 0 #0f1023;
}

.pedal-card {
  right: 38px;
  bottom: 58px;
  padding: 18px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--purple));
  animation: floatY 4.8s ease-in-out infinite -0.8s;
}

.section-copy h2,
.section-heading h2,
.training-copy h2,
.reviews-summary h2,
.cta-panel h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p,
.training-copy p,
.cta-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.benefit-grid {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.mini-benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(24, 12, 51, 0.06);
}

.mini-benefit span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.formation-grid,
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.formation-card {
  position: relative;
  min-height: 330px;
  padding: 34px 26px 26px;
  overflow: hidden;
  border-radius: 26px;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-topline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--purple), var(--violet), var(--mint));
}

.icon-cube {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 28px;
  color: #fff;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--purple), var(--violet));
  box-shadow: 0 20px 38px rgba(91, 33, 182, 0.24);
  font-size: 30px;
  transform: translateZ(36px) rotateX(12deg) rotateY(-16deg);
}


/* Admin-uploaded card icons */
.stat-icon-img,
.formation-icon-img,
.advantage-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stat-icon:has(.stat-icon-img),
.icon-cube:has(.formation-icon-img),
.advantage-icon:has(.advantage-icon-img) {
  padding: 7px;
}

.icon-cube:has(.formation-icon-img) {
  font-size: 0;
}

.advantage-icon:has(.advantage-icon-img) {
  color: transparent;
}

.formation-card h3,
.advantage-card h3,
.timeline-step h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

.formation-card p,
.timeline-step p {
  color: var(--muted);
  line-height: 1.7;
}

.formation-card a {
  position: absolute;
  left: 26px;
  bottom: 24px;
  color: var(--purple);
  font-weight: 900;
}

.interactive {
  padding-top: 72px;
}

.modern-training {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(30px, 6vw, 68px);
  border-radius: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(168, 85, 247, 0.5), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(19, 200, 163, 0.26), transparent 26%),
    linear-gradient(135deg, #210836, #4c1685 48%, #12091e);
  box-shadow: 0 32px 90px rgba(32, 8, 54, 0.28);
}

.training-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.training-copy ul {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.training-copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.training-copy li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--plum);
  background: #fff;
}

.road-illustration {
  position: relative;
  min-height: 420px;
  perspective: 900px;
}

.moving-road {
  position: absolute;
  inset: 64px 16px 40px;
  border-radius: 36px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.72) 47% 53%, transparent 53%),
    linear-gradient(135deg, #111322, #2a1646);
  transform: rotateX(60deg) rotateZ(-12deg);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
  overflow: visible;
}

.lane {
  position: absolute;
  left: 13%;
  right: 13%;
  z-index: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--violet), #fff, transparent);
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.75);
  animation: roadSweepHorizontal var(--section-lane-speed, 2.4s) linear infinite;
}

.lane-one {
  top: 38%;
}

.lane-two {
  top: 62%;
  animation-delay: -1.2s;
}

.animated-car {
  position: absolute;
  left: 18%;
  top: 40%;
  z-index: 5;
  width: 92px;
  height: 48px;
  border-radius: 28px 34px 14px 14px;
  background: linear-gradient(135deg, #fff, #a78bfa 42%, #5b21b6);
  box-shadow: 0 14px 30px rgba(168, 85, 247, 0.35);
  animation: roadCarMove var(--section-car-speed, 6s) ease-in-out infinite;
}

.animated-car.has-custom-car {
  z-index: 10;
  background: transparent;
  box-shadow: none;
}

.animated-car.has-custom-car .section-custom-car {
  position: absolute;
  inset: -26px -34px -18px;
  z-index: 12;
  display: block;
  width: calc(100% + 68px);
  height: calc(100% + 44px);
  filter: drop-shadow(0 14px 18px rgba(168, 85, 247, 0.34));
}

.animated-car.has-custom-car > span {
  display: none;
}

.animated-car span {
  position: absolute;
  left: 26px;
  top: -20px;
  width: 42px;
  height: 28px;
  border-radius: 28px 28px 8px 8px;
  background: rgba(255, 255, 255, 0.85);
}

.traffic-sign {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  color: #fff;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  animation: floatY var(--section-sign-speed, 4.5s) ease-in-out infinite;
}

.traffic-sign.triangle {
  left: 38px;
  top: 66px;
  background: var(--amber);
  clip-path: polygon(50% 4%, 100% 92%, 0 92%);
}

.traffic-sign.circle {
  right: 70px;
  top: 70px;
  border-radius: 50%;
  border: 7px solid #fff;
  background: #ef4444;
  animation-delay: -1.2s;
}

.traffic-sign.square {
  right: 40px;
  bottom: 84px;
  border-radius: 18px;
  background: var(--mint);
  animation-delay: -2.4s;
}

.road-badge {
  position: absolute;
  left: 52px;
  bottom: 44px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 900;
}

.light-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  animation: lightTravel var(--section-light-speed, 3.8s) linear infinite;
}

.line-one {
  left: 10%;
  right: 35%;
  top: 32%;
}

.line-two {
  left: 38%;
  right: 8%;
  bottom: 24%;
  animation-delay: -1.9s;
}

.advantages {
  background: linear-gradient(180deg, #fff, #f7f7fb);
}

.advantages-grid {
  grid-template-columns: repeat(3, 1fr);
}

.advantage-card {
  min-height: 186px;
  padding: 28px;
  border-radius: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.advantage-card span,
.advantage-card .advantage-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  border-radius: 20px;
  color: var(--purple);
  background: rgba(91, 33, 182, 0.1);
  font-size: 28px;
  font-weight: 950;
  animation: rotateSoft 7s ease-in-out infinite;
}

.process {
  background: #f7f7fb;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 58px;
}

.timeline::before,
.timeline-progress {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 32px;
  height: 5px;
  border-radius: 999px;
}

.timeline::before {
  background: rgba(91, 33, 182, 0.13);
}

.timeline-progress {
  right: auto;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--violet), var(--mint));
  box-shadow: 0 0 28px rgba(91, 33, 182, 0.34);
  transition: width 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}

.timeline.in-view .timeline-progress {
  width: 88%;
}

.timeline-step {
  position: relative;
  min-height: 210px;
  padding: 30px 22px;
  border: 1px solid rgba(91, 33, 182, 0.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(24, 12, 51, 0.08);
  transform: translateY(36px);
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.timeline.in-view .timeline-step {
  opacity: 1;
  transform: translateY(0);
}

.timeline-step:nth-child(3) { transition-delay: 0.1s; }
.timeline-step:nth-child(4) { transition-delay: 0.2s; }
.timeline-step:nth-child(5) { transition-delay: 0.3s; }

.timeline-step span {
  position: absolute;
  left: 22px;
  top: -54px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 6px solid #f7f7fb;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  box-shadow: 0 18px 36px rgba(91, 33, 182, 0.28);
  font-size: 20px;
  font-weight: 950;
}

.reviews-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.rating-block {
  display: inline-block;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.rating-block strong {
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 48px;
}

.rating-block span,
.stars {
  color: var(--amber);
  letter-spacing: 0;
}

.rating-block p {
  margin: 8px 0 0;
  color: var(--muted);
}

.review-slider {
  position: relative;
  min-height: 340px;
}

.review-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 42px;
  border-radius: 30px;
  opacity: 0;
  transform: translateX(42px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.review-card.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.quote-icon {
  color: rgba(91, 33, 182, 0.14);
  font-family: Georgia, serif;
  font-size: 118px;
  line-height: 0.72;
}

.review-card p {
  margin: 22px 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
}

.slider-dots {
  position: absolute;
  left: 42px;
  bottom: 30px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(91, 33, 182, 0.2);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.slider-dots button.active {
  width: 30px;
  border-radius: 999px;
  background: var(--purple);
}

.faq {
  background: #f7f7fb;
}

.accordion {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border-radius: 22px;
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-weight: 900;
}

.faq-item button strong {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--purple);
  background: rgba(91, 33, 182, 0.1);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.active {
  border-color: rgba(91, 33, 182, 0.42);
}

.faq-item.active button strong {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  transform: rotate(45deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 30px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(91, 33, 182, 0.14);
  border-radius: 17px;
  background: #fff;
  color: var(--text);
  outline: 0;
  padding: 15px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(91, 33, 182, 0.45);
  box-shadow: 0 0 0 4px rgba(91, 33, 182, 0.1);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 128px;
  padding: 22px;
  border-radius: 24px;
}

.contact-card span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  font-weight: 950;
}

.contact-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact-actions {
  grid-column: 1 / -1;
}

.map-card {
  position: relative;
  grid-column: 1 / -1;
  min-height: 280px;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 22% 20%, rgba(168, 85, 247, 0.42), transparent 24%),
    radial-gradient(circle at 78% 78%, rgba(19, 200, 163, 0.32), transparent 26%),
    linear-gradient(135deg, #170b2a, #4b1681);
}

.map-card strong,
.map-card > span {
  position: relative;
  z-index: 2;
  display: block;
}

.map-card strong {
  margin-top: 140px;
  font-size: 28px;
}

.map-card > span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 48px;
  height: 48px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.12), 0 20px 40px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%) rotate(-45deg);
  animation: pinPulse 2.8s ease-in-out infinite;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: #fff;
}

.final-cta {
  padding-top: 60px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 20%),
    linear-gradient(135deg, var(--purple), var(--violet) 52%, var(--plum));
  box-shadow: 0 34px 80px rgba(91, 33, 182, 0.28);
}

.cta-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 70px 0 26px;
  color: rgba(255, 255, 255, 0.76);
  background: #10071f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.6fr;
  gap: 36px;
}

.footer-logo {
  color: #fff;
  direction: rtl;
  font-size: 21px;
}

.site-footer h3 {
  margin: 0 0 18px;
  color: #fff;
}

.site-footer p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.site-footer a:not(.footer-logo) {
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 42px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14), transparent 66%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.82s ease, transform 0.82s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.slide-left {
  transform: translateX(-42px);
}

.reveal.slide-right {
  transform: translateX(42px);
}

.reveal.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes morph {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    border-radius: 42% 58% 64% 36%;
  }
  100% {
    transform: translate3d(32px, -38px, 0) rotate(16deg) scale(1.08);
    border-radius: 60% 40% 42% 58%;
  }
}

@keyframes particle {
  0% {
    transform: translateY(40px) scale(0.7);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110px) scale(1.08);
    opacity: 0;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes spinOrbit {
  to {
    transform: rotateX(68deg) rotateZ(342deg);
  }
}

@keyframes roadSweep {
  0% {
    transform: translateX(-42%);
  }
  100% {
    transform: translateX(46%);
  }
}

@keyframes glowLine {
  0%,
  100% {
    opacity: 0.48;
    filter: blur(0);
  }
  50% {
    opacity: 1;
    filter: blur(1px);
  }
}

@keyframes carFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes customCarFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes carShadowSoft {
  0%,
  100% {
    opacity: 0.88;
    transform: scaleX(1.04);
  }
  50% {
    opacity: 0.66;
    transform: scaleX(0.96);
  }
}

@keyframes roadGlowBreath {
  0%,
  100% {
    opacity: 0.74;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.04);
  }
}

@keyframes wheelSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes iconOrbit {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(7px, -9px, 12px) rotate(4deg);
  }
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateSoft {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.04);
  }
}

@keyframes roadSweepHorizontal {
  0% {
    transform: translateX(-80%);
  }
  100% {
    transform: translateX(80%);
  }
}

@keyframes roadCarMove {
  0%,
  100% {
    transform: translate3d(0, 0, 30px) rotate(2deg);
  }
  50% {
    transform: translate3d(230px, 28px, 60px) rotate(-4deg);
  }
}

@keyframes lightTravel {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  20%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(90px);
  }
}

@keyframes pinPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1);
  }
  50% {
    transform: translate(-50%, -62%) rotate(-45deg) scale(1.08);
  }
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 13px;
    font-size: 13px;
  }

  .hero-shell,
  .two-column,
  .modern-training,
  .reviews-shell,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .car-3d {
    width: min(340px, 62vw);
  }

  .stats-strip,
  .formation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 64px;
    padding-right: 10px;
  }

  .desktop-nav,
  .header-tools {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .section {
    padding: 86px 0;
  }

  .hero {
    padding-top: 126px;
  }

  .advantages-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .timeline::before,
  .timeline-progress {
    display: none;
  }

  .timeline {
    padding-top: 0;
  }

  .timeline-step span {
    position: static;
    margin-bottom: 20px;
    border-color: #fff;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .logo-text {
    max-width: 146px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
  }

  .logo-mark {
    width: 46px;
    height: 46px;
  }

  .logo-subtitle {
    display: none;
  }

  .hero-title {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions,
  .cta-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-visual {
    min-height: 500px;
    transform: none;
    margin-bottom: -28px;
  }

  .road-stage {
    left: -20%;
    right: -20%;
    bottom: 0;
    height: 430px;
  }

  .road-base {
    left: 5%;
    right: 5%;
    bottom: 38px;
    height: 258px;
  }

  .road-line {
    bottom: 160px;
  }

  .road-line-two {
    bottom: 112px;
  }

  .car-3d {
    bottom: 112px;
    width: 318px;
  }

  .car-3d.has-custom-car {
    bottom: 94px;
    width: min(352px, 94vw);
    height: 228px;
  }

  .car-3d.has-custom-car .car-shadow {
    bottom: 40px;
    left: 16%;
    right: 8%;
    height: 28px;
  }

  .license-card {
    right: 2px;
    top: 10px;
    width: 152px;
    padding: 14px 15px;
  }

  .sign-speed {
    left: 84px;
    top: 78px;
    width: 58px;
    height: 58px;
    border-width: 5px;
  }

  .sign-warning {
    left: 6px;
    top: 130px;
    width: 58px;
    height: 58px;
  }

  .sign-code {
    right: 6px;
    top: 126px;
    bottom: auto;
    width: 58px;
    height: 58px;
  }

  .steering-wheel {
    left: 10px;
    bottom: 0;
    width: 62px;
    height: 62px;
    border-width: 8px;
  }

  .stats-strip,
  .formation-grid,
  .advantages-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .instructor-scene {
    min-height: 450px;
  }

  .coach-card {
    left: 18px;
    top: 28px;
  }

  .dashboard-card {
    right: 18px;
    top: 136px;
    width: 178px;
  }

  .mini-car {
    left: 34px;
    bottom: 76px;
    width: 236px;
  }

  .pedal-card {
    right: 18px;
    bottom: 28px;
  }

  .modern-training {
    border-radius: 28px;
    min-height: auto;
  }

  .road-illustration {
    min-height: 330px;
  }

  .road-badge {
    left: 22px;
    bottom: 18px;
  }

  .review-slider {
    min-height: 390px;
  }

  .review-card {
    padding: 30px 24px 58px;
  }

  .review-card p {
    font-size: 22px;
  }

  .slider-dots {
    left: 24px;
  }

  .cta-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-bottom {
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Final clean PNG icon mode: show uploaded icons exactly, no generated backgrounds/shapes */
.hero-visual .image-sign,
.hero-visual .image-steering {
  border: 0 !important;
  outline: 0 !important;
  padding: 0 !important;
  margin: 0;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  clip-path: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.hero-visual .image-sign::before,
.hero-visual .image-sign::after,
.hero-visual .image-steering::before,
.hero-visual .image-steering::after {
  content: none !important;
  display: none !important;
}

.hero-visual .image-sign img,
.hero-visual .image-steering img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}


.hero-visual .road-base {
  left: -1% !important;
  right: -2% !important;
  bottom: 0 !important;
  height: 332px !important;
  z-index: 1 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  background: url("road-base-custom.png") center bottom / contain no-repeat !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: translateY(22px) scale(1.08) !important;
  transform-origin: center bottom !important;
  filter: drop-shadow(0 34px 34px rgba(22, 16, 36, 0.20)) drop-shadow(0 0 34px rgba(124, 58, 237, 0.16));
}

.hero-visual .road-base::before,
.hero-visual .road-base::after,
.hero-visual .road-base > span {
  content: none !important;
  display: none !important;
}

.hero-visual .car-3d.has-custom-car {
  bottom: 98px !important;
  z-index: 8 !important;
}

.hero-visual .car-3d.has-custom-car .car-shadow {
  bottom: 50px !important;
  background: radial-gradient(ellipse, rgba(8, 5, 20, 0.42), rgba(91, 33, 182, 0.18) 56%, transparent 78%) !important;
}

@media (max-width: 760px) {
  .hero-visual .road-base {
    left: -11% !important;
    right: -11% !important;
    bottom: 18px !important;
    height: 286px !important;
    transform: translateY(22px) scale(1.04) !important;
  }

  .hero-visual .car-3d.has-custom-car {
    bottom: 108px !important;
  }
}

/* Custom professional 3D road base from uploaded PNG - fixed as real <img>, not CSS background */
.hero-visual .road-line,
.hero-visual .road-line-two {
  display: none !important;
}

.hero-visual .road-stage {
  bottom: 8px !important;
  height: 410px !important;
}

.hero-visual .road-stage::before {
  left: 16% !important;
  right: 7% !important;
  bottom: 58px !important;
  height: 92px !important;
  background: radial-gradient(ellipse, rgba(91, 33, 182, 0.24), rgba(168, 85, 247, 0.10) 48%, transparent 75%) !important;
  filter: blur(18px) !important;
}

.hero-visual .road-base {
  left: -4% !important;
  right: -3% !important;
  bottom: 0 !important;
  height: 350px !important;
  z-index: 2 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: translateY(20px) scale(1.08) !important;
  transform-origin: center bottom !important;
  filter: none !important;
}

.hero-visual .road-base::before,
.hero-visual .road-base::after,
.hero-visual .road-base > span {
  content: none !important;
  display: none !important;
}

.hero-visual .road-base-custom-img {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 32px 28px rgba(18, 13, 28, 0.24)) drop-shadow(0 0 30px rgba(124, 58, 237, 0.14)) !important;
  pointer-events: none !important;
  user-select: none !important;
}

.hero-visual .car-3d.has-custom-car {
  bottom: 105px !important;
  z-index: 10 !important;
}

.hero-visual .car-3d.has-custom-car .car-shadow {
  bottom: 46px !important;
  background: radial-gradient(ellipse, rgba(8, 5, 20, 0.48), rgba(91, 33, 182, 0.18) 56%, transparent 78%) !important;
}

@media (max-width: 980px) {
  .hero-visual .road-stage {
    height: 360px !important;
    bottom: 2px !important;
  }

  .hero-visual .road-base {
    left: -8% !important;
    right: -8% !important;
    height: 300px !important;
    transform: translateY(18px) scale(1.06) !important;
  }

  .hero-visual .car-3d.has-custom-car {
    bottom: 102px !important;
  }
}

@media (max-width: 760px) {
  .hero-visual .road-stage {
    height: 316px !important;
    bottom: 6px !important;
  }

  .hero-visual .road-base {
    left: -15% !important;
    right: -15% !important;
    bottom: 0 !important;
    height: 266px !important;
    transform: translateY(16px) scale(1.03) !important;
  }

  .hero-visual .car-3d.has-custom-car {
    bottom: 96px !important;
  }
}

/* HERO COMBINED CAR + ROAD PNG OVERRIDE */
.hero-visual .road-line,
.hero-visual .road-line-two,
.hero-visual .road-base {
  display: none !important;
}

.hero-visual .road-stage {
  bottom: -18px !important;
  height: 500px !important;
  overflow: visible !important;
}

.hero-visual .road-stage::before {
  left: 8% !important;
  right: 4% !important;
  bottom: 72px !important;
  height: 120px !important;
  background: radial-gradient(ellipse, rgba(17, 13, 35, 0.20), rgba(91, 33, 182, 0.12) 48%, transparent 76%) !important;
  filter: blur(22px) !important;
}

.hero-visual .car-3d.has-custom-car {
  left: 50% !important;
  bottom: -28px !important;
  width: min(690px, 95vw) !important;
  height: 500px !important;
  z-index: 12 !important;
  transform: translateX(-50%) translateY(0) !important;
  animation-name: customCarFloat !important;
}

.hero-visual .car-3d.has-custom-car .hero-custom-car {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  filter: drop-shadow(0 34px 36px rgba(18, 13, 30, 0.28)) drop-shadow(0 0 34px rgba(124, 58, 237, 0.13)) !important;
}

.hero-visual .car-3d.has-custom-car .car-shadow {
  left: 19% !important;
  right: 12% !important;
  bottom: 80px !important;
  height: 58px !important;
  background: radial-gradient(ellipse, rgba(9, 7, 18, 0.42), rgba(91, 33, 182, 0.16) 55%, transparent 78%) !important;
  filter: blur(16px) !important;
}

@media (max-width: 980px) {
  .hero-visual .road-stage {
    height: 430px !important;
    bottom: -12px !important;
  }

  .hero-visual .car-3d.has-custom-car {
    width: min(620px, 100vw) !important;
    height: 430px !important;
    bottom: -20px !important;
  }
}

@media (max-width: 760px) {
  .hero-visual .road-stage {
    height: 350px !important;
    bottom: -6px !important;
  }

  .hero-visual .car-3d.has-custom-car {
    width: min(520px, 115vw) !important;
    height: 350px !important;
    bottom: -10px !important;
  }

  .hero-visual .car-3d.has-custom-car .car-shadow {
    bottom: 54px !important;
    height: 42px !important;
  }
}


/* EXACT HERO CAR ROAD IMAGE - FINAL */
.hero-visual .road-line,
.hero-visual .road-line-two,
.hero-visual .road-base,
.hero-visual .road-stage::before,
.hero-visual .car-shadow {
  display: none !important;
  content: none !important;
}

.hero-visual .road-stage {
  left: -4% !important;
  right: -2% !important;
  bottom: -34px !important;
  height: 540px !important;
  overflow: visible !important;
  perspective: none !important;
  transform: none !important;
}

.hero-visual .car-3d,
.hero-visual .car-3d.has-custom-car,
.hero-visual .car-3d.exact-hero-car {
  left: 50% !important;
  bottom: -12px !important;
  width: min(720px, 98vw) !important;
  height: 540px !important;
  z-index: 12 !important;
  transform: translateX(-50%) !important;
  animation: customCarFloat var(--hero-car-speed, 4.5s) ease-in-out infinite !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.hero-visual .car-3d .hero-custom-car,
.hero-visual .car-3d.has-custom-car .hero-custom-car,
.hero-visual .car-3d.exact-hero-car .hero-custom-car {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  opacity: 1 !important;
  filter: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
}

.hero-visual .car-3d .car-body,
.hero-visual .car-3d .wheel {
  display: none !important;
  opacity: 0 !important;
}

@media (max-width: 980px) {
  .hero-visual .road-stage {
    left: -8% !important;
    right: -8% !important;
    bottom: -18px !important;
    height: 450px !important;
  }
  .hero-visual .car-3d,
  .hero-visual .car-3d.has-custom-car,
  .hero-visual .car-3d.exact-hero-car {
    width: min(620px, 112vw) !important;
    height: 450px !important;
    bottom: -8px !important;
  }
}

@media (max-width: 760px) {
  .hero-visual .road-stage {
    left: -16% !important;
    right: -16% !important;
    bottom: -8px !important;
    height: 360px !important;
  }
  .hero-visual .car-3d,
  .hero-visual .car-3d.has-custom-car,
  .hero-visual .car-3d.exact-hero-car {
    width: min(520px, 126vw) !important;
    height: 360px !important;
    bottom: 0 !important;
  }
}

/* ABOUT SECTION CUSTOM CAR IMAGE - uploaded PNG */
.instructor-scene .mini-car.custom-about-car {
  left: 60px !important;
  bottom: 42px !important;
  width: 370px !important;
  height: 330px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: rotate(-5deg) !important;
  overflow: visible !important;
  z-index: 4 !important;
}

.instructor-scene .mini-car.custom-about-car::before,
.instructor-scene .mini-car.custom-about-car::after {
  display: none !important;
  content: none !important;
}

.instructor-scene .mini-car.custom-about-car img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  display: block !important;
  filter: drop-shadow(0 28px 26px rgba(91, 33, 182, 0.20)) drop-shadow(0 0 30px rgba(168, 85, 247, 0.12)) !important;
  pointer-events: none !important;
  user-select: none !important;
}

.instructor-scene .pedal-card {
  z-index: 8 !important;
}

.instructor-scene .dashboard-card,
.instructor-scene .coach-card {
  z-index: 9 !important;
}

@media (max-width: 980px) {
  .instructor-scene .mini-car.custom-about-car {
    left: 42px !important;
    bottom: 38px !important;
    width: 340px !important;
    height: 300px !important;
  }
}

@media (max-width: 760px) {
  .instructor-scene .mini-car.custom-about-car {
    left: 50% !important;
    bottom: 42px !important;
    width: min(350px, 88vw) !important;
    height: 300px !important;
    transform: translateX(-50%) rotate(-4deg) !important;
  }
}

/* FINAL FIX: Dacia car + uploaded 3D road base together */
.hero-visual .road-line,
.hero-visual .road-line-two {
  display: none !important;
}

.hero-visual .road-stage {
  left: -3% !important;
  right: -2% !important;
  bottom: -8px !important;
  height: 500px !important;
  overflow: visible !important;
  perspective: 1050px !important;
  transform-style: preserve-3d !important;
}

.hero-visual .road-stage::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 9% !important;
  right: 6% !important;
  bottom: 58px !important;
  height: 120px !important;
  z-index: 1 !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse, rgba(18, 13, 34, 0.22), rgba(124, 58, 237, 0.12) 50%, transparent 76%) !important;
  filter: blur(22px) !important;
}

.hero-visual .road-base {
  display: block !important;
  position: absolute !important;
  left: -2% !important;
  right: -2% !important;
  bottom: 18px !important;
  height: 340px !important;
  z-index: 3 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: translateY(8px) scale(1.09) !important;
  transform-origin: center bottom !important;
  filter: none !important;
}

.hero-visual .road-base::before,
.hero-visual .road-base::after,
.hero-visual .road-base > span {
  content: none !important;
  display: none !important;
}

.hero-visual .road-base-custom-img {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  background: transparent !important;
  filter: drop-shadow(0 28px 30px rgba(18, 13, 30, 0.24)) drop-shadow(0 0 26px rgba(124, 58, 237, 0.12)) !important;
  pointer-events: none !important;
  user-select: none !important;
}

.hero-visual .car-3d,
.hero-visual .car-3d.has-custom-car,
.hero-visual .car-3d.exact-hero-car {
  left: 50% !important;
  bottom: 112px !important;
  width: min(610px, 88vw) !important;
  height: 390px !important;
  z-index: 9 !important;
  transform: translateX(-50%) !important;
  animation: customCarFloat var(--hero-car-speed, 4.5s) ease-in-out infinite !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.hero-visual .car-3d .hero-custom-car,
.hero-visual .car-3d.has-custom-car .hero-custom-car,
.hero-visual .car-3d.exact-hero-car .hero-custom-car {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  opacity: 1 !important;
  filter: drop-shadow(0 24px 28px rgba(18, 13, 30, 0.28)) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
}

.hero-visual .car-3d .car-shadow {
  display: block !important;
  left: 17% !important;
  right: 13% !important;
  bottom: 62px !important;
  height: 54px !important;
  z-index: 1 !important;
  background: radial-gradient(ellipse, rgba(9, 7, 18, 0.34), rgba(91, 33, 182, 0.12) 55%, transparent 78%) !important;
  filter: blur(16px) !important;
}

.hero-visual .car-3d .car-body,
.hero-visual .car-3d .wheel {
  display: none !important;
  opacity: 0 !important;
}

@media (max-width: 980px) {
  .hero-visual .road-stage {
    left: -8% !important;
    right: -8% !important;
    bottom: -4px !important;
    height: 420px !important;
  }
  .hero-visual .road-base {
    left: -6% !important;
    right: -6% !important;
    bottom: 16px !important;
    height: 285px !important;
    transform: translateY(8px) scale(1.06) !important;
  }
  .hero-visual .car-3d,
  .hero-visual .car-3d.has-custom-car,
  .hero-visual .car-3d.exact-hero-car {
    width: min(540px, 104vw) !important;
    height: 340px !important;
    bottom: 94px !important;
  }
}

@media (max-width: 760px) {
  .hero-visual .road-stage {
    left: -18% !important;
    right: -18% !important;
    bottom: 4px !important;
    height: 340px !important;
  }
  .hero-visual .road-base {
    left: -14% !important;
    right: -14% !important;
    bottom: 18px !important;
    height: 230px !important;
    transform: translateY(6px) scale(1.04) !important;
  }
  .hero-visual .car-3d,
  .hero-visual .car-3d.has-custom-car,
  .hero-visual .car-3d.exact-hero-car {
    width: min(440px, 122vw) !important;
    height: 280px !important;
    bottom: 78px !important;
  }
  .hero-visual .car-3d .car-shadow {
    bottom: 44px !important;
    height: 38px !important;
  }
}

/* FINAL HERO FIX: use the uploaded Dacia + road as one ready image */
.hero-visual .road-line,
.hero-visual .road-line-two,
.hero-visual .road-base {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-visual .road-stage {
  left: -7% !important;
  right: -6% !important;
  bottom: -10px !important;
  height: 520px !important;
  overflow: visible !important;
}

.hero-visual .road-stage::before {
  left: 20% !important;
  right: 14% !important;
  bottom: 66px !important;
  height: 115px !important;
  z-index: 2 !important;
  background: radial-gradient(ellipse, rgba(18, 13, 34, 0.20), rgba(124, 58, 237, 0.10) 54%, transparent 76%) !important;
  filter: blur(24px) !important;
}

.hero-visual .car-3d.ready-road-hero,
.hero-visual .car-3d.has-custom-car.ready-road-hero,
.hero-visual .car-3d.exact-hero-car.ready-road-hero {
  left: 50% !important;
  bottom: 34px !important;
  width: min(760px, 104vw) !important;
  height: 430px !important;
  z-index: 9 !important;
  transform: translateX(-50%) !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  overflow: visible !important;
}

.hero-visual .ready-road-hero .hero-custom-car {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  filter: drop-shadow(0 30px 34px rgba(18, 13, 30, 0.22)) !important;
  background: transparent !important;
}

.hero-visual .ready-road-hero .car-shadow,
.hero-visual .ready-road-hero .car-body,
.hero-visual .ready-road-hero .wheel {
  display: none !important;
  opacity: 0 !important;
}

@media (max-width: 980px) {
  .hero-visual .road-stage {
    left: -16% !important;
    right: -16% !important;
    bottom: -4px !important;
    height: 430px !important;
  }
  .hero-visual .car-3d.ready-road-hero,
  .hero-visual .car-3d.has-custom-car.ready-road-hero,
  .hero-visual .car-3d.exact-hero-car.ready-road-hero {
    width: min(650px, 126vw) !important;
    height: 365px !important;
    bottom: 36px !important;
  }
}

@media (max-width: 760px) {
  .hero-visual .road-stage {
    left: -28% !important;
    right: -28% !important;
    bottom: 8px !important;
    height: 330px !important;
  }
  .hero-visual .car-3d.ready-road-hero,
  .hero-visual .car-3d.has-custom-car.ready-road-hero,
  .hero-visual .car-3d.exact-hero-car.ready-road-hero {
    width: min(520px, 140vw) !important;
    height: 292px !important;
    bottom: 38px !important;
  }
}

/* CLEAN FINAL HERO ROAD FIX v9
   Uses the uploaded Dacia + road as ONE image. The old purple road/platform is fully removed. */
.hero-visual .road-line,
.hero-visual .road-line-two,
.hero-visual .road-base,
.hero-visual .road-base-custom-img,
.hero-visual .road-sheen,
.hero-visual .road-marker,
.hero-visual .road-edge {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

.hero-visual .road-stage.clean-ready-hero {
  position: absolute !important;
  left: -8% !important;
  right: -8% !important;
  bottom: -6px !important;
  height: 540px !important;
  overflow: visible !important;
  transform: none !important;
  perspective: none !important;
}

.hero-visual .road-stage.clean-ready-hero::before {
  content: "" !important;
  position: absolute !important;
  left: 18% !important;
  right: 14% !important;
  bottom: 58px !important;
  height: 120px !important;
  z-index: 1 !important;
  background: radial-gradient(ellipse, rgba(18, 13, 34, 0.16), rgba(124, 58, 237, 0.08) 56%, transparent 78%) !important;
  filter: blur(28px) !important;
  transform: none !important;
}

.hero-visual .car-3d.clean-hero-image,
.hero-visual .car-3d.has-custom-car.clean-hero-image,
.hero-visual .car-3d.exact-hero-car.clean-hero-image,
.hero-visual .car-3d.ready-road-hero.clean-hero-image {
  position: absolute !important;
  left: 50% !important;
  bottom: 20px !important;
  width: min(820px, 106vw) !important;
  height: 500px !important;
  z-index: 10 !important;
  transform: translateX(-50%) !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  overflow: visible !important;
  transform-style: flat !important;
  animation: customCarFloat var(--hero-car-speed, 4.5s) ease-in-out infinite !important;
}

.hero-visual .clean-hero-image .hero-custom-car {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  background: transparent !important;
  filter: none !important;
  transform: none !important;
}

.hero-visual .clean-hero-image .car-shadow,
.hero-visual .clean-hero-image .car-body,
.hero-visual .clean-hero-image .wheel {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

@media (max-width: 980px) {
  .hero-visual .road-stage.clean-ready-hero {
    left: -20% !important;
    right: -20% !important;
    bottom: 0 !important;
    height: 430px !important;
  }
  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image {
    width: min(680px, 128vw) !important;
    height: 405px !important;
    bottom: 18px !important;
  }
}

@media (max-width: 760px) {
  .hero-visual .road-stage.clean-ready-hero {
    left: -30% !important;
    right: -30% !important;
    bottom: 8px !important;
    height: 325px !important;
  }
  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image {
    width: min(540px, 142vw) !important;
    height: 318px !important;
    bottom: 24px !important;
  }
}


/* Premium purple redesign for the lower Formation Moderne section */
.modern-training.modern-training-v2 {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(330px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(24px, 3.7vw, 58px);
  min-height: 690px;
  padding: clamp(46px, 6vw, 78px) clamp(34px, 6vw, 72px);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 10%, rgba(142, 74, 255, 0.24), transparent 36%),
    radial-gradient(circle at 14% 75%, rgba(145, 65, 255, 0.34), transparent 30%),
    linear-gradient(135deg, #090020 0%, #22005a 39%, #3b0b78 62%, #0b1024 100%);
  box-shadow: 0 42px 120px rgba(27, 6, 64, 0.34), inset 0 1px 0 rgba(255,255,255,0.12);
}

.modern-training-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 65% 35%, #000 0 46%, transparent 72%);
  opacity: 0.38;
}

.modern-training-v2::after {
  content: "";
  position: absolute;
  inset: 20px;
  z-index: -1;
  border-radius: 34px;
  background: radial-gradient(circle at 78% 60%, rgba(126, 58, 242, 0.24), transparent 38%);
  pointer-events: none;
}

.training-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.9;
  animation: trainingGlowFloat 7s ease-in-out infinite;
}

.training-glow-one {
  left: 34%;
  bottom: 34px;
  width: 74px;
  height: 74px;
  background: radial-gradient(circle, rgba(146, 80, 255, 0.8), transparent 62%);
}

.training-glow-two {
  right: 12%;
  top: 50px;
  width: 118px;
  height: 118px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.54), transparent 65%);
  animation-delay: -2.6s;
}

.training-orbit {
  position: absolute;
  right: -18%;
  top: -10%;
  z-index: -1;
  width: min(720px, 55vw);
  aspect-ratio: 1;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(91, 33, 182, 0.18);
  animation: orbitPulse 8s ease-in-out infinite;
}

.training-copy {
  position: relative;
  z-index: 5;
}

.modern-training-v2 .training-copy .eyebrow {
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.12em;
}

.modern-training-v2 .training-copy .eyebrow::before {
  background: linear-gradient(90deg, #a78bfa, #fff);
}

.modern-training-v2 .training-copy h2 {
  max-width: 560px;
  margin-top: 24px;
  color: #fff;
  font-size: clamp(46px, 5.1vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.modern-training-v2 .training-copy h2 .title-gradient {
  color: transparent;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 45%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 16px 52px rgba(168, 85, 247, 0.28);
}

.modern-training-v2 .training-copy p {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.65;
}

.modern-training-v2 .training-copy ul {
  gap: 12px;
  margin-top: 34px;
  max-width: 440px;
}

.modern-training-v2 .training-copy li {
  position: relative;
  min-height: 54px;
  padding: 0 20px 0 66px;
  border: 1px solid rgba(168, 85, 247, 0.26);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}

.modern-training-v2 .training-copy li::before {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #6d28d9, #a855f7);
  box-shadow: 0 13px 30px rgba(124, 58, 237, 0.32);
}

.modern-training-v2 .training-copy li:nth-child(1)::before { content: "▰"; }
.modern-training-v2 .training-copy li:nth-child(2)::before { content: "▱"; }
.modern-training-v2 .training-copy li:nth-child(3)::before { content: "◈"; }

.training-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  margin-top: 38px;
  padding: 0 28px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #6d28d9, #a855f7 76%);
  box-shadow: 0 24px 50px rgba(124, 58, 237, 0.36), inset 0 1px 0 rgba(255,255,255,0.25);
  font-size: 22px;
  font-weight: 950;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.training-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: translateX(-120%);
  animation: ctaShine 3.8s ease-in-out infinite;
}

.training-cta:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 32px 70px rgba(168, 85, 247, 0.46), inset 0 1px 0 rgba(255,255,255,0.28);
}

.training-cta-icon,
.training-cta-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.training-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.modern-training-v2 .road-badge {
  position: relative;
  inset: auto;
  z-index: 2;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-size: inherit;
  font-weight: inherit;
}

.training-cta-arrow {
  margin-left: 10px;
  font-size: 32px;
}

.training-visual {
  position: relative;
  z-index: 4;
  min-height: 560px;
  perspective: 1100px;
}

.visual-dots {
  position: absolute;
  left: 12%;
  top: 19%;
  width: 170px;
  height: 170px;
  opacity: 0.44;
  background-image: radial-gradient(rgba(168, 85, 247, 0.72) 2px, transparent 2.4px);
  background-size: 18px 18px;
  animation: dotsFloat 8s ease-in-out infinite;
}

.visual-path {
  position: absolute;
  z-index: 1;
  border: 3px dashed rgba(168, 85, 247, 0.78);
  filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.25));
  animation: pathPulse 3.2s ease-in-out infinite;
}

.path-one {
  left: 30%;
  top: 24%;
  width: 37%;
  height: 26%;
  border-right: 0;
  border-bottom-left-radius: 28px;
  border-top-left-radius: 28px;
}

.path-two {
  right: 11%;
  bottom: 10%;
  width: 31%;
  height: 20%;
  border-left: 0;
  border-top-right-radius: 26px;
  border-bottom-right-radius: 26px;
  animation-delay: -1.4s;
}

.modern-training-v2 .traffic-sign {
  position: relative;
  inset: auto;
  z-index: auto;
  width: auto;
  height: auto;
  border: 0;
  clip-path: none;
  box-shadow: none;
  animation: none;
  color: inherit;
  background: transparent;
}

.training-warning,
.modern-training-v2 .traffic-sign.triangle.training-warning {
  position: absolute;
  left: 26%;
  top: 25%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 42% 30%, rgba(168,85,247,0.4), rgba(36,9,84,0.85));
  box-shadow: 0 28px 60px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.18);
  font-size: 0;
  animation: floatY var(--section-sign-speed, 4.5s) ease-in-out infinite;
}

.training-warning::before {
  content: "";
  width: 66px;
  height: 58px;
  background: linear-gradient(135deg, #fff, #eee);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.training-warning::after {
  content: "!";
  position: absolute;
  top: 42px;
  color: #361060;
  font-size: 36px;
  font-weight: 950;
}

.training-progress-card,
.training-permis-card {
  position: absolute;
  z-index: 7;
  border: 1px solid rgba(168, 85, 247, 0.44);
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, rgba(46, 13, 103, 0.84), rgba(16, 8, 40, 0.68));
  box-shadow: 0 28px 80px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.11);
  backdrop-filter: blur(14px);
  animation: cardFloat 6s ease-in-out infinite;
}

.training-progress-card {
  right: 4%;
  top: 10%;
  display: grid;
  grid-template-columns: 68px 1fr;
  column-gap: 18px;
  align-items: center;
  width: min(342px, 44vw);
  padding: 28px 30px;
}

.progress-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d28d9, #a855f7);
  box-shadow: 0 18px 40px rgba(168, 85, 247, 0.3);
  font-size: 31px;
}

.progress-label {
  font-size: 21px;
  font-weight: 900;
}

.modern-training-v2 .traffic-sign.circle {
  display: block;
  color: #fff;
  font-size: 45px;
  line-height: 1;
  font-weight: 950;
}

.progress-bar {
  grid-column: 1 / -1;
  display: block;
  height: 13px;
  margin-top: 21px;
  border-radius: 999px;
  background: rgba(255,255,255,0.17);
  overflow: hidden;
}

.progress-bar i {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.45);
  animation: progressFill 2.2s ease-out both;
}

.training-permis-card {
  right: 5%;
  bottom: 2%;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 295px;
  padding: 24px 28px;
  animation-delay: -2.5s;
}

.modern-training-v2 .traffic-sign.square {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #6d28d9, #a855f7);
  box-shadow: 0 18px 42px rgba(168, 85, 247, 0.34);
  font-size: 42px;
  font-weight: 950;
}

.training-permis-card small,
.training-permis-card span {
  display: block;
  color: rgba(255,255,255,0.86);
  font-size: 18px;
  font-weight: 800;
}

.training-permis-card strong {
  display: block;
  margin: 2px 0;
  color: #a855f7;
  font-size: 44px;
  line-height: 1;
  font-weight: 950;
}

.training-car-stage {
  position: absolute;
  right: -8%;
  bottom: 1%;
  z-index: 4;
  width: min(750px, 77vw);
  transform: translate3d(0, 0, 0);
  animation: sectionCarFloat var(--section-car-speed, 6s) ease-in-out infinite;
}

.training-car-road-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 52px rgba(0,0,0,0.38)) drop-shadow(0 0 34px rgba(147, 51, 234, 0.3));
}

@keyframes sectionCarFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.2deg); }
  50% { transform: translate3d(-10px, -16px, 0) rotate(0.4deg); }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pathPulse {
  0%, 100% { opacity: 0.54; }
  50% { opacity: 1; }
}

@keyframes dotsFloat {
  0%, 100% { transform: translateY(0); opacity: 0.38; }
  50% { transform: translateY(-14px); opacity: 0.68; }
}

@keyframes trainingGlowFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-22px) scale(1.08); }
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.46; transform: scale(1); }
  50% { opacity: 0.82; transform: scale(1.04); }
}

@keyframes ctaShine {
  0%, 40% { transform: translateX(-120%); }
  68%, 100% { transform: translateX(130%); }
}

@keyframes progressFill {
  from { width: 0; }
  to { width: 82%; }
}

@media (max-width: 1180px) {
  .modern-training.modern-training-v2 {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .training-visual {
    min-height: 570px;
  }

  .training-car-stage {
    right: -2%;
    bottom: 4%;
    width: min(790px, 94vw);
  }

  .training-progress-card {
    right: 6%;
    width: min(342px, 55vw);
  }

  .training-permis-card {
    right: 4%;
    bottom: 0;
  }
}

@media (max-width: 760px) {
  .modern-training.modern-training-v2 {
    padding: 34px 20px 26px;
    border-radius: 30px;
  }

  .modern-training-v2 .training-copy h2 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .modern-training-v2 .training-copy p {
    font-size: 16px;
  }

  .modern-training-v2 .training-copy li {
    min-height: 50px;
    padding-left: 62px;
    font-size: 15px;
  }

  .training-cta {
    width: 100%;
    justify-content: center;
    min-height: 64px;
    font-size: 18px;
  }

  .training-visual {
    min-height: 430px;
    margin-top: 8px;
  }

  .visual-dots {
    left: 0;
    top: 10%;
    transform: scale(0.74);
    transform-origin: top left;
  }

  .training-warning,
  .modern-training-v2 .traffic-sign.triangle.training-warning {
    left: 5%;
    top: 17%;
    width: 78px;
    height: 78px;
  }

  .training-warning::before {
    width: 44px;
    height: 39px;
  }

  .training-warning::after {
    top: 27px;
    font-size: 24px;
  }

  .training-progress-card {
    right: 0;
    top: 3%;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    width: min(265px, 82vw);
    padding: 18px;
    border-radius: 20px;
  }

  .progress-icon {
    width: 48px;
    height: 48px;
    font-size: 23px;
  }

  .progress-label {
    font-size: 16px;
  }

  .modern-training-v2 .traffic-sign.circle {
    font-size: 32px;
  }

  .training-car-stage {
    right: -34%;
    bottom: 42px;
    width: min(680px, 145vw);
  }

  .training-permis-card {
    left: 0;
    right: auto;
    bottom: 2px;
    min-width: 224px;
    padding: 16px 18px;
    border-radius: 22px;
  }

  .modern-training-v2 .traffic-sign.square {
    width: 54px;
    height: 54px;
    font-size: 30px;
  }

  .training-permis-card small,
  .training-permis-card span {
    font-size: 14px;
  }

  .training-permis-card strong {
    font-size: 32px;
  }
}

/* Exact purple Formation Moderne section requested by client */
.interactive.exact-training-section {
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(58px, 7vw, 92px);
  overflow: hidden;
}

.exact-training-shell {
  width: min(1240px, calc(100% - 40px));
}

.exact-training-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 38px;
  background: #12002e;
  box-shadow:
    0 34px 100px rgba(28, 0, 72, 0.23),
    0 14px 35px rgba(124, 58, 237, 0.16);
  transform: translateZ(0);
  animation: exactTrainingIn 0.9s cubic-bezier(.2,.8,.2,1) both;
}

.exact-training-card::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 79% 8%, rgba(168, 85, 247, 0.34), transparent 24%),
    radial-gradient(circle at 35% 91%, rgba(124, 58, 237, 0.22), transparent 22%);
  filter: blur(12px);
  opacity: 0.9;
  animation: exactTrainingGlow 8s ease-in-out infinite;
}

.exact-training-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  user-select: none;
  -webkit-user-drag: none;
}

.exact-training-button {
  position: absolute;
  z-index: 6;
  left: 5.8%;
  top: 81.0%;
  width: 24.4%;
  height: 7.2%;
  border-radius: 24px;
  cursor: pointer;
  background: transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.exact-training-button:hover,
.exact-training-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.14), 0 0 35px rgba(168,85,247,0.4);
  outline: none;
}

@keyframes exactTrainingIn {
  from { opacity: 0; transform: translateY(36px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes exactTrainingGlow {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .72; }
  50% { transform: translate3d(-14px, 12px, 0) scale(1.04); opacity: 1; }
}

@media (max-width: 760px) {
  .interactive.exact-training-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .exact-training-shell {
    width: min(100% - 24px, 1240px);
  }

  .exact-training-card {
    border-radius: 24px;
  }

  .exact-training-button {
    left: 5.2%;
    top: 80.2%;
    width: 26.4%;
    height: 8.2%;
    border-radius: 18px;
  }
}

/* =====================================================================
   FINAL CODED SECTION: Formation Moderne purple design built with HTML/CSS
   This replaces the image screenshot. Button is real and links to #contact.
   ===================================================================== */
.interactive.exact-training-section,
.exact-training-section,
.exact-training-shell,
.exact-training-card,
.exact-training-image,
.exact-training-button {
  display: initial;
}

.coded-purple-section {
  position: relative;
  padding-top: clamp(58px, 7vw, 96px) !important;
  padding-bottom: clamp(58px, 7vw, 96px) !important;
  overflow: hidden;
}

.coded-training-shell {
  width: min(1340px, calc(100% - 42px));
}

.coded-training-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(360px, 0.76fr) minmax(560px, 1.24fr);
  align-items: center;
  min-height: 760px;
  overflow: hidden;
  border-radius: 0;
  padding: clamp(64px, 5.8vw, 96px) clamp(52px, 6vw, 84px);
  color: #fff;
  background:
    radial-gradient(circle at 76% 16%, rgba(126, 58, 242, 0.42), transparent 22%),
    radial-gradient(circle at 37% 83%, rgba(147, 51, 234, 0.38), transparent 24%),
    radial-gradient(circle at 6% 94%, rgba(76, 29, 149, 0.7), transparent 34%),
    linear-gradient(135deg, #0f0529 0%, #21004f 43%, #130725 100%);
  box-shadow:
    0 36px 90px rgba(35, 0, 89, 0.28),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  transform: translateZ(0);
}

.coded-training-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 65% 42%, #000 0 55%, transparent 85%);
  opacity: .35;
}

.coded-training-card::after {
  content: "";
  position: absolute;
  inset: auto 10% -18% auto;
  width: 52%;
  height: 34%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(116, 58, 237, 0.34);
  filter: blur(70px);
  animation: codedGlowMove 8s ease-in-out infinite;
}

.coded-orbit {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(168, 85, 247, 0.24);
  border-radius: 50%;
}

.coded-orbit.orbit-large {
  width: 720px;
  height: 720px;
  right: -2%;
  top: -10%;
  box-shadow: inset -10px 8px 22px rgba(168, 85, 247, 0.10);
  animation: orbitPulse 7s ease-in-out infinite;
}

.coded-orbit.orbit-large::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 11%;
  width: 112px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  transform: rotate(-36deg);
  box-shadow: 0 0 24px #a855f7;
}

.coded-orbit.orbit-small {
  width: 160px;
  height: 160px;
  left: 31%;
  bottom: 4%;
  border-color: rgba(168, 85, 247, 0.11);
  opacity: .55;
}

.coded-dot-grid {
  position: absolute;
  z-index: 0;
  left: 42%;
  top: 19%;
  width: 120px;
  height: 150px;
  background-image: radial-gradient(rgba(168, 85, 247, 0.56) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: .55;
  animation: codedDots 6s ease-in-out infinite;
}

.coded-glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(14px);
}

.coded-glow-one {
  width: 78px;
  height: 78px;
  left: 36%;
  bottom: 9%;
  background: rgba(168, 85, 247, 0.42);
  animation: floatSoft 5.5s ease-in-out infinite;
}

.coded-glow-two {
  width: 24px;
  height: 24px;
  left: 40%;
  bottom: 11%;
  background: #d8b4fe;
  box-shadow: 0 0 30px #a855f7;
  animation: floatSoft 4.6s ease-in-out infinite reverse;
}

.coded-training-copy {
  position: relative;
  z-index: 4;
  max-width: 510px;
}

.coded-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coded-eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #a855f7, #f4f0ff);
}

.coded-training-copy h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(54px, 5.7vw, 82px);
  line-height: .94;
  letter-spacing: -0.055em;
  font-weight: 950;
  text-shadow: 0 12px 38px rgba(0,0,0,0.20);
}

.coded-training-copy h2 strong {
  display: block;
  color: #8b5cf6;
  background: linear-gradient(180deg, #b58cff 0%, #7c3aed 82%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.coded-training-copy p {
  max-width: 560px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.78);
  font-size: 20px;
  line-height: 1.65;
}

.coded-training-list {
  display: grid;
  gap: 13px;
  max-width: 440px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.coded-training-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 8px 18px 8px 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(168, 85, 247, .20);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
  font-size: 19px;
  font-weight: 850;
  animation: codedListIn .8s cubic-bezier(.2,.8,.2,1) both;
}

.coded-training-list li:nth-child(2) { animation-delay: .08s; }
.coded-training-list li:nth-child(3) { animation-delay: .16s; }

.coded-list-icon,
.btn-icon,
.progress-icon,
.permis-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d28d9, #a855f7);
  box-shadow: 0 14px 35px rgba(124,58,237,.35);
}

.coded-list-icon {
  width: 50px;
  height: 50px;
  margin-left: 0;
  color: #fff;
  font-size: 18px;
}

.coded-training-list b {
  color: #a78bfa;
  font-weight: 950;
}

.coded-training-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 360px;
  min-height: 72px;
  padding: 10px 28px 10px 14px;
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
  font-size: 21px;
  font-weight: 950;
  background: linear-gradient(135deg, #7c3aed 0%, #b84cff 100%);
  box-shadow:
    0 22px 45px rgba(124,58,237,.34),
    inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.coded-training-btn:hover,
.coded-training-btn:focus-visible {
  transform: translateY(-4px) scale(1.02);
  filter: saturate(1.12);
  box-shadow:
    0 30px 65px rgba(168,85,247,.46),
    0 0 0 4px rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.32);
  outline: none;
}

.btn-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.13);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

.btn-arrow {
  margin-left: auto;
  font-size: 30px;
  line-height: 1;
  transition: transform .28s ease;
}

.coded-training-btn:hover .btn-arrow { transform: translateX(7px); }

.coded-training-visual {
  position: relative;
  z-index: 3;
  min-height: 660px;
  margin-left: -44px;
}

.coded-road-wrap {
  position: absolute;
  right: -10.5%;
  bottom: 12%;
  width: min(820px, 62vw);
  margin: 0;
  z-index: 4;
  animation: codedCarFloat 4.6s ease-in-out infinite;
}

.coded-car-road {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 32px 42px rgba(0,0,0,.40))
    drop-shadow(0 0 34px rgba(124,58,237,.22));
  user-select: none;
  -webkit-user-drag: none;
}

.road-neon {
  position: absolute;
  left: 28%;
  right: 1%;
  bottom: 11%;
  height: 12px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #8b5cf6, #c084fc);
  box-shadow: 0 0 24px #8b5cf6, 0 0 58px rgba(168,85,247,.8);
  transform: rotate(-11deg);
  opacity: .92;
  animation: roadLight 2.2s ease-in-out infinite;
}

.coded-path {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border: 3px dashed rgba(139, 92, 246, .72);
  border-radius: 34px;
  opacity: .75;
  animation: dashMove 12s linear infinite;
}

.coded-path.path-one {
  right: 31%;
  top: 20%;
  width: 220px;
  height: 165px;
  border-right: 0;
  border-bottom: 0;
}

.coded-path.path-two {
  right: 18%;
  bottom: 13%;
  width: 260px;
  height: 145px;
  border-left: 0;
  border-top: 0;
}

.coded-warning-badge {
  position: absolute;
  z-index: 5;
  left: 12%;
  top: 24%;
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  color: #1b0b37;
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.12), rgba(255,255,255,.02));
  border: 1px solid rgba(168, 85, 247, .48);
  box-shadow: 0 22px 50px rgba(0,0,0,.24), inset 0 0 32px rgba(168,85,247,.16);
  animation: floatSoft 4.8s ease-in-out infinite;
}

.coded-warning-badge span {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 62px;
  color: #fff;
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
  background: linear-gradient(180deg, #fafafa, #e8e0ff);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  filter: drop-shadow(0 0 18px rgba(255,255,255,.22));
}

.coded-warning-badge span::before {
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-top: 15px;
  color: #17092e;
  font-size: 30px;
}

.coded-progress-card,
.coded-permis-card {
  position: absolute;
  z-index: 7;
  display: grid;
  align-items: center;
  border: 1px solid rgba(168, 85, 247, .45);
  background: rgba(31, 11, 69, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(8, 3, 22, .30), inset 0 1px 0 rgba(255,255,255,.08);
}

.coded-progress-card {
  right: 2.5%;
  top: 14%;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  width: 330px;
  min-height: 146px;
  padding: 26px 28px;
  border-radius: 26px;
  animation: codedCardFloat 4.8s ease-in-out infinite;
}

.progress-icon {
  width: 70px;
  height: 70px;
  color: #fff;
  font-size: 32px;
}

.coded-progress-card span,
.coded-permis-card span {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.coded-progress-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 44px;
  line-height: .9;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.progress-line {
  grid-column: 1 / -1;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}

.progress-line i {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  animation: progressFill 2.2s cubic-bezier(.2,.8,.2,1) both;
}

.coded-permis-card {
  right: 2%;
  bottom: 6.5%;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  width: 320px;
  min-height: 138px;
  padding: 24px;
  border-radius: 26px;
  animation: codedCardFloat 5.2s ease-in-out infinite reverse;
}

.permis-icon {
  width: 78px;
  height: 78px;
  color: #fff;
  font-size: 44px;
  font-weight: 950;
}

.coded-permis-card strong {
  display: block;
  margin: 7px 0 6px;
  color: #a855f7;
  font-size: 42px;
  line-height: .92;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.coded-permis-card small {
  color: rgba(255,255,255,.86);
  font-size: 18px;
  font-weight: 850;
}

@keyframes codedGlowMove {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .78; }
  50% { transform: translate3d(-28px, -12px, 0) scale(1.08); opacity: 1; }
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.035); opacity: 1; }
}

@keyframes codedDots {
  0%, 100% { transform: translateY(0); opacity: .42; }
  50% { transform: translateY(-12px); opacity: .75; }
}

@keyframes codedListIn {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes codedCarFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.4deg); }
  50% { transform: translate3d(-8px, -14px, 0) rotate(.5deg); }
}

@keyframes codedCardFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -13px, 0); }
}

@keyframes roadLight {
  0%, 100% { opacity: .62; filter: blur(0); }
  50% { opacity: 1; filter: blur(1px); }
}

@keyframes dashMove {
  to { stroke-dashoffset: -100; }
}

@media (max-width: 1180px) {
  .coded-training-card {
    grid-template-columns: 0.82fr 1.18fr;
    min-height: 670px;
    padding: 58px 44px;
  }

  .coded-training-copy h2 { font-size: clamp(46px, 5.4vw, 68px); }
  .coded-training-copy p { font-size: 18px; }
  .coded-training-list li { min-height: 54px; font-size: 17px; }
  .coded-training-btn { min-width: 320px; min-height: 66px; font-size: 19px; }
  .coded-road-wrap { width: min(720px, 64vw); right: -13%; bottom: 14%; }
  .coded-progress-card { width: 286px; min-height: 128px; padding: 22px; }
  .coded-progress-card strong { font-size: 38px; }
  .coded-permis-card { width: 280px; min-height: 120px; }
  .coded-permis-card strong { font-size: 36px; }
}

@media (max-width: 900px) {
  .coded-training-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 46px 26px 34px;
    border-radius: 30px;
  }

  .coded-training-copy { max-width: 100%; }
  .coded-training-copy h2 { max-width: 520px; }
  .coded-training-copy p { max-width: 600px; }
  .coded-training-list { max-width: 520px; }
  .coded-training-visual { min-height: 500px; margin-left: 0; margin-top: 28px; }
  .coded-road-wrap { width: min(760px, 116vw); right: -20%; bottom: 9%; }
  .coded-warning-badge { width: 100px; height: 100px; left: 3%; top: 5%; }
  .coded-progress-card { right: 2%; top: 4%; }
  .coded-permis-card { right: 3%; bottom: 2%; }
  .coded-orbit.orbit-large { width: 560px; height: 560px; right: -26%; top: 23%; }
  .coded-dot-grid { left: 58%; top: 35%; }
}

@media (max-width: 620px) {
  .coded-training-shell { width: min(100% - 22px, 1340px); }
  .coded-training-card { padding: 34px 18px 26px; border-radius: 26px; }
  .coded-eyebrow { font-size: 11px; margin-bottom: 22px; }
  .coded-training-copy h2 { font-size: clamp(38px, 12vw, 58px); line-height: .96; }
  .coded-training-copy p { font-size: 16px; line-height: 1.62; }
  .coded-training-list li { min-height: 52px; padding-right: 12px; font-size: 14px; gap: 10px; }
  .coded-list-icon { width: 42px; height: 42px; }
  .coded-training-btn { min-width: 0; width: 100%; min-height: 62px; font-size: 17px; border-radius: 18px; }
  .coded-training-visual { min-height: 420px; }
  .coded-road-wrap { width: min(650px, 138vw); right: -42%; bottom: 6%; }
  .coded-warning-badge { width: 72px; height: 72px; left: 1%; top: 9%; }
  .coded-warning-badge span { width: 48px; height: 42px; }
  .coded-progress-card { width: 214px; min-height: 96px; grid-template-columns: 48px 1fr; gap: 10px; padding: 14px; border-radius: 18px; }
  .progress-icon { width: 48px; height: 48px; font-size: 22px; }
  .coded-progress-card span { font-size: 14px; }
  .coded-progress-card strong { font-size: 28px; }
  .progress-line { height: 8px; }
  .coded-permis-card { width: 220px; min-height: 92px; grid-template-columns: 52px 1fr; gap: 12px; padding: 14px; border-radius: 18px; }
  .permis-icon { width: 52px; height: 52px; font-size: 30px; }
  .coded-permis-card span { font-size: 13px; }
  .coded-permis-card strong { font-size: 26px; }
  .coded-permis-card small { font-size: 13px; }
}

/* FINAL HERO SIZE BOOST: top hero car bigger, without old purple road. */
.hero {
  overflow: hidden !important;
}

.hero-visual {
  overflow: visible !important;
}

.hero-visual .road-stage.clean-ready-hero {
  left: -20% !important;
  right: -20% !important;
  bottom: -34px !important;
  height: 650px !important;
}

.hero-visual .car-3d.clean-hero-image,
.hero-visual .car-3d.has-custom-car.clean-hero-image,
.hero-visual .car-3d.exact-hero-car.clean-hero-image,
.hero-visual .car-3d.ready-road-hero.clean-hero-image {
  width: min(990px, 132vw) !important;
  height: 610px !important;
  bottom: -20px !important;
}

@media (max-width: 980px) {
  .hero-visual .road-stage.clean-ready-hero {
    left: -32% !important;
    right: -32% !important;
    height: 500px !important;
    bottom: -14px !important;
  }
  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image {
    width: min(780px, 150vw) !important;
    height: 455px !important;
    bottom: 0 !important;
  }
}

@media (max-width: 760px) {
  .hero-visual .road-stage.clean-ready-hero {
    left: -46% !important;
    right: -46% !important;
    height: 375px !important;
    bottom: 4px !important;
  }
  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image {
    width: min(620px, 166vw) !important;
    height: 356px !important;
    bottom: 12px !important;
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-12px,0); }
}


/* === FINAL FIX: compact coded purple training section, car only, pro border/shadow === */
.coded-purple-section {
  padding-top: clamp(54px, 7vw, 86px) !important;
  padding-bottom: clamp(54px, 7vw, 86px) !important;
}

.coded-training-shell {
  width: min(1180px, calc(100% - 44px)) !important;
}

.coded-training-card {
  min-height: 610px !important;
  grid-template-columns: minmax(330px, .82fr) minmax(520px, 1.18fr) !important;
  padding: clamp(42px, 4.5vw, 62px) clamp(42px, 5vw, 66px) !important;
  border-radius: 34px !important;
  overflow: hidden !important;
  border: 1px solid rgba(216, 180, 254, .32) !important;
  background:
    radial-gradient(circle at 80% 14%, rgba(168, 85, 247, .34), transparent 24%),
    radial-gradient(circle at 36% 88%, rgba(147, 51, 234, .34), transparent 23%),
    linear-gradient(135deg, #100326 0%, #32106c 48%, #130922 100%) !important;
  box-shadow:
    0 34px 90px rgba(88, 28, 135, .34),
    0 18px 0 rgba(124, 58, 237, .055),
    0 0 0 1px rgba(255, 255, 255, .035) inset !important;
  animation: codedPanelBreathe 7s ease-in-out infinite !important;
}

.coded-training-card::before {
  opacity: .28 !important;
  background-size: 58px 58px !important;
}

.coded-training-card::after {
  width: 44% !important;
  height: 28% !important;
  inset: auto 12% -15% auto !important;
  filter: blur(58px) !important;
  opacity: .72 !important;
}

.coded-orbit.orbit-large {
  width: 620px !important;
  height: 620px !important;
  right: -4% !important;
  top: -13% !important;
}

.coded-dot-grid {
  left: 40% !important;
  top: 20% !important;
  width: 98px !important;
  height: 120px !important;
  background-size: 12px 12px !important;
  opacity: .42 !important;
}

.coded-training-copy {
  max-width: 440px !important;
}

.coded-eyebrow {
  margin-bottom: 24px !important;
  font-size: 12px !important;
  letter-spacing: .09em !important;
}

.coded-eyebrow::before {
  width: 34px !important;
}

.coded-training-copy h2 {
  max-width: 430px !important;
  margin-bottom: 18px !important;
  font-size: clamp(40px, 4.25vw, 60px) !important;
  line-height: .98 !important;
  letter-spacing: -0.045em !important;
}

.coded-training-copy p {
  max-width: 430px !important;
  margin-bottom: 24px !important;
  font-size: 16px !important;
  line-height: 1.58 !important;
}

.coded-training-list {
  max-width: 385px !important;
  gap: 10px !important;
  margin-bottom: 26px !important;
}

.coded-training-list li {
  min-height: 48px !important;
  gap: 11px !important;
  padding: 7px 15px 7px 0 !important;
  font-size: 14.5px !important;
  border-color: rgba(216, 180, 254, .20) !important;
  background: linear-gradient(90deg, rgba(255,255,255,.075), rgba(255,255,255,.018)) !important;
  box-shadow: 0 12px 28px rgba(17, 5, 41, .16), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.coded-list-icon {
  width: 42px !important;
  height: 42px !important;
  font-size: 14px !important;
}

.coded-training-btn {
  min-width: 292px !important;
  min-height: 58px !important;
  padding: 9px 22px 9px 12px !important;
  border-radius: 18px !important;
  font-size: 17px !important;
  box-shadow:
    0 20px 44px rgba(168,85,247,.34),
    0 0 30px rgba(124,58,237,.22),
    inset 0 1px 0 rgba(255,255,255,.30) !important;
}

.coded-training-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-105%);
  animation: codedButtonShine 3.6s ease-in-out infinite;
}

.btn-icon {
  width: 40px !important;
  height: 40px !important;
}

.btn-arrow {
  font-size: 24px !important;
}

.coded-training-visual {
  min-height: 480px !important;
  margin-left: -10px !important;
}

.coded-road-wrap {
  right: -3% !important;
  bottom: 14% !important;
  width: min(620px, 53vw) !important;
  animation: codedCarOnlyFloat 4.8s ease-in-out infinite !important;
}

.road-neon {
  display: none !important;
}

.coded-car-platform {
  position: absolute;
  left: 12%;
  right: 7%;
  bottom: 2%;
  height: 88px;
  z-index: -1;
  border-radius: 999px;
  transform: perspective(700px) rotateX(62deg) rotateZ(-7deg);
  background:
    radial-gradient(ellipse at center, rgba(168,85,247,.44) 0%, rgba(88,28,135,.28) 44%, transparent 72%);
  box-shadow:
    0 0 42px rgba(168,85,247,.34),
    0 26px 46px rgba(0,0,0,.25);
  border: 1px solid rgba(216,180,254,.18);
  animation: codedPlatformGlow 3s ease-in-out infinite;
}

.coded-car-road.coded-car-only {
  position: relative;
  z-index: 2;
  filter:
    drop-shadow(0 34px 38px rgba(0,0,0,.42))
    drop-shadow(0 0 22px rgba(168,85,247,.22)) !important;
}

.coded-path {
  border-width: 2px !important;
  opacity: .52 !important;
}

.coded-warning-badge {
  width: 96px !important;
  height: 96px !important;
  left: 8% !important;
  top: 22% !important;
  box-shadow: 0 18px 46px rgba(88,28,135,.34), inset 0 0 28px rgba(168,85,247,.19) !important;
}

.coded-warning-badge span {
  width: 56px !important;
  height: 49px !important;
  font-size: 24px !important;
}

.coded-warning-badge span::before {
  padding-top: 12px !important;
  font-size: 24px !important;
}

.coded-progress-card,
.coded-permis-card {
  border: 1px solid rgba(216,180,254,.42) !important;
  background: linear-gradient(145deg, rgba(54, 18, 112, .78), rgba(25, 7, 56, .64)) !important;
  box-shadow:
    0 28px 68px rgba(88, 28, 135, .44),
    0 12px 38px rgba(0, 0, 0, .18),
    0 0 36px rgba(168,85,247,.16),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.coded-progress-card {
  width: 285px !important;
  min-height: 118px !important;
  top: 15% !important;
  right: 1% !important;
  grid-template-columns: 58px 1fr !important;
  gap: 14px !important;
  padding: 20px 22px !important;
  border-radius: 22px !important;
}

.progress-icon {
  width: 58px !important;
  height: 58px !important;
  font-size: 25px !important;
}

.coded-progress-card span,
.coded-permis-card span {
  font-size: 16px !important;
}

.coded-progress-card strong {
  font-size: 35px !important;
}

.progress-line {
  height: 9px !important;
}

.coded-permis-card {
  width: 262px !important;
  min-height: 110px !important;
  right: 3% !important;
  bottom: 8% !important;
  grid-template-columns: 62px 1fr !important;
  gap: 15px !important;
  padding: 19px !important;
  border-radius: 22px !important;
}

.permis-icon {
  width: 62px !important;
  height: 62px !important;
  font-size: 34px !important;
}

.coded-permis-card strong {
  font-size: 34px !important;
}

.coded-permis-card small {
  font-size: 14px !important;
}

@keyframes codedPanelBreathe {
  0%, 100% { box-shadow: 0 34px 90px rgba(88, 28, 135, .32), 0 18px 0 rgba(124, 58, 237, .055), 0 0 0 1px rgba(255,255,255,.035) inset; }
  50% { box-shadow: 0 42px 110px rgba(88, 28, 135, .42), 0 18px 0 rgba(124, 58, 237, .075), 0 0 0 1px rgba(216,180,254,.055) inset; }
}

@keyframes codedCarOnlyFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1) rotate(-.2deg); }
  50% { transform: translate3d(-6px,-12px,0) scale(1.015) rotate(.35deg); }
}

@keyframes codedPlatformGlow {
  0%, 100% { opacity: .68; filter: blur(.2px); }
  50% { opacity: 1; filter: blur(1px); }
}

@keyframes codedButtonShine {
  0%, 58% { transform: translateX(-110%); opacity: 0; }
  68% { opacity: .95; }
  100% { transform: translateX(110%); opacity: 0; }
}

@media (max-width: 1180px) {
  .coded-training-shell { width: min(1080px, calc(100% - 34px)) !important; }
  .coded-training-card {
    grid-template-columns: .8fr 1.2fr !important;
    min-height: 560px !important;
    padding: 40px 42px !important;
  }
  .coded-training-copy h2 { font-size: clamp(37px, 4.1vw, 52px) !important; }
  .coded-training-copy p { font-size: 15px !important; }
  .coded-training-list li { min-height: 44px !important; font-size: 13.5px !important; }
  .coded-training-btn { min-height: 54px !important; font-size: 16px !important; }
  .coded-training-visual { min-height: 430px !important; }
  .coded-road-wrap { width: min(560px, 52vw) !important; right: -6% !important; bottom: 15% !important; }
  .coded-progress-card { width: 250px !important; top: 13% !important; }
  .coded-permis-card { width: 230px !important; }
}

@media (max-width: 900px) {
  .coded-training-card {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 34px 24px 28px !important;
  }
  .coded-training-copy h2 { max-width: 430px !important; font-size: clamp(38px, 8vw, 54px) !important; }
  .coded-training-visual { min-height: 360px !important; margin-top: 16px !important; }
  .coded-road-wrap { width: min(560px, 104vw) !important; right: -12% !important; bottom: 9% !important; }
  .coded-progress-card { right: 2% !important; top: 0 !important; }
  .coded-permis-card { right: 2% !important; bottom: 0 !important; }
  .coded-warning-badge { left: 5% !important; top: 8% !important; }
}

@media (max-width: 620px) {
  .coded-purple-section { padding-top: 40px !important; padding-bottom: 42px !important; }
  .coded-training-shell { width: min(100% - 22px, 1180px) !important; }
  .coded-training-card { padding: 28px 17px 22px !important; border-radius: 24px !important; }
  .coded-eyebrow { font-size: 10px !important; margin-bottom: 16px !important; }
  .coded-training-copy h2 { font-size: clamp(34px, 11vw, 46px) !important; line-height: 1 !important; }
  .coded-training-copy p { font-size: 14px !important; margin-bottom: 18px !important; }
  .coded-training-list { gap: 8px !important; margin-bottom: 18px !important; }
  .coded-training-list li { min-height: 42px !important; font-size: 12.5px !important; }
  .coded-list-icon { width: 36px !important; height: 36px !important; }
  .coded-training-btn { width: 100% !important; min-width: 0 !important; min-height: 52px !important; font-size: 15px !important; }
  .coded-training-visual { min-height: 290px !important; }
  .coded-road-wrap { width: min(430px, 112vw) !important; right: -23% !important; bottom: 8% !important; }
  .coded-warning-badge { width: 64px !important; height: 64px !important; }
  .coded-warning-badge span { width: 42px !important; height: 36px !important; }
  .coded-progress-card { width: 178px !important; min-height: 78px !important; grid-template-columns: 40px 1fr !important; gap: 8px !important; padding: 11px !important; border-radius: 15px !important; }
  .progress-icon { width: 40px !important; height: 40px !important; font-size: 18px !important; }
  .coded-progress-card span { font-size: 12px !important; }
  .coded-progress-card strong { font-size: 22px !important; }
  .progress-line { height: 6px !important; }
  .coded-permis-card { width: 176px !important; min-height: 76px !important; grid-template-columns: 40px 1fr !important; gap: 10px !important; padding: 11px !important; border-radius: 15px !important; }
  .permis-icon { width: 40px !important; height: 40px !important; font-size: 23px !important; }
  .coded-permis-card span { font-size: 11px !important; }
  .coded-permis-card strong { font-size: 21px !important; }
  .coded-permis-card small { font-size: 11px !important; }
}


/* =========================================================
   FINAL UPDATE v10 — clean Dacia car only + mobile Formation fix
   ========================================================= */

/* HERO: remove every old road/platform and keep only the new transparent car */
.hero-visual .road-line,
.hero-visual .road-line-two,
.hero-visual .road-base,
.hero-visual .road-base-custom-img,
.hero-visual .road-sheen,
.hero-visual .road-marker,
.hero-visual .road-edge {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

.hero-visual .road-stage.clean-ready-hero {
  left: -10% !important;
  right: -8% !important;
  bottom: -4px !important;
  height: 520px !important;
  overflow: visible !important;
  transform: none !important;
  perspective: none !important;
}

.hero-visual .road-stage.clean-ready-hero::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 20% !important;
  right: 12% !important;
  bottom: 74px !important;
  height: 92px !important;
  z-index: 1 !important;
  border-radius: 50% !important;
  background:
    radial-gradient(ellipse at center, rgba(22, 14, 38, .24), rgba(124, 58, 237, .12) 46%, transparent 74%) !important;
  filter: blur(22px) !important;
  transform: perspective(900px) rotateX(64deg) scaleX(.96) !important;
  pointer-events: none !important;
}

.hero-visual .car-3d.clean-hero-image,
.hero-visual .car-3d.has-custom-car.clean-hero-image,
.hero-visual .car-3d.exact-hero-car.clean-hero-image,
.hero-visual .car-3d.ready-road-hero.clean-hero-image {
  left: 50% !important;
  bottom: 52px !important;
  width: min(720px, 57vw) !important;
  height: 430px !important;
  z-index: 10 !important;
  transform: translateX(-50%) !important;
  overflow: visible !important;
  animation: customCarFloat var(--hero-car-speed, 4.5s) ease-in-out infinite !important;
}

.hero-visual .clean-hero-image .hero-custom-car {
  object-fit: contain !important;
  object-position: center bottom !important;
  filter:
    drop-shadow(0 28px 28px rgba(18, 13, 30, .22))
    drop-shadow(0 0 26px rgba(124, 58, 237, .10)) !important;
}

/* HERO tablet */
@media (max-width: 1120px) {
  .hero-visual .road-stage.clean-ready-hero {
    left: -6% !important;
    right: -6% !important;
    height: 450px !important;
    bottom: 4px !important;
  }

  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image {
    width: min(660px, 92vw) !important;
    height: 390px !important;
    bottom: 48px !important;
  }
}

/* HERO phone */
@media (max-width: 680px) {
  .hero-visual {
    min-height: 350px !important;
    margin-bottom: -10px !important;
  }

  .hero-visual .road-stage.clean-ready-hero {
    left: -18% !important;
    right: -18% !important;
    height: 310px !important;
    bottom: 0 !important;
  }

  .hero-visual .road-stage.clean-ready-hero::before {
    left: 17% !important;
    right: 13% !important;
    bottom: 46px !important;
    height: 62px !important;
    filter: blur(18px) !important;
  }

  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image {
    width: min(430px, 118vw) !important;
    height: 255px !important;
    bottom: 34px !important;
  }
}

/* FORMATION MODERNE: car only, no old road image */
.coded-road-wrap {
  overflow: visible !important;
}

.coded-road-wrap .road-neon {
  display: none !important;
}

.coded-car-road.coded-car-only {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  filter:
    drop-shadow(0 34px 38px rgba(0, 0, 0, .42))
    drop-shadow(0 0 24px rgba(168, 85, 247, .24)) !important;
}

.coded-road-wrap::after {
  content: "" !important;
  position: absolute !important;
  left: 11% !important;
  right: 8% !important;
  bottom: -4% !important;
  height: 72px !important;
  z-index: 0 !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, .32), rgba(0, 0, 0, .24) 48%, transparent 76%) !important;
  filter: blur(18px) !important;
  transform: perspective(700px) rotateX(62deg) scaleX(.95) !important;
  pointer-events: none !important;
}

.coded-road-wrap .coded-car-road {
  position: relative !important;
  z-index: 2 !important;
}

/* Formation mobile: compact, no overflow, cards readable */
@media (max-width: 900px) {
  .coded-purple-section {
    padding-top: 46px !important;
    padding-bottom: 48px !important;
  }

  .coded-training-shell {
    width: min(100% - 28px, 1180px) !important;
  }

  .coded-training-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 34px 24px 30px !important;
    gap: 18px !important;
    overflow: hidden !important;
  }

  .coded-training-copy {
    max-width: 100% !important;
    position: relative !important;
    z-index: 5 !important;
  }

  .coded-training-copy h2 {
    max-width: 560px !important;
    font-size: clamp(34px, 8vw, 50px) !important;
    line-height: 1.02 !important;
  }

  .coded-training-copy p {
    max-width: 540px !important;
  }

  .coded-training-visual {
    min-height: 340px !important;
    margin: 6px 0 0 !important;
    overflow: visible !important;
  }

  .coded-road-wrap {
    width: min(520px, 98vw) !important;
    right: 50% !important;
    bottom: 34px !important;
    transform: translateX(50%) !important;
  }

  .coded-warning-badge {
    left: 4% !important;
    top: 12px !important;
    width: 66px !important;
    height: 66px !important;
  }

  .coded-warning-badge span {
    width: 42px !important;
    height: 36px !important;
  }

  .coded-progress-card {
    width: min(220px, 54vw) !important;
    top: 0 !important;
    right: 0 !important;
    min-height: 86px !important;
    padding: 12px !important;
    grid-template-columns: 42px 1fr !important;
    gap: 9px !important;
  }

  .progress-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 18px !important;
  }

  .coded-progress-card span {
    font-size: 12px !important;
  }

  .coded-progress-card strong {
    font-size: 24px !important;
  }

  .progress-line {
    height: 6px !important;
  }

  .coded-permis-card {
    width: min(210px, 52vw) !important;
    right: 0 !important;
    bottom: 2px !important;
    min-height: 82px !important;
    padding: 12px !important;
    grid-template-columns: 42px 1fr !important;
    gap: 10px !important;
  }

  .permis-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 23px !important;
  }

  .coded-permis-card span {
    font-size: 11px !important;
  }

  .coded-permis-card strong {
    font-size: 21px !important;
  }

  .coded-permis-card small {
    font-size: 11px !important;
  }
}

@media (max-width: 620px) {
  .coded-training-shell {
    width: min(100% - 20px, 1180px) !important;
  }

  .coded-training-card {
    padding: 28px 16px 24px !important;
    border-radius: 24px !important;
  }

  .coded-training-copy h2 {
    font-size: clamp(31px, 10vw, 40px) !important;
    letter-spacing: -0.04em !important;
  }

  .coded-training-copy p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  .coded-training-list {
    max-width: 100% !important;
  }

  .coded-training-list li {
    min-height: 40px !important;
    font-size: 12.2px !important;
    padding-right: 12px !important;
  }

  .coded-list-icon {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
  }

  .coded-training-btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  .coded-training-visual {
    min-height: 286px !important;
  }

  .coded-road-wrap {
    width: min(390px, 108vw) !important;
    right: 48% !important;
    bottom: 46px !important;
  }

  .coded-warning-badge {
    width: 56px !important;
    height: 56px !important;
    left: 2% !important;
    top: 24px !important;
  }

  .coded-warning-badge span {
    width: 36px !important;
    height: 31px !important;
    font-size: 18px !important;
  }

  .coded-progress-card {
    width: 166px !important;
    min-height: 72px !important;
    top: 8px !important;
    right: -2px !important;
  }

  .coded-permis-card {
    width: 166px !important;
    min-height: 72px !important;
    right: -2px !important;
    bottom: 0 !important;
  }
}

/* =========================================================
   FINAL UPDATE v11 — phone fixed viewport + no unwanted zoom
   ========================================================= */
html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

@media (max-width: 768px) {
  html,
  body {
    overscroll-behavior-x: none !important;
    touch-action: pan-y !important;
  }

  input,
  textarea,
  select,
  button {
    font-size: 16px !important;
  }

  .site-header,
  .mobile-panel,
  main,
  section,
  footer {
    max-width: 100vw !important;
  }

  .hero-visual {
    overflow: hidden !important;
  }

  .hero-visual .road-stage.clean-ready-hero {
    width: 100vw !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    overflow: visible !important;
  }

  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image {
    width: 430px !important;
    max-width: none !important;
    min-width: 430px !important;
    height: 255px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .coded-purple-section,
  .coded-training-shell,
  .coded-training-card,
  .coded-training-visual {
    max-width: 100vw !important;
  }

  .coded-training-card {
    overflow: hidden !important;
  }

  .coded-training-visual {
    min-height: 300px !important;
    overflow: hidden !important;
  }

  .coded-road-wrap {
    width: 390px !important;
    max-width: none !important;
    min-width: 390px !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    bottom: 42px !important;
  }

  .coded-progress-card,
  .coded-permis-card {
    transform: translateZ(0) !important;
  }
}

@media (max-width: 390px) {
  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image {
    width: 405px !important;
    min-width: 405px !important;
    height: 240px !important;
  }

  .coded-road-wrap {
    width: 360px !important;
    min-width: 360px !important;
  }
}



/* =========================================================
   FINAL UPDATE v13 — HERO CAR ONLY, NO ROAD / NO PLATFORM
   ========================================================= */
.hero-visual .road-line,
.hero-visual .road-line-two,
.hero-visual .road-base,
.hero-visual .road-base-custom-img,
.hero-visual .road-sheen,
.hero-visual .road-marker,
.hero-visual .road-edge,
.hero-visual .road-base::before,
.hero-visual .road-base::after,
.hero-visual .road-base > span {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

/* Keep only a soft shadow under the car, not a road */
.hero-visual .road-stage.clean-ready-hero {
  left: -7% !important;
  right: -5% !important;
  bottom: -2px !important;
  height: 500px !important;
  overflow: visible !important;
  transform: none !important;
  perspective: none !important;
}

.hero-visual .road-stage.clean-ready-hero::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 24% !important;
  right: 15% !important;
  bottom: 74px !important;
  height: 80px !important;
  z-index: 1 !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse at center, rgba(28, 18, 45, .24), rgba(124, 58, 237, .10) 48%, transparent 75%) !important;
  filter: blur(22px) !important;
  transform: perspective(900px) rotateX(64deg) scaleX(.82) !important;
  pointer-events: none !important;
}

/* Use the clean transparent car image only */
.hero-visual .car-3d.clean-hero-image,
.hero-visual .car-3d.has-custom-car.clean-hero-image,
.hero-visual .car-3d.exact-hero-car.clean-hero-image,
.hero-visual .car-3d.ready-road-hero.clean-hero-image {
  left: 50% !important;
  bottom: 52px !important;
  width: min(740px, 57vw) !important;
  height: 420px !important;
  z-index: 10 !important;
  transform: translateX(-50%) !important;
  overflow: visible !important;
  background: transparent !important;
  animation: customCarFloat var(--hero-car-speed, 4.5s) ease-in-out infinite !important;
}

.hero-visual .clean-hero-image .hero-custom-car {
  object-fit: contain !important;
  object-position: center bottom !important;
  background: transparent !important;
  filter:
    drop-shadow(0 26px 26px rgba(18, 13, 30, .22))
    drop-shadow(0 0 24px rgba(124, 58, 237, .10)) !important;
}

/* Formation moderne: remove platform/road under car, keep car only */
.coded-road-wrap,
.coded-road-wrap::before,
.coded-road-wrap::after,
.coded-car-platform,
.road-neon {
  background: transparent !important;
  box-shadow: none !important;
}

.coded-car-platform,
.road-neon {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.coded-car-road.coded-car-only {
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  filter:
    drop-shadow(0 34px 24px rgba(9, 4, 22, .35))
    drop-shadow(0 0 22px rgba(174, 93, 255, .18)) !important;
}

@media (max-width: 1120px) {
  .hero-visual .road-stage.clean-ready-hero {
    left: -5% !important;
    right: -5% !important;
    height: 440px !important;
    bottom: 0 !important;
  }

  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image {
    width: min(670px, 88vw) !important;
    height: 380px !important;
    bottom: 46px !important;
  }
}

@media (max-width: 680px) {
  .hero-visual {
    min-height: 345px !important;
    margin-bottom: -6px !important;
  }

  .hero-visual .road-stage.clean-ready-hero {
    left: -15% !important;
    right: -15% !important;
    height: 300px !important;
    bottom: 0 !important;
  }

  .hero-visual .road-stage.clean-ready-hero::before {
    left: 18% !important;
    right: 16% !important;
    bottom: 45px !important;
    height: 55px !important;
    filter: blur(17px) !important;
  }

  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image {
    width: min(420px, 112vw) !important;
    height: 248px !important;
    bottom: 34px !important;
  }
}


/* =========================================================
   FINAL UPDATE v14 — Professional Formation Moderne section
   PC + Phone redesign, clean car only, no road/platform
   ========================================================= */
.coded-purple-section {
  padding: clamp(62px, 7vw, 104px) 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 6% 10%, rgba(168, 85, 247, .09), transparent 28%),
    radial-gradient(circle at 94% 82%, rgba(91, 33, 182, .08), transparent 26%) !important;
}

.coded-training-shell {
  width: min(1210px, calc(100% - 42px)) !important;
}

.coded-training-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(360px, .94fr) minmax(480px, 1.06fr) !important;
  align-items: center !important;
  gap: clamp(26px, 4vw, 56px) !important;
  min-height: 620px !important;
  padding: clamp(44px, 5vw, 72px) clamp(34px, 5.2vw, 72px) !important;
  border-radius: 42px !important;
  overflow: hidden !important;
  border: 1px solid rgba(233, 213, 255, .26) !important;
  background:
    radial-gradient(circle at 88% 16%, rgba(168, 85, 247, .32), transparent 26%),
    radial-gradient(circle at 20% 88%, rgba(124, 58, 237, .30), transparent 28%),
    linear-gradient(135deg, #12042c 0%, #2b075d 46%, #11031f 100%) !important;
  box-shadow:
    0 42px 95px rgba(55, 16, 112, .30),
    0 16px 46px rgba(17, 7, 31, .16),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .025) !important;
  animation: none !important;
}

.coded-training-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.030) 1px, transparent 1px) !important;
  background-size: 62px 62px !important;
  mask-image: radial-gradient(circle at 58% 43%, #000 0 54%, transparent 82%) !important;
  opacity: .42 !important;
}

.coded-training-card::after {
  content: "" !important;
  position: absolute !important;
  inset: auto 10% -17% auto !important;
  width: 48% !important;
  height: 30% !important;
  z-index: -1 !important;
  border-radius: 50% !important;
  background: rgba(168, 85, 247, .36) !important;
  filter: blur(70px) !important;
  opacity: .85 !important;
  animation: codedGlowMove 8s ease-in-out infinite !important;
}

.coded-orbit.orbit-large {
  width: 670px !important;
  height: 670px !important;
  right: -10% !important;
  top: -22% !important;
  border-color: rgba(216, 180, 254, .18) !important;
  opacity: .9 !important;
}

.coded-orbit.orbit-small {
  width: 210px !important;
  height: 210px !important;
  left: 38% !important;
  bottom: -4% !important;
  border-color: rgba(216, 180, 254, .12) !important;
}

.coded-dot-grid {
  left: 47% !important;
  top: 17% !important;
  width: 126px !important;
  height: 116px !important;
  background-size: 12px 12px !important;
  opacity: .38 !important;
}

.coded-glow-one {
  left: 40% !important;
  bottom: 7% !important;
  opacity: .58 !important;
}

.coded-training-copy {
  position: relative !important;
  z-index: 8 !important;
  max-width: 500px !important;
  align-self: center !important;
}

html[dir="rtl"] .coded-training-copy {
  justify-self: end !important;
  text-align: right !important;
}

html[dir="ltr"] .coded-training-copy {
  justify-self: start !important;
  text-align: left !important;
}

.coded-eyebrow {
  margin-bottom: 20px !important;
  gap: 13px !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 12px !important;
  letter-spacing: .12em !important;
}

.coded-eyebrow::before {
  width: 38px !important;
  background: linear-gradient(90deg, #a855f7, #fff) !important;
  box-shadow: 0 0 18px rgba(168,85,247,.52) !important;
}

html[dir="rtl"] .coded-eyebrow {
  flex-direction: row-reverse !important;
}

.coded-training-copy h2 {
  max-width: 540px !important;
  margin: 0 0 22px !important;
  color: #ffffff !important;
  font-size: clamp(43px, 5.05vw, 70px) !important;
  line-height: .98 !important;
  letter-spacing: -0.045em !important;
  font-weight: 950 !important;
  text-wrap: balance !important;
  text-shadow: 0 18px 42px rgba(0,0,0,.22) !important;
}

html[dir="rtl"] .coded-training-copy h2 {
  letter-spacing: -0.025em !important;
}

.coded-training-copy h2 strong,
.coded-training-copy h2 .title-gradient {
  display: inline !important;
  color: #a78bfa !important;
  background: linear-gradient(180deg, #d8b4fe 0%, #8b5cf6 82%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

.coded-training-copy p {
  max-width: 520px !important;
  margin: 0 0 26px !important;
  color: rgba(255,255,255,.76) !important;
  font-size: clamp(15px, 1.25vw, 18px) !important;
  line-height: 1.72 !important;
}

.coded-training-list {
  width: 100% !important;
  max-width: 480px !important;
  gap: 12px !important;
  margin: 0 0 28px !important;
}

.coded-training-list li {
  min-height: 54px !important;
  padding: 8px 18px !important;
  gap: 13px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(255,255,255,.095), rgba(255,255,255,.045)) !important;
  border: 1px solid rgba(216, 180, 254, .20) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 12px 28px rgba(8,3,22,.10) !important;
  color: rgba(255,255,255,.94) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.coded-training-list b {
  color: #d8b4fe !important;
}

.coded-list-icon {
  width: 38px !important;
  height: 38px !important;
  flex-basis: 38px !important;
  margin: 0 !important;
  font-size: 15px !important;
  box-shadow: 0 12px 26px rgba(168,85,247,.33) !important;
}

.coded-training-btn {
  width: fit-content !important;
  min-width: 272px !important;
  min-height: 58px !important;
  padding: 9px 18px 9px 11px !important;
  gap: 14px !important;
  border-radius: 18px !important;
  font-size: 16px !important;
  letter-spacing: .01em !important;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
  box-shadow: 0 20px 42px rgba(124,58,237,.34), inset 0 1px 0 rgba(255,255,255,.28) !important;
}

html[dir="rtl"] .coded-training-btn {
  padding: 9px 11px 9px 18px !important;
}

.coded-training-btn .btn-icon {
  width: 40px !important;
  height: 40px !important;
}

.coded-training-btn .btn-arrow {
  font-size: 23px !important;
}

.coded-training-visual {
  position: relative !important;
  z-index: 5 !important;
  min-height: 470px !important;
  margin: 0 !important;
  border-radius: 34px !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 50% 44%, rgba(255,255,255,.15), transparent 22%),
    radial-gradient(circle at 52% 54%, rgba(168,85,247,.28), transparent 39%),
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.025)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow:
    0 28px 70px rgba(5, 2, 15, .22),
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 0 70px rgba(168,85,247,.06) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.coded-training-visual::before {
  content: "" !important;
  position: absolute !important;
  inset: 32px !important;
  border-radius: 30px !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) !important;
  background-size: 42px 42px !important;
  opacity: .45 !important;
  mask-image: radial-gradient(circle at center, #000 0 48%, transparent 78%) !important;
  pointer-events: none !important;
}

.coded-training-visual::after {
  content: "" !important;
  position: absolute !important;
  left: 12% !important;
  right: 12% !important;
  bottom: 48px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse at center, rgba(8,3,22,.38), rgba(124,58,237,.16) 46%, transparent 76%) !important;
  filter: blur(22px) !important;
  transform: perspective(900px) rotateX(62deg) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.coded-path {
  border-width: 2px !important;
  border-color: rgba(216, 180, 254, .26) !important;
  opacity: .45 !important;
  z-index: 2 !important;
}

.coded-path.path-one {
  right: 11% !important;
  top: 11% !important;
  width: 190px !important;
  height: 130px !important;
}

.coded-path.path-two {
  right: 10% !important;
  bottom: 17% !important;
  width: 210px !important;
  height: 118px !important;
}

.coded-road-wrap,
.coded-road-wrap::before,
.coded-road-wrap::after,
.road-neon {
  background: transparent !important;
  box-shadow: none !important;
}

.coded-road-wrap {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: 54% !important;
  bottom: auto !important;
  width: min(610px, 48vw) !important;
  min-width: 0 !important;
  margin: 0 !important;
  z-index: 4 !important;
  overflow: visible !important;
  transform: translate(-50%, -50%) !important;
  animation: formationCarFloatPro 5.5s ease-in-out infinite !important;
}

.coded-car-road,
.coded-car-road.coded-car-only {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  filter:
    drop-shadow(0 30px 26px rgba(5, 2, 15, .42))
    drop-shadow(0 0 30px rgba(168, 85, 247, .20)) !important;
}

.coded-progress-card,
.coded-permis-card,
.coded-warning-badge {
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

.coded-progress-card,
.coded-permis-card {
  border-radius: 24px !important;
  background: linear-gradient(145deg, rgba(31, 8, 70, .78), rgba(48, 18, 95, .58)) !important;
  border: 1px solid rgba(216, 180, 254, .26) !important;
  box-shadow: 0 22px 52px rgba(6, 2, 18, .32), inset 0 1px 0 rgba(255,255,255,.10) !important;
  z-index: 8 !important;
}

.coded-progress-card {
  top: 32px !important;
  left: 32px !important;
  right: auto !important;
  width: 255px !important;
  min-height: 112px !important;
  padding: 18px !important;
  grid-template-columns: 52px 1fr !important;
  gap: 12px !important;
}

.progress-icon {
  width: 52px !important;
  height: 52px !important;
  font-size: 22px !important;
}

.coded-progress-card span,
.coded-permis-card span {
  font-size: 14px !important;
  letter-spacing: .01em !important;
}

.coded-progress-card strong {
  margin-top: 5px !important;
  font-size: 30px !important;
}

.progress-line {
  height: 7px !important;
}

.coded-permis-card {
  right: 30px !important;
  bottom: 30px !important;
  width: 228px !important;
  min-height: 102px !important;
  padding: 16px !important;
  grid-template-columns: 54px 1fr !important;
  gap: 12px !important;
}

.permis-icon {
  width: 54px !important;
  height: 54px !important;
  font-size: 30px !important;
}

.coded-permis-card strong {
  margin: 5px 0 3px !important;
  font-size: 28px !important;
}

.coded-permis-card small {
  font-size: 12px !important;
}

.coded-warning-badge {
  left: auto !important;
  right: 34px !important;
  top: 36px !important;
  width: 78px !important;
  height: 78px !important;
  z-index: 7 !important;
  border-color: rgba(216,180,254,.25) !important;
  background: rgba(255,255,255,.08) !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.coded-warning-badge span {
  width: 48px !important;
  height: 42px !important;
  font-size: 22px !important;
}

.coded-warning-badge span::before {
  padding-top: 10px !important;
  font-size: 22px !important;
}

@keyframes formationCarFloatPro {
  0%, 100% { transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(-.3deg); }
  50% { transform: translate(-50%, -50%) translate3d(0, -12px, 0) rotate(.35deg); }
}

@media (max-width: 1080px) {
  .coded-training-card {
    grid-template-columns: 1fr 1fr !important;
    min-height: 560px !important;
    padding: 42px 30px !important;
  }

  .coded-training-copy h2 {
    font-size: clamp(38px, 5.2vw, 56px) !important;
  }

  .coded-training-visual {
    min-height: 420px !important;
  }

  .coded-road-wrap {
    width: min(520px, 51vw) !important;
  }

  .coded-progress-card {
    width: 220px !important;
    left: 22px !important;
    top: 22px !important;
  }

  .coded-permis-card {
    width: 205px !important;
    right: 22px !important;
    bottom: 22px !important;
  }
}

@media (max-width: 860px) {
  .coded-purple-section {
    padding: 56px 0 !important;
  }

  .coded-training-shell {
    width: min(100% - 24px, 1210px) !important;
  }

  .coded-training-card {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    min-height: auto !important;
    padding: 34px 22px 24px !important;
    border-radius: 32px !important;
  }

  .coded-training-copy,
  html[dir="rtl"] .coded-training-copy,
  html[dir="ltr"] .coded-training-copy {
    max-width: 640px !important;
    justify-self: center !important;
    text-align: center !important;
  }

  .coded-eyebrow {
    justify-content: center !important;
    margin-bottom: 16px !important;
  }

  .coded-training-copy h2 {
    max-width: 680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(34px, 7.6vw, 52px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em !important;
  }

  .coded-training-copy p {
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .coded-training-list {
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .coded-training-list li {
    justify-content: flex-start !important;
    text-align: start !important;
    min-height: 48px !important;
    font-size: 14px !important;
  }

  .coded-training-btn {
    min-width: 260px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .coded-training-visual {
    width: 100% !important;
    min-height: 360px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
  }

  .coded-training-visual::before {
    inset: 20px !important;
    border-radius: 22px !important;
  }

  .coded-training-visual::after {
    left: 16% !important;
    right: 16% !important;
    bottom: 38px !important;
    height: 62px !important;
  }

  .coded-road-wrap {
    width: min(430px, 92vw) !important;
    top: 56% !important;
  }

  .coded-progress-card {
    width: 188px !important;
    min-height: 82px !important;
    left: 14px !important;
    top: 14px !important;
    padding: 12px !important;
    grid-template-columns: 42px 1fr !important;
    gap: 9px !important;
    border-radius: 18px !important;
  }

  .progress-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 18px !important;
  }

  .coded-progress-card span,
  .coded-permis-card span {
    font-size: 11px !important;
  }

  .coded-progress-card strong {
    font-size: 23px !important;
  }

  .coded-permis-card {
    width: 174px !important;
    min-height: 78px !important;
    right: 14px !important;
    bottom: 14px !important;
    padding: 12px !important;
    grid-template-columns: 40px 1fr !important;
    gap: 9px !important;
    border-radius: 18px !important;
  }

  .permis-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 22px !important;
  }

  .coded-permis-card strong {
    font-size: 21px !important;
  }

  .coded-permis-card small {
    font-size: 10px !important;
  }

  .coded-warning-badge {
    width: 58px !important;
    height: 58px !important;
    right: 14px !important;
    top: 104px !important;
  }

  .coded-warning-badge span {
    width: 36px !important;
    height: 31px !important;
  }
}

@media (max-width: 520px) {
  .coded-purple-section {
    padding: 42px 0 !important;
  }

  .coded-training-shell {
    width: min(100% - 18px, 1210px) !important;
  }

  .coded-training-card {
    padding: 28px 15px 18px !important;
    border-radius: 26px !important;
  }

  .coded-eyebrow {
    font-size: 10px !important;
    letter-spacing: .10em !important;
  }

  .coded-eyebrow::before {
    width: 26px !important;
  }

  .coded-training-copy h2 {
    font-size: clamp(29px, 9.4vw, 39px) !important;
    line-height: 1.05 !important;
    margin-bottom: 14px !important;
  }

  .coded-training-copy p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }

  .coded-training-list {
    gap: 9px !important;
    margin-bottom: 18px !important;
  }

  .coded-training-list li {
    min-height: 42px !important;
    padding: 7px 12px !important;
    gap: 9px !important;
    font-size: 12.2px !important;
  }

  .coded-list-icon {
    width: 31px !important;
    height: 31px !important;
    flex-basis: 31px !important;
    font-size: 12px !important;
  }

  .coded-training-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
  }

  .coded-training-btn .btn-icon {
    width: 34px !important;
    height: 34px !important;
  }

  .coded-training-visual {
    min-height: 292px !important;
    border-radius: 22px !important;
  }

  .coded-road-wrap {
    width: 350px !important;
    max-width: none !important;
    min-width: 350px !important;
    top: 57% !important;
  }

  .coded-progress-card {
    width: 154px !important;
    min-height: 68px !important;
    left: 10px !important;
    top: 10px !important;
    grid-template-columns: 34px 1fr !important;
    padding: 9px !important;
  }

  .progress-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
  }

  .coded-progress-card span,
  .coded-permis-card span {
    font-size: 10px !important;
  }

  .coded-progress-card strong {
    font-size: 19px !important;
  }

  .progress-line {
    height: 5px !important;
  }

  .coded-permis-card {
    width: 148px !important;
    min-height: 66px !important;
    right: 10px !important;
    bottom: 10px !important;
    grid-template-columns: 32px 1fr !important;
    padding: 9px !important;
  }

  .permis-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 18px !important;
  }

  .coded-permis-card strong {
    font-size: 18px !important;
  }

  .coded-warning-badge {
    width: 48px !important;
    height: 48px !important;
    right: 10px !important;
    top: 86px !important;
  }

  .coded-warning-badge span {
    width: 30px !important;
    height: 26px !important;
  }
}

@media (max-width: 380px) {
  .coded-training-copy h2 {
    font-size: 28px !important;
  }

  .coded-training-list li {
    font-size: 11.4px !important;
  }

  .coded-training-visual {
    min-height: 270px !important;
  }

  .coded-road-wrap {
    width: 318px !important;
    min-width: 318px !important;
  }
}

/* v14 safety: the redesigned training panel stays fully visible on direct mobile scroll */
.coded-training-card.reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ================= HERO PRO REDESIGN v15 ================= */
.hero {
  min-height: 100svh !important;
  padding-top: 118px !important;
  padding-bottom: 44px !important;
  background:
    radial-gradient(circle at 0% 34%, rgba(168, 85, 247, .24), transparent 18%),
    radial-gradient(circle at 86% 16%, rgba(19, 200, 163, .14), transparent 25%),
    radial-gradient(circle at 72% 98%, rgba(20, 210, 170, .18), transparent 16%),
    linear-gradient(180deg, #fbf9ff 0%, #ffffff 62%, #fbfaff 100%) !important;
  overflow: hidden !important;
}

.hero .section-shell.hero-shell {
  width: min(100% - 96px, 1420px) !important;
  display: grid !important;
  grid-template-columns: minmax(420px, .86fr) minmax(560px, 1.14fr) !important;
  align-items: center !important;
  gap: 32px !important;
  min-height: 600px !important;
  position: relative !important;
  z-index: 2 !important;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(124, 58, 237, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, .055) 1px, transparent 1px) !important;
  background-size: 42px 42px !important;
  transform: perspective(940px) rotateX(61deg) translateY(-128px) !important;
  opacity: .82 !important;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%) !important;
}

.hero-copy {
  position: relative !important;
  z-index: 5 !important;
  padding-top: 18px !important;
}

.hero .eyebrow {
  margin-bottom: 22px !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  letter-spacing: .075em !important;
  color: #5b21d6 !important;
}

.hero-title {
  max-width: 660px !important;
  margin: 0 0 26px !important;
  font-size: clamp(58px, 6.2vw, 92px) !important;
  line-height: .93 !important;
  letter-spacing: -.055em !important;
  color: #15101f !important;
  text-wrap: balance !important;
}

.hero-title span {
  display: inline-block !important;
  color: #6731d9 !important;
  text-shadow: 0 20px 46px rgba(103, 49, 217, .18) !important;
}

.hero-text {
  max-width: 585px !important;
  margin: 0 !important;
  color: #6a6576 !important;
  font-size: clamp(18px, 1.45vw, 21px) !important;
  line-height: 1.72 !important;
}

.hero-actions {
  margin-top: 34px !important;
  gap: 20px !important;
}

.hero-actions .btn {
  min-height: 54px !important;
  padding: 0 30px !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  box-shadow: 0 22px 42px rgba(91, 33, 182, .15) !important;
}

.hero-actions .btn.primary {
  background: linear-gradient(135deg, #6d28d9, #a855f7) !important;
  color: #fff !important;
}

.hero-actions .btn.secondary {
  background: rgba(255, 255, 255, .86) !important;
  border: 1px solid rgba(91, 33, 182, .12) !important;
  color: #5b21d6 !important;
  box-shadow: 0 18px 34px rgba(20, 9, 40, .08) !important;
}

.hero-visual {
  min-height: 560px !important;
  position: relative !important;
  z-index: 4 !important;
}

.hero-visual::before {
  inset: 76px -1% 34px 2% !important;
  background:
    linear-gradient(rgba(91, 33, 182, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 33, 182, .05) 1px, transparent 1px) !important;
  background-size: 54px 54px !important;
  opacity: .62 !important;
}

.visual-glow {
  inset: 23% 2% 8% 7% !important;
  background:
    radial-gradient(circle at 58% 68%, rgba(109, 40, 217, .22), rgba(168, 85, 247, .15) 35%, transparent 67%),
    radial-gradient(circle at 82% 31%, rgba(20, 210, 170, .13), transparent 36%) !important;
  filter: blur(18px) !important;
}

.hero-visual .orbit-ring {
  left: 14% !important;
  top: 25% !important;
  width: 64% !important;
  opacity: .55 !important;
}

.hero-visual .orbit-two {
  left: 21% !important;
  top: 31% !important;
  width: 52% !important;
}

.hero-visual .license-card {
  top: 74px !important;
  right: 0 !important;
  left: auto !important;
  width: 152px !important;
  min-height: 138px !important;
  padding: 24px 22px !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.84) !important;
  border: 1px solid rgba(91, 33, 182, .10) !important;
  box-shadow: 0 24px 60px rgba(25, 16, 44, .12) !important;
  backdrop-filter: blur(18px) !important;
}

.hero-visual .license-card span {
  color: #6d687b !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.hero-visual .license-card strong {
  margin-top: 14px !important;
  color: #6124d2 !important;
  font-size: 31px !important;
  letter-spacing: -.03em !important;
}

.hero-visual .license-card small {
  color: #15101f !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

.hero-visual .sign-speed {
  width: 82px !important;
  height: 82px !important;
  top: 170px !important;
  left: 23% !important;
}

.hero-visual .sign-warning {
  width: 78px !important;
  height: 78px !important;
  top: 295px !important;
  left: 9% !important;
}

.hero-visual .sign-code {
  width: 82px !important;
  height: 82px !important;
  top: 424px !important;
  right: -2% !important;
  left: auto !important;
}

.hero-visual .image-steering {
  width: 86px !important;
  height: 86px !important;
  left: 8% !important;
  bottom: 26px !important;
}

.hero-visual .road-stage,
.hero-visual .road-stage.clean-ready-hero {
  left: 0 !important;
  right: -2% !important;
  bottom: 34px !important;
  height: 430px !important;
}

.hero-visual .road-stage::before,
.hero-visual .road-base,
.hero-visual .road-line,
.hero-visual .road-line-two,
.hero-visual .road-base-custom-img,
.hero-visual .road-stage::after {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-visual .car-3d.has-custom-car {
  left: 57% !important;
  bottom: 28px !important;
  width: min(760px, 72vw) !important;
  height: 430px !important;
  transform: translateX(-50%) !important;
}

.hero-visual .car-3d.has-custom-car .hero-custom-car {
  object-fit: contain !important;
  filter: drop-shadow(0 26px 28px rgba(34, 20, 64, .24)) drop-shadow(0 6px 0 rgba(255,255,255,.18)) !important;
}

.hero-visual .car-3d.has-custom-car .car-shadow {
  display: block !important;
  left: 11% !important;
  right: 10% !important;
  bottom: 18px !important;
  height: 48px !important;
  background: radial-gradient(ellipse, rgba(25, 16, 44, .24), rgba(103, 49, 217, .13) 45%, transparent 74%) !important;
  filter: blur(15px) !important;
}

.hero-feature-strip {
  width: min(100% - 96px, 1420px) !important;
  position: relative !important;
  z-index: 6 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 12px !important;
}

.hero-feature-card {
  min-height: 190px !important;
  padding: 32px 30px !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(91, 33, 182, .10) !important;
  box-shadow: 0 24px 70px rgba(25, 16, 44, .08) !important;
  backdrop-filter: blur(18px) !important;
  text-align: left !important;
}

.hero-feature-card .stat-icon {
  width: 50px !important;
  height: 50px !important;
  border-radius: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  background: linear-gradient(135deg, #6d28d9, #a855f7) !important;
  box-shadow: 0 16px 26px rgba(91, 33, 182, .22) !important;
  font-size: 20px !important;
}

.hero-feature-card strong {
  display: block !important;
  margin: 18px 0 12px !important;
  color: #171320 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.hero-feature-card p {
  margin: 0 !important;
  color: #736d80 !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
}

.hero-feature-card em {
  display: block !important;
  margin-top: 18px !important;
  color: #6d28d9 !important;
  font-style: normal !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

html[dir="rtl"] .hero .section-shell.hero-shell {
  direction: rtl !important;
  grid-template-columns: minmax(560px, 1.14fr) minmax(420px, .86fr) !important;
}

html[dir="rtl"] .hero-copy {
  text-align: right !important;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-text {
  margin-left: 0 !important;
  margin-right: auto !important;
}

html[dir="rtl"] .hero-visual .license-card {
  right: auto !important;
  left: 0 !important;
}

html[dir="rtl"] .hero-visual .car-3d.has-custom-car {
  left: 47% !important;
}

html[dir="rtl"] .hero-feature-card {
  text-align: right !important;
}

@media (max-width: 1180px) {
  .hero .section-shell.hero-shell {
    width: min(100% - 44px, 980px) !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    min-height: auto !important;
  }

  html[dir="rtl"] .hero .section-shell.hero-shell {
    grid-template-columns: 1fr !important;
  }

  .hero-copy {
    max-width: 720px !important;
  }

  .hero-title {
    font-size: clamp(46px, 9vw, 78px) !important;
  }

  .hero-visual {
    min-height: 470px !important;
  }

  .hero-visual .car-3d.has-custom-car,
  html[dir="rtl"] .hero-visual .car-3d.has-custom-car {
    left: 58% !important;
    width: min(700px, 96vw) !important;
    height: 405px !important;
  }

  .hero-feature-strip {
    width: min(100% - 44px, 980px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 96px !important;
    padding-bottom: 32px !important;
  }

  .hero .section-shell.hero-shell {
    width: min(100% - 28px, 430px) !important;
    gap: 6px !important;
  }

  .hero-copy {
    text-align: left !important;
    padding-top: 4px !important;
  }

  html[dir="rtl"] .hero-copy {
    text-align: right !important;
  }

  .hero .eyebrow {
    font-size: 11px !important;
    margin-bottom: 14px !important;
  }

  .hero-title {
    font-size: clamp(42px, 14vw, 58px) !important;
    line-height: .96 !important;
    letter-spacing: -.045em !important;
    margin-bottom: 18px !important;
  }

  .hero-text {
    font-size: 15px !important;
    line-height: 1.65 !important;
    max-width: 355px !important;
  }

  .hero-actions {
    margin-top: 22px !important;
    gap: 10px !important;
  }

  .hero-actions .btn {
    min-height: 48px !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
  }

  .hero-visual {
    min-height: 330px !important;
    margin-top: -2px !important;
  }

  .hero-visual::before {
    inset: 16px -10% 0 -8% !important;
    opacity: .56 !important;
  }

  .hero-visual .license-card {
    top: 6px !important;
    right: 2px !important;
    width: 118px !important;
    min-height: 100px !important;
    padding: 16px 15px !important;
    border-radius: 18px !important;
  }

  html[dir="rtl"] .hero-visual .license-card {
    right: 2px !important;
    left: auto !important;
  }

  .hero-visual .license-card span { font-size: 11px !important; }
  .hero-visual .license-card strong { font-size: 23px !important; margin-top: 9px !important; }
  .hero-visual .license-card small { font-size: 11px !important; }

  .hero-visual .sign-speed {
    width: 56px !important;
    height: 56px !important;
    top: 62px !important;
    left: 58% !important;
  }

  .hero-visual .sign-warning {
    width: 56px !important;
    height: 56px !important;
    top: 126px !important;
    left: 8% !important;
  }

  .hero-visual .sign-code {
    width: 58px !important;
    height: 58px !important;
    top: 205px !important;
    right: 2% !important;
  }

  .hero-visual .image-steering {
    width: 64px !important;
    height: 64px !important;
    left: 6% !important;
    bottom: 20px !important;
  }

  .hero-visual .road-stage,
  .hero-visual .road-stage.clean-ready-hero {
    height: 290px !important;
    bottom: 0 !important;
    left: -10% !important;
    right: -12% !important;
  }

  .hero-visual .car-3d.has-custom-car,
  html[dir="rtl"] .hero-visual .car-3d.has-custom-car {
    left: 54% !important;
    bottom: 16px !important;
    width: 420px !important;
    max-width: none !important;
    height: 260px !important;
  }

  .hero-visual .car-3d.has-custom-car .car-shadow {
    bottom: 18px !important;
    height: 34px !important;
  }

  .hero-feature-strip {
    width: min(100% - 28px, 430px) !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 10px !important;
  }

  .hero-feature-card {
    min-height: 0 !important;
    padding: 18px 18px !important;
    border-radius: 20px !important;
    display: grid !important;
    grid-template-columns: 44px 1fr auto !important;
    column-gap: 14px !important;
    align-items: center !important;
  }

  .hero-feature-card .stat-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    grid-row: span 2 !important;
  }

  .hero-feature-card strong {
    margin: 0 0 4px !important;
    font-size: 16px !important;
  }

  .hero-feature-card p {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .hero-feature-card em {
    margin: 0 !important;
    grid-row: span 2 !important;
    font-size: 22px !important;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 39px !important;
  }

  .hero-visual .car-3d.has-custom-car,
  html[dir="rtl"] .hero-visual .car-3d.has-custom-car {
    left: 52% !important;
    width: 382px !important;
    height: 240px !important;
  }
}

/* =========================================================
   FINAL UPDATE v16 — Clean professional hero car image
   Better transparent cutout, no pixelated background, full visible on PC/phone
   ========================================================= */
.hero-visual,
.hero-visual .road-stage.clean-ready-hero,
.hero-visual .car-3d.clean-hero-image {
  overflow: visible !important;
}

.hero-visual .road-stage.clean-ready-hero {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 470px !important;
  transform: none !important;
  filter: none !important;
}

.hero-visual .road-stage.clean-ready-hero::before {
  left: 20% !important;
  right: 9% !important;
  bottom: 54px !important;
  height: 70px !important;
  background: radial-gradient(ellipse at center, rgba(35, 22, 54, .18), rgba(124, 58, 237, .10) 52%, transparent 76%) !important;
  filter: blur(20px) !important;
  transform: perspective(900px) rotateX(64deg) scaleX(.9) !important;
}

.hero-visual .car-3d.clean-hero-image,
.hero-visual .car-3d.has-custom-car.clean-hero-image,
.hero-visual .car-3d.exact-hero-car.clean-hero-image,
.hero-visual .car-3d.ready-road-hero.clean-hero-image,
html[dir="rtl"] .hero-visual .car-3d.has-custom-car.clean-hero-image {
  left: 50% !important;
  bottom: 34px !important;
  width: clamp(560px, 42vw, 710px) !important;
  height: clamp(330px, 30vw, 420px) !important;
  transform: translateX(-50%) translateZ(0) !important;
  max-width: none !important;
  background: transparent !important;
  image-rendering: auto !important;
}

.hero-visual .clean-hero-image .hero-custom-car,
.hero-visual .car-3d.has-custom-car .hero-custom-car {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  background: transparent !important;
  image-rendering: auto !important;
  backface-visibility: hidden !important;
  transform: translateZ(0) !important;
  filter:
    drop-shadow(0 28px 26px rgba(25, 15, 45, .22))
    drop-shadow(0 0 18px rgba(124, 58, 237, .08)) !important;
}

.hero-visual .clean-hero-image .car-body,
.hero-visual .clean-hero-image .wheel {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-visual .clean-hero-image .car-shadow,
.hero-visual .car-3d.has-custom-car.clean-hero-image .car-shadow {
  display: block !important;
  left: 14% !important;
  right: 11% !important;
  bottom: 24px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse, rgba(22, 14, 38, .22), rgba(103, 49, 217, .11) 48%, transparent 76%) !important;
  filter: blur(16px) !important;
  transform: perspective(760px) rotateX(62deg) !important;
}

.coded-car-road.coded-car-only {
}

@media (max-width: 1180px) {
  .hero-visual .road-stage.clean-ready-hero {
    height: 430px !important;
  }

  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image,
  html[dir="rtl"] .hero-visual .car-3d.has-custom-car.clean-hero-image {
    left: 52% !important;
    bottom: 24px !important;
    width: min(680px, 92vw) !important;
    height: 390px !important;
  }
}

@media (max-width: 680px) {
  .hero-visual .road-stage.clean-ready-hero {
    left: -4% !important;
    right: -4% !important;
    height: 285px !important;
    bottom: 0 !important;
  }

  .hero-visual .road-stage.clean-ready-hero::before {
    left: 16% !important;
    right: 14% !important;
    bottom: 38px !important;
    height: 46px !important;
    filter: blur(14px) !important;
  }

  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image,
  html[dir="rtl"] .hero-visual .car-3d.has-custom-car.clean-hero-image {
    left: 52% !important;
    bottom: 26px !important;
    width: min(382px, 104vw) !important;
    height: 230px !important;
  }
}

@media (max-width: 390px) {
  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image,
  html[dir="rtl"] .hero-visual .car-3d.has-custom-car.clean-hero-image {
    width: 356px !important;
    height: 216px !important;
    left: 51% !important;
  }
}

/* Preview/live fallback: keep main hero visible even when scroll animation JS is delayed */
.hero .reveal,
.hero.reveal,
.hero .slide-right,
.hero .slide-left,
.hero .slide-up {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* v16 mobile polish: keep title and car inside the screen */
@media (max-width: 680px) {
  .hero-title {
    font-size: clamp(38px, 11.8vw, 48px) !important;
    line-height: 1.02 !important;
    max-width: 100% !important;
    overflow-wrap: normal !important;
  }

  .hero-title span {
    display: block !important;
    white-space: normal !important;
  }

  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image,
  html[dir="rtl"] .hero-visual .car-3d.has-custom-car.clean-hero-image {
    left: 49% !important;
    width: min(350px, 96vw) !important;
    height: 212px !important;
    bottom: 30px !important;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: clamp(36px, 11vw, 43px) !important;
  }

  .hero-visual .car-3d.clean-hero-image,
  .hero-visual .car-3d.has-custom-car.clean-hero-image,
  .hero-visual .car-3d.exact-hero-car.clean-hero-image,
  .hero-visual .car-3d.ready-road-hero.clean-hero-image,
  html[dir="rtl"] .hero-visual .car-3d.has-custom-car.clean-hero-image {
    left: 48% !important;
    width: 338px !important;
    height: 204px !important;
  }
}


/* v17: admin-changeable cars - no CSS content replacement, no pixel blocks */
.hero-custom-car,
.coded-car-road {
  content: normal !important;
  background: transparent !important;
  image-rendering: auto !important;
  object-fit: contain !important;
}

.hero-visual .clean-hero-image .hero-custom-car,
.hero-visual .car-3d.has-custom-car .hero-custom-car {
  content: normal !important;
}

.coded-car-road.coded-car-only {
  content: normal !important;
}

.coded-road-wrap {
  overflow: visible !important;
  isolation: isolate;
}

.coded-road-wrap::before,
.coded-road-wrap::after {
  display: none !important;
}

/* Dynamic CMS additions */
:root {
  --primary-color: var(--purple, #5b21b6);
  --secondary-color: var(--violet, #a855f7);
  --gradient-color: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --button-color: var(--primary-color);
  --accent-color: var(--secondary-color);
  --glow-color: rgba(168, 85, 247, 0.32);
}
.btn.primary,
.header-cta,
.mobile-cta,
.final-cta .btn,
.save-btn {
  background: var(--gradient-color);
}
.eyebrow,
.hero-title span,
.title-gradient,
.formation-card a,
.faq-item.active .faq-question {
  color: var(--accent-color);
}
.dynamic-section .section-heading { text-align: center; max-width: 780px; margin-inline: auto; }
.dynamic-card-grid { align-items: stretch; }
.cms-card-image { width: 100%; height: 190px; object-fit: contain; margin-bottom: 18px; filter: drop-shadow(0 18px 26px var(--glow-color)); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery-card { overflow: hidden; border: 1px solid rgba(91, 33, 182, 0.12); border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: 0 24px 60px rgba(24, 12, 51, 0.08); }
.gallery-card img { display: block; width: 100%; height: 260px; object-fit: cover; }
.gallery-card strong { display: block; padding: 18px 20px; font-size: 18px; }
.site-footer .socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; text-decoration: none; color: #fff; background: var(--gradient-color); font-weight: 900; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-card img { height: 220px; } }

/* Admin editable About images */
.coach-avatar .about-coach-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
}
.custom-about-car img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* === V20: professional permit steps timeline + transparent logo fix === */
.logo-mark {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.logo-admin-preview,
.logo-admin-preview img {
  background: transparent !important;
}

.process {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(162, 89, 255, 0.11), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(45, 212, 191, 0.10), transparent 28%),
    linear-gradient(180deg, #fbfaff 0%, #f6f4fb 100%) !important;
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(91, 33, 182, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 33, 182, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 80%, transparent);
}

.process .section-shell {
  position: relative;
  z-index: 1;
}

.process-heading {
  max-width: 820px;
}

.process-subtitle {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
}

.permit-timeline,
.timeline {
  --step-count: 5;
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding-top: 76px;
  margin-top: 24px;
}

.permit-timeline::before,
.timeline::before,
.permit-timeline .timeline-progress,
.timeline-progress {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 36px;
  height: 6px;
  border-radius: 999px;
}

.permit-timeline::before,
.timeline::before {
  background: rgba(91, 33, 182, 0.12);
}

.permit-timeline .timeline-progress,
.timeline-progress {
  right: auto;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color, #5b21b6), var(--button-color, #a855f7), var(--secondary-color, #2dd4bf));
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.35);
  transition: width 1.15s cubic-bezier(0.19, 1, 0.22, 1);
}

.permit-timeline.in-view .timeline-progress,
.timeline.in-view .timeline-progress {
  width: 90%;
}

.permit-timeline .timeline-step,
.timeline-step {
  position: relative;
  min-height: 240px;
  padding: 34px 22px 28px;
  border: 1px solid rgba(91, 33, 182, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.78));
  box-shadow: 0 24px 58px rgba(24, 12, 51, 0.09);
  backdrop-filter: blur(14px);
  transform: translateY(34px);
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.permit-timeline.in-view .timeline-step,
.timeline.in-view .timeline-step {
  opacity: 1;
  transform: translateY(0);
}

.timeline-step:nth-child(3) { transition-delay: 0.08s; }
.timeline-step:nth-child(4) { transition-delay: 0.16s; }
.timeline-step:nth-child(5) { transition-delay: 0.24s; }
.timeline-step:nth-child(6) { transition-delay: 0.32s; }

.permit-timeline .timeline-step:hover,
.timeline-step:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.36);
  box-shadow: 0 32px 75px rgba(91, 33, 182, 0.16);
}

.timeline-step .step-number,
.timeline-step > span {
  position: absolute;
  left: 22px;
  top: -60px;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 7px solid #f8f6fd;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color, #5b21b6), var(--button-color, #a855f7));
  box-shadow: 0 20px 40px rgba(91, 33, 182, 0.28);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.timeline-step .step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 18px;
  color: var(--primary-color, #5b21b6);
  background: rgba(139, 92, 246, 0.11);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.12);
  font-size: 22px;
}

.timeline-step h3 {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.16;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.process-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 32px;
  padding: 24px 26px;
  border: 1px solid rgba(91, 33, 182, 0.13);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 54px rgba(24, 12, 51, 0.08);
  backdrop-filter: blur(16px);
}

.process-cta strong {
  display: block;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 27px);
  margin-bottom: 6px;
}

.process-cta span {
  color: var(--muted);
  line-height: 1.7;
}

.process-cta .btn {
  white-space: nowrap;
}

html[dir="rtl"] .process-heading,
html[dir="rtl"] .process-subtitle {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

html[dir="rtl"] .timeline-step .step-number,
html[dir="rtl"] .timeline-step > span {
  left: auto;
  right: 22px;
}

@media (max-width: 1120px) {
  .permit-timeline,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-top: 0;
  }

  .permit-timeline::before,
  .timeline::before,
  .permit-timeline .timeline-progress,
  .timeline-progress {
    display: none !important;
  }

  .timeline-step .step-number,
  .timeline-step > span {
    position: static !important;
    margin-bottom: 18px;
    border-color: rgba(255, 255, 255, 0.95);
  }
}

@media (max-width: 680px) {
  .process {
    overflow: hidden;
  }

  .permit-timeline,
  .timeline {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-top: 22px;
  }

  .timeline-step {
    min-height: auto;
    padding: 22px 18px 22px;
    border-radius: 24px;
  }

  .timeline-step .step-number,
  .timeline-step > span {
    width: 52px;
    height: 52px;
    font-size: 16px;
    float: left;
    margin: 0 14px 14px 0;
  }

  html[dir="rtl"] .timeline-step .step-number,
  html[dir="rtl"] .timeline-step > span {
    float: right;
    margin: 0 0 14px 14px;
  }

  .timeline-step .step-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }

  .process-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 22px 18px;
  }

  .process-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* v21 dynamic floating WhatsApp */
.floating-whatsapp{position:fixed;right:22px;bottom:22px;z-index:90;width:56px;height:56px;border-radius:999px;display:grid;place-items:center;text-decoration:none;color:#fff;font-weight:900;font-size:24px;background:#25d366;box-shadow:0 18px 45px rgba(37,211,102,.35);border:3px solid rgba(255,255,255,.75);transition:transform .25s ease, box-shadow .25s ease}.floating-whatsapp:hover{transform:translateY(-4px) scale(1.04);box-shadow:0 24px 60px rgba(37,211,102,.45)}@media(max-width:700px){.floating-whatsapp{right:14px;bottom:14px;width:50px;height:50px;font-size:21px}}

/* === V22: admin-controlled step logos/images === */
.step-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.timeline-step .step-icon:has(.step-icon-img) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* v23: uploaded icons from admin stay clean and professional */
.step-icon-img,.formation-icon-img,.advantage-icon-img,.stat-icon-img,.content-icon-img{display:block;object-fit:contain;max-width:100%;max-height:100%;filter:none!important;mix-blend-mode:normal!important}
.timeline-step .step-icon,.icon-cube,.advantage-icon,.stat-icon{overflow:hidden}
.timeline-step .step-icon:has(img),.icon-cube:has(img),.advantage-icon:has(img),.stat-icon:has(img){background:linear-gradient(145deg,rgba(124,58,237,.12),rgba(45,212,191,.08));color:transparent}

/* v25 admin-uploaded icon hard fix */
.step-icon-img,
.formation-icon-img,
.advantage-icon-img,
.stat-icon-img,
.content-icon-img {
  width: 32px !important;
  height: 32px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
.timeline-step .step-icon:has(img),
.icon-cube:has(img),
.advantage-icon:has(img),
.stat-icon:has(img) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
