/* =========================================
   PAGE SOCIAL - STYLES
   ========================================= */

/* Variable definitions should be added here when ready:
   --komit-violet: #662E9B;
   --komit-orange: #FF5C00;
   --black: #1F2937;
   --gray-dark: #4B5563;
*/


.social-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 150px 5% 60px;
}

/* --- HERO SECTION --- */
.social-hero {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeIn 0.8s ease-out;
}

.social-title {
    font-family: 'Lilita One', sans-serif;
    font-size: 3.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.social-title .highlight {
    color: var(--komit-violet);
}

.social-subtitle {
    font-size: 1.25rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
/* --- SECTION 1: BOITE À IDÉES (DESIGN SPLIT) --- */
.idea-box-section {
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.idea-unified-card {
    background: white;
    width: 100%;
    max-width: 1100px;
    padding: 3.5rem;
    border-radius: 32px;
    /* Ombre violette signature */
    box-shadow: 0 20px 60px rgba(102, 46, 155, 0.15); 
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    text-align: left;
    transition: transform 0.3s ease;

    /* Disposition en deux colonnes pour Desktop */
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    gap: 3.5rem; 
    align-items: start;
}

.idea-unified-card:hover {
    transform: none; 
}

/* Colonne d'information */
.idea-info {
    padding-right: 2rem; 
    
    /* AJOUTS POUR CENTRER LE CONTENU DANS LA COLONNE */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre horizontalement tous les éléments Flex */
    text-align: center; /* Centre le texte (titre et paragraphes) */
}

/* Décoration icône flottante - TAILLE FIXÉE À 80x80px */
.idea-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #e0e2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0; /* IMPÉRATIF : Annule l'héritage de la taille de l'emoji */
    margin: 0 0 1.5rem 0; 
    border: 4px solid white;
    box-shadow: 0 10px 20px rgba(255, 92, 0, 0.15);
    overflow: hidden; /* Garantit que le contenu (le GIF) ne déborde pas */
}

/* Style pour le GIF (remplit 100% de la bulle 80x80px) */
.idea-gif-icon {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 50%;
}

.idea-header-text h2 {
    font-family: 'Lilita One', sans-serif;
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.idea-header-text p {
    font-size: 1.15rem;
    color: var(--gray-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.6;
}

/* Style de l'engagement (texte mis en évidence) */
.emphasis-text {
    font-size: 1.15rem;
    color: var(--komit-orange); 
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #F3F4F6;
    display: block;
}

/* Colonne Formulaire */
.idea-form-wrapper {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 20px;
}

/* Zone de texte (Style Input Moderne) */
.simple-textarea {
    width: 100%;
    padding: 1.5rem;
    border: 2px solid #F3F4F6;
    border-radius: 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    color: var(--black);
    resize: vertical;
    min-height: 180px;
    background: white; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.simple-textarea:focus {
    outline: none;
    border-color: var(--komit-orange); 
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.1);
}

.simple-textarea::placeholder {
    color: #9CA3AF;
    font-weight: 500;
}

/* Bouton d'envoi */
.form-actions {
    display: flex;
    justify-content: flex-end; /* Bouton à droite */
}

.submit-button {
    background: linear-gradient(135deg, var(--komit-orange) 0%, #FF8540 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px; 
    border: none;
    font-family: 'Lilita One', sans-serif; 
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(255, 92, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 92, 0, 0.4);
}

.submit-button:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(255, 92, 0, 0.3);
}

/* --- SECTION 2: AGENDA ÉVÉNEMENTS --- */
.events-section {
    background: #F9FAFB;
    border-radius: 30px;
    padding: 4rem 3rem;
    position: relative;
}

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

.events-header h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

/* Filtres Villes */
.city-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.city-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    background: white;
    border: 2px solid #eee;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-btn:hover {
    border-color: var(--komit-orange);
    color: var(--komit-orange);
}

.city-btn.active {
    background: var(--komit-orange);
    border-color: var(--komit-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 92, 0, 0.3);
}

/* Grille Événements */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.event-image {
    height: 180px;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 5px 12px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-weight: 800;
    font-family: 'Lilita One', sans-serif;
    color: var(--komit-violet);
    line-height: 1.2;
}

.event-date-badge span {
    display: block;
    font-size: 0.8rem;
    font-family: 'Nunito', sans-serif;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
}

.event-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-city {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--komit-orange);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.event-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Empty State (si pas d'event) */
.no-events {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #888;
    display: none;
}

/* --- PAGINATION --- */
.pagination-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
    padding-top: 1rem;
}

.page-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #eee;
    background: white;
    color: var(--gray-dark);
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    border-color: var(--komit-orange);
    color: var(--komit-orange);
}

.page-btn.active {
    background: var(--komit-orange);
    color: white;
    border-color: var(--komit-orange);
    box-shadow: 0 4px 10px rgba(255, 92, 0, 0.3);
}

/* --- RESPONSIVE GENERAL --- */
@media (max-width: 992px) {
    /* ADAPTATION DU SPLIT POUR MOBILE/TABLETTE */
    .idea-unified-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1.5rem;
        text-align: center;
    }

    .idea-info {
        padding-right: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 2rem;
    }
    
    .emphasis-text {
        border-top: none; 
    }

    .idea-icon-wrapper {
        margin: 0 auto 1.5rem auto; /* Recentrer l'icône */
    }

    .idea-form-wrapper {
        padding: 0;
        background: none;
    }
    
    .form-actions {
        justify-content: center;
    }
    
    .submit-button {
        width: 100%;
    }
    
    .idea-content h2 { text-align: center; }
}

@media (max-width: 768px) {
    .social-title { font-size: 2.5rem; }
    .events-section { padding: 3rem 1.5rem; }
    .city-filters { gap: 0.5rem; }
    .city-btn { font-size: 0.85rem; padding: 0.5rem 1rem; }
}

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