/* --- Variables couleurs (Moodboard) --- */
:root {
    --deep-blue: #183a85;    /* Bleu foncé nav */
    --ocean-blue: #5d81c9;   /* Bleu moyen */
    --light-blue: #9dc5de;   /* Bleu ciel */
    --coral: #cf8787;         /* Touche ocre */
    --bg-light: #f0f7fa;     /* Fond très clair */
}

@font-face {
    font-family: "Nourd";
    src: url("images/Nourd-Font/nourd_regular.ttf") format("truetype"),
    
}


body {
    font-family: "Nourd";
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Navigation --- */
.main-nav {
    background-color: rgb(9, 12, 64)
    ;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 5px;
    transition: 0.3s;
}

.main-nav a:hover {
    background-color: var(--coral);
    color: #331111;
}

/* --- Tableau & Responsive --- */
.table-container {
    overflow-x: auto; /* Permet le scroll horizontal sur petit écran */
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead tr {
    background-color: var(--ocean-blue);
    color: white;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

tbody tr:nth-child(even) { background-color: #f8fbff; }

/* --- Mobile First / Breakpoint 576px --- */
/* --- Mobile First / Breakpoint 576px --- */
@media (max-width: 576px) {
    .main-nav {
        flex-direction: column; /* On garde le menu vertical pour la place */
        align-items: center;
    }

    /* On force le tableau à rester un vrai tableau */
    table {
        display: table; 
        min-width: 600px; /* Force une largeur mini pour éviter que les colonnes soient trop serrées */
    }

    .table-container {
        overflow-x: auto; /* Active le scroll horizontal pour voir tout le tableau */
        -webkit-overflow-scrolling: touch; /* Rend le scroll fluide sur iPhone */
    }

    /* On s'assure que les cellules ne se mettent pas en bloc */
    thead { display: table-header-group; }
    tr { display: table-row; }
    td, th { display: table-cell; font-size: 0.85rem; } /* Texte un peu plus petit pour mobile */
}


/* --- Page d'accueil (Hero Section) --- */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(24, 58, 133, 0.7), rgba(24, 58, 133, 0.7)), 
                url('images/hero.png'); /* Image marine de secours */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h1 {
    font-family: "roca", sans-serif;
font-weight: 700;
font-style: normal;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-family: "nourd";
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Bouton d'action (CTA) */
.btn-cta {
    background-color: var(--coral); /* Ta couleur ocre de la moodboard */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s transform ease;
    display: inline-block;
}

.btn-cta:hover {
    transform: scale(1.05);
    background-color: #c07a7a;
}

/* Section cartes */
.features {
    display: flex;
    gap: 20px;
    margin-top: -50px; /* Chevauchement léger pour le style */
    justify-content: center;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 250px;
    text-align: center;
}

/* Responsive mobile */
@media (max-width: 576px) {
    .hero-content h1 { font-size: 2rem; }
    .features { 
        flex-direction: column; 
        align-items: center;
        margin-top: 20px;
    }
}