body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(10,76,134);
    color: #fff;
}

/* HEADER */
header {
    background-color: rgba(10,76,134, 0.95);
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-placeholder {
    width: 180px;
    height: 60px;
    border: 2px dashed #ffffff55;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #f4d28a;
    text-decoration: none;
    font-weight: bold;
}
nav a:hover { text-decoration: underline; }

/* HERO */
.hero {
    padding: 140px 30px;
    text-align: center;
}

/* BUTTON */
.btn {
    background-color: #fff;
    color: rgb(10,76,134);
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
}
/* PETITS BOUTONS DANS LES CARDS */
.btn-small {
    background-color: #fff;
    color: rgb(10,76,134);
    padding: 8px 16px;
    margin-top: 15px;
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
}

.btn-small:hover {
    background-color: #f4d28a;
    color: #000;
}


/* SECTIONS */
section {
    background: #fff;
    color: #000;
    margin: 40px auto;
    padding: 60px 30px;
    max-width: 1100px;
    border-radius: 10px;
}

section h2 {
    color: rgb(10,76,134);
    border-left: 6px solid #f4d28a;
    padding-left: 15px;
    margin-bottom: 20px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.card {
    background: rgb(10,76,134);
    color: #fff;
    padding: 25px;
    border-radius: 6px;
    text-align: center;
}

/* FOOTER */
footer {
    background: #062f52;
    padding: 40px;
    text-align: center;
    color: #fff;
}
/* SECTION PHOTO D'ÉLÈVES */
.photo-section {
    width: 100%;
    margin-top: -40px;
}

.photo-section img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
    max-height: 520px;
    object-fit: cover;
}
/* HERO AVEC IMAGE DE FOND */
.hero-bg {
    position: relative;
    background: url("assets/images/eleves.jpeg") center/cover no-repeat;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay bleu foncé transparent */
.hero-overlay {
    background: rgba(10, 76, 134, 0.55);
    padding: 60px 30px;
    text-align: center;
    color: #fff;
    max-width: 900px;
    border-radius: 10px;
}

/* Texte hero */
.hero-bg h1 {
    font-size: 44px;
    font-weight: bold;
    color: #f4d28a;
    margin-bottom: 20px;
}

.hero-bg p {
    font-size: 20px;
    line-height: 1.6em;
    margin-bottom: 30px;
}
/* SLIDER GLOBAL */
.slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 10px;
}

.slides {
    display: flex;
    width: 300%; /* 3 images = 300% */
    animation: slide 14s infinite;
}

.slides img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* ANIMATION */
@keyframes slide {
    0% { transform: translateX(0); }
    30% { transform: translateX(0); }

    33% { transform: translateX(-100%); }
    63% { transform: translateX(-100%); }

    66% { transform: translateX(-200%); }
    96% { transform: translateX(-200%); }
}

/* Flèches */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px;
    color: white;
    font-size: 25px;
    cursor: pointer;
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.7);
}
/* FOOTER AMÉLIORÉ */
footer {
    background: #062f52;
    color: #fff;
    padding: 50px 30px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-col h3, 
.footer-col h4 {
    color: #f4d28a;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bcd1e8;
    text-decoration: none;
}

.footer-col ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #ffffff33;
    font-size: 14px;
    color: #bcd1e8;
}

