* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* ===== CONTAINER PRINCIPAL ===== */
.cejm-container {
    width: 100%;
    max-width: 100%;
    background-color: white;
    overflow: hidden;
}

/* ===== SECTION BANNIÈRE ===== */
.banner-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    min-height: 300px;
    background: linear-gradient(135deg, #2b8a99 0%, #3a9db3 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Image de bannière en arrière-plan */
.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Contenu de la bannière */
.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

/* Côté gauche - Texte */
.banner-left {
    flex: 0 0 auto;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.banner-title {
    font-size: 48px;
    font-weight: 300;
    font-style: italic;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #5a8a95;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.banner-description {
    font-size: 18px;
    font-weight: 300;
    color: white;
    margin-top: 5px;
}

/* Logo Le Génie */
.banner-logo {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    background-color: #000;
    padding: 12px 16px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.logo-text-main {
    font-size: 24px;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
}

.logo-text-sub {
    font-size: 10px;
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-accent {
    color: #2b8a99;
    font-weight: bold;
}

/* Vague/courbe diagonale en bas */
.banner-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, transparent 0%, transparent 48%, white 48%, white 100%);
    z-index: 3;
}

/* ===== SECTION CONTENU ===== */
.content-section {
    padding: 40px 20px;
    text-align: center;
    background-color: white;
}

.content-title {
    font-size: 28px;
    font-weight: 600;
    color: #2b8a99;
    margin-bottom: 20px;
}

.content-description {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ===== BOUTON D'ACTION ===== */
.action-button {
    display: inline-block;
    background: linear-gradient(135deg, #2b8a99 0%, #3a9db3 100%);
    color: white;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(43, 138, 153, 0.3);
}

.action-button:hover {
    background: linear-gradient(135deg, #1f6b78 0%, #2b8a99 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 138, 153, 0.4);
}

.action-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(43, 138, 153, 0.3);
}

/* ===== DEBUG INFO (à retirer en production) ===== */
.debug-info {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #0f0;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 11px;
    font-family: monospace;
    max-width: 300px;
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
}

.debug-info.active {
    display: block;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .banner-section {
        aspect-ratio: auto;
        min-height: 280px;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-subtitle {
        font-size: 18px;
    }

    .banner-description {
        font-size: 16px;
    }

    .banner-left {
        max-width: 60%;
    }

    .content-title {
        font-size: 24px;
    }

    .content-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .banner-section {
        min-height: 240px;
    }

    .banner-content {
        padding: 15px;
        justify-content: flex-start;
    }

    .banner-left {
        max-width: 100%;
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-subtitle {
        font-size: 14px;
    }

    .banner-description {
        font-size: 14px;
    }

    .banner-logo {
        bottom: 15px;
        left: 15px;
        padding: 10px 12px;
    }

    .logo-text-main {
        font-size: 18px;
    }

    .logo-text-sub {
        font-size: 8px;
    }

    .content-section {
        padding: 30px 15px;
    }

    .content-title {
        font-size: 20px;
    }

    .content-description {
        font-size: 14px;
    }

    .action-button {
        padding: 14px 32px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .banner-section {
        min-height: 200px;
        aspect-ratio: auto;
    }

    .banner-content {
        padding: 12px;
    }

    .banner-title {
        font-size: 20px;
    }

    .banner-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .banner-description {
        font-size: 12px;
    }

    .banner-left {
        max-width: 100%;
    }

    .banner-logo {
        bottom: 12px;
        left: 12px;
        padding: 8px 10px;
    }

    .logo-text-main {
        font-size: 14px;
    }

    .logo-text-sub {
        font-size: 7px;
    }

    .banner-wave {
        height: 40px;
    }

    .content-section {
        padding: 20px 12px;
    }

    .content-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .content-description {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .action-button {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* ===== ACCESSIBILITÉ ===== */
.action-button:focus {
    outline: 3px solid #2b8a99;
    outline-offset: 2px;
}

.action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
