/* ============================================
   STYLES SPECIFIQUES AUX PAGES
   (Extraits des <style> inline)
   ============================================ */

/* === HERO SECTION RIKERS (commun) === */
.rikers-hero-section {
    position: relative;
    width: 100%;
    height: 420px;
    background-image: url('https://i.imgur.com/au9rE8C.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rikers-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(7, 0, 82, 0.65);
    z-index: 1;
}

.rikers-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.rikers-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 55px;
    color: #e5ff00;
    letter-spacing: 0.5px;
}

/* Page programme : titre hero different */
.page-programme .rikers-hero-title {
    line-height: 1.8;
    margin-bottom: 35px;
}

@media (max-width: 1024px) {
    .rikers-hero-section { height: 420px; }
    .rikers-hero-title { font-size: 38px; }
}

@media (max-width: 768px) {
    .rikers-hero-section { height: 280px; }
    .rikers-hero-title { font-size: 30px; }
}

/* === SECTION WRAPPER RIKERS (commun) === */
.rikers-section-wrapper {
    background-color: #020042;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
}

.rikers-section-container {
    max-width: 1100px;
    width: 90%;
    text-align: center;
}

.rikers-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 34px;
    line-height: 1.3;
    color: #e5ff00;
    margin-bottom: 35px;
}

/* Page programme : couleur titre differente */
.page-programme .rikers-section-title {
    color: #2db4ff;
}

.rikers-section-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.6;
    color: #ffffff;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.rikers-section-text-top { margin-bottom: 28px; }
.rikers-section-text-bottom { margin-bottom: 0; }

/* === FLEX IMAGE + TEXTE (index) === */
.rikers-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.rikers-left {
    flex: 1;
    text-align: left;
}

.rikers-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-home .rikers-section-title {
    text-align: left;
}

.page-home .rikers-section-text {
    margin-left: 0;
    margin-right: 0;
}

.rikers-right img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .rikers-flex {
        flex-direction: column;
        text-align: center;
    }
    .rikers-right {
        text-align: center;
        margin-top: 30px;
    }
}

@media (max-width: 1024px) {
    .rikers-section-title { font-size: 28px; }
    .rikers-section-text { font-size: 15px; }
}

@media (max-width: 768px) {
    .rikers-section-wrapper { padding-top: 50px; padding-bottom: 50px; }
    .rikers-section-title { font-size: 24px; }
    .rikers-section-text { font-size: 14px; }
}

/* === CAROUSEL OVERRIDE (index) === */
.page-home .carousel-container::before {
    background: linear-gradient(270deg, #06243f00 0%, #020042 100%);
}

.page-home .carousel-container::after {
    background: linear-gradient(270deg, #020042 15%, #06243F00 100%);
}

.carousel-item { border-radius: 0; }

/* === HERO FORM (index) === */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 10vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    color: #C41F08;
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 380px;
    max-width: 100px;
    text-align: left;
}

.hero h1 {
    font-size: 3em;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2em; }
    .hero-form { grid-template-columns: 1fr; }
}

/* === BUTTON HOVER (programme) === */
.button-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.3);
}

.button-secondary {
    transition: all 0.3s ease;
}
