/* ========== STYLES CONTACT PAGE ========== */

.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 60px;
    color: white;
    text-align: center;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: bold;
}

.contact-hero p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== SECTION CONTACT ========== */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

/* ========== FORMULAIRE ========== */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: #333;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.contact-form {
    max-width: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

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

.char-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* ========== BOUTON SUBMIT ========== */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

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

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

/* ========== ALERTES ========== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 500;
}

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

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

/* ========== INFORMATIONS CONTACT ========== */
.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.contact-info h3 {
    color: #333;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ========== CARTES INFO ========== */
.info-cards {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    opacity: 1;
    transform: translateY(0);
}

.info-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.info-card h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.info-card small {
    color: #999;
    font-size: 0.9rem;
}

/* ========== LIENS SOCIAUX ========== */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #764ba2;
}

.store-link {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.store-link:hover {
    background: #128C7E;
}

/* ========== FAQ RAPIDE ========== */
.quick-faq {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.quick-faq h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 1rem;
    margin: 0;
    background: white;
    color: #666;
    line-height: 1.6;
}

/* ========== NAVIGATION ACTIVE ========== */
.nav-menu a.active {
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
}

/* ========== RESPONSIVE CONTACT ========== */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-hero {
        padding: 100px 0 40px;
    }
}

@media (max-width: 480px) {
    .contact-form-container,
    .contact-info {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }
    
    .btn-submit {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .info-cards {
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-container {
    animation: fadeInUp 0.6s ease-out;
}

/* ========== FOCUS ACCESSIBILITY ========== */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.btn-submit:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* ========== LOADING STATE ========== */
.btn-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit.loading .btn-text::after {
    content: "...";
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: "..."; }
    40% { content: ".."; }
    60% { content: "."; }
    80%, 100% { content: ""; }
}

/* ========== INTEGRATION CONTACT + NAVIGATION ========== */

/* Ajuster le padding-top pour la navbar fixe */
.contact-hero {
    padding-top: 120px;
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: 100px;
    }
    
    /* Assurer que le menu contact fonctionne */
    .contact-hero .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

