/* contact.css - Styles pour la page Contact du site de Nicolas TARIELLO */

/* Polices et couleurs cohérentes avec header et footer */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Styles généraux de la page */
.contact {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-bottom: 4rem;
}

/* Section d'introduction */
.contact__intro {
    max-width: 1200px;
    width: 90%;
    margin: 4rem auto;
    text-align: center;
}

.contact__title {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    color: #0a4c81;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1.5rem;
}

.contact__title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background-color: #40c8ff;
}

.contact__intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* Container pour le formulaire et les infos */
.contact__container {
    max-width: 1200px;
    width: 90%;
    margin: 4rem auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Section formulaire */
.contact__form-section {
    flex: 1 1 600px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
}

.contact__section-title {
    color: #0a4c81;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
}

.contact__section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #40c8ff;
}

/* Styles spécifiques pour les sous-titres avec soulignement bleu */
.contact__subtitle {
    position: relative;
    color: #0a4c81;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
}

.contact__subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background-color: #40c8ff;
}

/* Styles du formulaire */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact__form-label {
    font-weight: 500;
    color: #0a4c81;
    font-size: 1rem;
}

.contact__form-input,
.contact__form-textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact__form-input:focus,
.contact__form-textarea:focus {
    outline: none;
    border-color: #40c8ff;
    box-shadow: 0 0 0 2px rgba(64, 200, 255, 0.2);
}

.contact__form-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    background-color: #3e6bba;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(10, 76, 129, 0.2);
    align-self: flex-start;
}

.contact__form-button:hover {
    background-color: #090844;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(10, 76, 129, 0.3);
}

.contact__form-required {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* Section informations de contact */
.contact__info-section {
    flex: 1 1 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
}

.contact__info-group {
    margin-bottom: 2rem;
}

.contact__info-title {
    color: #1a67a3;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.contact__info-content {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact__info-note {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.contact__info-link {
    color: #2f87c8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact__info-link:hover {
    color: #0a4c81;
    text-decoration: underline;
}

/* Styles des liens sociaux */
.contact__social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact__social-link {
    color: #2f87c8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact__social-link:hover {
    color: #0a4c81;
}

.contact__social-icon {
    font-weight: 500;
}

/* Section CTA contact */
.contact__cta {
    max-width: 1200px;
    width: 90%;
    margin: 4rem auto;
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f9fafb;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact__cta-title {
    color: #0a4c81;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact__cta-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #666;
}

.contact__cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    background-color: #3e6bba;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(10, 76, 129, 0.2);
}

.contact__cta-button:hover {
    background-color: #090844;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(10, 76, 129, 0.3);
}

/* Media queries pour responsive */
@media (max-width: 768px) {
    .contact__container {
        flex-direction: column;
    }

    .contact__section-title,
    .contact__cta-title,
    .contact__title {
        font-size: 1.6rem;
    }

    .contact__info-title {
        font-size: 1.2rem;
    }

    .contact__form-section,
    .contact__info-section {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .contact__section-title,
    .contact__cta-title,
    .contact__title {
        font-size: 1.4rem;
    }

    .contact__info-title {
        font-size: 1.1rem;
    }

    .contact__form-section,
    .contact__info-section {
        padding: 1.5rem;
    }

    .contact__form-button {
        width: 100%;
    }
}