/* ===========================
   Style général
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: "Inter", sans-serif;

}

body{

    background:#f5f7fb;

    color:#2f3743;

    line-height:1.8;

}

/* ===========================
   Conteneur
=========================== */

.container {

    width: min(1100px, 92%);

    margin: auto;

}

/* ===========================
   Header
=========================== */

.site-header {

    background: white;

    border-bottom: 1px solid #ddd;

    padding: 35px 0;

    margin-bottom: 50px;

    position: sticky;

    top: 0;

    z-index: 100;

}

.site-header h1 {

    font-size: 2.6rem;

    color: #12355B;

}

.subtitle {

    color: #666;

    margin-top: 8px;

    margin-bottom: 25px;

}

/* ===========================
   Navigation
=========================== */

.menu {

    display: flex;

    gap: 18px;

    list-style: none;

    flex-wrap: wrap;

}

.menu a {

    text-decoration: none;

    color: #12355B;

    padding: 10px 18px;

    border-radius: 8px;

    transition: .25s;

    font-weight: 600;

}

.menu a:hover {

    background: #12355B;

    color: white;

}

.menu .active {

    background: #12355B;

    color: white;

}

/* ===========================
   Sections
=========================== */

section {

    margin-bottom: 60px;

}

section h2 {

    color: #12355B;

    font-size: 2rem;

    margin-bottom: 25px;

    border-left: 6px solid #12355B;

    padding-left: 15px;

}

h2{

    font-size:2rem;

    color:#12355B;

    margin-bottom:25px;

    position:relative;

}

h2::after{

    content:"";

    width:70px;

    height:4px;

    background:#12355B;

    display:block;

    margin-top:10px;

    border-radius:4px;

}
/* ===========================
   Publications
=========================== */

.publication-list {

    list-style: none;

}

.publication-list li {

    background: white;

    padding: 25px;

    margin-bottom: 25px;

    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(0,0,0,.08);

    transition: .25s;

}

.publication-list li:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0,0,0,.12);

}

.publication-list strong {

    color: #12355B;

    font-size: 1.05rem;

}

.publication-list em {

    display: block;

    margin: 10px 0;

    font-size: 1.08rem;

    color: #222;

}

.journal {

    color: #666;

}

/* ===========================
   Liens HAL / DOI
=========================== */

.links {

    margin-top: 18px;

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}

.links a{

    background:#12355B;

    color:white;

    border-radius:25px;

    padding:9px 18px;

    font-weight:600;

    text-decoration:none;

}

.links a:hover{

    background:#3d7fc1;

}

/* ===========================
   Cartes PDF
=========================== */

.document-card,
.publication-list li{

    border:none;

    border-radius:18px;

    padding:30px;

    box-shadow:

    0 4px 18px rgba(0,0,0,.08);

    transition:.25s;

}

.document-card:hover,
.publication-list li:hover{

    transform:translateY(-6px);

    box-shadow:

    0 15px 40px rgba(0,0,0,.12);

}

.document-card h3 {

    color: #12355B;

    margin-bottom: 12px;

}

.document-card p {

    color: #555;

    margin-bottom: 20px;

}

.document-card ul{

    margin-top:15px;

    padding-left:25px;

}

.document-card li{

    margin-bottom:10px;

}

/* ===========================
   Footer
=========================== */

footer {

    margin-top: 80px;

    padding: 30px;

    background: white;

    border-top: 1px solid #ddd;

    text-align: center;

    color: #777;

}
footer{

    margin-top:80px;

    padding:35px;

    background:#12355B;

    color:white;

    text-align:center;

}

/* ===========================
   Responsive
=========================== */

@media (max-width:800px) {

.site-header {

    position: relative;

}

.menu {

    flex-direction: column;

    gap: 8px;

}

.site-header h1 {

    font-size: 2rem;

}

section h2 {

    font-size: 1.6rem;

}

.publication-list li {

    padding: 18px;

}

}


.year-title{

    font-size:1.8rem;

    margin-top:60px;

    margin-bottom:25px;

    color:#12355B;

    border-left:8px solid #12355B;

    padding-left:15px;

}

.talk-list{

    list-style:none;

    margin-bottom:40px;

}

.talk-list li{

    background:white;

    padding:18px 22px;

    margin-bottom:15px;

    border-radius:10px;

    box-shadow:0 2px 8px rgba(0,0,0,.08);

    transition:.2s;

}

.talk-list li:hover{

    transform:translateX(6px);

}

.talk-list strong{

    color:#12355B;

}

.poster-list{

    list-style:none;

    padding:0;

    margin:0;

}

.poster-list li{

    margin:18px 0;

}

.poster-list a{

    display:block;

    text-decoration:none;

    color:#12355B;

    font-size:1.05rem;

    font-weight:500;

    padding:14px 18px;

    border-left:4px solid #12355B;

    background:#f8f9fc;

    border-radius:8px;

    transition:.25s;

}

.poster-list a:hover{

    background:#12355B;

    color:white;

    transform:translateX(6px);

}

.page-layout{

    display:grid;

    grid-template-columns:220px 1fr;

    gap:40px;

    align-items:start;

}

.sidebar{

    position:sticky;

    top:30px;

    align-self:start;

}

.sidebar h3{

    color:#12355B;

    margin-bottom:15px;

}

.sidebar ul{

    list-style:none;

    padding:0;

}

.sidebar li{

    margin-bottom:12px;

}

.sidebar a{

    color:#555;

    text-decoration:none;

    display:block;

    padding:8px 12px;

    border-left:3px solid transparent;

    transition:.2s;

}

.sidebar a:hover{

    color:#12355B;

    border-left-color:#12355B;

    background:#eef4fb;

}