/* ========================================
   SECTION CONTACT
======================================== */

.contact-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* ========================================
   FORMULAIRE DE CONTACT
======================================== */

.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Header du formulaire */
.form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-title i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.form-subtitle {
    color: #888;
    font-size: 0.95rem;
    margin: 0;
}

/* Labels du formulaire */
.form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.form-label i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.required {
    color: #ff4444;
    font-weight: 700;
}

/* Champs du formulaire */
.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(101, 193, 120, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: #adb5bd;
}

/* Select personnalisé */
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    appearance: none;
}

/* Textarea */
textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Message du formulaire */
.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    font-size: 0.9rem;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Bouton d'envoi */
.btn-submit-contact {
    padding: 0.85rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), #7ed492);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(101, 193, 120, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: center;
}

.btn-submit-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(101, 193, 120, 0.4);
}

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

.btn-submit-contact i {
    transition: transform 0.3s ease;
}

.btn-submit-contact:hover i {
    transform: translateX(3px);
}

/* ========================================
   SIDEBAR INFORMATIONS
======================================== */

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Cartes d'information */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 0.5rem;
}

.info-card-title i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Items d'information */
.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #7ed492);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 0.95rem;
}

.info-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.35rem;
}

.info-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #7ed492;
}

/* Réseaux sociaux */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.youtube {
    background: #ff0000;
}

/* Carte mise en avant */
.info-card-highlight {
    background: linear-gradient(135deg, #fff8e1 0%, #fffbf0 100%);
    border: 2px solid #ffd54f;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.highlight-icon i {
    color: white;
    font-size: 1.3rem;
}

.info-card-highlight p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* ========================================
   MODALE DE SUCCÈS
======================================== */

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: none;
    padding: 2rem 2rem 0;
    display: flex;
    justify-content: center;
}

.modal-icon-success {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

.modal-icon-success i {
    color: white;
    font-size: 2.5rem;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.modal-body {
    padding: 1.5rem 2rem;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.modal-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-subtext {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-subtext i {
    color: var(--primary-color);
}

.modal-footer {
    border-top: none;
    padding: 0 2rem 2rem;
    justify-content: center;
}

.btn-modal-close {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-modal-close:hover {
    background: #7ed492;
    transform: translateY(-2px);
}





/* ========================================
   CARTE GOOGLE MAPS
======================================== */

.map-wrapper {
    background: white;
    border-radius: 20px;
    padding: 1.75rem;
    padding-bottom:37px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-top: 1.5rem;
}

.map-header {
    margin-bottom: 1.25rem;
}

.map-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.map-title i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* ========================================
   CSS POUR LIMAGE DU LOGO
======================================== */

.logo-card {
    padding: 0;
    overflow: hidden;
}

.logo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.logo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}



/* ========================================
   RESPONSIVE - TABLETTES (768px - 991px)
======================================== */

@media (max-width: 991px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-title i {
        font-size: 1.3rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card-title {
        font-size: 1.15rem;
    }

    .contact-info-wrapper {
        margin-top: 2rem;
    }
}

/* ========================================
   RESPONSIVE - MOBILE (max-width: 768px)
======================================== */

@media (max-width: 768px) {
    .contact-section {
        padding: 2rem 0;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .form-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
    }

    .form-title {
        font-size: 1.25rem;
        gap: 0.5rem;
    }

    .form-title i {
        font-size: 1.1rem;
    }

    .form-subtitle {
        font-size: 0.85rem;
    }

    .form-label {
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .form-label i {
        font-size: 0.8rem;
    }

    .form-control {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    textarea.form-control {
        min-height: 130px;
    }

    .form-message {
        padding: 0.85rem;
        font-size: 0.85rem;
    }

    .btn-submit-contact {
        padding: 0.75rem 2rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .contact-info-wrapper {
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .info-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .info-card-title {
        font-size: 1.05rem;
        margin-bottom: 1rem;
        gap: 0.4rem;
    }

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

    .info-item {
        gap: 0.85rem;
        margin-bottom: 1rem;
    }

    .info-icon {
        width: 38px;
        height: 38px;
    }

    .info-icon i {
        font-size: 0.9rem;
    }

    .info-content h4 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .info-content p {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 0.85rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .highlight-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.85rem;
    }

    .highlight-icon i {
        font-size: 1.2rem;
    }

    .info-card-highlight p {
        font-size: 0.85rem;
    }

    .modal-icon-success {
        width: 70px;
        height: 70px;
    }

    .modal-icon-success i {
        font-size: 2.2rem;
    }

    .modal-title {
        font-size: 1.4rem;
    }

    .modal-text {
        font-size: 0.88rem;
    }

    .modal-subtext {
        font-size: 0.8rem;
    }

    .btn-modal-close {
        padding: 0.65rem 1.75rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   RESPONSIVE - PETITS MOBILES (max-width: 480px)
======================================== */

@media (max-width: 480px) {
    .contact-section {
        padding: 1.5rem 0;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .form-header {
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
    }

    .form-title {
        font-size: 1.1rem;
        gap: 0.4rem;
    }

    .form-title i {
        font-size: 1rem;
    }

    .form-subtitle {
        font-size: 0.8rem;
    }

    .form-label {
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    .form-label i {
        font-size: 0.75rem;
    }

    .form-control {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
    }

    textarea.form-control {
        min-height: 120px;
    }

    .form-message {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .btn-submit-contact {
        padding: 0.7rem 1.75rem;
        font-size: 0.8rem;
    }

    .contact-info-wrapper {
        gap: 1rem;
    }

    .info-card {
        padding: 1rem;
    }

    .info-card-title {
        font-size: 1rem;
        margin-bottom: 0.85rem;
    }

    .info-card-title h3 {
       justify-content: center;
    }

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

    .info-item {
        gap: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .info-icon {
        width: 35px;
        height: 35px;
    }

    .info-icon i {
        font-size: 0.85rem;
    }

    .info-content h4 {
        font-size: 0.8rem;
    }

    .info-content p {
        font-size: 0.75rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .highlight-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0.75rem;
    }

    .highlight-icon i {
        font-size: 1.1rem;
    }

    .info-card-highlight p {
        font-size: 0.8rem;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 0;
    }

    .modal-icon-success {
        width: 65px;
        height: 65px;
    }

    .modal-icon-success i {
        font-size: 2rem;
    }

    .modal-body {
        padding: 1.25rem 1.5rem;
    }

    .modal-title {
        font-size: 1.25rem;
        margin-bottom: 0.85rem;
    }

    .modal-text {
        font-size: 0.82rem;
    }

    .modal-subtext {
        font-size: 0.75rem;
    }

    .modal-footer {
        padding: 0 1.5rem 1.5rem;
    }

    .btn-modal-close {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }

    .logo-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }
}

/* Media queries pour la carte */
@media (max-width: 991px) {
    .map-container {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .map-wrapper {
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 1.25rem;
    }

    .map-title {
        font-size: 1.1rem;
        gap: 0.4rem;
    }

    .map-title i {
        font-size: 1rem;
    }

    .map-container {
        height: 280px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .map-wrapper {
        padding: 1.25rem;
        border-radius: 12px;
        margin-top: 1rem;
    }

    .map-title {
        font-size: 1rem;
    }

    .map-container {
        height: 250px;
        border-radius: 10px;
    }
}
