/**
 * Web Generation - Animations CSS Personnalisées par Métier
 * Version 2.0 - Premium Quality
 * 
 * Chaque catégorie de métier a ses propres animations :
 * - Transport (taxi, vtc, chauffeur) : animation route/GPS
 * - Santé (medecin, dentiste, pharmacie, kine, veterinaire, psychologue, parapharmacie) : animation pulse/heartbeat
 * - Juridique (avocat, notaire, comptable, assurance) : animation balance/documents
 * - Commerce (restaurant, boulangerie, epicerie, fleuriste, traiteur, ecommerce) : animation storefront
 * - Services perso (coiffeur, institut-beaute, photographe, coach, coach-sportif, salle-de-sport) : animation tools
 * - Tourisme (hotel, agence_voyage, agence-voyage) : animation globe/avion
 * - Tech/Business (startup, consultant, pme, formation, architecte) : animation code/graph
 * - Immobilier (immobilier, agence-immobiliere) : animation building
 * - Artisanat (artisan, garage, depanneur, auto-ecole) : animation tools/gears
 * - Communauté (association) : animation hearts
 */

/* ============================================
   GLOBAL ANIMATION UTILITIES
   ============================================ */

/* Scroll reveal animations */
.wg-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.wg-animate.visible {
    opacity: 1;
    transform: translateY(0);
}
.wg-animate-delay-1 { transition-delay: 0.1s; }
.wg-animate-delay-2 { transition-delay: 0.2s; }
.wg-animate-delay-3 { transition-delay: 0.3s; }
.wg-animate-delay-4 { transition-delay: 0.4s; }
.wg-animate-delay-5 { transition-delay: 0.5s; }
.wg-animate-delay-6 { transition-delay: 0.6s; }

/* Counter animation */
.wg-counter[data-target] {
    font-variant-numeric: tabular-nums;
}

/* Floating particles background */
.wg-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.wg-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--metier-color);
    opacity: 0.15;
    animation: wgFloat 15s infinite ease-in-out;
}
.wg-particle:nth-child(2n) { animation-duration: 20s; animation-delay: -5s; width: 6px; height: 6px; opacity: 0.1; }
.wg-particle:nth-child(3n) { animation-duration: 25s; animation-delay: -10s; width: 3px; height: 3px; opacity: 0.2; }
.wg-particle:nth-child(4n) { animation-duration: 18s; animation-delay: -3s; }
.wg-particle:nth-child(5n) { animation-duration: 22s; animation-delay: -7s; width: 5px; height: 5px; }

@keyframes wgFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -50px) scale(1.2); }
    50% { transform: translate(-20px, -100px) scale(0.8); }
    75% { transform: translate(40px, -30px) scale(1.1); }
}

/* ============================================
   HERO ANIMATION WIDGET - Right Side
   ============================================ */

.wg-hero-widget {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* Glassmorphism card base */
.wg-hero-widget-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 35px;
    position: relative;
    overflow: hidden;
}

.wg-hero-widget-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--metier-color), transparent);
}

/* Glow effect behind widget */
.wg-hero-widget::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, color-mix(in srgb, var(--metier-color) 15%, transparent), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: wgGlow 4s ease-in-out infinite alternate;
}

@keyframes wgGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* ============================================
   TRANSPORT ANIMATIONS (taxi, vtc, chauffeur)
   ============================================ */

.wg-anim-transport .wg-hero-widget-card {
    min-height: 280px;
}

/* GPS Route animation */
.wg-anim-transport .wg-route-line {
    position: relative;
    height: 60px;
    margin: 20px 0;
}

.wg-anim-transport .wg-route-path {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.wg-anim-transport .wg-route-progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    background: var(--metier-color);
    border-radius: 2px;
    animation: wgRouteProgress 3s ease-in-out infinite;
    box-shadow: 0 0 10px var(--metier-color);
}

.wg-anim-transport .wg-route-car {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    animation: wgCarMove 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px var(--metier-color));
}

.wg-anim-transport .wg-route-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--metier-color);
    background: #0a0a0f;
}

.wg-anim-transport .wg-route-dot.start { left: 0; }
.wg-anim-transport .wg-route-dot.end { right: 0; background: var(--metier-color); }

@keyframes wgRouteProgress {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 100%; opacity: 0; }
}

@keyframes wgCarMove {
    0% { left: 5%; }
    50% { left: 85%; }
    100% { left: 85%; }
}

