/**
 * SIMBA Clean - Styles CSS Unifiés
 * Version Optimisée SEO + Design
 * Palette: Vert éco-friendly (positionnement écologique)
 */

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    /* Couleurs principales - Palette éco-friendly */
    --primary: #70b7ac;
    --primary-dark: #5a9c92;
    --primary-light: #8fd4c8;
    --secondary: #f19e47;
    --secondary-light: #ffbd59;
    --accent: #7bc6ba;
    
    /* Couleurs neutres */
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #6c757d;
    --gray-light: #adb5bd;
    --gray-dark: #495057;
    --white: #ffffff;
    --black: #000000;
    
    /* Couleurs fonctionnelles */
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    
    /* Typographie */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Espacements augmentés */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 5rem;
    --spacing-4xl: 7rem;
    
    /* Bordures */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}
/* Palette orangée pastel pour la page Professionnels */
body.page-pros {
    --primary: #f7b267;        /* orangé pastel principal */
    --primary-dark: #e69a4d;    /* orangé plus soutenu */
    --primary-light: #f9c58b;   /* orangé très clair */
    --secondary: #70b7ac;       /* on garde le vert comme accent (ou vous pouvez le remplacer par un bleu pastel) */
    --secondary-light: #8fd4c8;
    --accent: #f7b267;           /* optionnel : à harmoniser */
    --accent-light: #f9c58b;
    
    /* Couleurs neutres (inchangées mais vous pouvez les adoucir si besoin) */
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #6c757d;
    --gray-light: #adb5bd;
    --gray-dark: #495057;
}

/* ============================================
   RESET ET BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: var(--spacing-md);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   LAYOUT - CONTAINER (marges augmentées)
   ============================================ */
.container {
    width: 100%;
    max-width: 1580px;
    margin: 0 auto;
    padding-left: var(--spacing-xl);
    padding-right: var(--spacing-xl);
}

@media (max-width: 768px) {
    .container {
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid {
    display: grid;
    gap: var(--spacing-xl);
}

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

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   FLEXBOX UTILITIES
   ============================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--spacing-sm); }
.gap-4 { gap: var(--spacing-md); }
.gap-6 { gap: var(--spacing-lg); }
.gap-8 { gap: var(--spacing-xl); }

/* ============================================
   SPACING UTILITIES
   ============================================ */
.py-4 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-8 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }
.py-12 { padding-top: var(--spacing-2xl); padding-bottom: var(--spacing-2xl); }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.px-4 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-6 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }

.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-4 { margin-bottom: var(--spacing-md); }
.mb-6 { margin-bottom: var(--spacing-lg); }
.mb-8 { margin-bottom: var(--spacing-xl); }
.mb-12 { margin-bottom: var(--spacing-2xl); }

.mt-4 { margin-top: var(--spacing-md); }
.mt-8 { margin-top: var(--spacing-xl); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   HEADER ET NAVIGATION - CENTRÉ
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

/* Logo avec image seule */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 170px;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Navigation desktop - centrée */
 
.nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-2xl);
        flex: 1;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* ============================================
   NAVIGATION DROPDOWN
   ============================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.08);
    padding: var(--spacing-xs) 0;
    margin-top: var(--spacing-xs);
}

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

.nav-dropdown-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-lg);
    color: var(--dark);
    text-decoration: none;
    font-weight: 450;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background-color: var(--primary);
    border-radius: 0 2px 2px 0;
    transition: height var(--transition-fast);
}

.nav-dropdown-link:hover {
    background-color: var(--light);
    color: var(--primary);
    padding-left: calc(var(--spacing-lg) + 4px);
    padding-right: calc(var(--spacing-lg) + 4px);
}

.nav-dropdown-link:hover::before {
    height: 60%;
}

.nav-dropdown-link + .nav-dropdown-link {
    border-top: 1px solid rgba(0,0,0,0.05);
}


/* Navigation mobile */
.nav-mobile-btn {
    display: block;
    padding: var(--spacing-sm);
    font-size: 1.5rem;
    color: var(--dark);
}

@media (min-width: 768px) {
    .nav-mobile-btn {
        display: none;
    }
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-xl);
    transition: right var(--transition-base);
    z-index: 100;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 99;
}

.nav-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-mobile-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 1.5rem;
    color: var(--gray);
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.nav-mobile-links .nav-link {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--light);
}

