/* Hero: seasonal background, falling particles, icon tabs, sub-choices, quick links */
.hero-section { overflow: hidden; isolation: isolate; }
.hero-section::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: var(--hero-season-img, none), var(--hero-season-glow, none);
  background-size: cover, auto; background-position: center;
  transition: opacity .6s;
}
.hero-section[data-season="autumn"] { --hero-season-glow: radial-gradient(60% 80% at 15% 100%, rgba(245,158,11,.38), transparent 70%), radial-gradient(40% 60% at 90% 0, rgba(234,88,12,.25), transparent 70%); }
.hero-section[data-season="winter"] { --hero-season-glow: radial-gradient(70% 70% at 80% 0, rgba(186,230,253,.45), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.10), transparent 60%); }
.hero-section[data-season="spring"] { --hero-season-glow: radial-gradient(60% 80% at 10% 100%, rgba(74,222,128,.32), transparent 70%), radial-gradient(40% 60% at 90% 10%, rgba(244,114,182,.28), transparent 70%); }
.hero-section[data-season="summer"] { --hero-season-glow: radial-gradient(45% 60% at 90% 0, rgba(253,224,71,.55), transparent 70%), radial-gradient(60% 60% at 10% 100%, rgba(56,189,248,.35), transparent 70%); }
.hero-section .hero-layout { position: relative; z-index: 1; }

/* Falling / floating particles */
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-fx span {
  position: absolute; top: -8%; left: calc(var(--i) * 7.2%); display: block;
  width: calc(8px + (var(--i) * 5px) % 14px); height: calc(8px + (var(--i) * 5px) % 14px);
  opacity: .75; animation: hero-fall calc(9s + var(--i) * .9s) linear infinite; animation-delay: calc(var(--i) * -1.3s);
}
.hero-section[data-season="autumn"] .hero-fx span { background: #f59e0b; border-radius: 0 100% 0 100%; }
.hero-section[data-season="autumn"] .hero-fx span:nth-child(3n) { background: #ea580c; }
.hero-section[data-season="autumn"] .hero-fx span:nth-child(3n+1) { background: #b45309; }
.hero-section[data-season="winter"] .hero-fx span { background: #fff; border-radius: 50%; filter: blur(.4px); }
.hero-section[data-season="spring"] .hero-fx span { background: #f9a8d4; border-radius: 100% 0 100% 0; }
.hero-section[data-season="spring"] .hero-fx span:nth-child(2n) { background: #fff; }
.hero-section[data-season="summer"] .hero-fx span { background: rgba(253,224,71,.85); border-radius: 50%; top: auto; bottom: -8%; animation-name: hero-rise; box-shadow: 0 0 12px rgba(253,224,71,.8); }
@keyframes hero-fall { 0% { transform: translate3d(0,0,0) rotate(0); } 50% { transform: translate3d(28px,60vh,0) rotate(180deg); } 100% { transform: translate3d(-10px,125vh,0) rotate(360deg); } }
@keyframes hero-rise { 0% { transform: translate3d(0,0,0); opacity: 0; } 20% { opacity: .9; } 100% { transform: translate3d(20px,-115vh,0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-fx span { animation: none; opacity: .35; top: calc(var(--i) * 6%); } }

/* Mascot / illustration (Customizer) */
.hero-mascot { display: none; position: absolute; left: 2%; bottom: 0; max-height: 92%; width: auto; z-index: 0; pointer-events: none; filter: drop-shadow(0 12px 18px rgba(0,0,0,.3)); }
@media (min-width: 1200px) {
  .hero-mascot { display: block; max-width: 22%; }
  .hero-section:has(.hero-mascot) .hero-intro { padding-left: 21%; }
}

/* Icon tabs */
.search-tab-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1.15; }
.search-tab-btn .icon { width: 26px; height: 26px; transition: transform .2s; }
.search-tab-btn:hover .icon { transform: translateY(-2px) scale(1.08); }
.search-tab-btn.active .icon { color: var(--color-primary-blue, #0a5cff); }
.search-widget { box-shadow: 0 24px 60px rgba(2,12,45,.35); }

/* Sub-choices (Tourisme / 4x4-SUV / Utilitaires ; Agricole / Génie civil) */
.vehicle-subs { background: #fff; padding: 12px 16px 0; }
.vehicle-sub[hidden] { display: none; }
.vehicle-sub { display: flex; flex-wrap: wrap; gap: 8px; }
.vehicle-sub__btn { border: 1.5px solid #d6deeb; background: #fff; color: #1e293b; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .85rem; cursor: pointer; transition: all .15s; }
.vehicle-sub__btn:hover { border-color: #0a5cff; color: #0a5cff; }
.vehicle-sub__btn.active { background: #0a5cff; border-color: #0a5cff; color: #fff; box-shadow: 0 4px 10px rgba(10,92,255,.3); }

/* Quick links under the intro */
.hero-quick { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-quick a { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-weight: 600; font-size: .85rem; padding: 6px 2px; border-bottom: 3px solid #facc15; text-decoration: none; transition: transform .2s; }
.hero-quick a:hover { transform: translateY(-3px); }
.hero-quick .icon { width: 30px; height: 30px; }
.hero-accent { color: #facc15; }
