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

body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    color: #1f2933;
    background: #fdfcf9;
    line-height: 1.6;
}

header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    background: #ffffff;
    border-bottom: 1px solid #eeeae3;
}

.brand {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #243B64;
    text-decoration: none;
}

nav { display: flex; gap: 42px; }

nav a {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    transition: 0.2s;
}

nav a:hover, nav a.active { color: #243B64; }
nav a.active { font-weight: 600; }

.page-title {
    background: #243B64;
    color: #ffffff;
    padding: 70px 7%;
    text-align: center;
}

.page-title span {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c9d3e6;
    margin-bottom: 14px;
}

.page-title h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto;
}

.page-title p {
    max-width: 700px;
    margin: 18px auto 0;
    color: #d8e0ee;
    font-size: 18px;
}

main { padding: 70px 7%; }

.article {
    max-width: 760px;
    margin: 0 auto;
}

.article .meta {
    font-size: 14px;
    color: #777777;
    margin-bottom: 30px;
}

.article .lead {
    font-size: 20px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 30px;
}

.article h2 {
    font-size: 26px;
    font-weight: 600;
    color: #243B64;
    margin: 42px 0 14px;
    line-height: 1.3;
}

.article p {
    font-size: 17px;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 18px;
}

.article ul, .article ol {
    margin: 0 0 20px 24px;
}

.article li {
    font-size: 17px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 8px;
}

.article strong { color: #243B64; font-weight: 600; }

.back-link {
    display: inline-block;
    margin-bottom: 26px;
    font-size: 14px;
    color: #243B64;
    text-decoration: none;
}

.back-link:hover { text-decoration: underline; }

.cta-box {
    margin-top: 50px;
    padding: 34px;
    background: #ffffff;
    border: 1px solid #ebe8e1;
    border-left: 5px solid #243B64;
    border-radius: 8px;
}

.cta-box h3 {
    font-size: 21px;
    font-weight: 600;
    color: #243B64;
    margin-bottom: 8px;
}

.cta-box p { margin-bottom: 16px; }

.cta-box a {
    display: inline-block;
    padding: 12px 24px;
    background: #243B64;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
}

.cta-box a:hover { background: #1a2b4a; }

.list-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.list-card {
    display: block;
    padding: 36px;
    background: #ffffff;
    border: 1px solid #ebe8e1;
    border-left: 5px solid #243B64;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
}

.list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(36, 59, 100, 0.08);
}

/* Étiquette éditoriale : sous la photo, au-dessus de la date et du titre */
.tag-editorial {
    display: block;
    width: fit-content;
    background: #EEF3F8;
    color: #18324B;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    padding: 5px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

/* Couleurs par catégorie */
.tag-java         { background: #FDF0E1; color: #B45309; }
.tag-data         { background: #E6EEF9; color: #1D4ED8; }
.tag-recrutement  { background: #EEEAF7; color: #5B3FA0; }
.tag-technologies { background: #E4F3F6; color: #0B6A88; }
.tag-reflexions   { background: #FCEEF3; color: #A3224F; }
.tag-ia           { background: #E6F6EF; color: #0F6B4A; }

.list-card .date { font-size: 13px; color: #777777; }

.list-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: #243B64;
    margin: 8px 0 12px;
    line-height: 1.3;
}

.list-card p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 14px;
}

.list-card .read-more { font-size: 14px; font-weight: 500; color: #243B64; }

footer {
    background: #171b1f;
    color: #9ca3af;
    text-align: center;
    padding: 25px;
    font-size: 13px;
}

.footer-content { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-links { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; justify-content: center; }
.footer-links a.legal-link { color: #9ca3af; text-decoration: underline; font-size: 13px; }
.footer-links a.legal-link:hover { color: #ffffff; }

.linkedin-button {
    display: inline-block;
    padding: 8px 16px;
    background: #0A66C2;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
}

.linkedin-button:hover { background: #084d91; }

@media (max-width: 900px) {
    header { height: auto; padding: 18px 6%; flex-direction: column; gap: 12px; }
    nav { gap: 20px; flex-wrap: wrap; justify-content: center; }
    .page-title { padding: 50px 6%; }
    .page-title h1 { font-size: 34px; }
    main { padding: 50px 6%; }
    .article h2 { font-size: 23px; }
}

.article blockquote {
    margin: 0 0 22px;
    padding: 6px 0 6px 20px;
    border-left: 4px solid #243B64;
}

.article blockquote p {
    margin: 0;
    font-size: 18px;
    font-style: italic;
    color: #243B64;
}

.table-wrap {
    overflow-x: auto;
    margin: 0 0 20px;
}

.article table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 15px;
}

.article th, .article td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #ebe8e1;
    color: #4b5563;
    line-height: 1.5;
}

.article th {
    background: #243B64;
    color: #ffffff;
    font-weight: 600;
}

.article td:first-child { font-weight: 600; color: #243B64; }

.article .signature {
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

/* Logo dans l'en-tête : version <img> */
.site-logo {
    display: block;
    height: 56px;
    width: auto;
}

/* Logo dans l'en-tête : remplace le texte « FL Conseil » sur les pages
   qui n'ont pas encore l'image dans leur HTML (articles, etc.) */
.brand:not(:has(.site-logo)) {
    display: block;
    width: 220px;
    height: 56px;
    background: url("images/logo-site.jpg") no-repeat left center;
    background-size: contain;
    font-size: 0;
    color: transparent;
}

@media (max-width: 768px) {
    .site-logo {
        height: 44px;
    }
    .brand:not(:has(.site-logo)) {
        width: 170px;
        height: 44px;
    }
}

/* Adresse e-mail sous le bouton de contact */
.contact-email {
    margin-top: 25px !important;
    color: #d1d5db !important;
    font-size: 14px !important;
    text-align: center !important;
}

.contact-email a,
.contact-email a:visited {
    display: block !important;
    width: 100%;
    color: #c5d0df !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
}

.contact-email a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

@media (max-width: 600px) {
    .contact-email {
        font-size: 12px !important;
    }
}