/* Variables de couleurs - Style minimaliste cohérent */
:root {
    --blanc-casse: #F8F8F8;
    --gris-fonce: #1C1C1C;
    --gris-moyen: #6E6E6E;
    --anthracite: #0F0F0F;
    --jaune-accent: #FFC300;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--blanc-casse);
    color: var(--gris-fonce);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
main {
    margin-top: 80px;
}

.hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 5%;
    background-color: var(--blanc-casse);
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    color: var(--gris-fonce);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--gris-moyen);
    font-weight: 400;
}

/* Section Contact */
.contact-section {
    padding: 3.5rem 5%;
    background-color: var(--blanc-casse);
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

/* Colonne informations */
.contact-info {
    background-color: var(--anthracite);
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-info h3 {
    color: var(--blanc-casse);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 195, 0, 0.1);
    border-radius: 50%;
}

.info-content h4 {
    color: var(--blanc-casse);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-content p,
.info-content a {
    color: var(--gris-moyen);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--jaune-accent);
}

.social-links {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links h4 {
    color: var(--blanc-casse);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--jaune-accent);
    transform: translateY(-3px);
}

/* Colonne formulaire */
.contact-form-section {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form-section h3 {
    color: var(--gris-fonce);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Formulaire */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--gris-fonce);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--blanc-casse);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--jaune-accent);
    background-color: white;
}

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

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background-color: var(--anthracite);
    color: var(--blanc-casse);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--jaune-accent);
    color: var(--anthracite);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 195, 0, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Alertes */
.alert {
    padding: 1.5rem 3rem 1.5rem 2rem;
    margin: 2rem 5%;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    color: #10b981;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    color: #ef4444;
}

.close-alert {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-alert:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 30vh;
        padding: 2rem 5%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .contact-section {
        padding: 2.5rem 5%;
    }

    .contact-info,
    .contact-form-section {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .social-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 25vh;
        padding: 1.5rem 5%;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .contact-section {
        padding: 2rem 5%;
    }

    .contact-info,
    .contact-form-section {
        padding: 1.5rem;
    }

    .contact-info h3,
    .contact-form-section h3 {
        font-size: 1.5rem;
    }

    .alert {
        margin: 1rem 3%;
        padding: 1rem 2.5rem 1rem 1.5rem;
        font-size: 1rem;
    }
}