/* ============================================== */
/* === GLOBAL STYLES & VARIABLES === */
/* ============================================== */

/* Variables CSS */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #ff6b4a;
    --dark-color: #222;
    --light-color: #f8f8f8;
    --gray-color: #777;
    --light-gray: #eee;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

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

a:hover {
    color: var(--secondary-color);
}

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

ul {
    list-style: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Titres de section */
.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ============================================== */
/* === COMPOSANTS RÉUTILISABLES === */
/* ============================================== */

/* Boutons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: center;
}

.cta-button:hover {
    background-color: #3a5ae8;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 107, 255, 0.2);
}

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

.cta-button-primary:hover {
    background-color: #3a5ae8;
}

.cta-button-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ============================================== */
/* === HEADER & NAVIGATION === */
/* ============================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 2rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links ul {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.langue {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid var(--light-gray);
    background-color: white;
    font-family: var(--font-secondary);
    cursor: pointer;
    margin-left: 1rem;
}

/* Menu Hamburger */
.menu-hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001;
    padding: 0;
    transition: var(--transition);
}

.menu-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
    border-radius: 3px;
}

.menu-hamburger span:nth-child(1) {
    top: 0;
    transform-origin: left center;
}

.menu-hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.menu-hamburger span:nth-child(3) {
    bottom: 0;
    transform-origin: left center;
}

/* Animation du menu hamburger */
.menu-hamburger.active {
    transform: rotate(90deg);
}

.menu-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, -3px);
    width: 110%;
}

.menu-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 3px);
    width: 110%;
}

/* Menu mobile */
.nav-links.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 1000;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.nav-links.mobile-menu ul {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 300px;
}

