/* ===== STYLES SPÉCIFIQUES PAGE CONTACT ===== */

/* ===== HERO SECTION ===== */
.hero-contact {
    background: linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert-moyen) 100%);
    color: var(--blanc);
    text-align: center;
    padding: 8rem 0 6rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-contact::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-contact h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #e8f5e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 6rem 0;
    background: #f8fdf9;
}

/* ===== NAVIGATION BUTTONS ===== */
.contact-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.nav-btn {
    background: white;
    border: 2px solid #e1e8e1;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5530;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 180px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.1);
}

.nav-btn:hover {
    border-color: #4a7c59;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.2);
}

.nav-btn.active {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    border-color: #2c5530;
    box-shadow: 0 8px 30px rgba(44, 85, 48, 0.3);
    transform: translateY(-3px);
}

.nav-btn i {
    font-size: 1.2rem;
}

/* ===== CONTENT SECTIONS ===== */
.contact-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.contact-content.active {
    display: block;
}

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

/* ===== CONTACT CARDS ===== */
.contact-card {
    background: white;
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(44, 85, 48, 0.1);
    transition: all 0.4s ease;
    border: 1px solid #f0f5f0;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(44, 85, 48, 0.15);
}

.card-header {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.community-card .card-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.professional-card .card-header {
    background: linear-gradient(135deg, var(--vert-fonce), var(--vert-moyen));
    color: white;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
}

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

.card-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* ===== CARD CONTENT ===== */
.card-content {
    padding: 2rem;
}

.status-banner {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 600;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== CONTACT REASONS ===== */
.contact-reasons {
    margin-bottom: 2.5rem;
}

.contact-reasons h3 {
    color: var(--vert-fonce);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.reasons-list {
    list-style: none;
    padding: 0;
}

.reasons-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #f8fdf9;
    border-radius: 12px;
    color: #555;
    transition: all 0.3s ease;
}

.reasons-list li:hover {
    background: #e8f5e8;
    transform: translateX(5px);
}

.reasons-list li i {
    color: var(--vert-moyen);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* ===== CONTACT METHODS ===== */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fdf9;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-method:hover {
    background: #e8f5e8;
    transform: translateY(-3px);
    border-color: var(--vert-clair);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.1);
}

.contact-method i {
    font-size: 1.8rem;
    color: var(--vert-moyen);
    min-width: 40px;
}

.method-title {
    display: block;
    font-weight: 600;
    color: var(--vert-fonce);
    margin-bottom: 0.3rem;
}

.method-detail {
    display: block;
    color: #666;
    font-size: 0.95rem;
}

.response-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: #e8f5e8;
    border-radius: 12px;
    color: var(--vert-fonce);
    font-weight: 500;
    font-size: 0.9rem;
}

.response-info.priority {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.response-info i {
    color: var(--vert-moyen);
    font-size: 1.1rem;
}

.response-info.priority i {
    color: white;
}

.contact-cta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border-radius: 12px;
    color: var(--vert-fonce);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #d4e6d4;
    text-align: center;
}

.contact-cta i {
    color: var(--vert-moyen);
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* ===== FORM SECTION ===== */
.form-section {
    padding: 6rem 0;
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8fdf9;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(44, 85, 48, 0.1);
}

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

.form-header h2 {
    color: var(--vert-fonce);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* ===== FORM STYLING ===== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--vert-fonce);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.2rem 1.5rem;
    border: 2px solid #e1e8e1;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vert-moyen);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
    transform: translateY(-2px);
}

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

/* ===== FORM FOOTER ===== */
.form-footer {
    text-align: center;
}

.btn-submit {
    background: linear-gradient(135deg, var(--vert-fonce), var(--vert-moyen));
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(44, 85, 48, 0.4);
}

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

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

.form-note {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.form-note i {
    color: var(--vert-moyen);
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: var(--vert-fonce);
    color: var(--blanc);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--blanc);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: #b8d4bb;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b8d4bb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--blanc);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c59;
}

.footer-bottom p {
    color: #b8d4bb;
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .contact-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-btn {
        min-width: 220px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-contact {
        padding: 6rem 0 4rem;
    }
    
    .hero-contact h1 {
        font-size: 2.8rem;
    }
    
    .contact-section {
        padding: 4rem 0;
    }
    
    .form-section {
        padding: 4rem 0;
    }
    
    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .contact-card {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-contact h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .btn-submit {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    
    .card-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i {
        font-size: 2rem;
    }
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-left-color: #27ae60;
    background: linear-gradient(135deg, #d5f4e6, #fafffe);
}

.notification.success i {
    color: #27ae60;
    font-size: 1.2rem;
}

.notification.error {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, #fdeaea, #fafffe);
}

.notification.error i {
    color: #e74c3c;
    font-size: 1.2rem;
}

.notification span {
    flex: 1;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

.close-notification {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0.25rem;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-notification:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #666;
}

/* Responsive notifications */
@media (max-width: 480px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 0.8rem 1rem;
    }
    
    .notification span {
        font-size: 0.9rem;
    }
}