/* ===================================================================
   PAGE CONTACT - STYLES EXTERNALISÉS
   Date: 2025-10-18
   Auparavant: 186 lignes de CSS inline dans contact.html.twig
   Maintenant: Fichier externe chargé via <link>

   Bonnes pratiques 2025:
   - CSS externalisé (non inline)
   - Responsive mobile-first
   - Classes réutilisables
   =================================================================== */

/* Hero Section Contact */
.contact-hero {
    background: linear-gradient(135deg, #00557f 0%, #003d5c 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.contact-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: #e8f4fd;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Section Formulaire */
.contact-content {
    background: white;
    padding: 80px 0;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-title {
    color: #1a1b1e;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-form-description {
    color: #66666e;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Section Informations Contact */
.contact-info {
    background: #f8f9fa;
    padding: 60px 0;
}

.contact-info-title {
    color: #1a1b1e;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-info-description {
    color: #66666e;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Cards de Contact (téléphone, email, rendez-vous) */
.info-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-decoration: none;
    color: inherit;
}

.info-card i {
    font-size: 3rem;
    color: #00557f;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.info-card:hover i {
    color: #b8f500;
}

.info-card h3 {
    font-size: 1.5rem;
    color: #1a1b1e;
    margin-bottom: 15px;
}

.info-card p {
    color: #66666e;
    margin: 0;
    font-size: 1rem;
}

/* ===================================================================
   RESPONSIVE - Mobile First
   =================================================================== */

/* Tablette (992px - 768px) */
@media (max-width: 992px) {
    .contact-hero {
        padding: 80px 0 60px;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 1.2rem;
        padding: 0 15px;
    }
}

/* Mobile (768px - 480px) */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-form-container {
        margin: 0 15px;
        padding: 25px 20px;
    }

    .info-card {
        padding: 25px;
    }
}

/* Très petit mobile (< 480px) */
@media (max-width: 480px) {
    .contact-title {
        font-size: 1.9rem;
        padding: 0 15px;
    }

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

    .info-card i {
        font-size: 2.2rem;
    }
}
