/* Page Contact - Styles spécifiques */

/* Hero Contact */
.contact-hero {
    margin-top: 100px;
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.contact-hero-content {
    text-align: center;
    color: var(--white);
    z-index: 10;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-hero-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section Contact */
.contact-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.contact-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 1000px;
    display: inline-block;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Carte interactive */
.map-wrapper {
    width: 100%;
    height: 100%;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#map {
    width: 100%;
    height: 100%;
}

/* Infos de contact - Design minimaliste avec trait vertical */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 35px;
}

.info-card {
    background: transparent;
    border: none;
    padding: 10px 0 10px 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card:last-child {
    border-bottom: none;
}

.info-card::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 40px;
    width: 8px;
    height: 8px;
    background: #2d3748;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-card:hover::before {
    background: var(--accent-color);
    transform: scale(1.4);
}

.info-card:hover {
    padding-left: 30px;
}

.info-icon {
    display: none;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.info-content p {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-weight: 500;
    line-height: 1.4;
}

.info-content p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content p a:hover {
    color: var(--accent-color);
}

.info-detail {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-container {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 40vh;
        margin-top: 88px;
    }

    .contact-hero-content h1 {
        font-size: 2.2rem;
    }

    .contact-hero-content p {
        font-size: 1rem;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-intro h2 {
        font-size: 1.8rem;
    }

    .contact-intro p {
        font-size: 0.95rem;
    }

    .contact-content {
        gap: 30px;
    }

    .map-container {
        height: 350px;
    }

    .info-card {
        padding: 20px 0 20px 15px;
    }

    .info-card::before {
        left: -32px;
        top: 25px;
    }

    .contact-info {
        padding-left: 25px;
    }

    .info-content h3 {
        font-size: 0.8rem;
    }

    .info-content p {
        font-size: 1rem;
    }

    .info-detail {
        font-size: 0.85rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

        /* Bouton de recentrage de la carte */
        .recenter-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 1000;
            background: white;
            border: 2px solid rgba(0, 0, 0, 0.2);
            border-radius: 4px;
            padding: 8px 12px;
            cursor: pointer;
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            font-size: 14px;
            font-weight: 500;
            color: #333;
        }

        .recenter-btn:hover {
            background: #ff6b35;
            color: white;
            border-color: #ff6b35;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
        }

        .recenter-btn i {
            margin-right: 5px;
        }