* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2E8B57;
    --dark-green: #1a4d2e;
    --teal: #00C853;
    --gold: #FFD700;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --red: #E53935;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: var(--light-gray);
    overflow-x: hidden;
}

/* Navbar verte */
header {
    background-color: var(--dark-green);
    padding: 1rem 2rem;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 50px;
    width: auto;
    max-width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--gold);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Section principale */
.contact-section {
    margin-top: 70px;
    padding: 5rem 2rem;
    background-color: var(--light-gray);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--gold);
}

.page-header p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #666;
    margin-top: 2rem;
}

/* Grid Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

/* Formulaire */
.form-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--teal);
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
}

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

.submit-btn {
    width: 100%;
    background-color: var(--red);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #c62828;
    transform: translateY(-2px);
}

/* Informations de contact */
.info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-card h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--teal);
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.info-section {
    margin-top: 1.5rem;
}

.info-section h3 {
    color: var(--teal);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Carte */
.map-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-card h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--teal);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.map-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background: #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
    margin-bottom: 1rem;
    background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?w=600&h=400&fit=crop');
    background-size: cover;
    background-position: center;
}

.map-btn {
    width: 100%;
    background-color: var(--gold);
    color: var(--dark-green);
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    display: block;
    text-decoration: none;
}

.map-btn:hover {
    background-color: #e0c800;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-block;
    color: var(--dark-green);
    background-color: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin: 0 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablettes (max-width: 968px) */
@media (max-width: 968px) {
    header {
        padding: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
        justify-content: center;
    }

    .contact-section {
        margin-top: 90px;
        padding: 3rem 1.5rem;
    }

    .page-header {
        margin-bottom: 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

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

    .form-container,
    .info-card,
    .map-card {
        padding: 1.5rem;
    }
}

/* Smartphones (max-width: 576px) */
@media (max-width: 576px) {
    header {
        padding: 0.8rem;
    }

    .logo img {
        height: 40px;
    }

    nav ul {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    nav ul li a {
        padding: 0.4rem 0.8rem;
    }

    .contact-section {
        margin-top: 100px;
        padding: 2rem 1rem;
    }

    .page-header {
        margin-bottom: 2rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .contact-grid {
        gap: 1.5rem;
    }

    .form-container,
    .info-card,
    .map-card {
        padding: 1.2rem;
    }

    .form-title,
    .info-card h2,
    .map-card h2 {
        font-size: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 0.9rem;
    }

    .map-placeholder {
        height: 200px;
    }

    .info-section h3 {
        font-size: 1rem;
    }

    .info-section p {
        font-size: 0.9rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    .social-icon {
        padding: 0.4rem 0.8rem;
        margin: 0.3rem;
        font-size: 0.9rem;
    }
}

/* Très petits écrans (max-width: 360px) */
@media (max-width: 360px) {
    .logo img {
        height: 35px;
    }

    nav ul {
        font-size: 0.8rem;
    }

    .page-header h1 {
        font-size: 1.3rem;
    }

    .form-title,
    .info-card h2,
    .map-card h2 {
        font-size: 1.1rem;
    }

    .map-placeholder {
        height: 180px;
    }
}