/* Booking notification */
.wg-anim-transport .wg-booking-notif {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    margin-top: 15px;
    animation: wgSlideIn 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.wg-anim-transport .wg-booking-notif:nth-child(2) { animation-delay: 1s; }
.wg-anim-transport .wg-booking-notif:nth-child(3) { animation-delay: 2s; }

@keyframes wgSlideIn {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ============================================
   SANTÉ ANIMATIONS (medecin, dentiste, etc.)
   ============================================ */

.wg-anim-sante .wg-hero-widget-card {
    min-height: 280px;
}

/* Heartbeat line */
.wg-anim-sante .wg-heartbeat-container {
    position: relative;
    height: 80px;
    margin: 15px 0;
    overflow: hidden;
}

.wg-anim-sante .wg-heartbeat-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 2px;
    transform: translateY(-50%);
}

.wg-anim-sante .wg-heartbeat-svg {
    width: 200%;
    height: 80px;
    position: absolute;
    top: 0;
    animation: wgHeartbeatScroll 3s linear infinite;
}

.wg-anim-sante .wg-heartbeat-svg path {
    fill: none;
    stroke: var(--metier-color);
    stroke-width: 2;
    filter: drop-shadow(0 0 6px var(--metier-color));
}

@keyframes wgHeartbeatScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Patient stats */
.wg-anim-sante .wg-patient-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    margin-bottom: 10px;
    border-left: 3px solid var(--metier-color);
}

.wg-anim-sante .wg-patient-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.wg-anim-sante .wg-patient-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--metier-color);
}

/* Pulse ring */
.wg-anim-sante .wg-pulse-ring {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--metier-color);
    opacity: 0;
    animation: wgPulseRing 2s ease-out infinite;
}

.wg-anim-sante .wg-pulse-ring:nth-child(2) { animation-delay: 0.5s; }
.wg-anim-sante .wg-pulse-ring:nth-child(3) { animation-delay: 1s; }

@keyframes wgPulseRing {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

/* ============================================
   JURIDIQUE ANIMATIONS (avocat, notaire, etc.)
   ============================================ */

.wg-anim-juridique .wg-hero-widget-card {
    min-height: 280px;
}

/* Balance animation */
.wg-anim-juridique .wg-balance {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.wg-anim-juridique .wg-balance-icon {
    font-size: 48px;
    color: var(--metier-color);
    animation: wgBalanceSwing 3s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--metier-color) 40%, transparent));
}

@keyframes wgBalanceSwing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Document stack */
.wg-anim-juridique .wg-doc-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.wg-anim-juridique .wg-doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    border-left: 3px solid var(--metier-color);
    opacity: 0;
    animation: wgDocSlide 0.6s ease-out forwards;
}

.wg-anim-juridique .wg-doc-item:nth-child(1) { animation-delay: 0.3s; }
.wg-anim-juridique .wg-doc-item:nth-child(2) { animation-delay: 0.6s; }
.wg-anim-juridique .wg-doc-item:nth-child(3) { animation-delay: 0.9s; }

.wg-anim-juridique .wg-doc-item i {
    color: var(--metier-color);
    font-size: 16px;
}

.wg-anim-juridique .wg-doc-item span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.wg-anim-juridique .wg-doc-item .wg-doc-status {
    margin-left: auto;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    background: color-mix(in srgb, var(--metier-color) 20%, transparent);
    color: var(--metier-color);
}

@keyframes wgDocSlide {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ============================================
   COMMERCE ANIMATIONS (restaurant, boulangerie, etc.)
   ============================================ */

.wg-anim-commerce .wg-hero-widget-card {
    min-height: 280px;
}

/* Order notification */
.wg-anim-commerce .wg-order-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wg-anim-commerce .wg-order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    opacity: 0;
    animation: wgOrderPop 0.5s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.wg-anim-commerce .wg-order-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: var(--metier-color);
}

.wg-anim-commerce .wg-order-item:nth-child(1) { animation-delay: 0.5s; }
.wg-anim-commerce .wg-order-item:nth-child(2) { animation-delay: 1.5s; }
.wg-anim-commerce .wg-order-item:nth-child(3) { animation-delay: 2.5s; }

.wg-anim-commerce .wg-order-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--metier-color) 15%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--metier-color);
    font-size: 18px;
    flex-shrink: 0;
}

.wg-anim-commerce .wg-order-info {
    flex: 1;
}

.wg-anim-commerce .wg-order-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.wg-anim-commerce .wg-order-time {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.wg-anim-commerce .wg-order-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--metier-color);
    font-size: 0.95rem;
}

