/* =========================
   Global Styles
========================= */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #d0f0c0; /* Vert clair global */
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* =========================
   Header
========================= */
header {
    background: #004080;
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    margin: 0;
    text-align: center;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 10px 0 0 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

header h1 {
    font-size: 42px;
    margin: 0;
    color: #fff;
    text-align: center;
}

header h2 {
    font-size: 32px;
    margin: 5px 0 0 0;
    font-weight: normal;
    color: #ffcc00; /* exemple : jaune pour contraster */
    text-align: center;
}


/* =========================
   Home Section
========================= */
.hero {
    background-color: #c8e6c9; /* bande de vert clair pour Home */
    color: #004080;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    border-bottom: 4px solid #004080;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 10px auto;
}

.hero .btn {
    display: inline-block;
    background: #ff9900;
    color: #fff;
    padding: 12px 25px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.hero .btn:hover {
    background: #e68a00;
}

/* Home Photo */
.home-photo {
    text-align: center;
    margin: 30px 0;
}

.home-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #004080;
}

/* Contact below photo */
.home-contact {
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
}

.home-contact p {
    margin: 5px 0;
}

.author {
    font-weight: bold;
}

.title {
    font-style: italic;
    color: #0066cc; /* bleu */
}


/* =========================
   Sections Style (CV, Research)
========================= */
section {
    padding: 50px 0;
    border-bottom: 4px solid #004080;
}

/* Section Titles */
section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #004080;
    font-size: 36px;
}

/* Subsection Titles */
section h3 {
    margin-bottom: 45px;
    color: #006400;
}

/* CV / Research Cards */
.cv-card.awards {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1.1em;
    font-style: italic; /* si tu veux un effet académique */
    border: 2px solid #0044cc; /* même cadre bleu */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cv-card {
    background: #e6f2e6; /* vert très clair */
    padding: 60px;        /* grand espace intérieur */
    border-radius: 10px;
    max-width: 1050px;     /* largeur large */
    margin: 60px auto 70px auto;
    text-align: left;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    border: 3px solid #004080; /* contour bleu */
}

/* Paragraphes et listes dans cv-card */
.cv-card p, .cv-card li {
    margin: 12px 0;
    font-size: 17px;
    line-height: 1.8;
}

.cv-card a {
    color: #004080;
    text-decoration: underline;
}

.cv-card ul {
    padding-left: 25px;
    list-style-type: disc;
}

/* =========================
   Footer
========================= */
footer {
    background: #004080;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .cv-card {
        padding: 25px;
        max-width: 100%;
    }

    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        margin: 10px 0;
    }
}
