/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- BODY --- */
body {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
    background-color: rgba(15, 76, 129, 0.9);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #4CAF50;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #4CAF50;
    transform: scale(1.05);
}

.logo-gauche {
    height: 50px;
    width: 60px;
}

/* --- SECTION NIRD (Gauche) --- */
.intro-nird {
    float: left;
    width: 60%;
    padding: 40px;
    background: rgba(30, 30, 46, 0.9);
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.intro-nird h1 {
    font-size: 3em;
    background: linear-gradient(45deg, #4CAF50, #00BCD4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 20px rgba(76,175,80,0.3);}
    100% { text-shadow: 0 0 30px rgba(76,175,80,0.6), 0 0 40px rgba(0,188,212,0.4);}
}

.intro-nird h2 {
    font-size: 2em;
    color: #00BCD4;
    margin: 25px 0 15px 0;
}

.intro-nird p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.intro-nird ul {
    margin-left: 20px;
}

.intro-nird li {
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
}

.intro-nird li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

/* --- MAIN (Images à droite) --- */
main {
    float: right;
    width: 33%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 20px;
    background: rgba(40,40,60,0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

main a {
    display: block;
    width: 100%;
    text-align: center;
}

main img {
    width: 90%;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* --- FOOTER --- */
footer {
    clear: both;
    background-color: rgba(30,30,46,0.95);
    color: #b0b0b0;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    border-top: 2px solid #4CAF50;
    border-radius: 0 0 20px 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .intro-nird, main {
        float: none;
        width: 90%;
        margin: 20px auto;
    }
}