@keyframes wgOrderPop {
    0% { opacity: 0; transform: translateY(-10px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Revenue chart mini */
.wg-anim-commerce .wg-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
    margin-top: 15px;
    padding: 10px 0;
}

.wg-anim-commerce .wg-mini-bar {
    flex: 1;
    background: color-mix(in srgb, var(--metier-color) 30%, transparent);
    border-radius: 4px 4px 0 0;
    animation: wgBarGrow 1s ease-out forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}

.wg-anim-commerce .wg-mini-bar:nth-child(1) { animation-delay: 0.1s; }
.wg-anim-commerce .wg-mini-bar:nth-child(2) { animation-delay: 0.2s; }
.wg-anim-commerce .wg-mini-bar:nth-child(3) { animation-delay: 0.3s; }
.wg-anim-commerce .wg-mini-bar:nth-child(4) { animation-delay: 0.4s; }
.wg-anim-commerce .wg-mini-bar:nth-child(5) { animation-delay: 0.5s; }
.wg-anim-commerce .wg-mini-bar:nth-child(6) { animation-delay: 0.6s; }
.wg-anim-commerce .wg-mini-bar:nth-child(7) { animation-delay: 0.7s; }

@keyframes wgBarGrow {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

/* ============================================
   SERVICES PERSO ANIMATIONS (coiffeur, beauté, photo, etc.)
   ============================================ */

.wg-anim-services .wg-hero-widget-card {
    min-height: 280px;
}

/* Rating stars animation */
.wg-anim-services .wg-rating-display {
    text-align: center;
    margin: 15px 0;
}

.wg-anim-services .wg-rating-stars {
    font-size: 28px;
    color: #f59e0b;
    letter-spacing: 4px;
}

.wg-anim-services .wg-rating-stars i {
    opacity: 0;
    animation: wgStarPop 0.4s ease-out forwards;
    display: inline-block;
}

.wg-anim-services .wg-rating-stars i:nth-child(1) { animation-delay: 0.3s; }
.wg-anim-services .wg-rating-stars i:nth-child(2) { animation-delay: 0.5s; }
.wg-anim-services .wg-rating-stars i:nth-child(3) { animation-delay: 0.7s; }
.wg-anim-services .wg-rating-stars i:nth-child(4) { animation-delay: 0.9s; }
.wg-anim-services .wg-rating-stars i:nth-child(5) { animation-delay: 1.1s; }

@keyframes wgStarPop {
    0% { opacity: 0; transform: scale(0) rotate(-30deg); }
    60% { transform: scale(1.3) rotate(5deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

.wg-anim-services .wg-rating-score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 8px;
}

.wg-anim-services .wg-rating-count {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* Appointment slots */
.wg-anim-services .wg-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.wg-anim-services .wg-slot {
    padding: 10px 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s;
    cursor: default;
}

.wg-anim-services .wg-slot.active {
    border-color: var(--metier-color);
    background: color-mix(in srgb, var(--metier-color) 15%, transparent);
    color: var(--metier-color);
    font-weight: 600;
}

.wg-anim-services .wg-slot.booked {
    opacity: 0.4;
    text-decoration: line-through;
}

/* ============================================
   TOURISME ANIMATIONS (hotel, agence voyage)
   ============================================ */

.wg-anim-tourisme .wg-hero-widget-card {
    min-height: 280px;
}

/* Globe rotation */
.wg-anim-tourisme .wg-globe-container {
    text-align: center;
    margin: 15px 0;
    position: relative;
}

.wg-anim-tourisme .wg-globe-icon {
    font-size: 56px;
    color: var(--metier-color);
    animation: wgGlobeRotate 8s linear infinite;
    display: inline-block;
    filter: drop-shadow(0 0 15px color-mix(in srgb, var(--metier-color) 40%, transparent));
}

@keyframes wgGlobeRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Destination cards */
.wg-anim-tourisme .wg-destination {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    margin-bottom: 8px;
    opacity: 0;
    animation: wgDestSlide 0.5s ease-out forwards;
}

.wg-anim-tourisme .wg-destination:nth-child(1) { animation-delay: 0.5s; }
.wg-anim-tourisme .wg-destination:nth-child(2) { animation-delay: 1s; }
.wg-anim-tourisme .wg-destination:nth-child(3) { animation-delay: 1.5s; }

.wg-anim-tourisme .wg-dest-flag {
    font-size: 24px;
}

.wg-anim-tourisme .wg-dest-name {
    flex: 1;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.wg-anim-tourisme .wg-dest-badge {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    background: color-mix(in srgb, var(--metier-color) 20%, transparent);
    color: var(--metier-color);
}

@keyframes wgDestSlide {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ============================================
   TECH/BUSINESS ANIMATIONS (startup, consultant, etc.)
   ============================================ */

.wg-anim-tech .wg-hero-widget-card {
    min-height: 280px;
}

/* Code typing effect */
.wg-anim-tech .wg-code-block {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 20px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    line-height: 1.8;
    overflow: hidden;
    margin: 15px 0;
}

.wg-anim-tech .wg-code-line {
    opacity: 0;
    animation: wgCodeType 0.3s ease-out forwards;
    white-space: nowrap;
}

.wg-anim-tech .wg-code-line:nth-child(1) { animation-delay: 0.5s; }
.wg-anim-tech .wg-code-line:nth-child(2) { animation-delay: 1s; }
.wg-anim-tech .wg-code-line:nth-child(3) { animation-delay: 1.5s; }
.wg-anim-tech .wg-code-line:nth-child(4) { animation-delay: 2s; }
.wg-anim-tech .wg-code-line:nth-child(5) { animation-delay: 2.5s; }

.wg-anim-tech .wg-code-keyword { color: #c084fc; }
.wg-anim-tech .wg-code-string { color: #86efac; }
.wg-anim-tech .wg-code-func { color: #93c5fd; }
.wg-anim-tech .wg-code-comment { color: rgba(255,255,255,0.3); font-style: italic; }
.wg-anim-tech .wg-code-number { color: #fbbf24; }

@keyframes wgCodeType {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Growth chart */
.wg-anim-tech .wg-growth-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(34,197,94,0.08);
    border-radius: 12px;
    margin-top: 15px;
}

.wg-anim-tech .wg-growth-arrow {
    color: #22c55e;
    font-size: 24px;
    animation: wgBounceUp 1s ease-in-out infinite;
}

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

.wg-anim-tech .wg-growth-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
}

.wg-anim-tech .wg-growth-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   IMMOBILIER ANIMATIONS
   ============================================ */

.wg-anim-immobilier .wg-hero-widget-card {
    min-height: 280px;
}

/* Property listing cards */
.wg-anim-immobilier .wg-property {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    margin-bottom: 10px;
    opacity: 0;
    animation: wgPropertySlide 0.5s ease-out forwards;
}

.wg-anim-immobilier .wg-property:nth-child(1) { animation-delay: 0.5s; }
.wg-anim-immobilier .wg-property:nth-child(2) { animation-delay: 1s; }
.wg-anim-immobilier .wg-property:nth-child(3) { animation-delay: 1.5s; }

.wg-anim-immobilier .wg-property-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--metier-color) 15%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--metier-color);
    font-size: 20px;
    flex-shrink: 0;
}

.wg-anim-immobilier .wg-property-info {
    flex: 1;
}

.wg-anim-immobilier .wg-property-type {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.wg-anim-immobilier .wg-property-details {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.wg-anim-immobilier .wg-property-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--metier-color);
    font-size: 0.9rem;
}

@keyframes wgPropertySlide {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ARTISANAT ANIMATIONS (artisan, garage, etc.)
   ============================================ */

.wg-anim-artisan .wg-hero-widget-card {
    min-height: 280px;
}

/* Gear rotation */
.wg-anim-artisan .wg-gear-container {
    text-align: center;
    margin: 15px 0;
    position: relative;
    height: 80px;
}

.wg-anim-artisan .wg-gear {
    position: absolute;
    color: var(--metier-color);
    animation: wgGearSpin 4s linear infinite;
}

.wg-anim-artisan .wg-gear-1 {
    font-size: 48px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--metier-color) 40%, transparent));
}

.wg-anim-artisan .wg-gear-2 {
    font-size: 32px;
    left: calc(50% + 35px);
    top: calc(50% - 25px);
    animation-direction: reverse;
    opacity: 0.6;
}

@keyframes wgGearSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Service checklist */
.wg-anim-artisan .wg-service-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    margin-bottom: 8px;
    opacity: 0;
    animation: wgCheckSlide 0.4s ease-out forwards;
}

.wg-anim-artisan .wg-service-check:nth-child(1) { animation-delay: 0.5s; }
.wg-anim-artisan .wg-service-check:nth-child(2) { animation-delay: 0.8s; }
.wg-anim-artisan .wg-service-check:nth-child(3) { animation-delay: 1.1s; }

.wg-anim-artisan .wg-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--metier-color) 20%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--metier-color);
    font-size: 12px;
    flex-shrink: 0;
}

.wg-anim-artisan .wg-check-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

@keyframes wgCheckSlide {
    0% { opacity: 0; transform: translateX(-15px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .wg-hero-widget {
        max-width: 350px;
    }
    .wg-hero-widget-card {
        padding: 25px;
    }
    .wg-anim-services .wg-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wg-hero-widget {
        max-width: 300px;
    }
    .wg-hero-widget-card {
        padding: 20px;
    }
}