/* ============================================
   BOUTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #e08a30;
    border-color: #e08a30;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-outline-orange {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--secondary);
}

.btn-outline-orange:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: var(--light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(112, 183, 172, 0.1) 0%, rgba(123, 198, 186, 0.1) 100%);
    padding: var(--spacing-3xl) 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    padding: var(--spacing-2xl) 0;
}

.hero_pro {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(183, 167, 112, 0.1) 0%, rgba(198, 168, 123, 0.1) 100%);
    padding: var(--spacing-3xl) 0;
}

.hero_pro-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    padding: var(--spacing-2xl) 0;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) {
    .hero_pro-content {
        grid-template-columns: 1fr 1fr;
        padding: 5rem 0;
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.hero-image {
    position: relative;
}


/* ============================================
   CARDS - AVEC ANIMATIONS
   ============================================ */
.card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.card-icon-primary {
    background-color: rgba(112, 183, 172, 0.2);
    color: var(--primary);
}

.card-icon-secondary {
    background-color: rgba(241, 158, 71, 0.2);
    color: var(--secondary);
}

.card-icon-pros {
    background-color: rgba(241, 158, 71, 0.2);
    color: var(--primary);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   SERVICE CARDS - ANIMATIONS
   ============================================ */
.service-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-12px) scale(1.02);
}

.service-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-card-content {
    padding: var(--spacing-lg);
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.service-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.service-card-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-card-features li {
    padding: var(--spacing-xs) 0;
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.service-card-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ============================================
   PRICING CARDS (VERSION AVEC LISERÉ AU SURVOL)
   ============================================ */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.1 cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    box-shadow: none;               /* on supprime l'ombre */
    transform: translateY(-6px);
    border-color: var(--primary);   /* apparition du liseré vert */
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(145deg, var(--white), #fafefe);
    transform: scale(1.02);
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow: none;                /* pas d'ombre */
    border-color: var(--primary-dark); /* liseré plus soutenu */
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 0.35rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(241, 158, 71, 0.3);
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    color: var(--dark);
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.pricing-price span {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-period {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 1rem;
    min-width: 1.2rem;
    text-align: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
    padding: 0.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    .pricing-price {
        font-size: 2.4rem;
    }
}

/* Carte pour les options : liseré primary */
.card-option {
    border: 2px solid var(--primary);
}

/* Carte pour les frais supplémentaires : liseré secondary */
.card-fee {
    border: 2px solid var(--secondary);
}

/* ============================================
   SÉLECTEUR DE VÉHICULE
   ============================================ */
.vehicle-selector {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.vehicle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--light);
    border-radius: var(--radius-full);
    background-color: var(--white);
    color: var(--gray);
    font-weight: 500;
    transition: all var(--transition-base);
    cursor: pointer;
}

.vehicle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.vehicle-btn .vehicle-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vehicle-btn .vehicle-sub {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ============================================
   CATÉGORIE DE SERVICES
   ============================================ */
.service-category {
    margin-bottom: var(--spacing-3xl);
}

.service-category-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.testimonial-rating {
    color: #ffc107;
}

.testimonial-text {
    color: var(--gray);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-location {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--gray-light);
}

/* ============================================
   GALERIE CLIENTS
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ============================================
   RATING STARS
   ============================================ */
.rating-stars {
    display: flex;
    gap: var(--spacing-xs);
    color: #ffc107;
}

.rating-average {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.rating-count {
    color: var(--gray);
    font-size: 0.875rem;
}

/* ============================================
   FORMULAIRES
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

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

.form-label-required::after {
    content: ' *';
    color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark);
    background-color: var(--white);
    border: 2px solid #e9ecef;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(112, 183, 172, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-light);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
}

.form-error {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

.form-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

/* Honeypot field - hidden from users */
.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #0c5460;
    border: 1px solid rgba(23, 162, 184, 0.3);
}

/* ============================================
   SECTIONS - MARGES AUGMENTÉES
   ============================================ */
.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-light {
    background-color: var(--light);
}

.section-white {
    background-color: var(--white);
}

.section-gradient {
    background: linear-gradient(135deg, rgba(112, 183, 172, 0.1) 0%, rgba(123, 198, 186, 0.1) 100%);
}

.section-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto var(--spacing-2xl);
    padding: 0 var(--spacing-lg);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.125rem;
}

.underline-primary {
    position: relative;
    display: inline-block; /* le soulignement s'adapte à la largeur du contenu */
    padding-bottom: 0.5rem;
}

.underline-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; /* ajustez la longueur du trait selon vos goûts */
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}
/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background-color: var(--light);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    color: var(--gray-light);
}

.breadcrumb-list a {
    color: var(--gray);
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-list li:last-child {
    color: var(--dark);
    font-weight: 500;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #f8f9fa 100%);
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-item.faq-open {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb, 0, 123, 255), 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    color: #2d3748;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-question span {
    display: flex;
    align-items: center;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.faq-open .faq-question {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
    color: var(--primary);
    background: rgba(var(--primary-rgb, 0, 123, 255), 0.1);
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-item.faq-open .faq-question i {
    transform: rotate(180deg);
    background: var(--primary);
    color: #fff;
}

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

.faq-item.faq-open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: #5a6577;
    line-height: 1.7;
    font-size: 1rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
    margin: 0 1rem;
}

.contact-info-item:hover .contact-info-title {
    color: var(--color-primary);
}

.contact-info-item {
    transition: background 0.3s ease;
}

.contact-info-item .contact-info-title {
    transition: color 0.3s ease;
}

.contact-info-item:hover .contact-info-title {
    color: var(--color-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary);
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark);
    color: var(--white);
    padding: var(--spacing-md);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
    }
}

.cookie-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.cookie-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.cookie-btn-accept {
    background-color: var(--primary);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background-color: var(--primary-dark);
}

.cookie-btn-reject {
    background-color: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
    background-color: rgba(255,255,255,0.1);
}

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

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

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

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

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-bounce-in {
    animation: bounceIn 0.6s ease-out forwards;
}

/* Animation au scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   SHAPES / DIVIDERS - TRANSITIONS SECTIONS
   ============================================ */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none; /* évite d'interférer avec les clics */
}

.shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
    pointer-events: none;
}

/* Uniformisation des SVG */
.shape-divider svg,
.shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px); /* évite un espace blanc à droite */
    height: 80px;
}

/* Responsive : hauteur réduite sur mobile */
@media (max-width: 768px) {
    .shape-divider svg,
    .shape-divider-top svg {
        height: 40px;
    }
}

/* Couleurs de remplissage (à adapter selon la section suivante) */
.shape-fill-light {
    fill: var(--light);
}

.shape-fill-white {
    fill: var(--white);
}

.shape-fill-primary {
    fill: var(--primary);
}

.shape-fill-dark {
    fill: var(--dark);
}

/* Exemple d'utilisation dans une section :
   - La section doit avoir position: relative et un padding-bottom pour laisser de la place au divider.
   - Placer le divider en bas avec la classe shape-divider (ou shape-divider-bottom si vous voulez un nom explicite)
*/

/* ============================================
   FRAME ASYMMETRIC (Design original)
   ============================================ */
.frame-asymmetric {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 6px solid transparent;
    background: linear-gradient(45deg, var(--secondary), var(--secondary-light)) border-box;
    padding: 8px;
    object-fit: cover;
    transition: all 0.7s ease;
}

.frame-asymmetric:hover {
    transform: scale(1.05) rotate(2deg);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}

/* Cadre simple pour les fondateurs */
.founder-frame {
    border-radius: 16px;               /* Coins arrondis */
    border: 3px solid var(--primary);   /* Bordure verte */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.founder-frame:hover {
    transform: scale(1.02);              /* Léger agrandissement au survol */
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
/* ============================================
   UTILITAIRES
   ============================================ */

.spacer {
    height: var(--spacing-xl);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }

.bg-primary { background-color: var(--primary); }
.bg-light { background-color: var(--light); }
.bg-white { background-color: var(--white); }

.rounded-full { border-radius: var(--radius-full); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* ============================================
   MAP EMBED
   ============================================ */
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   MENTIONS LEGALES
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.legal-content p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-dark);
}

.legal-content ul {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.legal-content li {
    margin-bottom: var(--spacing-xs);
    color: var(--gray-dark);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .map-container {
        height: 300px;
    }
    
    .vehicle-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vehicle-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: var(--spacing-md);
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .footer,
    .cookie-consent,
    .nav-mobile-btn,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: underline;
    }
    
    .section {
        padding: 1rem 0;
    }
}

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

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #008080;
        --primary-dark: #006666;
    }
}
