/*
================================================
  MBOULHI AUTO - Stylesheet
  Couleurs principales extraites du logo:
  - Noir: #000000
  - Blanc: #FFFFFF
  - Rouge: #DC143C (Crimson Red)
  - Gris: #333333, #666666, #999999
================================================
*/

/* ===== VARIABLES CSS ===== */
:root {
    /* Couleurs principales */
    --primary-color: #DC143C;
    --secondary-color: #000000;
    --accent-color: #C41E3A;

    /* Couleurs de texte */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #FFFFFF;

    /* Couleurs de fond */
    --bg-light: #FFFFFF;
    --bg-dark: #0a0a0a;
    --bg-gray: #f5f5f5;
    --bg-overlay: rgba(0, 0, 0, 0.7);

    /* Bordures */
    --border-color: #e0e0e0;
    --border-dark: #333333;

    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Typographie */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial Black', 'Arial Bold', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ===== HEADER / NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

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

.logo img {
    height: 120px;
    width: auto;
    transition: var(--transition-normal);
    background: transparent;
    mix-blend-mode: lighten;
}

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

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

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

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-call:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/photo_de_couverture.png');
    background-size: cover;
    background-position: left;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(220, 20, 60, 0.2) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    padding: var(--spacing-md);
    margin-top: 80px;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.stat-item:hover {
    background: rgba(220, 20, 60, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== PAGE HEADER (Pour pages internes) ===== */
.page-header {
    position: relative;
    padding: 180px 0 60px;
    background-image: url('../images/photo_de_couverture.png');
    background-size: cover;
    background-position: left;
    background-attachment: fixed;
    text-align: center;
    color: var(--text-white);
    margin-top: 0;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(220, 20, 60, 0.2) 0%, transparent 70%);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 20, 60, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--secondary-color);
}

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

.btn-outline-white:hover {
    background-color: var(--text-white);
    color: var(--secondary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--text-white);
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #1EBE56;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

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

.btn-phone:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.btn-concept {
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-xl) 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ===== CONCEPTS SECTION ===== */
.concepts-grid {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.concepts-grid .concept-card-link {
    flex: 0 0 48%;
    max-width: 48%;
}

.concept-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.concept-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.concept-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(220, 20, 60, 0.4) 0%,
        rgba(139, 0, 0, 0.4) 100%
    );
    transition: all 0.4s ease;
    z-index: 1;
}

.concept-card-link:hover .concept-overlay {
    background: linear-gradient(
        135deg,
        rgba(220, 20, 60, 0.6) 0%,
        rgba(139, 0, 0, 0.6) 100%
    );
}

.concept-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
}

.concept-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.concept-card-link:hover .concept-card {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.4);
}

.concept-card-link:hover .concept-title {
    font-size: 2.8rem;
    letter-spacing: 3px;
}

/* ===== VEHICLES GRID ===== */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.vehicle-card {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.vehicle-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    background-color: var(--bg-gray);
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.vehicle-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vehicle-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--text-white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 900;
}

.vehicle-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vehicle-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-white);
}

.vehicle-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.vehicle-specs {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.spec-item i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature-card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background-color: var(--bg-gray);
}

.testimonials-layout {
    display: flex;
    gap: 2rem;
    margin-top: var(--spacing-lg);
    align-items: stretch;
}

.google-business-card {
    flex: 0 0 160px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reviews-carousel-container {
    flex: 1;
    position: relative;
}

.reviews-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x:auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 300px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
}

.review-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* Google Business Card Styles */
.business-logo {
    width: 120px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.business-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.business-rating {
    margin-bottom: 1.5rem;
}

.business-rating .stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    color: #FBBC04;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.review-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

.write-review-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid #4285F4;
    color: #4285F4;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.write-review-btn:hover {
    background: #4285F4;
    color: white;
}

/* Review Card Styles */
.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
    min-width: 0;
}

.reviewer-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.google-icon-small {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.review-rating {
    display: flex;
    gap: 0.2rem;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #FBBC04;
    font-size: 1rem;
}

.review-badge {
    background-color: #f0f0f0;
    color: var(--text-dark);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
}

/* ===== MAP SECTION ===== */
.map-section {
    background-color: var(--bg-light);
}

.map-container {
    position: relative;
    margin-top: var(--spacing-lg);
}

.map-info {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.map-info-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.map-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.map-info-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.map-info-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.map-info-item a {
    color: var(--text-light);
    transition: var(--transition-fast);
}

.map-info-item a:hover {
    color: var(--primary-color);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    color: var(--text-white);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

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

/* ===== FOOTER ===== */
.footer {
    background-color: #0a0a0a;
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 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;
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

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

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* ===== CONFIRMATION PAGE ===== */
.confirmation-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
    margin-top: 80px;
}

.confirmation-content {
    text-align: center;
    max-width: 600px;
    padding: var(--spacing-lg);
}

.confirmation-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: var(--spacing-md);
}

.confirmation-content h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.confirmation-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.confirmation-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: var(--text-white);
}

/* ===== VEHICLE MODAL ===== */
.vehicle-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.vehicle-modal.active {
    display: flex;
}

.vehicle-modal-content {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary-color);
}

