/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Variables CSS - Charte graphique Ambition-service Professionnelle */
:root {
    /* Couleurs principales - Style sobre, professionnel et clair */
    --primary-color: #1e40af;         /* Bleu professionnel (confiance et stabilité) */
    --secondary-color: #3b82f6;       /* Bleu clair (modernité et accessibilité) */
    --accent-color: #059669;          /* Vert professionnel (croissance et nature) */
    --tertiary-color: #f59e0b;        /* Orange professionnel (énergie et créativité) */
    --quaternary-color: #6366f1;      /* Indigo professionnel (innovation et sophistication) */
    
    /* Couleurs sectorielles spécialisées */
    --btp-color: #1e40af;             /* Bleu pour BTP (construction) */
    --transit-color: #059669;         /* Vert pour Transit (logistique) */
    --savonnerie-color: #dc2626;      /* Rouge pour Savonnerie (artisanal) */
    --location-color: #f59e0b;        /* Orange pour Location (mobilité) */
    
    /* Couleurs neutres professionnelles */
    --dark-color: #0f172a;            /* Bleu très foncé */
    --medium-color: #475569;          /* Bleu-gris moyen */
    --light-color: #f1f5f9;           /* Bleu très clair */
    --text-color: #0f172a;            /* Bleu très foncé pour le texte */
    --text-light: #64748b;            /* Gris-bleu pour le texte secondaire */
    --white: #ffffff;                 /* Blanc pur */
    
    /* Ombres harmonisées */
    --shadow: 0 4px 6px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.15);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.2);
    
    /* Bordures et rayons */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Gradients professionnels clairs et accessibles */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-tertiary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    
    /* Gradients sectoriels */
    --gradient-btp: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-transit: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-savonnerie: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --gradient-location: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

/* Typography - Améliorée pour la lisibilité */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.25;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--medium-color);
}

/* Buttons - Design professionnel amélioré */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    transform: translateZ(0);
    will-change: transform;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--white);
    color: #1e40af;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--white);
    color: #1e40af;
    transform: translateY(-2px);
}

.btn-tertiary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-tertiary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Header - Design professionnel amélioré */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1e40af;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1e40af;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: #1e40af;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section - Design selon la maquette */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    color: var(--white);
}


/* Particules flottantes */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 40%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.particle:nth-child(6) {
    width: 6px;
    height: 6px;
    left: 60%;
    animation-delay: 5s;
    animation-duration: 8s;
}

.particle:nth-child(7) {
    width: 3px;
    height: 3px;
    left: 70%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(8) {
    width: 5px;
    height: 5px;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 9s;
}

.particle:nth-child(9) {
    width: 4px;
    height: 4px;
    left: 90%;
    animation-delay: 1s;
    animation-duration: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-10vh) rotate(180deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 100vh;
}

/* Hero Left Panel - Fond bleu selon la maquette */
.hero-left {
    background: #1e40af;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
}

.hero-left h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero-left h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.hero-left p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

/* Hero Right Panel - Fond sombre selon la maquette */
.hero-right {
    background: #0f172a;
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
}

.service-panel {
    text-align: center;
    color: var(--white);
}

.service-icon {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 4rem;
    color: #1e40af;
}

.service-panel h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

.service-panel p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Secteur d'activité mis en avant */
.hero-sectors {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-sectors h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.sector-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sector-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.sector-item i {
    font-size: 1.2rem;
    color: var(--white);
}

.sector-item span {
    color: var(--white);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


.hero-slider {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: var(--white);
}

.slide-content i {
    font-size: 6rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--white);
}

.slide-content .slide-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.slide-content .slide-image:hover {
    transform: scale(1.05);
}

.slide-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--white);
}

.slide-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    border-color: var(--white);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Overview - Design selon la maquette */
.services-overview {
    padding: 6rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #1e40af;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-icon .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Icône BTP en jaune */
.btp-icon {
    color: #fbbf24 !important; /* Jaune vif */
}

.service-card .btp-icon {
    color: #fbbf24 !important;
}

.slide-content .btp-icon {
    color: #fbbf24 !important;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    flex-grow: 1;
}

.service-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: var(--white);
    align-self: center;
    margin-top: auto;
}

.service-link:hover {
    gap: 1rem;
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* BTP Section - Design selon la maquette */
.btp-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.btp-wrapper {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.btp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.btp-text h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.btp-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btp-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.btp-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.5;
}

.btp-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-light);
    font-weight: bold;
    font-size: 1.2rem;
}

.btp-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 0.5rem;
}

.btp-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 400px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item.small {
    height: calc(50% - 0.5rem);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    background-color: var(--light-color);
}

