/**
 * PROJET.PHP - Design Moderne et Beau
 * Toutes les sections améliorées
 */

/* ========== HERO SECTION ========== */
.page-hero {
    background: linear-gradient(135deg, #E63946 0%, #d62839 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '🇨🇺';
    position: absolute;
    font-size: 300px;
    opacity: 0.08;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-20px); }
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 20px 0;
    position: relative;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    line-height: 1.6;
}

/* ========== DESCRIPTION ========== */
.project-description {
    padding: 80px 20px;
}

.description-content {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 50px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    font-size: 1.15rem;
    line-height: 2;
    color: #333;
    text-align: left;
    border-left: 5px solid #E63946;
    position: relative;
}

.description-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: #FFD166;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.description-content strong {
    color: #E63946;
    font-weight: 700;
    background: linear-gradient(120deg, rgba(230, 57, 70, 0.1) 0%, rgba(255, 209, 102, 0.1) 100%);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Partage Social */
.social-share-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid #FFD166;
}

.share-title {
    font-size: 2rem;
    font-weight: 800;
    color: #E63946;
    margin-bottom: 15px;
}

.share-subtitle {
    color: #666;
    margin-bottom: 35px;
    font-size: 1.15rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.share-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.share-facebook { background: linear-gradient(135deg, #1877F2 0%, #0d5dbf 100%); }
.share-twitter { background: linear-gradient(135deg, #000000 0%, #333333 100%); }
.share-whatsapp { background: linear-gradient(135deg, #25D366 0%, #1da851 100%); }
.share-linkedin { background: linear-gradient(135deg, #0A66C2 0%, #084d92 100%); }
.share-email { background: linear-gradient(135deg, #EA4335 0%, #c1351d 100%); }
.share-copy { background: linear-gradient(135deg, #6c757d 0%, #545b62 100%); }

/* ========== VIDÉOS ========== */
.videos-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFE8CC 100%);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========== MISSION ========== */
.mission-section {
    padding: 80px 20px;
    background: white;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mission-card {
    background: linear-gradient(135deg, #FFF9F0 0%, white 100%);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mission-card:hover {
    transform: translateY(-8px);
    border-color: #FFD166;
    box-shadow: 0 12px 28px rgba(255, 209, 102, 0.3);
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.mission-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #E63946;
    margin-bottom: 15px;
}

.mission-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* ========== FAQ ========== */
.faq-section {
    padding: 80px 20px;
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #FFF9F0;
    color: #E63946;
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px 25px;
    color: #666;
    line-height: 1.7;
}

/* ========== CTA ========== */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #E63946 0%, #d62839 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '❤️';
    position: absolute;
    font-size: 300px;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 30px;
}

.btn-lg {
    font-size: 1.2rem;
    padding: 18px 40px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #E63946;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-lg:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3);
    background: #FFD166;
    color: #333;
}

/* ========== SECTION TITLE ========== */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 25px;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #E63946 0%, #FFD166 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 20px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .description-content {
        padding: 30px;
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    .description-content::before {
        font-size: 60px;
        top: 15px;
        left: 15px;
    }
    
    .social-share-section {
        padding: 30px 20px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== PAGINATION ========== */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination-info {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.pagination-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-pagination,
.btn-page {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pagination {
    background: #E63946;
    color: white;
}

.btn-pagination:hover {
    background: #d62839;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-page {
    background: white;
    color: #333;
    border: 2px solid #ddd;
}

.btn-page:hover {
    border-color: #E63946;
    color: #E63946;
}

.btn-page.active {
    background: #E63946;
    color: white;
    border-color: #E63946;
}

@media (max-width: 768px) {
    .pagination-buttons {
        flex-direction: column;
    }
    
    .btn-pagination,
    .btn-page {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 15px;
    }
    
    .mission-card {
        padding: 30px 20px;
    }
    
    .btn-lg {
        padding: 15px 30px;
        font-size: 1rem;
    }
}