.vehicle-modal-content h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.modal-options {
    display: flex;
    gap: 1.5rem;
}

.modal-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    background: var(--bg-gray);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.modal-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
}

.modal-option-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.modal-option-icon i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.modal-option h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.modal-option p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 576px) {
    .modal-options {
        flex-direction: column;
    }

    .vehicle-modal-content {
        padding: 1.5rem;
    }
}

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

/* Tablettes */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .concepts-grid {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .concepts-grid .concept-card-link {
        max-width: 100%;
    }

    .hero-stats {
        gap: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 92px;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 2rem 0;
        transform: translateX(-100%);
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 999; /* Menu au-dessus de tout sauf header */
    }
   
    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-actions {
        display: none;
    }

    /* ===== HERO MOBILE ===== */
    .hero {
        min-height: 100vh;
        height: auto;
        background-image: url('../images/ab.png') !important;
        background-attachment: scroll;
        background-position: center;
        background-size: cover;
    }

    .hero-content {
        margin-top: 80px;
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-top: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-cta .btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1.5rem;
        justify-content: center;
    }

    .stat-item {
        width: auto;
        padding: 0.6rem 1rem;
        flex: 0 0 auto;
    }

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

    .stat-label {
        font-size: 0.65rem;
    }

    .stat-item i {
        font-size: 1.2rem;
    }

    /* ===== SECTIONS MOBILE ===== */
    .section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    /* ===== CONCEPT CARDS MOBILE ===== */
    .concepts-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .concepts-grid .concept-card-link {
        flex: none;
        max-width: 100%;
    }

    .concept-card {
        height: 200px;
    }

    .concept-title {
        font-size: 1.5rem;
    }

    /* ===== FEATURE CARDS MOBILE ===== */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .feature-card {
        padding: 1rem;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.1rem;
        margin: 0;
    }

    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0;
    }

    /* ===== VEHICLE CARDS MOBILE ===== */
    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .vehicle-card {
        border-radius: 8px;
    }

    .vehicle-image {
        height: 140px;
    }

    .vehicle-info {
        padding: 0.8rem;
    }

    .vehicle-title {
        font-size: 0.9rem;
    }

    .vehicle-subtitle {
        font-size: 0.75rem;
    }

    .vehicle-specs {
        gap: 0.5rem;
        padding-top: 0.5rem;
    }

    .spec-item {
        font-size: 0.7rem;
    }

    /* ===== TESTIMONIALS MOBILE ===== */
    .reviews-container {
        gap: 1rem;
    }

    .review-card {
        padding: 1rem;
    }

    .review-text {
        font-size: 0.85rem;
    }

    .reviewer-name {
        font-size: 0.9rem;
    }

    /* ===== CTA SECTION MOBILE ===== */
    .cta-content h2 {
        font-size: 1.4rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* ===== PAGE HEADER MOBILE ===== */
    .page-header {
        padding: 100px 0 40px;
        margin-top: 0;
        background-attachment: scroll;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    /* ===== FOOTER MOBILE ===== */
    .footer {
        padding: 2rem 0 1rem;
    }

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

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-links li {
        margin-bottom: 0.4rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 1rem;
        gap: 0.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* ===== CONTACT INFO MOBILE ===== */
    .contact-info-card {
        padding: 1rem;
    }

    .info-item {
        padding: 0.8rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* ===== MODAL MOBILE ===== */
    .vehicle-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .vehicle-modal-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .modal-options {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-option {
        padding: 1.2rem;
    }

    .modal-option-icon {
        width: 50px;
        height: 50px;
    }

    .modal-option-icon i {
        font-size: 1.3rem;
    }

    .modal-option h3 {
        font-size: 1rem;
    }

    .modal-option p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 80px;
    }

    .hero {
        background-size: 180%;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top {
        bottom: 80px;
        right: 20px;
    }

    .testimonials-layout {
        flex-direction: column;
    }

    .google-business-card {
        flex: 1 1 auto;
    }

    .review-card {
        flex: 0 0 280px;
    }

    .map-info {
        flex-direction: column;
        gap: 1rem;
    }

    .map-info-item {
        min-width: 100%;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

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

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

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
