/* ====================================
   STYLES VISITEURS - FEI 2025
   Utilise la même charte que entreprise
   ==================================== */

/* Reset pour figure */
.split-grid figure {
    margin: 0;
    padding: 0;
}

/* Hero visitor avec overlay photo - PLEINE LARGEUR */
.hero--visitor {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw;
    max-width: 100vw;
}

.hero--visitor .hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero--visitor .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.hero--visitor .hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 245, 202, 0.15);
    border: 1px solid rgba(0, 245, 202, 0.4);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent, #00f5ca);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Métriques */
.metrics-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-card, rgba(16, 24, 47, 0.9));
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg, 28px);
    border: 1px solid var(--stroke-soft, rgba(255, 255, 255, 0.08));
}

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

.metric-card strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #785dff, #00f5ca);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.metric-card span {
    font-size: 0.95rem;
    color: var(--text-muted, #8c95bf);
    line-height: 1.4;
}

/* Sections */
main > section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-heading span {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent, #00f5ca);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-heading p {
    font-size: 1.15rem;
    color: var(--text-secondary, #cdd7ff);
    line-height: 1.7;
}

/* Impact grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.impact-card {
    background: var(--bg-card, rgba(16, 24, 47, 0.9));
    border: 1px solid var(--stroke-soft, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 20px);
    padding: 36px;
    transition: all 0.3s ease;
}

.impact-card:hover {
    border-color: var(--accent, #00f5ca);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 245, 202, 0.15);
}

.impact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--accent, #00f5ca);
}

.impact-card p {
    color: var(--text-secondary, #cdd7ff);
    line-height: 1.7;
    margin-bottom: 16px;
}

.impact-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.impact-card ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-muted, #8c95bf);
}

.impact-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent, #00f5ca);
    font-weight: 700;
}

/* Stats compactes */
.stats-grid--compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.stat-card {
    background: rgba(120, 93, 255, 0.08);
    border: 1px solid rgba(120, 93, 255, 0.2);
    border-radius: var(--radius-sm, 14px);
    padding: 28px 24px;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-secondary, #785dff);
    margin-bottom: 12px;
}

.stat-card .stat-icon {
    margin-right: 8px;
    font-size: 1.3rem;
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-secondary, #cdd7ff);
    line-height: 1.5;
    margin: 0;
}

/* ===== CONFÉRENCES - LAYOUT GAUCHE/DROITE ===== */
.conference-grid-modern {
    display: grid;
    gap: 24px;
    margin-bottom: 50px;
}

/* Mobile: empilement simple */
@media (max-width: 991px) {
    .conference-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* Desktop: 3 conférences à gauche, keynote à droite */
@media (min-width: 992px) {
    .conference-grid-modern {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 1fr);
    }
    
    .conf-keynote {
        grid-column: 2;
        grid-row: 1 / 4;
    }
}

/* Keynote (grande carte verticale à droite) */
.conf-keynote {
    background: linear-gradient(135deg, rgba(120, 93, 255, 0.15), rgba(0, 245, 202, 0.08));
    border: 1px solid rgba(120, 93, 255, 0.3);
    border-radius: var(--radius-md, 20px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.conf-keynote:hover {
    border-color: var(--accent, #00f5ca);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(120, 93, 255, 0.3);
}

.conf-speaker-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .conf-speaker-wrap {
        height: 300px;
    }
}

@media (min-width: 992px) {
    .conf-speaker-wrap {
        height: 380px;
    }
}

.conf-speaker-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.conf-badge-keynote {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background: var(--accent, #00f5ca);
    color: #030615;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0, 245, 202, 0.4);
    z-index: 10;
}

.conf-details {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.conf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
    flex-wrap: wrap;
}

.conf-header h3 {
    font-size: 1.7rem;
    color: var(--accent, #00f5ca);
    margin: 0;
    font-weight: 700;
}

.conf-tag {
    padding: 6px 14px;
    background: rgba(120, 93, 255, 0.15);
    border: 1px solid rgba(120, 93, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-secondary, #785dff);
    font-weight: 600;
    white-space: nowrap;
}

.conf-role {
    color: var(--accent-secondary, #785dff);
    font-size: 1rem;
    margin: 0 0 14px 0;
    font-weight: 600;
}

.conf-details h4 {
    font-size: 1.25rem;
    color: var(--text-primary, #f5f7ff);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.conf-desc {
    color: var(--text-secondary, #cdd7ff);
    line-height: 1.65;
    margin: 0 0 16px 0;
    font-size: 0.95rem;
}

.conf-topics {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.conf-topics span {
    padding: 7px 14px;
    background: rgba(0, 245, 202, 0.08);
    border: 1px solid rgba(0, 245, 202, 0.2);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--accent, #00f5ca);
    font-weight: 500;
}

/* Cartes conférences compactes (3 à gauche) */
.conf-item {
    background: var(--bg-card, rgba(16, 24, 47, 0.9));
    border: 1px solid var(--stroke-soft, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 20px);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.conf-item:hover {
    border-color: var(--accent, #00f5ca);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 245, 202, 0.2);
}

.conf-logo-box {
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    max-width: 140px;
    border-right: 1px solid var(--stroke-soft, rgba(255, 255, 255, 0.08));
    flex-shrink: 0;
}

.conf-logo-box img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.conf-info-compact {
    padding: 20px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.conf-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.conf-hour {
    font-size: 0.88rem;
    color: var(--text-muted, #8c95bf);
    font-weight: 600;
}

.conf-theme-tag {
    padding: 5px 12px;
    background: rgba(120, 93, 255, 0.1);
    border: 1px solid rgba(120, 93, 255, 0.25);
    border-radius: 18px;
    font-size: 0.78rem;
    color: var(--accent-secondary, #785dff);
    font-weight: 600;
}

.conf-info-compact h5 {
    font-size: 1.05rem;
    color: var(--text-primary, #f5f7ff);
    margin: 0;
    line-height: 1.35;
    font-weight: 600;
}

.conf-info-compact > p {
    color: var(--text-secondary, #cdd7ff);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

.conference-cta {
    text-align: center;
    padding: 50px 40px;
    background: var(--bg-elevated, rgba(20, 28, 54, 0.72));
    border-radius: var(--radius-lg, 28px);
    border: 1px solid var(--stroke-soft, rgba(255, 255, 255, 0.08));
}

.conference-cta p {
    font-size: 1.15rem;
    color: var(--text-secondary, #cdd7ff);
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Photos CV */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.text-card {
    background: var(--bg-card, rgba(16, 24, 47, 0.9));
    border: 1px solid var(--stroke-soft, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 20px);
    padding: 40px;
}

.text-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent, #00f5ca);
}

.text-card p {
    color: var(--text-secondary, #cdd7ff);
    line-height: 1.7;
    margin-bottom: 20px;
}

.text-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.text-card ul li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-muted, #8c95bf);
    line-height: 1.6;
}

.text-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent, #00f5ca);
    font-weight: 700;
    font-size: 1.2rem;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.download-note,
.replay-note {
    font-size: 0.9rem;
    color: var(--text-muted, #8c95bf);
    font-style: italic;
    line-height: 1.6;
    margin-top: 8px;
}

.replay-note {
    padding: 16px;
    background: rgba(120, 93, 255, 0.08);
    border-left: 3px solid var(--accent-secondary, #785dff);
    border-radius: 8px;
    margin-top: 16px;
    font-style: normal;
    color: var(--text-secondary, #cdd7ff);
}

.fei-cv-visual {
    border-radius: var(--radius-md, 20px);
    overflow: hidden;
    border: 1px solid var(--stroke-soft, rgba(255, 255, 255, 0.08));
    background: #000;
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: block;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.fei-cv-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    border: none;
    transform: none;
    animation: none;
    transition: none;
    box-sizing: border-box;
    max-width: none;
    max-height: none;
}

.fei-cv-visual figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 20px;
    background: linear-gradient(to top, rgba(3, 6, 21, 0.95), rgba(3, 6, 21, 0.75));
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    color: var(--text-secondary, #cdd7ff);
    line-height: 1.5;
    z-index: 10;
    margin: 0;
}

/* Section entreprises - permettre le débordement */
#entreprises-2025 {
    padding-left: 40px;
    padding-right: 40px;
    overflow: visible;
}

#entreprises-2025 .section-heading {
    padding: 0;
}

/* Logo carousel */
.logo-carousel {
    overflow: hidden;
    padding: 40px 0;
    background: var(--bg-elevated, rgba(20, 28, 54, 0.72));
    border-radius: 0;
    margin-bottom: 30px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

.logo-track {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 0 30px;
}

.logo-track img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.logo-track img:hover {
    opacity: 1;
}

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

/* Options grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.option-card {
    background: var(--bg-card, rgba(16, 24, 47, 0.9));
    border: 1px solid var(--stroke-soft, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 20px);
    padding: 36px;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: var(--accent, #00f5ca);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 245, 202, 0.15);
}

.option-card--highlight {
    border-color: var(--accent-secondary, #785dff);
    background: rgba(120, 93, 255, 0.08);
}

.option-card--highlight:hover {
    border-color: var(--accent-secondary, #785dff);
    box-shadow: 0 15px 40px rgba(120, 93, 255, 0.2);
}

.option-card header {
    margin-bottom: 20px;
}

.option-category {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent, #00f5ca);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.option-card--highlight .option-category {
    color: var(--accent-secondary, #785dff);
}

.option-card h3 {
    font-size: 1.6rem;
    margin: 0;
}

.option-card p {
    color: var(--text-secondary, #cdd7ff);
    line-height: 1.7;
    margin-bottom: 16px;
}

.option-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.option-card ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-muted, #8c95bf);
}

.option-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent, #00f5ca);
    font-weight: 700;
}

.option-card--highlight ul li::before {
    color: var(--accent-secondary, #785dff);
}

/* CTA finale */
.future-poles-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(120, 93, 255, 0.12), rgba(0, 245, 202, 0.12));
    border-radius: var(--radius-lg, 28px);
    border: 1px solid var(--stroke-soft, rgba(255, 255, 255, 0.08));
}

.future-poles-cta p {
    font-size: 1.2rem;
    color: var(--text-primary, #f5f7ff);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .conference-card--featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .conference-speaker-photo img {
        min-height: 250px;
    }
    
    .split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fei-cv-visual {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    main > section {
        padding: 60px 24px;
    }
    
    .hero--visitor .hero-content {
        padding: 100px 24px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .button-primary,
    .hero-actions .button-secondary {
        width: 100%;
        text-align: center;
    }
    
    .metrics-bar {
        grid-template-columns: 1fr 1fr;
        padding: 24px;
        gap: 16px;
    }
    
    .metric-card strong {
        font-size: 2rem;
    }
    
    .section-heading h2 {
        font-size: 2rem;
    }
    
    .impact-grid,
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .conference-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .button-primary,
    .cta-actions .button-secondary {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        padding: 180px 24px 60px;
    }
}
