/* ========================================
   EventGo Exposants
   ======================================== */

/* Variables */
:root {
    --primary-color: #0073aa;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --background-light: #f8f9fa;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Reset et base */
.eventgo-exposant-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #fff;
}

.eventgo-exposant-wrapper * {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   En-tête de l'exposant
   ======================================== */

.exposant-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.header-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

/* Si pas d'image, utiliser toute la largeur */
.exposant-meta-full {
    grid-column: 1 / -1;
}

.exposant-image {
    position: relative;
}

.exposant-logo,
.exposant-logo-placeholder {
    width: 100%;
    max-width: 250px;
    height: auto;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    display: block;
}

.exposant-logo-placeholder svg {
    width: 100%;
    height: auto;
}

.exposant-meta {
    padding-top: 20px;
}

.exposant-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
    color: white;
}

.exposant-enseigne {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0 0 20px 0;
}

.exposant-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge svg {
    flex-shrink: 0;
}

.badge-stand {
    background: rgba(255, 255, 255, 0.25);
}

.badge-village {
    background: rgba(255, 193, 7, 0.3);
}

.badge-type {
    background: rgba(76, 175, 80, 0.3);
}

/* ========================================
   Contenu principal
   ======================================== */

.exposant-content {
    padding: 40px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Colonne principale */
.main-column {
    min-width: 0;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.exposant-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.exposant-description p {
    margin-bottom: 1.2em;
}

.descriptifs-supplementaires .descriptif-item {
    background: var(--background-light);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

/* ========================================
   Sidebar
   ======================================== */

.sidebar-column {
    position: sticky;
    top: 20px;
}

.info-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 3px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ========================================
   Réseaux sociaux
   ======================================== */

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--background-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-link:hover {
    transform: translateX(5px);
    border-color: var(--border-color);
    background: white;
}

.social-link svg {
    flex-shrink: 0;
}

.social-link.facebook:hover {
    color: #1877f2;
    border-color: #1877f2;
}

.social-link.instagram:hover {
    color: #e4405f;
    border-color: #e4405f;
}

.social-link.linkedin:hover {
    color: #0077b5;
    border-color: #0077b5;
}

.social-link.tiktok:hover {
    color: #000000;
    border-color: #000000;
}

.social-link.youtube:hover {
    color: #ff0000;
    border-color: #ff0000;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablettes */
@media (max-width: 992px) {
    .header-grid {
        grid-template-columns: 200px 1fr;
        gap: 30px;
    }
    
    .exposant-logo,
    .exposant-logo-placeholder {
        max-width: 200px;
    }
    
    .exposant-title {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-column {
        position: static;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .exposant-header {
        padding: 40px 0;
    }
    
    .header-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .exposant-image {
        display: flex;
        justify-content: center;
    }
    
    .exposant-logo,
    .exposant-logo-placeholder {
        max-width: 180px;
    }
    
    .exposant-title {
        font-size: 1.8rem;
    }
    
    .exposant-badges {
        justify-content: center;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .exposant-description {
        font-size: 1rem;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 10px;
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .exposant-title {
        font-size: 1.5rem;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .content-section h2 {
        font-size: 1.4rem;
    }
}

/* ========================================
   Utilitaires
   ======================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

/* ========================================
   Animations
   ======================================== */

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

.eventgo-exposant {
    animation: fadeIn 0.6s ease-out;
}

/* Impression */
@media print {
    .exposant-header {
        background: white !important;
        color: black !important;
        padding: 20px 0;
    }
    
    .exposant-title,
    .exposant-enseigne {
        color: black !important;
    }
    
    .badge {
        background: #f0f0f0 !important;
        color: black !important;
        border: 1px solid #ccc !important;
    }
    
    .social-link {
        page-break-inside: avoid;
    }
    
    .info-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