.gallery-item:hover .gallery-image,
.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 50%, #81d4fa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0277bd;
    text-align: center;
    position: relative;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        linear-gradient(135deg, #a5d6a7 0%, #81c784 50%, #66bb6a 100%);
    opacity: 0.7;
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.placeholder-image span {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Transit Section - Design selon la maquette */
.transit-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.transit-wrapper {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.transit-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.transit-services {
    display: grid;
    gap: 1.5rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #d0e0eb;
    border-radius: 8px;
    transition: var(--transition);
    align-items: flex-start;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-item i {
    font-size: 2rem;
    color: #1e40af;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.service-content {
    flex: 1;
}

.service-item h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-item p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.transit-cta {
    background: #1e40af;
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
    height: fit-content;
}

.transit-cta h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.transit-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.btn-cta {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-cta:hover {
    background: var(--white);
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Savonnerie Section - Design selon la maquette */
.savonnerie-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.savonnerie-wrapper {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.savonnerie-content {
    margin-top: 2rem;
}

.savonnerie-text {
    margin-bottom: 3rem;
}

.savonnerie-text h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
}

.savonnerie-text p {
    color: var(--text-color);
    line-height: 1.6;
    text-align: left;
}

.savonnerie-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--white);
}

.gallery-card .gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-card .placeholder-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 50%, #81d4fa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0277bd;
    text-align: center;
    position: relative;
}

.gallery-card .placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        linear-gradient(135deg, #a5d6a7 0%, #81c784 50%, #66bb6a 100%);
    opacity: 0.7;
}

.gallery-card .placeholder-image i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.gallery-card .placeholder-image span {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Location Section - Design selon la maquette */
.location-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.location-wrapper {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.vehicle-panel {
    background: #d0e0eb;
    border-radius: 8px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.vehicle-display {
    text-align: center;
    color: var(--white);
}

.vehicle-icon {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 4rem;
    color: #1e40af;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vehicle-icon .vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.vehicle-icon:hover .vehicle-image {
    transform: scale(1.1);
}

.vehicle-display h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.vehicle-display p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.reservation-panel {
    background: #d0e0eb;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.reservation-panel h3 {
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Radio Group Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.radio-label:hover {
    background: rgba(30, 64, 175, 0.05);
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: #1e40af;
}

.radio-label span {
    font-weight: 400;
    color: var(--text-color);
}

/* About Section - Design selon la maquette */
.about-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.about-wrapper {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.about-text h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.values-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.5;
}

.values-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.leader-info {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 1rem;
    border: 2px solid #d0e0eb;
}

.leader-info p:first-child {
    color: #1e40af;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.leader-info p:last-child {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: #d0e0eb;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card i {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--white);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* Contact Section - Design selon la maquette */
.contact-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.contact-wrapper {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: #1e40af;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.5;
}

.contact-form {
    background: #d0e0eb;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    width: auto;
    padding: 0.75rem 2rem;
    background: #1e40af;
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Design - Optimisé pour tous les appareils */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        min-height: 350px;
        padding: 2rem 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .logo-img {
        height: 80px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1.5rem;
        display: block;
        border-radius: var(--border-radius-sm);
        margin: 0 1rem;
        transition: var(--transition);
    }
    
    .nav-link:hover {
        background: var(--light-color);
        color: #1e40af;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
        height: auto;
    }

    .hero-left {
        height: 60vh;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .hero-right {
        height: 40vh;
        padding: 2rem 1.5rem;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .service-panel h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .service-panel p {
        font-size: 1rem;
    }

    .hero-left h1 {
        font-size: 2.75rem;
        line-height: 1.1;
    }

    .hero-left h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-left p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        justify-content: center;
    }

    .slide-content i {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .slide-content .slide-image {
        max-width: 300px;
        max-height: 200px;
        margin-bottom: 1.5rem;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .hero-sectors {
        margin: 1.5rem 0;
        padding: 1.5rem;
    }
    
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .sector-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        min-height: 300px;
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .btp-wrapper {
        padding: 2rem;
    }

    .transit-wrapper,
    .savonnerie-wrapper,
    .location-wrapper,
    .about-wrapper,
    .contact-wrapper {
        padding: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card i {
        font-size: 2.5rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vehicle-panel {
        min-height: 300px;
        padding: 2rem;
    }

    .vehicle-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .vehicle-display h3 {
        font-size: 1.25rem;
    }

    .reservation-panel {
        padding: 1.5rem;
    }

    .savonnerie-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-card .placeholder-image {
        height: 180px;
    }

    .btp-content,
    .transit-content,
    .location-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item {
        padding: 1.25rem;
    }

    .service-item i {
        font-size: 1.75rem;
    }

    .transit-cta {
        padding: 1.5rem;
    }

    .btp-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .gallery-item.large {
        grid-row: span 1;
        height: 250px;
    }

    .gallery-item.small {
        height: 200px;
    }

    .btp-text h3 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .btp-stats {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 70px;
    }

    .hero-left h1 {
        font-size: 2rem;
    }

    .hero-left h2 {
        font-size: 1.25rem;
    }

    .hero-left {
        height: 50vh;
        padding: 1.5rem 1rem;
    }

    .hero-right {
        height: 50vh;
        padding: 1.5rem 1rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-panel h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .service-panel p {
        font-size: 0.9rem;
    }

    .slide-content i {
        font-size: 3rem;
    }

    .slide-content .slide-image {
        max-width: 250px;
        max-height: 150px;
        margin-bottom: 1rem;
    }

    .slide-content h3 {
        font-size: 1.25rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-sectors {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .sector-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .btp-wrapper,
    .transit-wrapper,
    .savonnerie-wrapper,
    .location-wrapper,
    .about-wrapper,
    .contact-wrapper {
        padding: 1.5rem;
    }

    .contact-form h3 {
        font-size: 1.25rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.65rem;
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }

    .about-text h3 {
        font-size: 1.25rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card i {
        font-size: 2rem;
    }

    .stat-card h3 {
        font-size: 1.75rem;
    }

    .stat-card p {
        font-size: 0.9rem;
    }

    .vehicle-panel {
        min-height: 250px;
        padding: 1.5rem;
    }

    .vehicle-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .vehicle-display h3 {
        font-size: 1.1rem;
    }

    .vehicle-display p {
        font-size: 1rem;
    }

    .reservation-panel {
        padding: 1.25rem;
    }

    .reservation-panel h3 {
        font-size: 1.1rem;
    }

    .savonnerie-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-card .placeholder-image {
        height: 160px;
    }

    .savonnerie-text h3 {
        font-size: 1.25rem;
    }

    .gallery-card .placeholder-image i {
        font-size: 2rem;
    }

    .gallery-card .placeholder-image span {
        font-size: 0.8rem;
    }

    .service-item {
        padding: 1rem;
        gap: 1rem;
    }

    .service-item i {
        font-size: 1.5rem;
    }

    .service-item h3 {
        font-size: 1rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }

    .transit-cta {
        padding: 1.25rem;
    }

    .transit-cta h3 {
        font-size: 1.1rem;
    }

    .transit-cta p {
        font-size: 0.9rem;
    }

    .btp-text h3 {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .btp-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-item.large {
        height: 200px;
    }

    .gallery-item.small {
        height: 150px;
    }

    .placeholder-image i {
        font-size: 2rem;
    }

    .placeholder-image span {
        font-size: 0.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Animations améliorées */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.bounce {
    animation: bounce 1s infinite;
}

/* Loader styles */
.loader-content {
    text-align: center;
    color: #1e40af;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-color);
    border-top: 4px solid #1e40af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-content p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Amélioration des transitions */
.service-card,
.vehicle-card,
.product-card,
.stat-card,
.feature {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

/* Effets de focus améliorés */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.3);
}

/* Amélioration de la navigation au clavier */
.keyboard-navigation *:focus {
    outline: 3px solid #1e40af;
    outline-offset: 2px;
}

/* Validation des formulaires en temps réel */
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #10b981;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2310b981' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ef4444' d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath fill='%23ef4444' d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Amélioration des transitions pour les formulaires */
.form-group input,
.form-group select,
.form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-image 0.3s ease;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1e40af;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Amélioration de la lisibilité */
.hero-text h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text h2 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Indicateur de scroll */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(241, 245, 249, 0.5);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #fbbf24 100%);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(30, 64, 175, 0.5);
}

/* Bouton retour en haut */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.scroll-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.3);
}

/* Smooth scrolling offset for fixed header */
section {
    scroll-margin-top: 80px;
}

/* Booking Steps */
.booking-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.step.active .step-number {
    background: #1e40af;
    color: var(--white);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.step.active .step-label {
    color: #1e40af;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.vehicle-details {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.vehicle-info {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.vehicle-info img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.vehicle-specs p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.duration-info {
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.duration-info p {
    margin: 0.5rem 0;
    font-weight: 500;
}

.booking-summary {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.summary-details p {
    margin: 0.75rem 0;
    font-size: 0.95rem;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: var(--light-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header h3 {
    margin: 0;
    color: var(--dark-color);
}

.close {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: #1e40af;
}

.modal form {
    padding: 2rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.savonnerie-cta .btn-primary {
    background: var(--white);
    color: #1e40af;
    border: 2px solid var(--white);
    font-weight: 600;
    padding: 14px 28px;
    transition: var(--transition);
}

.savonnerie-cta .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.savonnerie-cta .btn-tertiary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    padding: 14px 28px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.savonnerie-cta .btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive pour les nouvelles fonctionnalités */
@media (max-width: 768px) {
    .booking-steps {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .step {
        flex: 1;
        min-width: 80px;
    }
    
    .vehicle-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal form {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .savonnerie-cta {
        padding: 2rem 1.5rem;
    }
    
    .savonnerie-cta h3 {
        font-size: 1.5rem;
    }
    
    .savonnerie-cta p {
        font-size: 1rem;
    }
    
    .form-navigation {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
}

/* Language Selector Styles */
.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.lang-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile language selector */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .nav-menu.active .language-selector {
        margin-top: 1rem;
    }
}
