/* Palette commune : surfaces et textes suivent la préférence clair/sombre. */
:root { --surface: #fff; --surface-soft: #f7f8fc; --header: #fff; color-scheme: light; }
:root[data-theme="dark"] {
  --surface: #10152a; --surface-soft: #181f36; --header: #131a30;
  --ink: #edf0fa; --muted: #b9c1d5; --line: #343e56; --paper: #181f36;
  color-scheme: dark;
}
body { background: var(--surface); color: var(--ink); }
.soft, footer, .empty-state { background: var(--surface-soft); }
.service, .values span { background: var(--surface); }
.service img { background: var(--surface-soft); }

/* Identité compacte : cadrage CSS du logo source et nom en texte natif. */
header { background: var(--header); border-color: var(--line); }
/* En-tête fixé à la fenêtre sur toutes les pages publiques du CMS. */
body[data-page] { padding-top: var(--site-header-height, 96px); }
body[data-page] > header { position: fixed; inset: 0 0 auto; z-index: 100; border: 1px solid var(--line); box-shadow: 0 2px 8px #171b3909; }
body[data-page] > .skip { z-index: 101; }
body[data-page] main[id], body[data-page] main [id] { scroll-margin-top: calc(var(--site-header-height, 96px) + 16px); }
@media (max-width: 1000px) {
  body[data-page] { --site-header-height: 128px; }
  body[data-page] > header { max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
}
@media print {
  body[data-page] { padding-top: 0; }
  body[data-page] > header { position: static; max-height: none; overflow: visible; box-shadow: none; }
}
.nav-wrap { min-height: 76px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-symbol { position: relative; width: 96px; height: 35px; overflow: hidden; flex: none; }
.brand .brand-symbol img { position: absolute; width: 324.48px; max-width: none; height: 74.88px; left: -27.52px; top: -18.56px; }
.brand-name { display: flex; flex-direction: column; gap: 4px; }
.brand-name strong { font-size: 22px; line-height: 1.1; letter-spacing: .02em; }
.brand-name > span { font-size: 8px; letter-spacing: 1.35px; white-space: nowrap; }
nav { order: 2; border-color: var(--line); padding: 4px; }
nav a { color: var(--muted); font-size: 12px; padding: 8px 10px; }
nav a:hover, nav a[aria-current] { color: var(--ink); background: var(--surface-soft); }
.header-tools { order: 3; display: flex; align-items: center; gap: 8px; }
.language-switch { display: flex; gap: 3px; }
.language-switch button { border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; min-height: 32px; font: inherit; font-size: 11px; color: var(--ink); background: var(--surface-soft); cursor: pointer; }
.language-switch button[aria-pressed="true"] { border-color: var(--coral); box-shadow: inset 0 -2px var(--coral); font-weight: 700; }
@media (max-width: 1250px) {
  .nav-wrap { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 480px) {
  .header-tools { flex-wrap: wrap; justify-content: flex-end; }
  .language-switch button { padding: 6px; font-size: 10px; }
}
.theme-toggle, .menu-toggle { color: var(--ink); border: 1px solid var(--line); background: var(--surface-soft); border-radius: 10px; min-height: 40px; padding: 8px 12px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.theme-toggle > span:first-child { font-size: 18px; line-height: 1; }

/* Bandeaux : flou sur l’image seule, voile contrasté et texte sur un calque distinct. */
.page-intro { position: relative; isolation: isolate; overflow: hidden; background: #171b39; }
.page-intro::before { content: ''; position: absolute; inset: -12px; z-index: -2; background: var(--banner-image, url('transport.jpg')) center 52% / cover; filter: blur(3px); }
.page-intro::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,20,43,.94), rgba(14,20,43,.73)); }
.page-intro h1 { color: #fff; }
.page-intro .lead { color: #e2e6f2; }
body[data-page="a-propos.html"] { --banner-image: url('../banner-image.php'); }
body[data-page="services.html"] { --banner-image: url('transport.jpg'); }
body[data-page="blog.html"] { --banner-image: url('structures.jpg'); }
body[data-page="offres.html"] { --banner-image: url('personnel.jpg'); }
body[data-page="contact.html"] { --banner-image: url('audit.jpg'); }

/* Tablettes et mobiles : commandes visibles et navigation sous l’identité. */
@media (max-width: 1100px) {
  .brand-name strong { font-size: 19px; }
  .brand-name > span { font-size: 7px; letter-spacing: 1px; }
  nav a { padding: 9px; }
}
@media (max-width: 1000px) {
  .header-tools { order: 1; margin-left: auto; }
  nav { order: 2; }
}
@media (max-width: 480px) {
  .brand { gap: 8px; }
  .brand-symbol { width: 77px; height: 28px; }
  .brand .brand-symbol img { width: 260.1px; height: 60.02px; left: -22.06px; top: -14.88px; }
  .brand-name strong { font-size: 17px; }
  .brand-name > span { font-size: 6px; letter-spacing: .6px; }
  .theme-label { display: none; }
  .theme-toggle { padding: 8px 10px; }
  .menu-toggle { font-size: 12px; padding: 8px; }
  .header-tools { gap: 6px; }
  .nav-wrap { gap: 8px; min-height: 68px; }
}

/* Sous-menu des douze domaines : liens vers les descriptions complètes de la page Activités. */
.activity-menu { position: relative; display: flex; }
.activity-toggle { border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; padding: 10px 12px; border-radius: 25px; }
.activity-toggle[aria-current], .activity-toggle:hover, .activity-toggle[aria-expanded="true"] { color: var(--coral); background: var(--surface-soft); }
.activity-links { position: absolute; top: calc(100% + 12px); left: -80px; z-index: 20; width: 420px; max-height: min(65vh, 620px); overflow-y: auto; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 45px #0002; }
.activity-links a { display: block; white-space: normal; padding: 10px 13px; font-size: 13px; border-radius: 7px; }
.activity-links .all-activities { color: var(--coral); border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 5px; }
.service { scroll-margin-top: 24px; }
.service:target { outline: 2px solid var(--coral); outline-offset: 5px; }
@media (max-width: 1000px) {
  .activity-menu { display: block; }
  .activity-toggle { width: 100%; text-align: left; }
  .activity-links { position: static; width: auto; max-height: 360px; margin: 5px 8px; box-shadow: none; }
}

/* Navigation et accueil : ajustements de la charte et du bandeau. */
nav > a:hover, nav > a:focus-visible,
.activity-toggle:hover, .activity-toggle:focus-visible {
  background: var(--coral); color: var(--navy);
}
nav > a[aria-current]:hover::before,
nav > a[aria-current]:focus-visible::before { color: currentColor; }
.hero { height: auto; }
.hero-content { padding-top: 36px; padding-bottom: 32px; }
.hero-content .eyebrow { margin-bottom: 14px; }
.hero h1 { margin-bottom: 18px; }
.hero-content > p:not(.eyebrow) { margin-bottom: 18px; }
.hero .actions { margin-top: 20px; }
.hero .slide { object-position: 70% center; }
@media (max-width: 480px) {
  .hero-content { padding-top: 28px; padding-bottom: 28px; }
  .hero .slide { object-position: 82% center; }
}

/* Présentation après accueil : composition regroupée et espace maîtrisé. */
.home-introduction { padding: 44px 0; }
.home-introduction .split { gap: 32px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; padding: 28px 32px; border: 1px solid var(--line); border-left: 5px solid var(--coral); border-radius: 12px; background: var(--surface-soft); }
.home-introduction h2 { margin-bottom: 0; font-size: clamp(30px, 3vw, 42px); }
.home-introduction .eyebrow { margin-bottom: 12px; }
.home-introduction p { margin-bottom: 14px; }
.home-introduction .lead { font-size: 20px; line-height: 1.55; }
.contact-form-card { grid-column: 1 / -1; }
.contact-form-frame { width: 100%; height: 760px; border: 0; display: block; }
@media(max-width: 750px) { .home-introduction { padding: 28px 0; } .home-introduction .split { grid-template-columns: 1fr; padding: 24px; gap: 22px; } .contact-form-frame { height: 850px; } }

/* Contact : limiter le vide autour du formulaire sans déplacer les coordonnées. */
body[data-page="contact.html"] .page-intro { padding: 44px 0; }
body[data-page="contact.html"] main > .section { padding: 36px 0; }
body[data-page="contact.html"] .contact-form-card { padding: 28px; }
body[data-page="contact.html"] .contact-form-card h2 { margin-bottom: 16px; }
body[data-page="contact.html"] .contact-form-card .eyebrow { margin-bottom: 10px; }
body[data-page="contact.html"] footer { padding-top: 32px; }
@media(max-width: 750px) {
  body[data-page="contact.html"] .page-intro { padding: 32px 0; }
  body[data-page="contact.html"] main > .section { padding: 24px 0; }
  body[data-page="contact.html"] .contact-form-card { padding: 20px; }
}

/* Pied de page commun, bleu marine dans les deux thèmes. */
footer {
  --muted: #b9bfd3;
  --line: #363c5b;
  background: #171b3f;
  color: #b9bfd3;
  padding: 56px 0 20px;
}
footer .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .75fr) minmax(0, 2.1fr); gap: 48px; }
footer strong, footer .brand-name strong { color: #fff; }
footer .brand { flex-wrap: wrap; gap: 12px; }
footer .brand-name > span { color: #b9bfd3; }
footer .footer-intro > p { margin-top: 22px; }
footer p { color: #b9bfd3; margin: 16px 0 0; }
footer .footer-navigation ul { list-style: none; padding: 0; margin: 16px 0 0; }
footer .footer-navigation li + li { margin-top: 12px; }
footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
footer .brand:hover { text-decoration: none; }
footer .footer-contact { min-width: 0; overflow-wrap: anywhere; }
footer .fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; margin-top: 42px; padding-top: 20px; border-color: #363c5b; }
@media (max-width: 1000px) {
  footer .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  footer .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  footer .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  footer .footer-contact { grid-column: auto; }
  footer .fine { flex-direction: column; margin-top: 30px; }
}

/* Accueil : appel à l’action clair, distinct du pied de page. */
body[data-page="index.html"] .cta { background: #f7f8fc; color: #191e3c; }
body[data-page="index.html"] .cta .eyebrow { color: #ad3527; }
body[data-page="index.html"] .cta .button { background: #ff604c; border-color: #ff604c; color: #191e3c; }
body[data-page="index.html"] .cta .button:hover { background: #ff9b87; border-color: #ff9b87; }
body[data-page="index.html"] .cta .button:focus-visible { outline-color: #191e3c; }

/* Actualités : photo et mentions du bandeau de référence. */
body[data-page="blog.html"] { --banner-image: url('actualites-chantier.jpg'); }
body[data-page="blog.html"] .news-intro { min-height: 370px; padding: 100px 0 48px; display: flex; align-items: flex-end; }
body[data-page="blog.html"] .news-intro::before { inset: 0; background-position: center 60%; filter: none; }
body[data-page="blog.html"] .news-intro::after { background: linear-gradient(90deg, rgba(12,18,39,.96) 0%, rgba(12,18,39,.82) 58%, rgba(12,18,39,.48) 100%); }
.news-intro .eyebrow { display: flex; align-items: center; gap: 14px; color: #ffb29f; }
.news-intro .eyebrow::before { content: ''; width: 28px; height: 2px; background: #ff604c; }
.news-intro h1 { margin-bottom: 20px; }
.news-highlights { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 22px 0 0; padding: 0; color: #edf0fa; font-size: 14px; font-weight: 700; }
.news-highlights li { display: flex; align-items: baseline; gap: 10px; }
.news-highlights li::before { content: '✓'; color: #ffb29f; }
@media (max-width: 600px) {
  body[data-page="blog.html"] .news-intro { min-height: 350px; padding: 64px 0 36px; }
  body[data-page="blog.html"] .news-intro::before { background-position: 65% center; }
  .news-highlights { gap: 10px 20px; }
}

/* Emploi : bandeau et espace de candidature. */
body[data-page="offres.html"] { --banner-image: url('emploi-recrutement.jpg'); }
body[data-page="offres.html"] .jobs-intro { padding: 90px 0 42px; min-height: 400px; }
body[data-page="offres.html"] .jobs-intro::before { inset: 0; filter: none; background-position: center 56%; }
body[data-page="offres.html"] .jobs-intro::after { background: linear-gradient(90deg,rgba(11,17,38,.97),rgba(11,17,38,.86) 58%,rgba(11,17,38,.52)); }
.jobs-intro .eyebrow { display: flex; align-items: center; gap: 14px; color: #ffb29f; }
.jobs-intro .eyebrow::before { content: ''; width: 28px; height: 2px; background: #ff604c; }
.jobs-intro h1 { max-width: 1000px; font-size: clamp(34px,4vw,54px); line-height: 1.16; margin-bottom: 20px; }
.jobs-intro .jobs-accent { color: #ff9b87; }
.jobs-intro .lead { max-width: 1000px; font-size: 18px; }
.jobs-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; max-width: 650px; margin-top: 24px; }
.jobs-stats > div { padding: 12px; border: 1px solid #ffffff26; background: #ffffff14; border-radius: 12px; }
.jobs-stats strong { display: block; font-size: 24px; line-height: 1.3; color: #fff; }
.jobs-stats span { display: block; font-size: 12px; font-weight: 700; color: #edf0fa; }
.jobs-section { padding: 48px 0 64px; }
.jobs-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 30px; align-items: start; }
.jobs-main, .jobs-sidebar { min-width: 0; }
.jobs-section .eyebrow { color: #ad3527; font-size: 10px; margin-bottom: 14px; }
.jobs-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.jobs-heading h2 { font-size: clamp(25px,3vw,32px); margin: 0; }
.jobs-main > h3 { font-size: 21px; margin-bottom: 18px; }
.jobs-result { flex-shrink: 0; padding: 6px 12px; border-radius: 24px; background: var(--surface-soft); color: var(--muted); font-size: 12px; font-weight: 700; }
.jobs-empty { border: 1px solid var(--line); border-radius: 18px; padding: 36px 24px; text-align: center; background: var(--surface-soft); }
.jobs-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: #fff2ee; color: #d7422e; margin-bottom: 18px; }
.jobs-icon svg { width: 26px; height: 26px; }
.jobs-empty h2 { font-size: 25px; margin-bottom: 18px; }
.jobs-empty p { color: var(--muted); max-width: 570px; margin: 0 auto 24px; font-size: 14px; }
.jobs-section .button { background: #c43d2a; border-color: #c43d2a; color: #fff; gap: 12px; font-size: 12px; }
.jobs-section .button:hover { background: #a93121; border-color: #a93121; }
.jobs-sidebar { display: grid; gap: 18px; }
.jobs-advice, .jobs-spontaneous { border-radius: 18px; padding: 22px; }
.jobs-advice { background: var(--surface-soft); border: 1px solid var(--line); }
.jobs-advice .jobs-icon { background: var(--surface); }
.jobs-sidebar h2 { font-size: 23px; line-height: 1.35; margin-bottom: 18px; }
.jobs-advice ul { list-style: none; padding: 0; margin: 0; }
.jobs-advice li { display: flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: 13px; }
.jobs-advice li + li { margin-top: 14px; }
.jobs-advice li::before { content: '✓'; color: #c43d2a; }
.jobs-spontaneous { background: #171b3f; color: #fff; }
.jobs-spontaneous h2 { color: #fff; }
.jobs-spontaneous .eyebrow { color: #ffb29f; }
.jobs-spontaneous .jobs-icon { background: #ffffff14; color: #ffb29f; }
.jobs-spontaneous > p:not(.eyebrow) { color: #d0d5e7; font-size: 14px; }
.jobs-list { display: grid; gap: 18px; }
.jobs-list .service { border-radius: 16px; overflow: hidden; }
@media(max-width: 900px) { .jobs-layout { grid-template-columns: minmax(0,1fr); } .jobs-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 600px) { body[data-page="offres.html"] .jobs-intro { padding: 60px 0 32px; } .jobs-sidebar { grid-template-columns: minmax(0,1fr); } .jobs-stats span { font-size: 10px; } .jobs-stats > div { padding: 10px 8px; } .jobs-heading { align-items: start; } .jobs-section { padding: 32px 0; } .jobs-empty { padding: 28px 18px; } }

/* Actualités récentes et partenaires de l’accueil. */
.home-news .eyebrow { color: #ad3527; }
.home-news-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.home-news-heading h2 { margin-bottom: 14px; }
.home-news-heading p { color: var(--muted); margin-bottom: 0; }
.news-all { flex-shrink: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 700; }
.news-all:hover { background: var(--surface-soft); }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.news-card { min-width: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: 0 6px 20px #171b3908; display: flex; flex-direction: column; }
.news-card > img { display: block; width: 100%; height: auto; aspect-ratio: 2.1; object-fit: cover; }
.news-card-body { padding: 24px 20px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.news-card time { color: #ad3527; text-transform: uppercase; font-size: 11px; font-weight: 700; margin-bottom: 14px; }
.news-card h3 { font-size: 21px; line-height: 1.3; margin-bottom: 14px; }
.news-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 26px; }
.news-card a { color: #ad3527; font-size: 14px; font-weight: 700; margin-top: auto; }
.news-card a:hover { text-decoration: underline; }
.home-news-empty { grid-column: 1/-1; padding: 28px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 16px; color: var(--muted); margin: 0; }
.home-partners { background: var(--surface-soft); padding: 48px 0; text-align: center; }
.home-partners .eyebrow { color: #ad3527; font-size: 13px; line-height: 1.5; letter-spacing: 2px; }
.home-partners p { color: var(--muted); }
.partner-logos { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 16px; padding: 0; margin: 24px 0 0; list-style: none; }
.partner-logos li { min-width: 0; height: 100px; padding: 18px; border: 1px solid #e0e5ef; border-radius: 15px; background: #fff; display: flex; align-items: center; justify-content: center; }
.partner-logos img { width: 100%; height: 65px; object-fit: contain; }
.news-detail { padding-top: 48px; padding-bottom: 64px; max-width: 900px; }
.news-detail h1 { font-size: clamp(30px,4vw,48px); margin-top: 28px; }
.news-detail > img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 16px; margin-bottom: 28px; }
.news-detail-body { overflow-wrap: anywhere; }
:root[data-theme="dark"] .news-card time, :root[data-theme="dark"] .news-card a, :root[data-theme="dark"] .home-news .eyebrow, :root[data-theme="dark"] .home-partners .eyebrow { color: #ff9b87; }
@media(max-width: 1000px) { .partner-logos { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(max-width: 750px) { .news-grid { grid-template-columns: minmax(0,1fr); } .home-news-heading { flex-direction: column; align-items: flex-start; } .partner-logos { grid-template-columns: repeat(2,minmax(0,1fr)); } .home-partners { padding: 36px 0; } }

/* À propos : présentation, vision et coordonnées. */
body[data-page="a-propos.html"] .about-intro { padding: 64px 0; }
.about-intro h1 { max-width: 1000px; }
.about-intro .lead { max-width: 850px; }
.about-presentation { padding: 64px 0; }
.about-company-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 48px; align-items: start; }
.about-copy h2, .about-vision h2 { font-size: clamp(28px,3vw,38px); line-height: 1.2; }
.about-copy p:not(.eyebrow), .about-vision p:not(.eyebrow) { color: var(--muted); line-height: 1.85; }
.about-copy .about-lead, .about-vision .about-lead { font-size: 19px; color: var(--ink); }
.about-services-link { color: #ad3527; font-weight: 700; display: inline-block; }
.about-services-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-illustration { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-soft); }
.about-illustration img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 55% center; border-radius: 14px; }
.about-illustration figcaption { padding: 14px 8px 4px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.about-direction { background: var(--surface-soft); padding: 56px 0; }
.about-direction-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 48px; align-items: start; }
.about-contact { min-width: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid #ff604c; border-radius: 18px; }
.about-contact h2 { font-size: 27px; line-height: 1.25; }
.about-contact dl { margin: 0 0 24px; }
.about-contact dt { font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 18px; }
.about-contact dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.about-contact dd a:hover { color: var(--ink); text-decoration: underline; }
.about-contact .button { background: #c43d2a; border-color: #c43d2a; color: #fff; }
.about-contact .button:hover { background: #a93121; border-color: #a93121; }
.about-presentation .eyebrow, .about-direction .eyebrow { color: #ad3527; }
:root[data-theme="dark"] .about-services-link, :root[data-theme="dark"] .about-presentation .eyebrow, :root[data-theme="dark"] .about-direction .eyebrow { color: #ff9b87; }
@media(max-width: 900px) { .about-company-grid, .about-direction-grid { grid-template-columns: minmax(0,1fr); gap: 30px; } .about-illustration img { aspect-ratio: 16/9; object-position: center 45%; } }
@media(max-width: 600px) { body[data-page="a-propos.html"] .about-intro { padding: 40px 0; } .about-presentation, .about-direction { padding: 36px 0; } .about-contact { padding: 22px; } .about-copy .about-lead, .about-vision .about-lead { font-size: 17px; } }

/* Découverte des publications sous le bandeau Actualités. */
.publications-section { padding: 44px 0 64px; }
.publications-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 28px; align-items: start; }
.publications-main { min-width: 0; }
.publications-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.publications-heading h2 { font-size: 29px; margin: 0; }
.publications-section .eyebrow { color: #ad3527; font-size: 10px; margin-bottom: 10px; }
.publication-search { width: 250px; flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--muted); }
.publication-search input { display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; color: var(--ink); background: var(--surface); }
.publication-search input:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.publication-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.publication-categories button { border: 1px solid var(--line); border-radius: 24px; padding: 8px 12px; font-size: 11px; font-weight: 700; background: var(--surface); color: var(--muted); }
.publication-categories button[aria-pressed="true"] { background: #202752; color: #fff; border-color: #202752; }
.publication-count { text-align: right; color: var(--muted); font-size: 11px; margin-bottom: 14px; }
.publication-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.publication-list .news-card.is-featured { grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); }
.publication-list .news-card.is-featured > img { height: 100%; min-height: 300px; aspect-ratio: auto; }
.publication-list .news-card.is-featured:not(:has(> img)) { grid-template-columns: minmax(0,1fr); }
.publication-list .is-featured h3 { font-size: 27px; }
.publication-list .news-card-body { padding: 24px; }
.publication-list .news-card[hidden] { display: none; }
.publication-category { background: #fff2ee; color: #ad3527; padding: 4px 8px; border-radius: 7px; font-size: 10px; font-weight: 700; margin-bottom: 16px; }
.publication-reading { color: var(--muted); font-size: 11px; margin-bottom: 18px; }
.publication-empty, .publication-no-results { grid-column: 1/-1; border: 1px solid var(--line); border-radius: 18px; padding: 40px 28px; background: var(--surface-soft); }
.publication-empty h2 { font-size: 27px; }
.publication-empty p:not(.eyebrow) { color: var(--muted); }
.publications-sidebar { display: grid; gap: 16px; }
.publication-panel { padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.publication-panel h2 { font-size: 21px; line-height: 1.3; margin-bottom: 16px; }
.publication-panel p:not(.eyebrow) { font-size: 13px; color: var(--muted); }
.publication-panel a:not(.button) { font-size: 12px; color: #ad3527; font-weight: 700; }
.publication-panel a:hover { text-decoration: underline; }
#publication-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
#publication-timeline li { position: relative; padding: 0 0 18px 8px; font-size: 12px; color: var(--muted); }
#publication-timeline li:last-child { padding-bottom: 0; }
#publication-timeline li::before { content: ''; position: absolute; left: -21px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); }
#publication-timeline time { display: block; font-size: 10px; margin-bottom: 6px; }
#publication-timeline a { color: var(--ink); }
.publication-expertise { background: var(--surface-soft); }
.publication-contact { background: #171b3f; border-color: #171b3f; color: #fff; }
.publication-contact h2 { color: #fff; }
.publication-contact .eyebrow { color: #ffb29f; }
.publication-contact p:not(.eyebrow) { color: #d0d5e7; }
.publication-contact .button { color: #fff; background: #c43d2a; border-color: #c43d2a; font-size: 12px; }
.publication-contact .button:hover { background: #a93121; }
:root[data-theme="dark"] .publications-section .eyebrow, :root[data-theme="dark"] .publication-panel a:not(.button) { color: #ff9b87; }
@media(max-width: 1050px) { .publications-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 20px; } .publications-heading { flex-direction: column; align-items: flex-start; } .publication-search { width: 100%; } .publication-list .news-card.is-featured { display: flex; } .publication-list .news-card.is-featured > img { min-height: 0; height: auto; aspect-ratio: 2.1; } }
@media(max-width: 800px) { .publications-layout { grid-template-columns: minmax(0,1fr); } .publications-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 550px) { .publication-list, .publications-sidebar { grid-template-columns: minmax(0,1fr); } .publications-section { padding: 32px 0; } .publication-list .news-card-body { padding: 20px; } }

/* Espace pour les commandes lorsque plusieurs slides sont publiés. */
.hero--carousel .hero-content { padding-bottom: 88px; }
.hero--carousel .carousel-controls { z-index: 2; flex-wrap: wrap; gap: 10px; }
.public-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:28px 0;padding:18px;border:1px solid #dfe5ee;border-radius:12px;background:#fff}.public-pagination span{margin-right:auto;color:#68758a;font-size:14px}.public-pagination a{padding:10px 16px;border-radius:7px;background:#202752;color:#fff;text-decoration:none}.publication-categories form{display:flex;flex-wrap:wrap;gap:9px}.publication-search-form{display:flex;gap:8px;align-items:flex-end}.publication-search-form button{padding:11px 14px;border-radius:7px;border:1px solid #202752;background:#202752;color:white;cursor:pointer}.news-detail-body .news-body-image{display:block;width:100%;height:auto;max-height:650px;object-fit:contain;margin:30px auto;border-radius:12px}.public-pagination a:focus-visible,.publication-search-form button:focus-visible{outline:3px solid #e56b24;outline-offset:3px}
@media(max-width:650px){.publication-search-form{width:100%;flex-wrap:wrap}.publication-search-form label{flex:1;min-width:180px}.public-pagination span{flex-basis:100%}}
