
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0d1117;
    color: #f0f6fc;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}


header {
    background-color: rgba(22, 27, 34, 0.95);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #30363d;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #58a6ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links li a:hover {
    background-color: #21262d;
    color: #58a6ff;
}


.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

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

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    color: #58a6ff;
    margin-bottom: 1.5rem;
}

.info-section, .catalogue-section {
    padding: 4rem 5%;
}

h2 {
    font-size: 2.5rem;
    color: #58a6ff;
    text-align: center;
    margin-bottom: 3rem;
}

.info-cards, .catalogue-grid {
    display: grid;
    gap: 2rem;
}

.catalogue-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.info-card, .catalogue-card {
    background-color: #161b22;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #30363d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landscape-image-container {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    overflow: hidden;
}

.landscape-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; 
}

.info-card:hover .landscape-image-container img,
.catalogue-card:hover .landscape-image-container img {
    transform: scale(1.1);
}

.card-text, .card-details {
    padding: 1.5rem;
}

.card-text h3, .card-details h3 {
    font-size: 1.5rem;
    color: #58a6ff;
    margin-bottom: 0.75rem;
}


footer {
    text-align: center;
    padding: 2rem;
    background-color: #161b22;
    border-top: 1px solid #30363d;
    margin-top: 2rem;
}
.landscape-image-container {
    position: relative;
    overflow: hidden; 
}

.catalogue-card:hover .landscape-image-container img {
    transform: scale(1.2); /
}
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 17, 23, 0.4); /* Voile sombre léger */
    opacity: 0;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.catalogue-card:hover .card-overlay {
    opacity: 1;
}

.learn-more {
    background-color: #58a6ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background 0.3s;
}

.learn-more:hover {
    background-color: #1f6feb;
}

/* Icône "i" d'information */
.info-trigger {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: help;
}

.icon-i {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #58a6ff;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
    font-style: italic;
    font-family: serif;
}

.info-tooltip {
    position: absolute;
    bottom: 35px;
    right: 0;
    width: 200px;
    background: #161b22;
    border: 1px solid #30363d;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #f0f6fc;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.info-trigger:hover .info-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 576px) {
    header {
        padding: 1rem;
    }

    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .landscape-image-container {
        padding-top: 75%; 
    }
}
.intro-img-container {
    text-align: center; 
    margin-bottom: 20px; 
}

.img-intro {
    width: 60%; 
    max-width: 600px; 
    height: auto; 
    border-radius: 15px; 
    box-shadow: 0 0 20px rgba(125, 95, 255, 0.4);
}

.intro-section {
    text-align: center;
    padding: 50px 10%;
}
