/* ====================================
   CHIPO CONTACT PRO
   ==================================== */

.chipo-contact-section {
    position: relative;
    width: 100%;
    padding: 80px 5%;
    background: #ffffff;
}

.chipo-contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.chipo-contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.chipo-contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.chipo-contact-subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* GRID */
.chipo-contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

/* FORMULAIRE */
.chipo-contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.chipo-form-group {
    margin-bottom: 25px;
}

.chipo-form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.chipo-form-input,
.chipo-form-textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.chipo-form-input:focus,
.chipo-form-textarea:focus {
    outline: none;
    border-color: #51a4b4;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(81, 164, 180, 0.1);
}

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

/* BOUTON SUBMIT */
.chipo-submit-btn {
    width: 100%;
    padding: 18px 40px;
    background: #51a4b4;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(81, 164, 180, 0.3);
    position: relative;
    overflow: hidden;
}

.chipo-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.chipo-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.chipo-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(81, 164, 180, 0.4);
}

.chipo-submit-btn:active {
    transform: translateY(-1px);
}

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

/* MESSAGE RETOUR */
.chipo-form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

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

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

/* CANAUX ALTERNATIFS */
.chipo-contact-channels {
    position: sticky;
    top: 100px;
}

.chipo-channel-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    margin-bottom: 30px;
}

.chipo-channel-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.chipo-channel-btn svg {
    flex-shrink: 0;
}

/* RÉSEAUX SOCIAUX */
.chipo-social-links {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.chipo-social-links h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.chipo-contact-social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.chipo-contact-social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #51a4b4;
    color: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.chipo-contact-social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(81, 164, 180, 0.4);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .chipo-contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .chipo-contact-channels {
        position: static;
    }
}

@media (max-width: 768px) {
    .chipo-contact-section {
        padding: 60px 5%;
    }
    
    .chipo-contact-form {
        padding: 30px 25px;
    }
    
    .chipo-form-input,
    .chipo-form-textarea {
        padding: 12px 18px;
    }
    
    .chipo-submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .chipo-channel-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .chipo-contact-form {
        padding: 25px 20px;
    }
    
    .chipo-contact-social-icon {
        width: 45px;
        height: 45px;
    }
}

/* PERFORMANCE */
.chipo-submit-btn,
.chipo-channel-btn,
.chipo-contact-social-icon {
    will-change: transform;
}

/* ACCESSIBILITÉ */
.chipo-form-input:focus-visible,
.chipo-form-textarea:focus-visible,
.chipo-submit-btn:focus-visible {
    outline: 3px solid #51a4b4;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .chipo-submit-btn,
    .chipo-channel-btn,
    .chipo-contact-social-icon {
        transition: none !important;
    }
    
    .chipo-submit-btn::before {
        display: none;
    }
}

/* RECAPTCHA */
.g-recaptcha {
    margin: 20px 0;
}