.nav-links.mobile-menu a {
    color: var(--dark-color);
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    display: block;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-links.mobile-menu a:hover,
.nav-links.mobile-menu a.active {
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
}

.nav-links.mobile-menu a::after {
    display: none;
}

/* Bouton CTA dans le menu mobile */
.nav-links.mobile-menu .cta-button {
    background-color: var(--primary-color);
    color: white !important;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.nav-links.mobile-menu .cta-button:hover {
    background-color: #3a5ae8;
}

/* ============================================== */
/* === HERO SECTION À PROPOS === */
/* ============================================== */

.hero-section.propos {
    padding: 150px 0 80px;
    background: 
        linear-gradient(135deg, rgba(0, 57, 115, 0.85) 0%, rgba(229, 0, 126, 0.85) 100%),
        url('Image/photo_famille_vtc.webp') no-repeat center center/cover;
    color: white;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    box-shadow: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.subtitle span {
    display: block;
}

.subtitle span:first-child {
    margin-bottom: 0.5rem;
}

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

.badge {
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

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

.hero-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 1rem 2rem;
    font-weight: 600;
}

/* ============================================== */
/* === SECTION HISTOIRE === */
/* ============================================== */

.history-section {
    padding: 100px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.history-section .section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.history-section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.history-section .subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

.history-section .divider-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.history-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 10px;
}

.history-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.history-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.history-item.left {
    left: 0;
    text-align: right;
}

.history-item.right {
    left: 50%;
    text-align: left;
}

.history-content {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.history-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.history-year {
    position: absolute;
    top: -15px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(74, 107, 255, 0.3);
}

.history-item.left .history-year {
    right: 20px;
}

.history-item.right .history-year {
    left: 20px;
}

.history-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.history-item p {
    color: #555;
    line-height: 1.6;
}

/* Points sur la timeline */
.history-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    top: 50px;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(74, 107, 255, 0.2);
}

.history-item.left::after {
    right: -12px;
}

.history-item.right::after {
    left: -12px;
}

/* Délais d'animation */
.history-item.delay-1 {
    transition-delay: 0.2s;
}

.history-item.delay-2 {
    transition-delay: 0.4s;
}

.history-item.delay-3 {
    transition-delay: 0.6s;
}

/* ============================================== */
/* === SECTION VALEURS === */
/* ============================================== */

.values-section {
    padding: 100px 0;
    background-color: white;
}

.values-section .section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.values-section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.values-section .subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

.transfer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.value-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    border-top: 3px solid transparent;
}

.value-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.value-card.highlight {
    border-top: 3px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card.highlight:hover {
    transform: scale(1.05) translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(74, 107, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
}

.value-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2;
}

.value-card h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.value-card p {
    text-align: center;
    color: #555;
    line-height: 1.7;
}

/* ============================================== */
/* === SECTION ÉQUIPE === */
/* ============================================== */

.team-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.team-section .section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.team-section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.team-section .subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

.team-member {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.team-member.animate {
    opacity: 1;
    transform: translateY(0);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid rgba(74, 107, 255, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover .team-photo {
    border-color: rgba(74, 107, 255, 0.3);
    transform: scale(1.05);
}

.team-name {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.team-position::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.team-member p {
    color: #555;
    line-height: 1.7;
    margin-top: 1.5rem;
}

/* ============================================== */
/* === SECTION ENGAGEMENT === */
/* ============================================== */

.commitment-section {
    padding: 100px 0;
    background-color: white;
}

.commitment-section .section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.commitment-section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.commitment-section .subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

.commitment-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    border-top: 3px solid var(--primary-color);
}

.commitment-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.commitment-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.commitment-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.commitment-text {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

/* Délais d'animation pour les sections */
.animate-propos.delay-1 {
    transition-delay: 0.2s;
}

.animate-propos.delay-2 {
    transition-delay: 0.4s;
}

.animate-propos.delay-3 {
    transition-delay: 0.6s;
}

/* ============================================== */
/* === SECTION CTA === */
/* ============================================== */

.cta-section {
    padding: 120px 0;
    background: 
        linear-gradient(135deg, rgba(0, 57, 115, 0.9) 0%, rgba(229, 0, 126, 0.9) 100%),
        url('Image/chauffeuretclient.webp') no-repeat center center/cover;
    color: white;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

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

/* ============================================== */
/* === FOOTER === */
/* ============================================== */

.footer-section {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 0;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

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

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    min-width: 20px;
    color: var(--primary-color);
}

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

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

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-badge {
    margin-top: 2rem;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

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

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

.legal-links a:hover {
    color: white;
}

/* ============================================== */
/* === MEDIA QUERIES === */
/* ============================================== */

@media (max-width: 992px) {
    .history-timeline::before {
        left: 31px;
    }
    
    .history-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }
    
    .history-item.left, 
    .history-item.right {
        left: 0;
    }
    
    .history-item.left::after, 
    .history-item.right::after {
        left: 21px;
    }
    
    .history-item.left .history-year,
    .history-item.right .history-year {
        left: 70px;
        right: auto;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    .menu-hamburger {
        display: block;
    }
    
    .langue {
        margin-left: auto;
        margin-right: 1.5rem;
    }
    
    /* Hero Section */
    .hero-section.propos {
        padding: 120px 0 60px;
    }
    
    .hero-text {
        padding: 30px 20px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: none;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    /* Sections */
    .history-section,
    .values-section,
    .team-section,
    .commitment-section {
        padding: 80px 0;
    }
    
    .history-section h2,
    .values-section h2,
    .team-section h2,
    .commitment-section h2 {
        font-size: 2rem;
    }
    
    .transfer-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .value-card,
    .team-member,
    .commitment-item {
        width: 100%;
        max-width: 400px;
    }
    
    .value-card.highlight {
        transform: scale(1);
    }
    
    .value-card.highlight:hover {
        transform: translateY(-10px);
    }
    
    /* CTA Section */
    .cta-section {
        padding: 80px 0 60px;
    }
    
    .cta-content {
        padding: 40px 20px;
        margin: 0 20px;
        backdrop-filter: none;
        background: rgba(0,0,0,0.5);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .history-section,
    .values-section,
    .team-section,
    .commitment-section {
        padding: 60px 0;
    }
    
    .history-section h2,
    .values-section h2,
    .team-section h2,
    .commitment-section h2 {
        font-size: 1.8rem;
    }
    
    .history-content {
        padding: 20px;
    }
    
    .commitment-number {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
    }
}