/* style.css — feuille unique du site public INAS. Un titre d'une ligne par bloc ; les règles des pages suivent l'ordre du menu. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-weight: 400; color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(93%, 1900px); margin: 0 auto; padding: 0 24px; }
.btn { display: inline-block; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; padding: 13px 28px; border-radius: var(--radius-pill); transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease; cursor: pointer; border: 1.5px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.top-link { padding: 0; border: none; background: none; font-family: var(--font-sans); font-size: clamp(0.8rem, 0.74vw, 0.95rem); font-weight: 600; color: var(--navy-700); cursor: pointer; transition: color 0.15s ease; }
.top-link:hover { color: var(--red); }
.nav-menu > .nav-item > .nav-link { display: inline-block; padding: 6px 0; border: none; background: none; font-family: var(--font-sans); cursor: pointer; transition: color 0.15s ease; }
.nav-menu > .nav-item > .nav-link:hover { color: var(--red); }
.nav-item.is-hovered > .nav-link, .nav-item.is-hovered > .top-link { color: var(--red); }
.submenu--colonnes { align-items: flex-start; gap: 64px; }
.submenu-col { text-align: center; }
.submenu-col ul { list-style: none; }
.submenu-titre { font-size: 1rem; font-weight: 700; color: var(--navy-700); margin-bottom: 14px; transition: color 0.15s ease; }
.submenu-titre:hover { color: var(--red); }
.submenu-col li { margin-bottom: 10px; }
.submenu-col a { max-width: 260px; }
.submenu { position: absolute; top: 100%; left: 0; right: 0; display: flex; justify-content: center; gap: 44px; padding: 30px 24px; background: #fff; box-shadow: 0 18px 26px -12px rgba(6, 26, 51, 0.20), 0 44px 64px rgba(6, 26, 51, 0.14); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity 0.3s ease-out, transform 0.3s ease-out; }
.submenu::before { content: ''; position: absolute; top: -22px; left: 0; right: 0; height: 22px; }
.submenu li { opacity: 0; transform: translateY(-10px); transition: opacity 0.2s ease-out 0.15s, transform 0.2s ease-out 0.15s; }
.submenu a { display: inline-block; padding: 4px 0; font-size: 0.95rem; font-weight: 500; color: var(--ink-2); transition: color 0.15s ease; }
.submenu a:hover { color: var(--red); }
.nav-item.has-submenu.is-hovered .submenu, .nav-item.has-submenu:hover .submenu, .nav-item.has-submenu:focus-within .submenu { opacity: 1; transform: none; pointer-events: all; }
.nav-item.has-submenu.is-hovered .submenu li, .nav-item.has-submenu:hover .submenu li, .nav-item.has-submenu:focus-within .submenu li { opacity: 1; transform: none; }
.nav-toggle { display: none; }
.hero { color: #fff; position: relative; overflow: hidden; }
.hero::before { content: none; }
.hero-inner { position: relative; display: grid; align-items: center; }
.hero-title { letter-spacing: -0.015em; }
@media (max-height: 820px) {
  .hero-inner { padding-top: 56px; padding-bottom: 64px; gap: 46px; }
  .hero-title { margin-bottom: 20px; }
}
@keyframes apparition-gauche-droite {from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); }}
.hero-title-soft, .hero-title-strong, .hero-lede { clip-path: inset(0 100% 0 0); padding-right: 0.08em; animation: apparition-gauche-droite 1s cubic-bezier(0.22, 0.7, 0.2, 1) forwards; }
.hero-title-soft { display: block; font-style: italic; font-weight: 300; }
.hero-title-strong { display: block; font-style: normal; animation-delay: 0.45s; }
.hero-lede { animation-delay: 0.9s; }
@media (prefers-reduced-motion: reduce) {
  .hero-title-soft, .hero-title-strong, .hero-lede { clip-path: none; animation: none; }
}
.hero-lede { font-weight: 300; color: rgba(255, 255, 255, 0.88); }
.section { padding: 90px 0; }
.dualtech { background: radial-gradient(ellipse 55% 65% at 80% 50%, rgba(200, 16, 46, 0.22), transparent), linear-gradient(150deg, var(--navy-900), var(--navy-800)); color: #fff; position: relative; overflow: hidden; }
.dualtech::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, #000 20%, transparent 70%); }
.site-footer { background: var(--navy-900); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .submenu, .submenu li { transition: none; }
}
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-lede { max-width: none; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav-item { width: 100%; }
  .nav-menu > .nav-item > .nav-link { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; width: 100%; text-align: left; border-bottom: 1px solid var(--bg); }
  .has-submenu > .nav-link::after, .has-submenu > .top-link::after { content: '▾'; font-size: 0.7em; opacity: 0.55; transition: transform 0.2s ease; }
  .nav-item.is-open > .nav-link::after, .nav-item.is-open > .top-link::after { transform: rotate(180deg); }
  .submenu { position: static; display: none; flex-direction: column; gap: 0; width: auto; padding: 0 0 6px 16px; border-top: none; box-shadow: none; opacity: 1; transform: none; pointer-events: all; }
  .submenu::before { display: none; }
  .submenu li { opacity: 1; transform: none; }
  .submenu a { display: block; width: 100%; padding: 9px 0; }
  .nav-item.has-submenu.is-open .submenu { display: flex; }
  .top-link { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; width: 100%; text-align: left; font-size: 0.85rem; }
  .submenu--colonnes { gap: 0; }
  .submenu-col { text-align: left; width: 100%; }
  .submenu-titre { margin: 10px 0 4px; font-size: 0.9rem; }
  .submenu-col a { max-width: none; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; background: none; border: none; cursor: pointer; align-items: center; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-700); transition: transform 0.2s ease, opacity 0.2s ease; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 720px) {
  .hero-inner { padding: 70px 24px 90px; }
  .section { padding: 60px 0; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@keyframes oracle-pulse {0%, 100% { background: var(--navy-100); } 50% { background: var(--navy-700); }}
.orc { position: relative; }
.orc-suggs { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.38s ease, opacity 0.3s ease; }
.orc-suggs-inner { overflow: hidden; visibility: hidden; }
.orc.is-active .orc-suggs { grid-template-rows: 1fr; opacity: 1; }
.orc.is-active .orc-suggs-inner { visibility: visible; }
.orc-hint { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 10px; }
.orc-sugg-list { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; }
.orc-sugg { min-height: 40px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.06); font-family: var(--font-sans); font-size: 0.86rem; color: rgba(255, 255, 255, 0.85); text-align: left; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.orc-sugg:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.5); transform: translateY(-1px); }
.orc-bar { display: flex; align-items: center; gap: 12px; border: none; overflow: hidden; background: #fff; box-shadow: 0 14px 30px rgba(6, 26, 51, 0.28); }
.orc-icon { display: none; }
.orc-input { flex: 1; height: 100%; border: none; background: none; font-family: var(--font-sans); color: var(--ink); }
.orc-input::placeholder { color: var(--ink-3); }
.orc-input:focus { outline: none; }
.orc-send { flex: none; border: none; background: var(--red); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease; }
.orc-send:hover { background: var(--red-dark); }
.orc-send:disabled { opacity: 0.5; cursor: default; transform: none; }
.orc-thread:not(:empty) { margin-top: 18px; }
.orc-msg { margin-bottom: 14px; }
.orc-msg-text { font-size: 0.95rem; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.orc-msg--user .orc-msg-text { font-weight: 600; padding-left: 12px; border-left: 2px solid var(--red); }
.orc-sources { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.orc-sources-title { width: 100%; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.orc-source { display: inline-flex; align-items: baseline; gap: 8px; min-height: 36px; padding: 7px 13px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius-pill); font-size: 0.82rem; color: rgba(255, 255, 255, 0.9); transition: border-color 0.15s ease, background 0.15s ease; }
.orc-source:hover { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); }
.orc-source-type { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #FF7A8C; }
.orc-loading { display: flex; gap: 5px; padding: 6px 0 12px; }
.orc-loading span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.35; animation: orc-pulse 1s ease-in-out infinite; }
.orc-loading span:nth-child(2) { animation-delay: 0.15s; }
.orc-loading span:nth-child(3) { animation-delay: 0.3s; }
@keyframes orc-pulse {0%, 100% { opacity: 0.25; } 50% { opacity: 1; }}
.orc-thread .orc-loading { color: #fff; }
.orc-dock-thread .orc-loading { color: var(--navy-700); }
.orc-dock { position: fixed; right: 24px; bottom: 24px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; }
.orc-dock.is-visible { opacity: 1; transform: none; pointer-events: all; }
.orc-dock-bubble { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 12px 20px; border: none; border-radius: var(--radius-pill); background: var(--navy-700); color: #fff; font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; cursor: pointer; box-shadow: 0 12px 30px rgba(6, 26, 51, 0.3); transition: background 0.15s ease, transform 0.15s ease; }
.orc-dock-bubble svg { width: 17px; height: 17px; }
.orc-dock-bubble:hover { background: var(--navy-800); transform: translateY(-2px); }
.orc-dock.is-open .orc-dock-bubble { display: none; }
.orc-dock-panel { display: none; flex-direction: column; width: 380px; max-height: 70vh; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(6, 26, 51, 0.28); overflow: hidden; }
.orc-dock.is-open .orc-dock-panel { display: flex; }
.orc-dock-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--navy-700); color: #fff; }
.orc-dock-title { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.orc-dock-close { width: 30px; height: 30px; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.15); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.orc-dock-close:hover { background: rgba(255, 255, 255, 0.28); }
.orc-dock-thread { flex: 1; overflow-y: auto; padding: 16px 18px; min-height: 90px; }
.orc-dock-thread:empty::after { content: "Posez votre question sur le dual use, les travaux ou les programmes de l'INAS."; display: block; font-size: 0.88rem; color: var(--ink-3); }
.orc-dock-thread .orc-msg-text { color: var(--ink); font-size: 0.9rem; }
.orc-dock-thread .orc-sources-title { color: var(--ink-3); }
.orc-dock-thread .orc-source { border-color: var(--line); color: var(--ink); font-size: 0.78rem; }
.orc-dock-thread .orc-source:hover { border-color: var(--navy-700); background: var(--bg); }
.orc-dock-thread .orc-source-type { color: var(--red); }
.orc-dock-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.orc-dock-input { flex: 1; height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--bg); font-family: var(--font-sans); font-size: 0.9rem; color: var(--ink); }
.orc-dock-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12); }
.orc-dock-send { width: 42px; height: 42px; flex: none; border: none; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.orc-dock-send svg { width: 17px; height: 17px; }
.orc-dock-send:hover { background: var(--red-dark); }
@media (prefers-reduced-motion: reduce) {
  .orc-suggs, .orc-dock, .orc-sugg, .orc-send, .orc-dock-bubble { transition: none; }
  .orc-loading span { animation: none; opacity: 0.6; }
}
@media (max-width: 720px) {
  .orc-dock { right: 12px; bottom: 12px; left: 12px; align-items: stretch; }
  .orc-dock-panel { width: auto; max-height: 65vh; }
  .orc-sugg { font-size: 0.82rem; }
}
.pubs { overflow: hidden; }
.pubs-title { color: #fff; text-align: center; letter-spacing: -0.02em; }
.pubs-sub { text-align: center; line-height: 1.4; }
.pubs-carrousel { position: relative; }
.pubs-fenetre { overflow: hidden; margin: 0 -80px; padding: 10px 0 24px; }
.pubs-piste { display: flex; align-items: center; gap: 26px; transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.3, 1); will-change: transform; }
.pub { flex: 0 0 300px; transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.3, 1), opacity 0.45s ease; transform: scale(0.86); opacity: 0.45; }
.pub.est-active { transform: scale(1); opacity: 1; }
.pubs-fleche { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; background: rgba(6, 26, 51, 0.4); color: #fff; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease, border-color 0.15s ease; }
.pubs-fleche:hover { background: var(--red); border-color: var(--red); }
.pubs-fleche--prev { left: 4%; }
.pubs-fleche--next { right: 4%; }
.pubs-points { display: flex; justify-content: center; gap: 9px; margin-top: 20px; }
.pubs-point { padding: 0; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.35); transition: background 0.2s ease, transform 0.2s ease; }
.pubs-point.est-active { background: #fff; transform: scale(1.3); }
.dt-carte { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: center; border-radius: 22px; padding: 52px 54px; box-shadow: var(--shadow-carte); }
/* Bloc DualTech : le logo officiel (blanc, T rouge) à la place du titre texte */
.dt-logo { display: block; width: min(100%, 300px); height: auto; margin-bottom: 26px; }
.dt-texte { font-size: 1.18rem; font-weight: 600; line-height: 1.5; color: #fff; margin-bottom: 28px; }
.dt-texte strong { color: var(--blue-soft); font-weight: 600; }
.dt-video { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: radial-gradient(ellipse 70% 70% at 60% 40%, rgba(143, 179, 232, 0.28), transparent), linear-gradient(150deg, #123A5C, #061C33); padding: 18px; color: #fff; }
.dt-play { display: inline-flex; margin-right: 10px; }
.dt-play svg { width: 30px; height: 30px; }
.dt-play-label { font-size: 0.95rem; font-weight: 500; line-height: 30px; }
.dt-video:hover .dt-play { color: var(--red); }
.projet-section { background: #fff; }
.projet-carte { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; border-radius: 22px; padding: 52px 54px; box-shadow: var(--shadow-carte); }
.projet-titre { font-size: clamp(1.5rem, 2.4vw, 2.7rem); line-height: 1.25; margin-bottom: 20px; }
.accent-rouge { color: var(--red); }
.projet-texte { font-size: 1rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 26px; }
.projet-visuel img { width: 100%; height: auto; }
@media (max-width: 992px) {
  .dt-carte, .projet-carte { grid-template-columns: 1fr; gap: 32px; padding: 34px 26px; }
  .pubs-fenetre { margin: 0 -20px; }
  .pubs-fleche--prev { left: 0; }
  .pubs-fleche--next { right: 0; }
}
@media (max-width: 720px) {
  .pub { flex: 0 0 250px; }
  .pubs { padding: 60px 0 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .pubs-piste, .pub { transition: none; }
}
:root { --navy-900: #061A33; --navy-800: #082647; --navy-700: #0A3161; --navy-100: #DCE6F5; --blue-soft: #8FB3E8; --red: #C8102E; --red-dark: #A60D26; --bg: #F6F8FB; --surface: #FFFFFF; --ink: #0E1F38; --ink-2: #292e38; --ink-3: #292e38; --line: #DCE3ED; --radius: 12px; --radius-pill: 999px; --font-mono: 'JetBrains Mono', ui-monospace, monospace; --container: 1180px; --shadow-carte: 0 10px 20px -8px rgba(6, 26, 51, 0.14), 0 30px 60px rgba(6, 26, 51, 0.14); --shadow: 0 10px 30px rgba(10, 49, 97, 0.08); --font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif; --font-serif: 'Playfair Display', Georgia, serif; --navy-carte: #0F2350; }
body { background: #fff; }
.etiquette { display: table; margin: 0 auto 14px; padding: 5px 14px; border-radius: var(--radius-pill); background: #EEF1F7; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-700); }
.etiquette--sombre { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.85); }
.submenu { list-style: none; }
@media (min-width: 993px) {
  .nav-item.has-submenu:not(.is-hovered) .submenu { opacity: 0; transform: translateY(-10px); pointer-events: none; }
  .nav-item.has-submenu:not(.is-hovered) .submenu li { opacity: 0; transform: translateY(-10px); }
  .nav-link:focus:not(:focus-visible) { outline: none; }
  .has-submenu > .nav-link::after { content: ''; display: inline-block; margin: 0 0 3px 8px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
}
.hero { --hero-voile: 0.82; background: linear-gradient(to bottom, transparent 55%, var(--navy-900)), linear-gradient(90deg, rgba(6, 26, 51, 0.88) 0%, rgba(6, 26, 51, 0.55) 55%, rgba(6, 26, 51, 0.3) 100%), url('../img/hero-globe.jpg') center / cover no-repeat, linear-gradient(160deg, var(--navy-800), var(--navy-900)); }
.hero-inner { min-height: clamp(620px, 92vh, 900px); grid-template-columns: minmax(0, 900px); align-content: center; gap: 0; padding: 150px 24px 90px; }
.hero-title { font-size: clamp(2.2rem, 3.6vw, 4.2rem); line-height: 1.32; margin-bottom: 26px; }
.hero-title-strong { font-weight: 700; }
.hero-title-soft { max-width: 11.3em; }
.hero-lede { font-size: clamp(0.92rem, 1.05vw, 1.15rem); font-style: italic; max-width: 62ch; line-height: 1.75; }
.orc { padding: 0; max-width: 470px; margin-top: 56px; }
.orc-bar { height: 50px; padding: 0 0 0 18px; border-radius: 6px; }
.orc-input { font-size: 0.88rem; }
.orc-send { width: 56px; height: 100%; border-radius: 0; }
.orc-send svg { width: 18px; height: 18px; }
.pubs { background: var(--navy-900); padding: 70px 0 70px; }
.pubs-title { margin-bottom: 40px; font-size: clamp(2rem, 3vw, 3.4rem); font-weight: 700; }
.pubs-sub { font-size: 0.98rem; font-weight: 400; color: rgba(255, 255, 255, 0.7); margin: 8px 0 40px; }
.pubs-fleche { cursor: pointer; width: 36px; height: 36px; }
.pubs-fleche svg { width: 16px; height: 16px; }
.pubs-point { cursor: pointer; width: 7px; height: 7px; }
.projet-section { padding: 100px 0 40px; }
.projet-carte { background: #F4F6FA; }
.projet-titre { color: var(--navy-900); font-weight: 700; }
.dt-section { background: #fff; padding: 40px 0 90px; }
.dt-carte { background: var(--navy-carte); }
.part-section { background: #fff; padding: 40px 0 110px; text-align: center; }
.part-titre { font-size: clamp(1.8rem, 2.6vw, 2.8rem); font-weight: 700; color: var(--navy-900); letter-spacing: -0.01em; }
.part-sub { max-width: 60ch; margin: 10px auto 40px; font-size: 0.95rem; color: var(--ink-3); }
.part-bandeau { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: #F4F6FA; }
.part-fleche { flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy-900); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease; }
.part-fleche svg { width: 16px; height: 16px; }
.part-fleche:hover { background: var(--red); border-color: var(--red); color: #fff; }
.part-liste { flex: 1; display: flex; gap: 16px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.part-liste::-webkit-scrollbar { display: none; }
.part-logo { flex: 0 0 calc((100% - 5 * 16px) / 6); min-width: 140px; height: 92px; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; padding: 14px 20px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(6, 26, 51, 0.06); }
.part-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
@media (max-width: 1200px) {
  .part-logo { flex-basis: calc((100% - 3 * 16px) / 4); }
}
@media (max-width: 992px) {
  .hero-inner { padding: 120px 24px 70px; min-height: 0; }
}
@media (max-width: 720px) {
  .part-logo { flex-basis: calc((100% - 16px) / 2); min-width: 0; }
  .part-bandeau { padding: 12px; gap: 8px; }
}
.etiquette--gauche { margin-left: 0; margin-right: 0; }
.travaux-hero .etiquette { text-transform: none; letter-spacing: 0; font-size: 0.72rem; }
.travaux-hero { background: linear-gradient(90deg, rgba(6, 26, 51, 0.92) 0%, rgba(6, 26, 51, 0.72) 55%, rgba(6, 26, 51, 0.55) 100%), url('../img/travaux-banniere.jpg') center / cover no-repeat, url('../img/hero-globe.jpg') center / cover no-repeat, var(--navy-900); color: #fff; }
.travaux-hero-inner { padding: 64px 24px 56px; }
.travaux-titre { font-size: clamp(2rem, 3.2vw, 3.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 18px; }
.travaux-lede { max-width: 64ch; font-size: clamp(0.92rem, 1vw, 1.08rem); font-style: italic; font-weight: 300; line-height: 1.7; color: rgba(255, 255, 255, 0.88); }
.travaux-tri select { font-family: var(--font-sans); font-size: 0.76rem; font-weight: 600; color: var(--navy-900); }
.travaux-tri { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 0.76rem; font-weight: 600; color: var(--navy-900); }
.travaux-tri select { appearance: none; -webkit-appearance: none; cursor: pointer; border: none; background: none; padding: 4px 0; field-sizing: content; }
.travaux-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.travail { position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.travail[hidden] { display: none; }
.travail:hover { box-shadow: 0 14px 30px rgba(6, 26, 51, 0.1); transform: translateY(-3px); }
.travail-visuel { aspect-ratio: 16 / 8.5; }
.travail-visuel--a { background: radial-gradient(circle at 70% 40%, #9DB4D6, transparent 55%), linear-gradient(135deg, #DCE3EE, #7B8FAE); }
.travail-visuel--b { background: radial-gradient(circle at 40% 50%, #6FA8E8, transparent 50%), linear-gradient(135deg, #0E3A6E, #061A33); }
.travail-visuel--c { background: radial-gradient(circle at 75% 35%, #C8102E55, transparent 45%), linear-gradient(135deg, #2A3F5C, #0B1626); }
.travail-visuel--d { background: radial-gradient(circle at 50% 45%, #8FB3E8, transparent 50%), linear-gradient(135deg, #3B4A63, #121C2C); }
.travail-visuel--e { background: radial-gradient(circle at 60% 50%, #5C9CE6, transparent 55%), linear-gradient(135deg, #15325A, #071528); }
.travail-visuel--f { background: radial-gradient(circle at 65% 40%, #F2F5FA, transparent 55%), linear-gradient(135deg, #B7C3D6, #5E6F8C); }
.travail-corps { padding: 18px 18px 20px; }
.travail-type { display: inline-block; padding: 4px 11px; border-radius: var(--radius-pill); background: #EEF1F7; font-size: 0.66rem; font-weight: 600; color: var(--navy-900); margin-bottom: 12px; }
.travail-titre { font-size: clamp(0.98rem, 1.05vw, 1.12rem); font-weight: 600; line-height: 1.45; color: var(--navy-900); margin-bottom: 12px; }
.travail-lien::after { content: ''; position: absolute; inset: 0; }
.travail-lien:hover { color: var(--red); }
.travail-meta { font-size: 0.72rem; color: var(--ink-3); }
.travaux-vide { padding: 40px 0; text-align: center; color: var(--ink-3); }
.travaux-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.travaux-page { min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; font-family: var(--font-sans); font-size: 0.74rem; font-weight: 600; color: var(--navy-900); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease; }
.travaux-page:hover { border-color: var(--navy-900); }
.travaux-page.est-actuelle { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.travaux-page--ellipse { cursor: default; }
.travaux-page--ellipse:hover { border-color: var(--line); }
@media (max-width: 992px) {
  .travaux-grille { grid-template-columns: repeat(2, 1fr); }
  .travaux-hero-inner { padding: 44px 24px 44px; }
  .travaux-tri { margin-left: 0; }
}
@media (max-width: 640px) {
  .travaux-grille { grid-template-columns: 1fr; }
  .travaux-titre br { display: none; }
}
.agenda-hero { background: linear-gradient(90deg, rgba(6, 26, 51, 0.92) 0%, rgba(6, 26, 51, 0.72) 55%, rgba(6, 26, 51, 0.55) 100%), url('../img/agenda-banniere.jpg') center / cover no-repeat, url('../img/hero-globe.jpg') center / cover no-repeat, var(--navy-900); }
.agenda-hero .travaux-hero-inner { padding-bottom: 48px; }
.agenda-hero .travaux-titre { margin-bottom: 10px; }
.evenement { display: grid; grid-template-columns: 210px 1fr; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.evenement[hidden] { display: none; }
.evenement-type { padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.62rem; font-weight: 600; background: #E9EEF8; color: var(--navy-900); }
.evenement-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 0.74rem; font-weight: 600; color: var(--navy-900); transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.evenement-btn:hover { border-color: var(--navy-900); }
.evenement-btn--plein { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.evenement-btn--plein:hover { background: var(--navy-700); }
@media (max-width: 640px) {
  .evenement { grid-template-columns: 1fr; gap: 14px; }
}
.pres-section { background: #fff; padding: 80px 0; }
.pres-section--grise { background: #F4F6FA; }
.pres-titre { font-size: clamp(1.6rem, 2.3vw, 2.5rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--navy-900); }
.pres-sous-titre { margin: 8px 0 34px; font-size: 0.86rem; color: var(--ink-3); }
.pres-mission { background: #fff; padding: 70px 0; }
.pres-mission-grille { display: grid; align-items: center; }
.pres-etiquette { text-transform: none; letter-spacing: 0; font-size: 0.68rem; }
.pres-mission .pres-titre { margin-bottom: 22px; }
.pres-texte { max-width: 54ch; font-size: 0.86rem; line-height: 1.8; color: var(--ink-3); margin-bottom: 10px; }
.pres-photo { aspect-ratio: 9 / 10; border-radius: 8px; background: url('../img/presentation-mission.jpg') center / cover no-repeat, radial-gradient(circle at 55% 35%, #5C7EB8, transparent 55%), linear-gradient(160deg, #2B3B55, #0B1626); }
.pres-axe { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.pres-axe-visuel { aspect-ratio: 16 / 8.5; }
.pres-axe-corps { padding: 20px 18px 24px; }
.pres-axe h3 { font-size: 1rem; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; }
.pres-axe p { font-size: 0.76rem; line-height: 1.75; color: var(--ink-3); }
.pres-appel { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; border-radius: 8px; background: #EAF0F9; }
.pres-appel h2 { font-size: 1.25rem; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.pres-appel p { max-width: 62ch; font-size: 0.78rem; line-height: 1.7; color: var(--ink-3); }
@media (max-width: 992px) {
  .pres-mission-grille { grid-template-columns: 1fr; gap: 36px; }
  .pres-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .pres-titre br, .pres-sous-titre br { display: none; }
  .pres-section { padding: 56px 0; }
}
.rejoindre-hero { background: linear-gradient(90deg, rgba(6, 26, 51, 0.92) 0%, rgba(6, 26, 51, 0.72) 55%, rgba(6, 26, 51, 0.55) 100%), url('../img/rejoindre-banniere.jpg') center / cover no-repeat, url('../img/hero-globe.jpg') center / cover no-repeat, var(--navy-900); }
.rejoindre-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rejoindre-actions .btn { font-size: 0.8rem; padding: 11px 22px; }
.rejoindre-actions .btn-ghost { border-color: rgba(255, 255, 255, 0.85); }
.rejoindre-arguments { list-style: none; counter-reset: argument; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.rejoindre-arguments li { counter-increment: argument; padding: 26px 22px 30px; border-radius: 8px; background: #F4F6FA; }
.rejoindre-arguments li::before { content: counter(argument); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 18px; border-radius: 50%; background: var(--navy-900); font-size: 0.8rem; font-weight: 700; color: #fff; }
.rejoindre-arguments h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy-900); margin-bottom: 14px; }
.rejoindre-arguments p { font-size: 0.76rem; line-height: 1.75; color: var(--ink-3); }
.rejoindre-programmes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.rejoindre-programmes .pres-axe-visuel { aspect-ratio: 16 / 9.5; }
.rejoindre-nb { display: inline-block; margin-top: 12px; font-size: 0.66rem; font-weight: 700; color: var(--red); }
.rejoindre-nb:hover { text-decoration: underline; }
.rejoindre-postes { list-style: none; display: grid; gap: 10px; }
.rejoindre-poste { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 18px 18px 20px; border: 1px solid #E6EAF1; border-radius: 8px; background: #fff; }
.rejoindre-plus { margin-top: 10px; }
.rejoindre-plus summary { display: inline-block; margin-bottom: 10px; list-style: none; font-size: 0.78rem; font-weight: 600; color: var(--red); cursor: pointer; }
.rejoindre-plus summary::-webkit-details-marker { display: none; }
.rejoindre-plus summary::after { content: ' ↓'; }
.rejoindre-plus[open] summary::after { content: ' ↑'; }
.rejoindre-plus summary:hover { text-decoration: underline; }
.rejoindre-poste h3 { font-size: 0.98rem; font-weight: 600; color: var(--navy-900); margin-bottom: 4px; }
.rejoindre-poste-texte p { font-size: 0.7rem; color: var(--ink-3); }
.rejoindre-poste-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rejoindre-poste-tags span { padding: 4px 11px; border-radius: var(--radius-pill); background: #EEF1F7; font-size: 0.62rem; font-weight: 600; color: var(--navy-900); }
.rejoindre-etapes { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rejoindre-etapes li { counter-increment: etape; padding: 24px 22px 28px; border: 1px solid #E6EAF1; border-radius: 6px; background: #fff; }
.rejoindre-etapes li::before { content: counter(etape, decimal-leading-zero); display: block; margin-bottom: 14px; font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--red); }
.rejoindre-etapes h3 { font-size: 0.98rem; font-weight: 700; color: var(--navy-900); margin-bottom: 12px; }
.rejoindre-etapes p { font-size: 0.74rem; line-height: 1.75; color: var(--ink-3); }
.rejoindre-appel { background: var(--navy-900); color: #fff; padding: 64px 0 10px; }
.rejoindre-appel h2 { font-size: clamp(1.5rem, 2vw, 2.1rem); font-weight: 700; margin-bottom: 10px; }
.rejoindre-appel p { max-width: 56ch; font-size: 0.86rem; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
@media (max-width: 1100px) {
  .rejoindre-programmes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .rejoindre-arguments, .rejoindre-etapes { grid-template-columns: 1fr; }
  .rejoindre-poste { grid-template-columns: 1fr auto; }
  .rejoindre-poste-tags { grid-row: 2; }
}
@media (max-width: 560px) {
  .rejoindre-programmes { grid-template-columns: 1fr; }
  .rejoindre-poste { grid-template-columns: 1fr; gap: 12px; }
  .rejoindre-poste-tags { grid-row: auto; }
  .rejoindre-poste .evenement-btn { justify-self: start; }
}
.commission-hero { position: relative; background-color: var(--navy-900); background-size: cover; background-position: center; background-repeat: no-repeat; }
.commission-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 26, 51, 0.92) 0%, rgba(6, 26, 51, 0.74) 55%, rgba(6, 26, 51, 0.55) 100%); }
.commission-hero .travaux-hero-inner { position: relative; z-index: 1; }
.commission-meta { margin-top: 18px; font-size: 0.78rem; font-weight: 600; color: #fff; }
.commission-hero .rejoindre-actions { margin-top: 20px; }
.commission-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.commission-intro .pres-titre { margin-bottom: 22px; }
.commission-axes { padding: 26px 26px 20px; border: 1px solid #E6EAF1; border-radius: 8px; background: #fff; }
.commission-axes h2 { font-size: 1.05rem; font-weight: 700; color: var(--navy-900); margin-bottom: 16px; }
.commission-axes ul { list-style: none; }
.commission-axes li { position: relative; padding: 0 0 14px 16px; font-size: 0.78rem; line-height: 1.6; color: var(--navy-900); }
.commission-axes li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.commission-entete { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px 30px; }
.commission-entete .evenement-btn { margin-top: 8px; }
.commission-rdv-section { padding-top: 30px; }
.commission-rdv { list-style: none; display: grid; gap: 12px; }
.commission-rdv-ligne { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 18px 20px; border: 1px solid #E6EAF1; border-radius: 8px; background: #fff; }
.commission-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 4px; background: var(--navy-900); color: #fff; text-align: center; }
.commission-date-jour { font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.commission-date-mois { font-size: 0.5rem; font-weight: 600; letter-spacing: 0.04em; }
.commission-rdv-texte .evenement-type { display: inline-block; margin-bottom: 6px; }
.commission-rdv-texte h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--navy-900); margin-bottom: 4px; }
.commission-rdv-texte p { font-size: 0.7rem; color: var(--ink-3); }
.commission-vide { font-size: 0.86rem; color: var(--ink-3); }
.commission-vide a { font-weight: 600; color: var(--red); }
.commission-partenaires { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.commission-partenaires li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 88px; padding: 16px 12px; border: 1px solid #E6EAF1; border-radius: 8px; background: #fff; text-align: center; }
.commission-partenaires strong { font-size: 0.78rem; font-weight: 700; color: var(--navy-900); }
.commission-partenaires span { font-size: 0.64rem; color: var(--ink-3); }
.commission-note { margin-top: 28px; font-size: 0.68rem; color: var(--ink-3); }
@media (max-width: 992px) {
  .commission-intro { grid-template-columns: 1fr; gap: 30px; }
  .commission-partenaires { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .commission-rdv-ligne { grid-template-columns: auto 1fr; }
  .commission-rdv-ligne .evenement-btn { grid-column: 1 / -1; justify-self: start; }
  .commission-partenaires { grid-template-columns: 1fr 1fr; }
}
.diagnostic-menu { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 10px 14px; background: #ffd400; color: #000; font: 13px/1.5 monospace; white-space: pre-wrap; }
.agenda-hero .etiquette { background: rgba(255, 255, 255, 0.16); color: #fff; }
.ev-zone { background: #F3F5F8; padding: 48px 0 90px; }
.ev-liste { display: flex; flex-direction: column; gap: 10px; }
.ev-carte { display: grid; grid-template-columns: 70px 120px 1fr auto; align-items: center; gap: 22px; padding: 20px 24px 20px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ev-carte[hidden] { display: none; }
.ev-date { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.ev-jour { font-size: 1.9rem; font-weight: 700; color: var(--red); }
.ev-mois { margin-top: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-900); }
.ev-annee { margin-top: 3px; font-size: 0.66rem; color: var(--ink-3); }
.ev-visuel { width: 120px; aspect-ratio: 16 / 10; border-radius: 6px; }
.ev-etiquettes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ev-etiquettes span { padding: 3px 9px; border-radius: 4px; background: #EEF1F7; font-size: 0.62rem; font-weight: 600; color: var(--navy-900); }
.ev-titre { font-size: clamp(1rem, 1.15vw, 1.15rem); font-weight: 700; line-height: 1.3; color: var(--navy-900); margin-bottom: 6px; }
.ev-pratique { font-size: 0.74rem; color: var(--ink-3); margin-bottom: 8px; }
.ev-texte { max-width: 54ch; font-size: 0.74rem; line-height: 1.6; color: var(--ink-3); }
.ev-bouton { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--navy-900); font-size: 0.74rem; font-weight: 600; color: #fff; white-space: nowrap; transition: background 0.15s ease; }
.ev-bouton:hover { background: var(--navy-700); }
.ev-vide { padding: 40px 0; text-align: center; color: var(--ink-3); }
@media (max-width: 720px) {
  .ev-carte { grid-template-columns: 60px 1fr; gap: 14px 16px; padding: 18px; }
  .ev-visuel { width: 100%; max-width: 160px; }
  .ev-corps, .ev-bouton { grid-column: 1 / -1; }
  .ev-bouton { justify-self: start; }
}
.ev-carte--passe .ev-jour { color: #6B778A; }
.ev-carte--passe .ev-titre { font-weight: 600; }
.ev-titre { max-width: 46ch; }
.ev-carte--passe .ev-pratique { margin-bottom: 0; font-size: 0.7rem; }
.pres-domaines { background: var(--navy-900); color: #fff; }
.pres-domaines-grille { display: grid; }
.pres-domaines-tete p { color: rgba(255, 255, 255, 0.8); }
.pres-domaines-liste { display: flex; }
.pres-domaines-liste a { display: inline-flex; color: #fff; }
.pres-domaines-liste a:hover { background: #fff; color: var(--navy-900); }
.pres-domaines + .pres-section { padding: 44px 0 54px; }
@media (max-width: 860px) {
  .pres-domaines-liste { padding-top: 24px; }
  .pres-domaines-tete h2 br { display: none; }
}
.container--etroit { width: min(93%, 1180px); }
.pres-mission-grille { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
.pres-mission .pres-texte { max-width: 52ch; }
.pres-domaines { padding: 64px 0 70px; }
.pres-domaines-grille { align-items: start; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 40px; }
.pres-domaines-tete h2 { line-height: 1.2; margin-bottom: 18px; font-size: clamp(1.8rem, 2.4vw, 2.3rem); font-weight: 600; letter-spacing: -0.01em; }
.pres-domaines-tete p { line-height: 1.7; max-width: 34ch; font-size: 0.78rem; }
.pres-domaines-liste { border-left: 1px solid var(--red); list-style: none; flex-wrap: wrap; padding-left: 40px; gap: 12px 10px; }
.pres-domaines-liste a { border: 1px solid rgba(255, 255, 255, 0.75); border-radius: var(--radius-pill); align-items: center; transition: background 0.15s ease, color 0.15s ease; min-height: 42px; padding: 8px 20px; font-size: 0.92rem; font-weight: 500; }
.pres-appel { padding: 32px 34px; }
@media (max-width: 860px) {
  .pres-domaines-grille { grid-template-columns: 1fr; }
  .pres-domaines-liste { border-left: none; border-top: 1px solid var(--red); padding-left: 0; }
}
.travail-visuel--photo { display: block; width: 100%; object-fit: cover; }
.ev-visuel--photo { display: block; object-fit: cover; }
.ev-titre a, .commission-rdv-texte h3 a { color: inherit; text-decoration: none; }
.ev-titre a:hover, .commission-rdv-texte h3 a:hover { text-decoration: underline; }
.lien-clair { color: #fff; text-decoration: underline; }
.lecture-titre { max-width: 26ch; font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.lecture { background: #fff; padding: 56px 0 72px; }
.lecture-grille { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.lecture-couverture { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: 10px; margin-bottom: 32px; }
.lecture-texte { max-width: 72ch; color: var(--ink); font-size: 1.04rem; line-height: 1.75; }
.lecture-texte p, .lecture-texte ul { margin: 0 0 0.75em; }
.lecture-texte ul { padding-left: 1.3em; }
.lecture-texte li { margin-bottom: 0.35em; }
.lecture-texte h2 { margin: 1.8em 0 0.6em; color: var(--navy-900); font-size: 1.35rem; font-weight: 600; }
.lecture-texte a { color: var(--navy-700); }
.lecture-infos { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #F8FAFC; }
.lecture-infos dl { display: grid; gap: 4px; margin: 0 0 8px; }
.lecture-infos dt { margin-top: 10px; color: var(--ink-3); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.lecture-infos dt:first-child { margin-top: 0; }
.lecture-infos dd { margin: 0; color: var(--ink); font-size: 0.95rem; }
.lecture-infos dd a { color: var(--navy-700); }
.lecture-infos .evenement-btn { justify-content: center; text-align: center; }
.lecture-retour { margin-top: 6px; color: var(--ink-3); font-size: 0.85rem; text-decoration: none; }
.lecture-retour:hover { color: var(--navy-700); }
.album { padding: 0 0 80px; }
.album-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.album-grille figure { margin: 0; }
.album-grille img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: opacity 0.2s ease; }
.album-grille a:hover img { opacity: 0.85; }
.album-grille figcaption { margin-top: 8px; color: var(--ink-3); font-size: 0.82rem; }
@media (max-width: 900px) {
  .lecture-grille { grid-template-columns: 1fr; gap: 32px; }
  .lecture-infos { position: static; }
}
.partenaires-hero { background: linear-gradient(90deg, rgba(6, 26, 51, 0.92) 0%, rgba(6, 26, 51, 0.72) 55%, rgba(6, 26, 51, 0.55) 100%), url('../img/partenaires-banniere.jpg') center / cover no-repeat, url('../img/hero-globe.jpg') center / cover no-repeat, var(--navy-900); }
.partenaires-hero .travaux-hero-inner { padding-bottom: 60px; }
.partenaires-zone { background: #F4F6FA; padding: 64px 0 80px; }
.partenaires-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; margin: 0; padding: 0; list-style: none; }
.partenaire { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.partenaire:hover { box-shadow: 0 14px 30px rgba(6, 26, 51, 0.08); transform: translateY(-2px); }
.partenaire-logo { display: flex; align-items: center; height: 46px; margin-bottom: 6px; }
.partenaire-logo img { max-width: 150px; max-height: 46px; object-fit: contain; }
.partenaire-logo-texte { color: var(--navy-900); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1.1; }
.partenaire-nom { color: var(--navy-900); font-size: 1rem; font-weight: 700; line-height: 1.3; }
/* Toutes les cartes à la même taille : texte sur 3 lignes puis « … » (le texte complet est dans « En savoir plus ») */
.partenaire-texte { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 4.95em; color: var(--ink-3); font-size: 0.8rem; line-height: 1.65; }
.partenaire-lien { margin-top: auto; color: var(--red); font-size: 0.76rem; font-weight: 600; text-decoration: none; }
.partenaire-lien:hover { text-decoration: underline; }
.partenaires-appel-zone { background: #F4F6FA; padding: 0 0 70px; }   /* même gris que la grille au-dessus : un seul fond continu */
.partenaires-appel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 40px 38px; border-radius: 8px; background: var(--navy-900); color: #fff; }
.partenaires-appel h2 { margin-bottom: 12px; font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 700; }
.partenaires-appel p { max-width: 62ch; color: rgba(255, 255, 255, 0.82); font-size: 0.82rem; line-height: 1.7; }
.partenaires-appel-boutons { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.partenaires-appel-boutons .btn { padding: 10px 22px; font-size: 0.82rem; text-align: center; }
@media (max-width: 960px) {
  .partenaires-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .partenaires-grille { grid-template-columns: 1fr; }
  .partenaires-appel { padding: 30px 22px; }
  .partenaires-appel-boutons { width: 100%; }
}

/* Fenêtre « En savoir plus » : cachée, affichée quand l'adresse vise son id (:target), sans JS */
.partenaire-fenetre { display: none; position: fixed; inset: 0; z-index: 300; align-items: center; justify-content: center; padding: 20px; }
.partenaire-fenetre:target { display: flex; }
.partenaire-fenetre-fond { position: absolute; inset: 0; background: rgba(6, 26, 51, 0.45); backdrop-filter: blur(6px); }
.partenaire-fenetre-corps { position: relative; width: min(100%, 560px); max-height: 88vh; overflow-y: auto; padding: 32px 34px 34px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(6, 26, 51, 0.35); }
.partenaire-fenetre-haut { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.partenaire-fermer { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #EEF1F7; color: var(--navy-900); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.partenaire-fermer:hover { background: #E1E6EF; }
.partenaire-etiquettes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.partenaire-etiquettes span { padding: 4px 9px; border-radius: 4px; background: #EEF1F7; font-size: 0.62rem; font-weight: 600; color: var(--navy-900); }
.partenaire-fenetre-nom { margin-bottom: 12px; color: var(--navy-900); font-size: 1.45rem; font-weight: 700; line-height: 1.25; }
.partenaire-fenetre-accroche { padding-bottom: 18px; color: var(--ink-2); font-size: 0.86rem; font-style: italic; line-height: 1.65; }
.partenaire-fenetre-texte { padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.8rem; line-height: 1.75; }
.partenaire-fenetre-texte p { margin-bottom: 0.7em; }
.partenaire-fenetre-boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.partenaire-fenetre-boutons .btn { padding: 10px 22px; font-size: 0.8rem; }
@media (max-width: 600px) {
  .partenaire-fenetre-corps { padding: 24px 20px 26px; }
}
.actus-hero { background: linear-gradient(90deg, rgba(6, 26, 51, 0.88) 0%, rgba(6, 26, 51, 0.7) 55%, rgba(6, 26, 51, 0.55) 100%), url('../img/actualites-banniere.jpg') center / cover no-repeat, url('../img/hero-globe.jpg') center / cover no-repeat, var(--navy-900); }
.actus-hero .travaux-hero-inner { padding-bottom: 60px; }
.actus-zone { background: #F4F6FA; padding: 48px 0 80px; }
.actus-grille .travail-visuel { aspect-ratio: 16 / 8; }
.actus-grille .travail-titre { font-weight: 700; }

.ev-carte { scroll-margin-top: 110px; }

/* Page d'une édition de l'OFID (ofid.php) : bandeau marine, couverture à cheval, auteurs, éditions précédentes */
.ofid { background: #fff; padding-bottom: 70px; }
.ofid-grille { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "tete cote" "texte cote"; grid-template-rows: auto 1fr; column-gap: 60px; }

/* Le fond marine du bandeau s'étend sur toute la largeur grâce à une ombre rognée sur les côtés seulement. */
.ofid-tete { grid-area: tete; padding: 64px 0 60px; background: var(--navy-900); box-shadow: 0 0 0 100vmax var(--navy-900); clip-path: inset(0 -100vmax); color: #fff; }
.ofid-titre { max-width: 22ch; margin-bottom: 14px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 700; line-height: 1.25; }
.ofid-date { margin-bottom: 20px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.85); }
.ofid-pdf { display: inline-block; padding: 10px 18px; border-radius: 4px; background: var(--red); font-size: 0.78rem; font-weight: 600; color: #fff; }
.ofid-pdf:hover { background: var(--red-dark); }
.ofid-texte { grid-area: texte; padding-top: 44px; color: var(--ink-2); font-size: 0.86rem; line-height: 1.85; }
.ofid-texte h2 { margin-bottom: 18px; font-size: 1.35rem; font-weight: 700; color: var(--navy-900); }
.ofid-texte p { margin-bottom: 0.7em; }
.ofid-cote { grid-area: cote; position: relative; padding-top: 64px; }
.ofid-cote > .ofid-couv { width: 80%; margin: 0 auto; box-shadow: 0 24px 50px rgba(6, 26, 51, 0.3); }
.ofid-auteurs { margin-top: 36px; padding: 22px 20px; border-radius: 8px; background: #F4F6FA; }
.ofid-auteurs h2 { margin-bottom: 14px; font-size: 0.86rem; font-weight: 700; color: var(--navy-900); }
.ofid-auteurs ul { display: grid; gap: 10px; margin-bottom: 14px; list-style: none; }
.ofid-auteurs li { display: flex; align-items: center; gap: 10px; font-size: 0.74rem; color: var(--ink-2); }
.ofid-auteurs li strong { color: var(--navy-900); }
.ofid-auteurs img, .ofid-initiales { flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.ofid-initiales { display: flex; align-items: center; justify-content: center; background: var(--navy-100); font-size: 0.56rem; font-weight: 700; color: var(--navy-900); }
.ofid-auteurs p { margin-bottom: 12px; font-size: 0.7rem; color: var(--ink-3); }
.ofid-lien { font-size: 0.74rem; font-weight: 600; color: var(--red); }
.ofid-lien:hover { text-decoration: underline; }

/* La couverture dessinée (en attendant les vraies) : tailles relatives à sa largeur (cqi). */
.ofid-couv { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 4px; container-type: inline-size; overflow: hidden; background: radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.7), transparent 45%), linear-gradient(160deg, #E9EEF6, #AFC0D8); object-fit: cover; }
.ofid-couv-in { position: relative; display: flex; flex-direction: column; height: 100%; padding: 14cqi 8cqi 8cqi; }
.ofid-couv-num { position: absolute; top: 4cqi; right: 5cqi; font-size: 5cqi; font-weight: 700; color: var(--navy-900); }
.ofid-couv-logo { width: 62%; margin: 0 auto; mix-blend-mode: multiply; }
.ofid-couv-titre { margin-top: auto; font-size: 8.4cqi; font-weight: 700; line-height: 1.25; color: var(--navy-900); }
.ofid-couv-mois { align-self: flex-end; margin-top: 4cqi; font-size: 5.4cqi; font-style: italic; color: var(--red); }

/* Éditions précédentes : rangée défilante (flèche gérée par main.js, comme les partenaires de l'accueil) */
.ofid-precedentes { padding-top: 60px; }
.ofid-precedentes h2::before { content: ""; display: block; width: 34px; height: 3px; margin-bottom: 14px; background: var(--red); }
.ofid-precedentes h2 { margin-bottom: 20px; font-size: 1.35rem; font-weight: 700; color: var(--navy-900); }
.ofid-rangee { position: relative; display: flex; align-items: center; gap: 16px; }
.ofid-liste { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; }
.ofid-liste::-webkit-scrollbar { display: none; }
.ofid-liste li { flex: 0 0 min(42vw, 190px); scroll-snap-align: start; }
.ofid-liste .ofid-couv { margin-bottom: 10px; border-radius: 6px; }
.ofid-liste h3 { font-size: 0.86rem; font-weight: 700; color: var(--navy-900); }
.ofid-liste p { margin-bottom: 8px; font-size: 0.7rem; color: var(--ink-3); }
.ofid-fleche { flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(6, 26, 51, 0.12); font-size: 1.2rem; line-height: 1; color: var(--navy-900); cursor: pointer; }
.ofid-fleche:hover { border-color: var(--navy-900); }
/* La flèche « précédent » dans la marge de gauche : les couvertures restent alignées sous « À lire aussi » */
.ofid-rangee [data-defile-prev] { position: absolute; left: -52px; top: 50%; transform: translateY(-50%); }
@media (max-width: 1200px) { .ofid-rangee [data-defile-prev] { position: static; transform: none; } }
@media (max-width: 860px) {
  .ofid-grille { grid-template-columns: 1fr; grid-template-areas: "tete" "texte" "cote"; }
  .ofid-tete { padding-top: 44px; }
  .ofid-cote { padding-top: 30px; max-width: 340px; }
}

/* Page d'un article (publication.php), maquette Figma « V4 - Article INAS » (cadre de 1440 px).
   Bandeau : celui des pages actualité et événement (v4-*, plus bas).
   Corps : colonne de 330 px (rédacteurs, sommaire) et texte de 830 px, 24 px entre les deux. */
.art-sous-titre { max-width: 720px; font-size: 28px; font-weight: 400; line-height: 40px; }
.art-date { margin-top: 17px; color: #c9d4e8; font-size: 15px; }
.art-pdf { margin-top: 17px; }
.art-corps { padding: 56px 0 72px; background: #fff; }
.art-grille { display: grid; grid-template-columns: 330px minmax(0, 830px); gap: 24px; align-items: start; }
.art-cote { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 40px; }
.art-redacteurs { display: flex; flex-direction: column; gap: 16px; }
.art-redacteur { display: flex; align-items: flex-start; gap: 16px; }
.art-redacteur img, .art-redacteur .ofid-initiales { flex: none; width: 62px; height: 62px; border-radius: 50%; object-fit: cover; font-size: 16px; }
.art-redacteur p { display: flex; flex-direction: column; gap: 6px; color: #292e38; font-size: 13px; line-height: 19px; }
.art-redacteur strong { color: #12275e; font-size: 16px; font-weight: 600; line-height: normal; }
/* Le sommaire : carte gris clair, puces rouges */
.art-sommaire { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 12px; background: #f5f6f8; }
.art-sommaire h2 { color: #12275e; font-size: 16px; font-weight: 600; line-height: normal; }
.art-sommaire ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.art-sommaire li { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 19px; }
.art-sommaire li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #e1251d; }
.art-sommaire a { color: #12275e; }
.art-sommaire a:hover { text-decoration: underline; }
/* Le texte : 28 px entre chaque bloc ; introduction 19 px, titres de partie 26 px, paragraphes 16 px */
.art-texte { color: #333b4a; font-size: 16px; line-height: 30px; }
.art-texte > * + *, .art-intro > * + * { margin-top: 16px; }
.art-texte > h2 { margin-top: 36px; }   /* un titre de partie garde de l'air au-dessus */
.art-intro { color: #12275e; font-size: 19px; font-weight: 600; line-height: 32px; }
.art-texte h2 { color: #12275e; font-size: 26px; font-weight: 700; line-height: 36px; scroll-margin-top: 110px; }
.art-texte ul { padding-left: 1.3em; }
.art-texte a { color: #1b4db5; text-decoration: underline; }
/* « Pour aller plus loin » : filet, titre 22 px, sources numérotées */
.art-sources { padding-top: 20px; }
.art-sources::before { content: ""; display: block; height: 1px; margin-bottom: 24px; background: #d2d7df; }
.art-sources h2 { font-size: 22px; line-height: 32px; }
.art-sources ol { list-style: none; display: flex; flex-direction: column; gap: 24px; margin-top: 24px; padding-right: 24px; }
.art-sources li { display: flex; gap: 16px; color: #333b4a; font-size: 15px; line-height: 26px; }
.art-sources li span { flex: none; color: #292e38; font-weight: 600; }
@media (max-width: 1100px) {
  .art-grille { grid-template-columns: 1fr; }
  .art-cote { position: static; }
}
@media (max-width: 640px) {
  .art-sous-titre { font-size: 21px; line-height: 30px; }
  .art-intro { font-size: 17px; line-height: 28px; }
  .art-texte h2 { font-size: 22px; line-height: 30px; }
}

/* Nos travaux : filtres à gauche (formulaire), liste à droite, tri en menu <details> */
.trav-zone { padding: 40px 0 80px; background: #fff; }
.trav-grille { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: start; scroll-margin-top: 100px; }
.trav-filtres { padding: 18px 14px; border-radius: 8px; background: #F4F6FA; }
.trav-filtres-tete { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.trav-filtres-tete h2 { font-size: 0.95rem; font-weight: 700; color: var(--navy-900); }
.trav-filtres-tete a { font-size: 0.66rem; font-weight: 600; color: var(--red); }
.trav-filtres fieldset { margin: 0 0 16px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--line); }
.trav-filtres legend { margin-bottom: 6px; font-size: 0.7rem; font-weight: 700; color: var(--navy-900); }
.trav-filtres label { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; font-size: 0.7rem; line-height: 1.4; color: var(--ink-3); cursor: pointer; }
.trav-filtres label:has(input:checked) { color: var(--navy-900); }
.trav-filtres input[type="checkbox"] { margin-top: 2px; accent-color: var(--navy-900); }
.trav-plus summary { padding-top: 4px; font-size: 0.66rem; font-weight: 700; color: var(--navy-900); cursor: pointer; list-style: none; }
.trav-plus summary::-webkit-details-marker { display: none; }
.trav-plus[open] summary { display: none; }
.trav-appliquer { height: 32px; padding: 0 16px; border: 0; border-radius: 4px; background: var(--navy-900); color: #fff; font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; cursor: pointer; }
.trav-appliquer:hover { background: var(--navy-700); }
.trav-tri { position: relative; display: inline-block; }
.trav-tri summary { display: flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 0.68rem; font-weight: 600; color: var(--navy-900); cursor: pointer; list-style: none; }
.trav-tri summary::-webkit-details-marker { display: none; }
.trav-tri summary::after { content: ' ▾'; color: var(--ink-3); }
.trav-tri ul { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; min-width: 100%; padding: 6px 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 10px 24px rgba(6, 26, 51, 0.12); list-style: none; white-space: nowrap; }
.trav-tri a { display: block; padding: 6px 14px; font-size: 0.7rem; color: var(--ink-2); }
.trav-tri a:hover, .trav-tri a[aria-current] { background: #F4F6FA; color: var(--navy-900); }
.trav-ligne { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.trav-ligne:first-of-type { padding-top: 0; }
.trav-visuel { position: relative; align-self: start; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; }
.trav-visuel img, .trav-visuel div { display: block; width: 100%; height: 100%; object-fit: cover; }
.trav-type { position: absolute; top: 6px; left: 6px; padding: 2px 8px; border-radius: var(--radius-pill); background: #fff; font-size: 0.56rem; font-weight: 600; color: var(--navy-900); }
.trav-titre { margin-bottom: 4px; font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--navy-900); }
.trav-commission { margin-bottom: 6px; font-size: 0.66rem; font-weight: 600; color: var(--ink-3); }
.trav-extrait { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; font-size: 0.7rem; line-height: 1.65; color: var(--ink-3); }
.trav-meta { font-size: 0.64rem; font-weight: 700; color: var(--navy-900); }
@media (max-width: 860px) {
  .trav-grille { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .trav-ligne { grid-template-columns: 1fr; }
}

/* Bandeau d'une commission : sa photo (administration) sous le voile marine */
.commission-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.commission-hero::before { z-index: 1; }
.commission-hero .travaux-hero-inner { z-index: 2; }

/* Bandeau réduit à sa photo (Publications, Événements, Présentation, Partenaires, Actualités, Adhérez) : plus de titre ni de texte */
.bandeau-seul .travaux-hero-inner { padding: 150px 24px 0; }
.bandeau-seul .rejoindre-actions { margin: 0; padding-bottom: 40px; }
@media (max-width: 992px) {
  .bandeau-seul .travaux-hero-inner { padding-top: 110px; }
}

/* Accueil : le bloc d'ouverture centré (accroche, texte, recherche) */
.hero-inner { justify-content: center; text-align: center; }
.hero-title-strong { animation-delay: 0s; }
.hero-lede { margin: 0 auto; }
.orc { margin: 56px auto 0; width: 100%; }
.orc-sugg-list { justify-content: center; }

/* Événements : les rubriques « À venir » et « Passés » sur une seule page */
.ev-rubrique { margin: 0 0 22px; padding-bottom: 8px; font-size: clamp(1.15rem, 1.4vw, 1.4rem); font-weight: 700; color: var(--navy-900); scroll-margin-top: 110px; }
.ev-rubrique::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--red); }
.ev-liste + .ev-rubrique, .ev-vide + .ev-liste + .ev-rubrique { margin-top: 44px; }
.travaux-page--eteint { color: var(--ink-3); opacity: 0.55; cursor: default; }
.travaux-page--eteint:hover { border-color: var(--line); }

/* Accueil : le défilement continu des logos ne doit pas être retenu tuile par tuile */
[data-defile-auto] .part-liste { scroll-snap-type: none; }

/* Pages commissions : une page moins grande (titres, espacements, images des cartes) */
.commission-hero ~ .pres-section { padding-top: 56px; padding-bottom: 56px; }
.commission-hero ~ .commission-rdv-section { padding-top: 0; }
.commission-hero ~ .pres-section .pres-titre { font-size: clamp(1.4rem, 1.7vw, 1.8rem); }
.commission-hero ~ .pres-section .pres-sous-titre { margin-bottom: 24px; }
.commission-hero ~ .pres-section .travail-visuel { aspect-ratio: 16 / 7.5; }
.commission-hero ~ .pres-section .travail-titre { font-size: 0.95rem; }
@media (max-width: 640px) {
  .commission-entete .evenement-btn { margin-bottom: 20px; }
}

/* Pages commissions : toutes les cartes de travaux à la même taille, titre sur 3 lignes puis « … » */
.commission-hero ~ .pres-section .travaux-grille { align-items: stretch; }
.commission-hero ~ .pres-section .travail-titre { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 4.35em; }

/* Publications : le rappel de la recherche lancée depuis l'accueil */
.trav-recherche { margin-bottom: 14px; font-size: 0.8rem; color: var(--ink-2); }
.trav-recherche a { font-weight: 600; color: var(--red); }
.trav-recherche a:hover { text-decoration: underline; }

/* Accueil : le carrousel « Nos publications » affiche le visuel de chaque publication (assets/css/visuel.css) */
.pub .visuel { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }

/* Publications : le tri et, à sa droite, la recherche par mots-clés, à la même hauteur */
.trav-outils { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.trav-cherche { flex: 0 1 260px; }
.trav-cherche input { width: 100%; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-family: var(--font-sans); font-size: 0.68rem; color: var(--navy-900); }
.trav-cherche input:focus { outline: none; border-color: var(--navy-900); }

/* Événements : la barre de recherche et de filtres (menus déroulants en <details>, tri à droite) */
.ev-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; scroll-margin-top: 110px; }
.ev-cherche { display: flex; align-items: center; flex: 0 1 270px; height: 36px; padding: 0 4px 0 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; }
.ev-cherche:focus-within { border-color: var(--navy-900); }
.ev-cherche input { flex: 1; min-width: 0; border: 0; background: none; font-family: var(--font-sans); font-size: 0.72rem; color: var(--navy-900); }
.ev-cherche input:focus { outline: none; }
.ev-cherche button { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--navy-900); color: #fff; cursor: pointer; }
.ev-cherche button:hover { background: var(--navy-700); }
.ev-cherche svg { width: 14px; height: 14px; }
.ev-filtre { position: relative; }
.ev-filtre summary { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; font-size: 0.72rem; font-weight: 600; color: var(--navy-900); cursor: pointer; list-style: none; white-space: nowrap; }
.ev-filtre summary::-webkit-details-marker { display: none; }
.ev-filtre summary::after { content: '▾'; color: var(--ink-3); }
.ev-filtre.est-actif summary { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.ev-filtre.est-actif summary::after { color: #fff; }
.ev-filtre ul { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; width: max-content; min-width: 100%; max-width: min(340px, 86vw); max-height: 320px; overflow-y: auto; padding: 6px 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(6, 26, 51, 0.12); list-style: none; }
.ev-filtre a { display: block; padding: 7px 16px; font-size: 0.74rem; line-height: 1.4; color: var(--ink-2); }
.ev-filtre a:hover, .ev-filtre a[aria-current] { background: #F4F6FA; color: var(--navy-900); }
.ev-tri { margin-left: auto; font-size: 0.72rem; font-weight: 600; color: var(--ink-3); }
.ev-tri a { color: var(--navy-900); }
.ev-tri a:hover { text-decoration: underline; }
.ev-actifs { margin: -14px 0 24px; font-size: 0.78rem; color: var(--ink-2); }
.ev-actifs a { font-weight: 600; color: var(--red); }
.ev-actifs a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .ev-cherche { flex-basis: 100%; }
  .ev-tri { margin-left: 0; }
}

/* Accueil : le bloc Cartographie passe au-dessus du bloc DualTech, pour que son ombre s'estompe en bas comme sur les côtés */
.projet-section { position: relative; z-index: 1; }


/* Toutes les cartes à visuel (Actualités, « À voir aussi », travaux d'une commission, programmes de Rejoindre) :
   même taille partout, toutes les rangées à la même hauteur ; titre sur 3 lignes puis « … », date et lieu sur 2 */
.travaux-grille, .rejoindre-programmes { align-items: stretch; grid-auto-rows: 1fr; }
.travail, .pres-axe { display: flex; flex-direction: column; }
.travail-corps, .pres-axe-corps { flex: 1; }
.travail-titre { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 4.35em; }
.travail-meta { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* Pages d'une actualité et d'un événement (maquettes Figma « V4 - Page d'une actualité » / « V4 - Page d'un événement »).
   Valeurs reprises de Figma (cadre de 1440 px) : bandeau marine #0a2145, texte sur 1240 px, polices en px. */
.v4-conteneur { width: min(100% - 48px, 1320px); margin-inline: auto; }
.v4-etroit { width: min(100% - 48px, 1240px); margin-inline: auto; }
.v4-hero { padding: 64px 0 56px; background: #0a2145; color: #fff; }
.v4-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) 542px; gap: 24px; align-items: start; }
.v4-hero-grille > div { padding-top: 10px; }   /* le texte calé en haut, 10 px sous le haut de la photo (Figma) */
.v4-hero-grille.v4-sans-image { grid-template-columns: minmax(0, 1fr); }
.v4-hero-image { display: block; width: 100%; aspect-ratio: 542 / 362; border-radius: 12px; object-fit: cover; }
.v4-titre { max-width: 720px; font-size: 40px; font-weight: 700; line-height: 50px; }
.v4-sous-titre { max-width: 720px; font-size: 34px; font-weight: 400; line-height: 50px; }
/* Titre de section : petit filet rouge au-dessus */
.v4-section-titre { color: #12275e; font-size: 26px; font-weight: 700; line-height: 34px; }
.v4-section-titre::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 12px; background: #c42b25; }

/* Actualité : date et lieu sous le titre ; chapeau ; texte gris ; listes à puces « • » sans retrait */
.actu-pratique { margin-top: 17px; color: #c9d4e8; font-size: 20px; font-weight: 600; line-height: normal; }
.actu-pratique span { display: block; }
.actu-corps { padding: 56px 0 80px; background: #fff; }
.actu-texte { color: #292e38; font-size: 17px; line-height: 1.65; }
.actu-texte > * + * { margin-top: 14px; }
.actu-texte .actu-chapo { color: #12275e; font-size: 20px; font-weight: 500; line-height: 32px; }
.actu-texte ul { list-style: none; padding: 0; }
.actu-texte ul li::before { content: "• "; }
.actu-texte p + ul { margin-top: 0; }
.actu-texte a { color: #1b4db5; }
.actu-lien { margin-top: 28px; }
.actu-aussi { padding: 72px 0 88px; background: #f5f6f8; }
.actu-aussi .v4-section-titre { margin-bottom: 32px; font-size: 30px; line-height: 40px; }
.actu-aussi .travaux-grille { gap: 32px; }
.actu-aussi .travail { border-color: #e2e6eb; border-radius: 10px; }
.actu-aussi .travail-visuel { aspect-ratio: auto; height: 196px; }
.actu-aussi .travail-corps { padding: 26px 28px 30px; }
.actu-aussi .travail-type { margin-bottom: 14px; padding: 8px 16px; border-radius: 100px; background: #edf1f9; color: #12275e; font-size: 13px; font-weight: 600; line-height: normal; }
.actu-aussi .travail-titre { margin-bottom: 14px; color: #12275e; font-size: 20px; font-weight: 600; line-height: 28px; min-height: 0; }   /* Figma : la date suit le titre */
.actu-aussi .travail-meta { color: #292e38; font-size: 14px; }

/* Événement : pastille de date, lieu et horaire, bouton rouge */
.ev-page-quand { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; }
.ev-page-date { display: flex; flex-direction: column; align-items: center; flex: none; padding: 14px 22px 10px; border-radius: 10px; background: #fff; letter-spacing: 0.5px; }
.ev-page-date strong { margin-bottom: -2px; color: #c42b25; font-size: 32px; font-weight: 700; line-height: 30px; }
.ev-page-date span { color: #072f70; font-size: 15px; font-weight: 600; line-height: 21px; text-transform: uppercase; }
.ev-page-lieu { font-size: 14px; font-weight: 500; line-height: 24px; letter-spacing: 0.5px; text-transform: uppercase; color: #fff; }
.ev-page-bouton { display: inline-block; margin-top: 24px; padding: 14px 22px; border-radius: 8px; background: #e1251d; color: #fff; font-size: 15px; font-weight: 600; line-height: normal; transition: background 0.15s ease; }
.ev-page-bouton:hover { background: #c41d16; }
/* Le texte et les infos pratiques */
.ev-page-corps { padding: 56px 0 48px; background: #fff; }
.ev-page-grille { display: grid; grid-template-columns: minmax(0, 1fr) 332px; gap: 48px; align-items: start; }
.ev-texte { max-width: 800px; color: #333b4a; font-size: 15.5px; line-height: 27px; }
.ev-texte > * + * { margin-top: 14px; }
.ev-texte .ev-chapo { color: #12275e; font-size: 14.5px; font-weight: 600; line-height: 24px; }
.ev-texte ul { padding-left: 1.2em; }
.ev-texte a { color: #1b4db5; }
.ev-infos { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 10px; background: #f5f6f8; }
.ev-infos h2 { color: #12275e; font-size: 19px; font-weight: 700; line-height: normal; }
.ev-infos dl { display: flex; flex-direction: column; gap: 16px; }
.ev-infos dt { margin-bottom: 2px; color: #292e38; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.ev-infos dd { color: #12275e; font-size: 15px; font-weight: 500; line-height: 22px; }
.ev-infos .ev-horaire { text-transform: uppercase; }
.ev-infos-plan { color: #1b4db5; font-size: 13px; font-weight: 600; }
.ev-infos-plan:hover { text-decoration: underline; }
/* Intervenant(e)s : deux colonnes, portrait rond de 70 px ; la modération à part, dessous */
.ev-intervenants { padding: 8px 0 48px; background: #fff; }
.ev-intervenants .v4-section-titre::before { margin-bottom: 20px; }
.ev-intervenants ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 20px; }
.ev-intervenant { display: flex; align-items: flex-start; gap: 16px; }
.ev-intervenant--moderation { align-items: center; margin-top: 30px; }
.ev-portrait { display: flex; align-items: center; justify-content: center; flex: none; width: 70px; height: 70px; border-radius: 50%; background: #edf1f9; color: #12275e; font-size: 18px; font-weight: 700; object-fit: cover; }
.ev-intervenant div { display: flex; flex-direction: column; gap: 6px; max-width: 500px; }
.ev-intervenant--moderation div { gap: 4px; }
.ev-intervenant strong { color: #1b4db5; font-size: 15px; font-weight: 700; line-height: 21px; }
.ev-intervenant p { color: #292e38; font-size: 12.5px; line-height: 19px; }
.ev-moderation { color: #c42b25; font-size: 11.5px; font-weight: 600; letter-spacing: 0.8px; }
/* Album et autres événements */
.ev-album { padding: 0 0 48px; background: #fff; }
.ev-album .album-grille { margin-top: 20px; }
.ev-page-autres { padding: 44px 0 48px; background: #fff; }
.ev-autres { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.ev-autre { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 250px; padding: 16px; border-radius: 6px; overflow: hidden; color: #fff; }
.ev-autre-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-autre::after { content: ""; position: absolute; inset: 0; background: rgba(10, 33, 69, 0.55); }
.ev-autre .ev-page-date { position: relative; z-index: 1; align-self: flex-start; justify-content: center; width: 52px; height: 52px; padding: 0; border-radius: 6px; letter-spacing: 0; }
.ev-autre .ev-page-date strong { margin-bottom: -8px; font-size: 24px; line-height: normal; }
.ev-autre .ev-page-date span { color: #12275e; font-size: 11px; line-height: normal; letter-spacing: 0.6px; }
.ev-autre-titre { position: relative; z-index: 1; font-size: 14.5px; font-weight: 700; line-height: 20px; }
.ev-autre:hover .ev-autre-titre { text-decoration: underline; }

@media (max-width: 1100px) {
  .v4-hero-grille { grid-template-columns: 1fr; }
  .v4-hero-image { max-width: 542px; }
  .ev-page-grille, .ev-intervenants ul { grid-template-columns: 1fr; }
  .ev-autres { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .v4-hero { padding-top: 44px; }
  .v4-titre { font-size: 30px; line-height: 38px; }
  .v4-sous-titre { font-size: 24px; line-height: 34px; }
  .actu-pratique { font-size: 16px; }
  .ev-page-quand { flex-wrap: wrap; gap: 14px; }
}

/* Le recadrage fait à la souris dans l'aperçu (admin › « Aperçu de la page ») : la partie de la photo qui reste visible.
   cx = de gauche à droite, cy = de haut en bas (en %), cz = le zoom (classes écrites par classeCadre(), includes/outils.php).
   Le zoom agrandit l'image autour du point choisi, puis clip-path la recoupe exactement à sa place : elle ne déborde jamais. */
[class*="cx-"], [data-recadrer] img, img[data-recadrer] {
  --zt: calc(var(--cz, 1) * var(--ce, 1));   /* l'agrandissement total (--ce : l'image entière, sous 100 %) */
  --k: calc(1 - 1 / var(--zt));   /* la part qui dépasse une fois zoomée */
  object-position: var(--cx, 50%) var(--cy, 50%);
  transform: scale(var(--zt)); transform-origin: var(--cx, 50%) var(--cy, 50%);
  clip-path: inset(calc(var(--cy, 50%) * var(--k)) calc((100% - var(--cx, 50%)) * var(--k)) calc((100% - var(--cy, 50%)) * var(--k)) calc(var(--cx, 50%) * var(--k)) round calc(var(--rayon, 0px) / var(--zt)));
}
.cx-0 { --cx: 0%; } .cx-2 { --cx: 2%; } .cx-4 { --cx: 4%; } .cx-6 { --cx: 6%; } .cx-8 { --cx: 8%; } .cx-10 { --cx: 10%; } .cx-12 { --cx: 12%; } .cx-14 { --cx: 14%; } .cx-16 { --cx: 16%; } .cx-18 { --cx: 18%; } .cx-20 { --cx: 20%; } .cx-22 { --cx: 22%; } .cx-24 { --cx: 24%; } .cx-26 { --cx: 26%; } .cx-28 { --cx: 28%; } .cx-30 { --cx: 30%; } .cx-32 { --cx: 32%; } .cx-34 { --cx: 34%; } .cx-36 { --cx: 36%; } .cx-38 { --cx: 38%; } .cx-40 { --cx: 40%; } .cx-42 { --cx: 42%; } .cx-44 { --cx: 44%; } .cx-46 { --cx: 46%; } .cx-48 { --cx: 48%; } .cx-50 { --cx: 50%; } .cx-52 { --cx: 52%; } .cx-54 { --cx: 54%; } .cx-56 { --cx: 56%; } .cx-58 { --cx: 58%; } .cx-60 { --cx: 60%; } .cx-62 { --cx: 62%; } .cx-64 { --cx: 64%; } .cx-66 { --cx: 66%; } .cx-68 { --cx: 68%; } .cx-70 { --cx: 70%; } .cx-72 { --cx: 72%; } .cx-74 { --cx: 74%; } .cx-76 { --cx: 76%; } .cx-78 { --cx: 78%; } .cx-80 { --cx: 80%; } .cx-82 { --cx: 82%; } .cx-84 { --cx: 84%; } .cx-86 { --cx: 86%; } .cx-88 { --cx: 88%; } .cx-90 { --cx: 90%; } .cx-92 { --cx: 92%; } .cx-94 { --cx: 94%; } .cx-96 { --cx: 96%; } .cx-98 { --cx: 98%; } .cx-100 { --cx: 100%; }
.cy-0 { --cy: 0%; } .cy-2 { --cy: 2%; } .cy-4 { --cy: 4%; } .cy-6 { --cy: 6%; } .cy-8 { --cy: 8%; } .cy-10 { --cy: 10%; } .cy-12 { --cy: 12%; } .cy-14 { --cy: 14%; } .cy-16 { --cy: 16%; } .cy-18 { --cy: 18%; } .cy-20 { --cy: 20%; } .cy-22 { --cy: 22%; } .cy-24 { --cy: 24%; } .cy-26 { --cy: 26%; } .cy-28 { --cy: 28%; } .cy-30 { --cy: 30%; } .cy-32 { --cy: 32%; } .cy-34 { --cy: 34%; } .cy-36 { --cy: 36%; } .cy-38 { --cy: 38%; } .cy-40 { --cy: 40%; } .cy-42 { --cy: 42%; } .cy-44 { --cy: 44%; } .cy-46 { --cy: 46%; } .cy-48 { --cy: 48%; } .cy-50 { --cy: 50%; } .cy-52 { --cy: 52%; } .cy-54 { --cy: 54%; } .cy-56 { --cy: 56%; } .cy-58 { --cy: 58%; } .cy-60 { --cy: 60%; } .cy-62 { --cy: 62%; } .cy-64 { --cy: 64%; } .cy-66 { --cy: 66%; } .cy-68 { --cy: 68%; } .cy-70 { --cy: 70%; } .cy-72 { --cy: 72%; } .cy-74 { --cy: 74%; } .cy-76 { --cy: 76%; } .cy-78 { --cy: 78%; } .cy-80 { --cy: 80%; } .cy-82 { --cy: 82%; } .cy-84 { --cy: 84%; } .cy-86 { --cy: 86%; } .cy-88 { --cy: 88%; } .cy-90 { --cy: 90%; } .cy-92 { --cy: 92%; } .cy-94 { --cy: 94%; } .cy-96 { --cy: 96%; } .cy-98 { --cy: 98%; } .cy-100 { --cy: 100%; }
.cz-110 { --cz: 1.1; } .cz-120 { --cz: 1.2; } .cz-130 { --cz: 1.3; } .cz-140 { --cz: 1.4; } .cz-150 { --cz: 1.5; } .cz-160 { --cz: 1.6; } .cz-170 { --cz: 1.7; } .cz-180 { --cz: 1.8; } .cz-190 { --cz: 1.9; } .cz-200 { --cz: 2; } .cz-210 { --cz: 2.1; } .cz-220 { --cz: 2.2; } .cz-230 { --cz: 2.3; } .cz-240 { --cz: 2.4; } .cz-250 { --cz: 2.5; } .cz-260 { --cz: 2.6; } .cz-270 { --cz: 2.7; } .cz-280 { --cz: 2.8; } .cz-290 { --cz: 2.9; } .cz-300 { --cz: 3; }
.v4-hero-image { --rayon: 12px; } .ev-visuel { --rayon: 6px; }   /* les coins arrondis, gardés au zoom */

/* L'aperçu : la barre en bas (Retour à l'édition / Enregistrer / Publier), les images qu'on fait glisser et zoome */
body:has(.apercu-barre) { padding-bottom: 84px; }
.apercu-barre { position: fixed; inset: auto 0 0; z-index: 1000; display: flex; align-items: center; gap: 12px; padding: 14px max(24px, calc((100% - 1320px) / 2)); background: #0a2145; color: #fff; box-shadow: 0 -6px 24px rgba(10, 33, 69, 0.25); }
.apercu-barre p { flex: 1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.apercu-barre p span { color: #c9d4e8; }
.apercu-barre p .apercu-ok { color: #7ee2a8; font-weight: 600; }
.apercu-barre button, .apercu-retour { padding: 12px 20px; border: 0; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 600; line-height: normal; cursor: pointer; }
.apercu-retour { border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }
.apercu-retour:hover { background: rgba(255, 255, 255, 0.1); }
.apercu-enregistrer { background: #fff; color: #0a2145; }
.apercu-publier { background: #e1251d; color: #fff; }
.apercu-publier:hover { background: #c41d16; }
[data-recadrer] img, img[data-recadrer] { cursor: grab; touch-action: none; user-select: none; }
[data-recadrer] img:active, img[data-recadrer]:active { cursor: grabbing; }
.apercu-hote { position: relative; outline: 2px dashed #e1251d; outline-offset: 3px; }
.apercu-zoom { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 8px; background: rgba(10, 33, 69, 0.85); color: #fff; font-size: 13px; font-weight: 600; }
.apercu-zoom button { width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: #fff; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.apercu-zoom button:hover { background: rgba(255, 255, 255, 0.15); }
.apercu-zoom span { min-width: 48px; text-align: center; }
.v4-hero-cadre { position: relative; }
.apercu-miniature .travaux-grille, .apercu-miniature .ev-autres { margin-top: 24px; }
.apercu-miniature.ev-page-autres { background: #f5f6f8; padding-bottom: 56px; }
@media (max-width: 640px) { .apercu-barre { flex-wrap: wrap; } .apercu-barre p { flex-basis: 100%; } }

/* Une image dans le texte d'une publication ([[image:…|légende]]) : pleine largeur de la colonne, légende petite et grise */
.texte-figure img { display: block; width: 100%; height: auto; border-radius: 8px; }
.texte-figure figcaption { margin-top: 8px; color: #292e38; font-size: 13px; line-height: 19px; }

/* Aperçu d'une publication : sa miniature et son visuel de l'accueil côte à côte ; dans l'aperçu, les liens et voiles posés
   sur les images ne captent plus la souris (on attrape l'image elle-même pour la recadrer). */
.apercu-pub { display: grid; grid-template-columns: minmax(0, 391px) 300px; gap: 48px; align-items: start; }
.apercu-pub .travaux-grille { grid-template-columns: 1fr; }
.apercu-visuel { width: 300px; margin-top: 24px; }
.apercu-pub .v4-section-titre { font-size: 22px; line-height: 30px; }
[data-recadrer] .travail-lien::after, [data-recadrer] .visuel-lien::after { content: none; }
[data-recadrer] .visuel::after, [data-recadrer] .visuel-texte, [data-recadrer] .visuel-logo { pointer-events: none; }
@media (max-width: 860px) { .apercu-pub { grid-template-columns: 1fr; } }

/* Le pied de page (maquette « Nouveau bandeau inférieur ») : logo et présentation à gauche, trois colonnes de liens,
   puis un filet et la ligne du bas (copyright à gauche, mentions à droite, séparées par des barres). */
.site-footer { padding: 72px 0 30px; background: #0f2350; color: rgba(255, 255, 255, 0.72); }
.footer-grille { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.footer-marque { display: flex; flex-direction: column; gap: 40px; }
.footer-logo { height: 46px; width: auto; }
.footer-marque p { max-width: 380px; font-size: 14px; line-height: 1.65; }
.footer-colonne h2 { margin-bottom: 22px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-colonne ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-colonne a { color: rgba(255, 255, 255, 0.82); font-size: 14px; transition: color 0.15s ease; }
.footer-colonne a:hover { color: #fff; text-decoration: underline; }
.footer-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; }
.footer-legal li + li::before { content: "|"; margin: 0 12px; color: rgba(255, 255, 255, 0.3); }
.footer-legal a:hover { color: #fff; }
@media (max-width: 992px) {
  .footer-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-marque { grid-column: 1 / -1; gap: 20px; }
}
@media (max-width: 600px) {
  .site-footer { padding-top: 48px; }
  .footer-grille { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-bas { flex-direction: column; align-items: flex-start; }
}

/* Les pages légales (mentions légales, confidentialité, cookies) : le bandeau et le corps des articles, en colonne de lecture */
.legal-texte { max-width: 820px; }
.legal-texte h3 { margin-top: 22px; color: #12275e; font-size: 18px; font-weight: 600; line-height: 28px; }
.legal-texte h2 + h3, .legal-texte h3 + p { margin-top: 8px; }
.legal-texte ul li + li { margin-top: 6px; }

/* L'EN-TÊTE (maquette « Nouveau bandeau supérieur ») : deux bandeaux rectangulaires qui défilent avec la page (ni fixes
   ni flottants). En haut, blanc : logo, liens pratiques séparés par des filets, loupe rouge. En dessous, bleu foncé :
   les quatre rubriques centrées. La grille place chaque morceau ; .header-right ne sert qu'au volet du burger. */
.site-header { position: relative; z-index: 100; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo liens loupe" "nav nav nav"; align-items: center; column-gap: 26px; padding-inline: max(36px, calc((100% - 1760px) / 2)); background: #fff; }
.header-right { display: contents; }
.brand { grid-area: logo; display: inline-flex; padding: 28px 0; }
.brand-logo { width: auto; height: 58px; }
.entete-liens { grid-area: liens; justify-self: end; }   /* à droite, juste avant la loupe */
.entete-liens ul { list-style: none; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.entete-liens a { position: relative; padding: 6px 0; font-size: clamp(13px, 0.95vw, 15px); font-weight: 400; color: var(--navy-900); transition: color 0.15s ease; }
.entete-liens a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform 0.2s ease; }
.entete-liens a:hover::after, .entete-liens a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { grid-area: burger; }
/* La loupe et son petit panneau de recherche */
.entete-recherche { grid-area: loupe; position: relative; }
.entete-recherche summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; transition: background 0.15s ease; }
.entete-recherche summary::-webkit-details-marker { display: none; }
.entete-recherche summary:hover, .entete-recherche[open] summary { background: var(--red-dark); }
.entete-recherche summary svg { width: 21px; height: 21px; }
.entete-recherche form { position: absolute; top: calc(100% + 14px); right: 0; z-index: 120; display: flex; width: min(460px, calc(100vw - 40px)); padding: 8px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-carte); }
.entete-recherche input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-right: 0; border-radius: 6px 0 0 6px; font-family: inherit; font-size: 14px; color: var(--ink); }
.entete-recherche input:focus { outline: none; border-color: var(--navy-700); }
.entete-recherche button { padding: 0 18px; border: none; border-radius: 0 6px 6px 0; background: var(--red); color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.entete-recherche button:hover { background: var(--red-dark); }
/* Le bandeau bleu : il déborde sur toute la largeur de l'écran (border-image), les rubriques au centre */
.main-nav { grid-area: nav; display: flex; justify-content: center; border-image: linear-gradient(#081a3d, #0f2350 7px) fill 0 / / 0 100vw; }
.nav-menu { display: flex; align-items: center; gap: clamp(44px, 6.5vw, 100px); list-style: none; }
.main-nav .nav-menu > .nav-item > .nav-link { padding: 24px 0; line-height: 1.5; font-size: clamp(16px, 1.25vw, 18px); font-weight: 700; letter-spacing: 0.01em; color: #fff; text-underline-offset: 8px; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.main-nav .nav-menu > .nav-item > .nav-link:hover, .main-nav .nav-item.is-hovered > .nav-link, .main-nav .nav-link[aria-current] { color: #fff; text-decoration-line: underline; }
@media (min-width: 993px) {
  .main-nav .has-submenu > .nav-link::after { content: none; }   /* pas de flèche : la maquette n'en montre pas */
}
@media (max-width: 1200px) {
  .brand-logo { height: 50px; }
  .entete-liens ul { gap: 14px; }
}
/* Mobile : logo, loupe et burger ; le burger ouvre les rubriques (bleu) puis les liens pratiques (blanc) */
@media (max-width: 992px) {
  .site-header { grid-template-columns: 1fr auto auto; grid-template-areas: "logo loupe burger" "nav nav nav" "liens liens liens"; column-gap: 10px; padding-inline: 20px; }
  .brand { padding: 14px 0; }
  .brand-logo { height: 40px; }
  .main-nav, .entete-liens { display: none; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 10px; }
  .header-right.is-open > .main-nav, .header-right.is-open > .entete-liens { display: block; }
  .main-nav .nav-menu > .nav-item > .nav-link { padding: 14px 0; border-bottom-color: rgba(255, 255, 255, 0.12); }
  .main-nav .submenu { background: transparent; }
  .main-nav .submenu a, .main-nav .submenu-titre { color: rgba(255, 255, 255, 0.85); }
  .entete-liens ul { flex-direction: column; align-items: flex-start; padding: 6px 0 14px; }
  .entete-liens li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--bg); }
  .entete-liens a { font-size: 15px; }
  .entete-liens a::after { content: none; }
  .entete-recherche summary { width: 44px; height: 44px; }
  .entete-recherche form { position: fixed; top: 76px; right: 20px; }
}

/* LE BANDEAU D'ACCUEIL (même maquette) : titre en italique gras, calé à gauche, phrase d'introduction, bouton « Adhérer » */
.hero-inner { min-height: 0; justify-content: start; text-align: left; grid-template-columns: minmax(0, 760px); padding: 104px 24px 112px; }
.hero-title { font-size: clamp(1.8rem, 2.4vw, 2.6rem); line-height: 1.3; margin-bottom: 18px; }
.hero-title-strong { font-style: italic; }
.hero-lede { margin: 0; max-width: 58ch; font-size: clamp(0.9rem, 1vw, 1.05rem); }
.hero-adherer { justify-self: start; margin-top: 28px; padding: 11px 24px; font-size: 0.9rem; opacity: 0; animation: apparition-fondu 0.6s ease 1.2s forwards; }
@keyframes apparition-fondu { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-adherer { opacity: 1; animation: none; }
}
@media (max-width: 992px) {
  .hero-inner { padding: 64px 24px 72px; }
}

/* La photo du bandeau d'un article (et d'une actualité, d'un événement) : une légère ombre portée pour lui donner du relief.
   L'ombre est sur le cadre et non sur l'image, que le recadrage (clip-path) rogne au bord. */
.v4-hero-cadre { border-radius: 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22), 0 18px 40px rgba(0, 0, 0, 0.38); }
.v4-hero-grille > .v4-hero-cadre { padding-top: 0; }   /* la marge de 10 px du texte ne vaut pas pour la photo : sinon l'ombre dessine une bande sombre au-dessus */
@media (max-width: 1100px) {
  .v4-hero-cadre { max-width: 542px; }
}

/* La taille du logo d'un partenaire, réglée dans l'admin ou l'aperçu des logos : de 110 à 250 % (classes écrites par classeTailleLogo).
   Accueil : le logo est agrandi dans sa tuile, qui rogne les marges blanches de l'image. Page Partenaires : il a plus de place. */
.logo-t110 { --taille: 1.1; } .logo-t120 { --taille: 1.2; } .logo-t130 { --taille: 1.3; } .logo-t140 { --taille: 1.4; } .logo-t150 { --taille: 1.5; } .logo-t160 { --taille: 1.6; } .logo-t170 { --taille: 1.7; } .logo-t180 { --taille: 1.8; } .logo-t190 { --taille: 1.9; } .logo-t200 { --taille: 2; } .logo-t210 { --taille: 2.1; } .logo-t220 { --taille: 2.2; } .logo-t230 { --taille: 2.3; } .logo-t240 { --taille: 2.4; } .logo-t250 { --taille: 2.5; }
.part-logo { overflow: hidden; }
.part-logo img { transform: translate(var(--lx, 0%), var(--ly, 0%)) scale(var(--taille, 1)); }   /* place puis taille (aperçu des logos) */
/* La place du logo dans sa case : lx = gauche (m) / droite, ly = haut (m) / bas, en % du logo (classes écrites par classeTailleLogo) */
.lx-m40 { --lx: -40%; } .lx-m38 { --lx: -38%; } .lx-m36 { --lx: -36%; } .lx-m34 { --lx: -34%; } .lx-m32 { --lx: -32%; } .lx-m30 { --lx: -30%; } .lx-m28 { --lx: -28%; } .lx-m26 { --lx: -26%; } .lx-m24 { --lx: -24%; } .lx-m22 { --lx: -22%; } .lx-m20 { --lx: -20%; } .lx-m18 { --lx: -18%; } .lx-m16 { --lx: -16%; } .lx-m14 { --lx: -14%; } .lx-m12 { --lx: -12%; } .lx-m10 { --lx: -10%; } .lx-m8 { --lx: -8%; } .lx-m6 { --lx: -6%; } .lx-m4 { --lx: -4%; } .lx-m2 { --lx: -2%; } .lx-2 { --lx: 2%; } .lx-4 { --lx: 4%; } .lx-6 { --lx: 6%; } .lx-8 { --lx: 8%; } .lx-10 { --lx: 10%; } .lx-12 { --lx: 12%; } .lx-14 { --lx: 14%; } .lx-16 { --lx: 16%; } .lx-18 { --lx: 18%; } .lx-20 { --lx: 20%; } .lx-22 { --lx: 22%; } .lx-24 { --lx: 24%; } .lx-26 { --lx: 26%; } .lx-28 { --lx: 28%; } .lx-30 { --lx: 30%; } .lx-32 { --lx: 32%; } .lx-34 { --lx: 34%; } .lx-36 { --lx: 36%; } .lx-38 { --lx: 38%; } .lx-40 { --lx: 40%; }
.ly-m40 { --ly: -40%; } .ly-m38 { --ly: -38%; } .ly-m36 { --ly: -36%; } .ly-m34 { --ly: -34%; } .ly-m32 { --ly: -32%; } .ly-m30 { --ly: -30%; } .ly-m28 { --ly: -28%; } .ly-m26 { --ly: -26%; } .ly-m24 { --ly: -24%; } .ly-m22 { --ly: -22%; } .ly-m20 { --ly: -20%; } .ly-m18 { --ly: -18%; } .ly-m16 { --ly: -16%; } .ly-m14 { --ly: -14%; } .ly-m12 { --ly: -12%; } .ly-m10 { --ly: -10%; } .ly-m8 { --ly: -8%; } .ly-m6 { --ly: -6%; } .ly-m4 { --ly: -4%; } .ly-m2 { --ly: -2%; } .ly-2 { --ly: 2%; } .ly-4 { --ly: 4%; } .ly-6 { --ly: 6%; } .ly-8 { --ly: 8%; } .ly-10 { --ly: 10%; } .ly-12 { --ly: 12%; } .ly-14 { --ly: 14%; } .ly-16 { --ly: 16%; } .ly-18 { --ly: 18%; } .ly-20 { --ly: 20%; } .ly-22 { --ly: 22%; } .ly-24 { --ly: 24%; } .ly-26 { --ly: 26%; } .ly-28 { --ly: 28%; } .ly-30 { --ly: 30%; } .ly-32 { --ly: 32%; } .ly-34 { --ly: 34%; } .ly-36 { --ly: 36%; } .ly-38 { --ly: 38%; } .ly-40 { --ly: 40%; }
.partenaire-logo img { max-width: calc(150px * var(--taille, 1)); max-height: min(64px, calc(46px * var(--taille, 1))); }
/* Dans l'aperçu des logos : les boutons − + posés sur chaque tuile (apercu.js) */
.part-logo[data-taille-logo] { position: relative; outline: 2px dashed #e1251d; outline-offset: -2px; cursor: grab; touch-action: none; user-select: none; }
.part-logo[data-taille-logo]:active { cursor: grabbing; }
.part-logo .apercu-zoom { top: 4px; right: 4px; padding: 2px; font-size: 12px; }
.part-logo .apercu-zoom button { width: 26px; height: 26px; font-size: 17px; }
.part-logo .apercu-zoom span { min-width: 42px; }

/* PAGE PARTENAIRES (planche « Page Partenaires ») : fond blanc, cartes toutes de la même taille, coins arrondis, ombre
   portée marquée ; toute la carte ouvre la fenêtre « En savoir plus » ; au survol, la carte se soulève (comme les actualités). */
.partenaires-zone, .partenaires-appel-zone { background: #fff; }
.partenaire { position: relative; height: 100%; border: 0; border-radius: 12px; box-shadow: 0 2px 6px rgba(6, 26, 51, 0.08), 0 12px 30px rgba(6, 26, 51, 0.14); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.partenaire:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(6, 26, 51, 0.1), 0 22px 44px rgba(6, 26, 51, 0.2); }
.partenaire .partenaire-logo { height: 64px; }
.partenaire-nom { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.6em; }
.partenaire-lien::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* le lien couvre toute la carte */
.partenaire:has(.partenaire-lien:focus-visible) { outline: 2px solid var(--navy-700); outline-offset: 3px; }
.partenaire-fenetre .partenaire-logo { height: auto; min-height: 46px; }   /* dans la fenêtre, le logo agrandi garde sa place */

/* PAGE ÉVÉNEMENTS (planche « Page Événements ») : fond blanc, une seule liste ; ombre portée légère sur chaque carte
   (plus discrète que les cartes de la page Partenaires). Date en rouge = à venir, en gris = passé. */
.ev-zone { background: #fff; }
.ev-carte { border: 0; box-shadow: 0 1px 3px rgba(6, 26, 51, 0.06), 0 6px 18px rgba(6, 26, 51, 0.08); }
/* Au survol d'un événement : le même effet que les cartes d'actualités (la carte se soulève, l'ombre grandit, le titre passe
   en rouge). Toute la carte mène à la page de l'événement ; le bouton (S'inscrire…) garde son propre lien, au-dessus. */
.ev-carte { position: relative; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.ev-carte:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(6, 26, 51, 0.08), 0 16px 34px rgba(6, 26, 51, 0.14); }
.ev-titre a { transition: color 0.15s ease; }
.ev-titre a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ev-carte:hover .ev-titre a, .ev-titre a:hover { color: var(--red); text-decoration: none; }
.ev-bouton { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .ev-carte, .ev-carte:hover { transition: none; transform: none; } }

/* PAGE ACTUALITÉS et « À voir aussi » d'une actualité (planches « Page Actualités » / « Page d'une actualité ») : fond blanc,
   et autour des cartes la même ombre portée marquée que les cartes de la page Partenaires (soulevées au survol). */
.actus-zone, .actu-aussi { background: #fff; }
.actus-grille .travail, .actu-aussi .travail { border: 0; border-radius: 12px; box-shadow: 0 2px 6px rgba(6, 26, 51, 0.08), 0 12px 30px rgba(6, 26, 51, 0.14); }
.actus-grille .travail:hover, .actu-aussi .travail:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(6, 26, 51, 0.1), 0 22px 44px rgba(6, 26, 51, 0.2); }
.actu-aussi { padding-top: 24px; }   /* le texte au-dessus est aussi sur fond blanc : moins d'espace entre les deux */

/* PAGE PRÉSENTATION : le texte du haut (paragraphes saisis dans l'admin), la photo envoyée dans l'admin,
   et « Tout savoir sur l'INAS en trois questions » : des <details> ; la question ouverte a un cadre bleu marine. */
.pres-mission .pres-titre { max-width: 16em; }
.pres-mission-texte p { max-width: 52ch; margin-bottom: 10px; font-size: 0.86rem; line-height: 1.8; color: var(--ink-3); }
.pres-photo--image { display: block; width: 100%; height: auto; object-fit: cover; }
.pres-domaines-tete h2 { max-width: 11em; }
.pres-faq .pres-titre { margin-bottom: 30px; font-size: clamp(1.4rem, 1.9vw, 1.9rem); }
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin-left: clamp(0px, 6vw, 70px); }
.faq-item { border: 1px solid #edf0f4; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(6, 26, 51, 0.05), 0 8px 20px rgba(6, 26, 51, 0.06); }
.faq-item[open] { border-color: var(--navy-900); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; list-style: none; cursor: pointer; font-size: 0.95rem; font-weight: 600; color: var(--navy-900); }
.faq-item summary::-webkit-details-marker { display: none; }
/* Le rond à droite : chevron bleu marine (fermé), puis rond marine et chevron blanc tourné vers le bas (ouvert) */
.faq-item summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 2px 6px rgba(6, 26, 51, 0.14); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061A33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(90deg); background-color: var(--navy-900); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E"); box-shadow: none; }
.faq-item summary:hover { color: var(--red); }
.faq-reponse { padding: 0 76px 24px 24px; font-size: 0.8rem; line-height: 1.85; color: var(--ink-3); }
.faq-reponse p + p, .faq-reponse ul { margin-top: 10px; }
.faq-reponse ul { padding-left: 1.2em; }
.faq-reponse .evenement-btn { margin-top: 18px; }
@media (max-width: 640px) { .faq-reponse { padding-right: 24px; } }

/* PAGE D'UNE COMMISSION, « La commission de l'INAS » (planche « Page d'une commission ») : fond blanc ; à droite, les axes de
   travail, puis le président et le vice-président, chacun dans un bloc à ombre portée ; les boutons dessous. */
.commission-presentation { background: #fff; }
.commission-cote { display: flex; flex-direction: column; gap: 14px; }
.commission-presentation .commission-axes, .commission-personne { border: 0; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(6, 26, 51, 0.08), 0 12px 30px rgba(6, 26, 51, 0.12); }
.commission-personne { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.commission-portrait { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.commission-portrait--initiales { display: flex; align-items: center; justify-content: center; background: var(--navy-100); font-size: 0.7rem; font-weight: 700; color: var(--navy-900); }
.commission-personne p { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.commission-role { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.commission-personne strong { font-size: 0.82rem; font-weight: 600; color: var(--navy-900); }
.commission-linkedin { flex: none; display: flex; width: 22px; height: 22px; color: var(--navy-700); transition: color 0.15s ease; }
.commission-linkedin svg { width: 100%; height: 100%; }
.commission-linkedin:hover { color: #0a66c2; }
.commission-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.commission-actions .btn { padding: 10px 20px; font-size: 0.8rem; }
.commission-btn-linkedin { display: inline-flex; align-items: center; gap: 8px; border-color: var(--navy-900); color: var(--navy-900); }
.commission-btn-linkedin svg { width: 15px; height: 15px; }
.commission-btn-linkedin:hover { background: var(--navy-900); color: #fff; }

/* UN TABLEAU dans un texte (lignes « a | b | c », voir texteEnHtml) : quadrillage fin, titres sur fond gris, 1re colonne en gras ;
   sur un petit écran, le tableau défile de côté plutôt que d'écraser ses colonnes. */
.texte-tableau { overflow-x: auto; margin: 24px 0 28px; }
.texte-tableau table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13px; line-height: 1.55; color: #333b4a; }
.texte-tableau th, .texte-tableau td { padding: 10px 12px; border: 1px solid #e2e6eb; text-align: left; vertical-align: top; }
.texte-tableau th { background: #f5f6f8; color: #12275e; font-weight: 700; }
.texte-tableau td:first-child { font-weight: 600; color: #12275e; }
.texte-tableau tbody tr:nth-child(even) td { background: #fafbfc; }

/* LES IMAGES ET TABLEAUX DU TEXTE d'un article, réglés dans l'aperçu (texteEnHtml, includes/outils.php ; apercu.js).
   Une image : sa largeur dans la colonne (tl-, de 30 à 100 %) et sa place quand elle est plus étroite (tp-, de 0 = à gauche
   à 100 = à droite) ; son recadrage passe par les classes cx-, cy-, cz- (plus haut). */
.texte-figure { width: var(--tl, 100%); margin-left: calc((100% - var(--tl, 100%)) * var(--tp, 0.5)); }
.texte-figure img { --rayon: 8px; }
.tl-30 { --tl: 30%; } .tl-40 { --tl: 40%; } .tl-50 { --tl: 50%; } .tl-60 { --tl: 60%; } .tl-70 { --tl: 70%; } .tl-80 { --tl: 80%; } .tl-90 { --tl: 90%; } .tl-100 { --tl: 100%; }
.tp-0 { --tp: 0; } .tp-10 { --tp: 0.1; } .tp-20 { --tp: 0.2; } .tp-30 { --tp: 0.3; } .tp-40 { --tp: 0.4; } .tp-50 { --tp: 0.5; } .tp-60 { --tp: 0.6; } .tp-70 { --tp: 0.7; } .tp-80 { --tp: 0.8; } .tp-90 { --tp: 0.9; } .tp-100 { --tp: 1; }
/* Un tableau : l'alignement du texte (ta-), la largeur de chaque colonne en % (tc-, tableau à colonnes fixes),
   la hauteur de chaque ligne en px (tr-). */
.texte-tableau.ta-centre :is(th, td) { text-align: center; }
.texte-tableau.ta-droite :is(th, td) { text-align: right; }
.texte-tableau.ta-justifie :is(th, td) { text-align: justify; hyphens: auto; }
.texte-tableau .tableau-fixe { table-layout: fixed; }
.texte-tableau td, .texte-tableau th { overflow-wrap: anywhere; }
.tc-3 { width: 3%; } .tc-4 { width: 4%; } .tc-5 { width: 5%; } .tc-6 { width: 6%; } .tc-7 { width: 7%; } .tc-8 { width: 8%; } .tc-9 { width: 9%; } .tc-10 { width: 10%; } .tc-11 { width: 11%; } .tc-12 { width: 12%; } .tc-13 { width: 13%; } .tc-14 { width: 14%; } .tc-15 { width: 15%; } .tc-16 { width: 16%; } .tc-17 { width: 17%; } .tc-18 { width: 18%; } .tc-19 { width: 19%; } .tc-20 { width: 20%; } .tc-21 { width: 21%; } .tc-22 { width: 22%; } .tc-23 { width: 23%; } .tc-24 { width: 24%; } .tc-25 { width: 25%; } .tc-26 { width: 26%; } .tc-27 { width: 27%; } .tc-28 { width: 28%; } .tc-29 { width: 29%; } .tc-30 { width: 30%; } .tc-31 { width: 31%; } .tc-32 { width: 32%; } .tc-33 { width: 33%; } .tc-34 { width: 34%; } .tc-35 { width: 35%; } .tc-36 { width: 36%; } .tc-37 { width: 37%; } .tc-38 { width: 38%; } .tc-39 { width: 39%; } .tc-40 { width: 40%; } .tc-41 { width: 41%; } .tc-42 { width: 42%; } .tc-43 { width: 43%; } .tc-44 { width: 44%; } .tc-45 { width: 45%; } .tc-46 { width: 46%; } .tc-47 { width: 47%; } .tc-48 { width: 48%; } .tc-49 { width: 49%; } .tc-50 { width: 50%; } .tc-51 { width: 51%; } .tc-52 { width: 52%; } .tc-53 { width: 53%; } .tc-54 { width: 54%; } .tc-55 { width: 55%; } .tc-56 { width: 56%; } .tc-57 { width: 57%; } .tc-58 { width: 58%; } .tc-59 { width: 59%; } .tc-60 { width: 60%; } .tc-61 { width: 61%; } .tc-62 { width: 62%; } .tc-63 { width: 63%; } .tc-64 { width: 64%; } .tc-65 { width: 65%; } .tc-66 { width: 66%; } .tc-67 { width: 67%; } .tc-68 { width: 68%; } .tc-69 { width: 69%; } .tc-70 { width: 70%; } .tc-71 { width: 71%; } .tc-72 { width: 72%; } .tc-73 { width: 73%; } .tc-74 { width: 74%; } .tc-75 { width: 75%; } .tc-76 { width: 76%; } .tc-77 { width: 77%; } .tc-78 { width: 78%; } .tc-79 { width: 79%; } .tc-80 { width: 80%; } .tc-81 { width: 81%; } .tc-82 { width: 82%; } .tc-83 { width: 83%; } .tc-84 { width: 84%; } .tc-85 { width: 85%; } .tc-86 { width: 86%; } .tc-87 { width: 87%; } .tc-88 { width: 88%; } .tc-89 { width: 89%; } .tc-90 { width: 90%; } .tc-91 { width: 91%; } .tc-92 { width: 92%; } .tc-93 { width: 93%; } .tc-94 { width: 94%; } .tc-95 { width: 95%; } .tc-96 { width: 96%; } .tc-97 { width: 97%; }
.tr-28 > * { height: 28px; } .tr-32 > * { height: 32px; } .tr-36 > * { height: 36px; } .tr-40 > * { height: 40px; } .tr-44 > * { height: 44px; } .tr-48 > * { height: 48px; } .tr-52 > * { height: 52px; } .tr-56 > * { height: 56px; } .tr-60 > * { height: 60px; } .tr-64 > * { height: 64px; } .tr-68 > * { height: 68px; } .tr-72 > * { height: 72px; } .tr-76 > * { height: 76px; } .tr-80 > * { height: 80px; } .tr-84 > * { height: 84px; } .tr-88 > * { height: 88px; } .tr-92 > * { height: 92px; } .tr-96 > * { height: 96px; } .tr-100 > * { height: 100px; } .tr-104 > * { height: 104px; } .tr-108 > * { height: 108px; } .tr-112 > * { height: 112px; } .tr-116 > * { height: 116px; } .tr-120 > * { height: 120px; } .tr-124 > * { height: 124px; } .tr-128 > * { height: 128px; } .tr-132 > * { height: 132px; } .tr-136 > * { height: 136px; } .tr-140 > * { height: 140px; } .tr-144 > * { height: 144px; } .tr-148 > * { height: 148px; } .tr-152 > * { height: 152px; } .tr-156 > * { height: 156px; } .tr-160 > * { height: 160px; } .tr-164 > * { height: 164px; } .tr-168 > * { height: 168px; } .tr-172 > * { height: 172px; } .tr-176 > * { height: 176px; } .tr-180 > * { height: 180px; } .tr-184 > * { height: 184px; } .tr-188 > * { height: 188px; } .tr-192 > * { height: 192px; } .tr-196 > * { height: 196px; } .tr-200 > * { height: 200px; } .tr-204 > * { height: 204px; } .tr-208 > * { height: 208px; } .tr-212 > * { height: 212px; } .tr-216 > * { height: 216px; } .tr-220 > * { height: 220px; } .tr-224 > * { height: 224px; } .tr-228 > * { height: 228px; } .tr-232 > * { height: 232px; } .tr-236 > * { height: 236px; } .tr-240 > * { height: 240px; }

/* Dans l'aperçu : la barre d'outils au-dessus de chaque image et de chaque tableau du texte, et les bords à faire glisser. */
.apercu-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; padding: 8px 10px; border-radius: 8px; background: #0a2145; color: #fff; font-size: 13px; line-height: 1.3; }
.apercu-outils > span { display: inline-flex; align-items: center; gap: 2px; }
.apercu-outils em { margin-right: 4px; font-style: normal; color: #c9d4e8; }
.apercu-outils b { min-width: 42px; text-align: center; font-weight: 600; }
.apercu-outils button { min-width: 28px; height: 28px; padding: 0 8px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, 0.1); color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.apercu-outils button:hover { background: rgba(255, 255, 255, 0.22); }
.apercu-outils button[aria-pressed="true"] { background: #e1251d; }
.apercu-outils small { flex-basis: 100%; color: #c9d4e8; font-size: 12px; }
figure[data-bloc-image] { outline: 2px dashed #e1251d; outline-offset: 3px; }
figure[data-bloc-image] > .apercu-outils { margin-bottom: 10px; }
.texte-tableau[data-bloc-tableau] { outline: 2px dashed #e1251d; outline-offset: 3px; }
.texte-tableau[data-bloc-tableau] table { user-select: none; }
.texte-tableau.bord-colonne { cursor: col-resize; }
.texte-tableau.bord-ligne { cursor: row-resize; }

/* PAGE D'UN ARTICLE : en descendant, la colonne de gauche suit la lecture (les rédacteurs, puis le sommaire), calée à 24 px
   du haut de l'écran (l'en-tête du site ne reste pas fixé). Elle tient toujours dans l'écran : les rédacteurs restent
   visibles et, s'il manque de la place, c'est le sommaire qui défile à l'intérieur. */
.art-cote { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); }
.art-redacteurs { flex: none; }
.art-sommaire { min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.art-texte h2 { scroll-margin-top: 24px; }
@media (max-width: 1100px) {
  .art-cote { position: static; max-height: none; }
  .art-sommaire { overflow: visible; }
}

/* PAGE D'UNE ÉDITION (publications hors articles : OFID, ORS, ONAS, rapports, guides, entretiens).
   La couverture est à droite, dans le bandeau bleu, au format de la photo (jamais coupée ni déformée) : verticale =
   300 px de haut, horizontale = 300 px de large. Toutes partent du même point, en haut à droite d'un même cadre de
   300 × 300 px, à la hauteur du titre : le bandeau a toujours la même hauteur. L'encadré des auteurs est donc toujours
   au même endroit : sous le bandeau, à la hauteur de « Présentation de l'édition », aligné à droite comme la couverture. */
.ofid-bandeau { background: var(--navy-900); color: #fff; }
.ofid-haut { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 60px; align-items: start; padding-top: 48px; padding-bottom: 48px; }
.ofid-haut .ofid-tete { grid-area: auto; padding: 0; background: none; box-shadow: none; clip-path: none; }
.ofid-couv-cadre { display: flex; align-items: flex-start; justify-content: flex-end; height: 300px; }
.ofid-couv-cadre .ofid-couv { flex: none; width: 212px; height: 300px; aspect-ratio: auto; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.ofid-couv-cadre img.ofid-couv { width: auto; max-width: 300px; object-fit: contain; container-type: normal; }   /* verticale : 300 px de haut, la largeur suit la photo */
.ofid-couv-cadre img.ofid-couv--paysage { width: 380px; max-width: 380px; height: auto; max-height: 300px; }   /* horizontale (guides) : 380 px de large, elle déborde un peu à gauche de la colonne */
.ofid-grille { grid-template-areas: "texte cote"; grid-template-rows: auto; }
.ofid-cote { padding-top: 44px; }   /* comme .ofid-texte : l'encadré commence à la hauteur de « Présentation de l'édition » */
.ofid-cote .ofid-auteurs { margin-top: 0; }
@media (max-width: 860px) {
  .ofid-haut { grid-template-columns: 1fr; row-gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .ofid-couv-cadre { justify-content: flex-start; height: auto; }
  .ofid-couv-cadre img.ofid-couv--paysage { max-width: 100%; }
  .ofid-grille { grid-template-areas: "texte" "cote"; }
  .ofid-cote { padding-top: 30px; }
}

/* ACCUEIL, carrousel « Dernières publications » (planche « Page d'accueil ») : des flèches bien visibles. Rondes, blanches,
   flèche bleu marine, ombre portée ; rouges au survol. À mi-hauteur des cartes, de part et d'autre des trois publications
   du milieu (la centrale et ses deux voisines), dans l'espace entre les cartes ; jamais hors de l'écran. */
.pubs-fleche { top: calc(50% - 20px); width: 42px; height: 42px; border: 0; background: #fff; color: var(--navy-900); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.pubs-fleche svg { width: 18px; height: 18px; stroke-width: 2.6; }
.pubs-fleche:hover { background: var(--red); color: #fff; transform: translate(-50%, -50%) scale(1.08); }
.pubs-fleche--prev { left: max(21px, calc(50% - 489px)); right: auto; transform: translate(-50%, -50%); }
.pubs-fleche--next { left: min(calc(100% - 21px), calc(50% + 489px)); right: auto; transform: translate(-50%, -50%); }
@media (max-width: 720px) {
  .pubs-fleche { width: 38px; height: 38px; }
  .pubs-fleche--prev { left: 19px; }
  .pubs-fleche--next { left: calc(100% - 19px); }
}

/* PAGE D'UNE ÉDITION, « À lire aussi » (planche « Pages Observatoires ») : au survol, chaque publication réagit comme une carte
   d'actualité. Elle devient une carte blanche qui se soulève avec une ombre portée, et son nom passe en rouge. Toute la carte
   mène à la publication. La rangée garde un peu de marge pour que l'ombre et le soulèvement ne soient pas coupés. */
.ofid-liste { padding: 10px 30px 40px; margin: -10px -30px -40px; }
.ofid-liste li { position: relative; padding: 10px; border-radius: 12px; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.ofid-liste li:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 4px 10px rgba(6, 26, 51, 0.1), 0 22px 44px rgba(6, 26, 51, 0.2); }
.ofid-liste h3 { transition: color 0.15s ease; }
.ofid-liste li:hover h3 { color: var(--red); }
.ofid-liste .ofid-lien::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* toute la carte est cliquable */
.ofid-liste li:hover .ofid-lien { text-decoration: none; }
.ofid-rangee [data-defile-prev], .ofid-rangee [data-defile-next] { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .ofid-liste li, .ofid-liste li:hover { transition: none; transform: none; } }

/* PAGE D'UN GUIDE (couverture horizontale, planche « Pages Guides ») : la couverture et le titre sont centrés en hauteur dans
   le bandeau bleu, au lieu d'être calés en haut. Dans « À lire aussi », les couvertures horizontales gardent leur format. */
.ofid-haut:has(.ofid-couv--paysage) { align-items: center; }
.ofid-couv-cadre:has(.ofid-couv--paysage) { align-items: center; }
.ofid-liste li:has(.ofid-couv--paysage) { flex-basis: min(70vw, 280px); }
.ofid-liste .ofid-couv--paysage { aspect-ratio: 300 / 212; height: auto; container-type: normal; }

/* ACCUEIL (blocs « Cartographie » et « DualTech ») et PAGE ÉVÉNEMENTS (la liste) : les blocs un peu moins larges, avec plus
   d'espace à gauche et à droite (planches « Page d'accueil » / « Page Événements » : environ 20 % de marge en plus). */
.projet-section > .container, .dt-section > .container, .ev-zone > .container { padding-inline: calc(24px + 2vw); }
@media (max-width: 720px) {
  .projet-section > .container, .dt-section > .container, .ev-zone > .container { padding-inline: 24px; }
}

/* PAGE PUBLICATIONS (planche « Pages Publications ») : hors articles, la miniature montre la couverture entière (la page A4),
   verticale ou horizontale, sans la couper (l'ombre portée qui la détache du blanc est plus bas). */
.trav-visuel--couv { aspect-ratio: auto; border-radius: 4px; }
.trav-visuel--couv img { height: auto; object-fit: contain; }
.trav-visuel--couv .trav-type { top: 6px; left: 6px; }

/* PAGE D'UNE ÉDITION, « À lire aussi » : au survol, plus de carte blanche ni d'ombre portée ; la couverture se soulève
   légèrement et le nom passe en rouge. Le soulèvement et l'ombre sont sur le cadre de la couverture (.ofid-liste-couv) et non
   sur l'image, que le recadrage réglé dans l'aperçu rogne au bord (clip-path). */
.ofid-liste li { padding: 0; }
.ofid-liste li:hover { background: none; transform: none; box-shadow: none; }
.ofid-liste-couv { display: block; margin-bottom: 10px; border-radius: 6px; transition: transform 0.2s ease; }
.ofid-liste .ofid-couv { margin-bottom: 0; --rayon: 6px; }
.ofid-liste li:hover .ofid-liste-couv { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .ofid-liste li:hover .ofid-liste-couv { transform: none; } }

/* Toutes les miniatures posées sur le fond blanc (liste des Publications, « À lire aussi ») : une légère ombre portée, la même
   partout, qui détache aussi les couvertures blanches de la page ; l'étiquette (« Rapport », « Guide »…) a sa petite ombre. */
.trav-visuel, .ofid-liste-couv { box-shadow: 0 1px 3px rgba(6, 26, 51, 0.12), 0 6px 16px rgba(6, 26, 51, 0.14); }
.trav-type { box-shadow: 0 1px 2px rgba(6, 26, 51, 0.18), 0 2px 6px rgba(6, 26, 51, 0.16); }

/* Aperçu d'une édition : sa couverture dans « À lire aussi », à côté de la miniature et du visuel de l'accueil, à recadrer
   (glisser, molette, − +). Elle ne bouge pas au survol et le lien « En savoir plus » ne la recouvre pas. */
.apercu-pub:has(.apercu-liste) { grid-template-columns: minmax(0, 391px) 300px auto; }
.apercu-liste { margin: 24px 0 0; padding: 0; overflow: visible; }
.apercu-liste li:hover .ofid-liste-couv { transform: none; }
.apercu-liste .ofid-lien::after { content: none; }
@media (max-width: 1100px) { .apercu-pub:has(.apercu-liste) { grid-template-columns: minmax(0, 391px) 300px; } }
@media (max-width: 860px) { .apercu-pub:has(.apercu-liste) { grid-template-columns: 1fr; } }

/* LE ZOOM AU 0,1 % PRÈS (aperçu : − + de 1 %, ou le % tapé) : un chiffre par classe (classesZoom, includes/outils.php),
   z0 = unités, z1 = dixièmes, z2 = centièmes, z3 = millièmes ; « z0-1 z1-8 z3-5 » = 1,805. zoom-plein : l'image remplit son
   cadre, agrandie d'autant. entiere (sous 100 %) : l'image se voit entière (object-fit: contain), à cette taille, et se place
   dans son cadre à la souris (cx-, cy-) ; le vide autour prend le fond du cadre. */
.zoom-plein { --cz: calc(var(--z0, 0) + var(--z1, 0) + var(--z2, 0) + var(--z3, 0)); }
img.entiere { object-fit: contain; --ce: calc(var(--z0, 0) + var(--z1, 0) + var(--z2, 0) + var(--z3, 0)); }
.z0-1 { --z0: 1; } .z0-2 { --z0: 2; } .z0-3 { --z0: 3; } .z0-4 { --z0: 4; } .z0-5 { --z0: 5; } .z0-6 { --z0: 6; } .z0-7 { --z0: 7; } .z0-8 { --z0: 8; } .z0-9 { --z0: 9; }
.z1-1 { --z1: 0.1; } .z1-2 { --z1: 0.2; } .z1-3 { --z1: 0.3; } .z1-4 { --z1: 0.4; } .z1-5 { --z1: 0.5; } .z1-6 { --z1: 0.6; } .z1-7 { --z1: 0.7; } .z1-8 { --z1: 0.8; } .z1-9 { --z1: 0.9; }
.z2-1 { --z2: 0.01; } .z2-2 { --z2: 0.02; } .z2-3 { --z2: 0.03; } .z2-4 { --z2: 0.04; } .z2-5 { --z2: 0.05; } .z2-6 { --z2: 0.06; } .z2-7 { --z2: 0.07; } .z2-8 { --z2: 0.08; } .z2-9 { --z2: 0.09; }
.z3-1 { --z3: 0.001; } .z3-2 { --z3: 0.002; } .z3-3 { --z3: 0.003; } .z3-4 { --z3: 0.004; } .z3-5 { --z3: 0.005; } .z3-6 { --z3: 0.006; } .z3-7 { --z3: 0.007; } .z3-8 { --z3: 0.008; } .z3-9 { --z3: 0.009; }
/* Dans l'aperçu : le zoom en %, à taper (entre les boutons − +). */
.apercu-zoom label { display: flex; align-items: center; gap: 2px; padding: 0 2px; }
.apercu-zoom input { width: 52px; height: 28px; padding: 0 6px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 5px; background: rgba(255, 255, 255, 0.1); color: #fff; font: inherit; text-align: right; }
.apercu-zoom input:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, 0.2); }
.ofid-liste img.ofid-couv { background: #fff; }   /* « À lire aussi » : bandes blanches, pas le dégradé de la couverture dessinée */

/* PAGE PUBLICATIONS, les filtres (planche « Pages Publications ») : pas de barre sous la dernière rubrique (Commissions),
   et le bloc gris se ferme juste sous « Voir plus ». Sans JavaScript, le bouton « Appliquer » garde un peu d'air au-dessus. */
.trav-filtres fieldset:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.trav-filtres { padding-bottom: 14px; }
.trav-appliquer { margin-top: 12px; }
/* Pendant la mise à jour de la liste (un filtre vient de changer) : la liste s'estompe un instant, sans clignoter. */
[data-resultats] { transition: opacity 0.15s ease; }
[data-resultats].est-en-cours { opacity: 0.55; }

/* PAGE D'UNE COMMISSION (maquette Figma « Pages Commissions », cadre de 1440 px) : le bandeau, puis trois blocs sur fond
   blanc. Contenu sur 1208 px (116 px de marge de chaque côté dans la maquette), polices et couleurs reprises de Figma. */
.com-conteneur { width: min(100% - 48px, 1208px); margin-inline: auto; }
/* Le bandeau : 360 px de haut, la photo sous un voile marine, le nom (54 px) et l'accroche en italique */
.com-hero { position: relative; min-height: 360px; overflow: hidden; background: #061634; color: #fff; }
.com-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(6, 22, 52, 0.82); }
.com-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.com-hero-texte { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 18px; padding: 109px 0 56px; }
.com-titre { font-size: 54px; font-weight: 700; line-height: 64px; }
.com-accroche { max-width: 900px; color: #c9d4e8; font-size: 18px; font-style: italic; line-height: 30px; }
/* Les titres des blocs */
.com-h2 { color: #12275e; font-size: 36px; font-weight: 700; line-height: 46px; }
.com-h2--grand { flex: 1; font-size: 40px; }
.com-entete { display: flex; align-items: center; gap: 24px; margin-bottom: 30px; }
.com-vide { color: #292e38; font-size: 15px; }
/* Les boutons : rouge (Rejoindre), contour marine (LinkedIn), marine plein (Voir tous…) */
.com-btn { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 22px; letter-spacing: -0.2px; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; }
.com-btn svg { width: 18px; height: 18px; }
.com-btn--rouge { background: #c42b25; color: #fff; }
.com-btn--rouge:hover { background: #a8231e; }
.com-btn--contour { padding-inline: 16px; border: 1.5px solid #12275e; color: #12275e; }
.com-btn--contour:hover { background: #12275e; color: #fff; }
.com-btn--marine { padding: 14px 28px; background: #12275e; color: #fff; font-size: 16px; line-height: normal; letter-spacing: 0; }
.com-btn--marine:hover { background: #0a1a45; }
.com-btn--petit { padding: 12px 22px; font-size: 14px; font-weight: 600; line-height: 22px; }
/* 1. La commission de l'INAS : texte (614 px) à gauche, colonne de 500 px à droite, 72 px entre les deux */
.com-bloc--presentation { padding: 88px 0; }
.com-intro { display: grid; grid-template-columns: minmax(0, 614px) minmax(0, 500px); gap: 72px; align-items: start; }
.com-texte { display: flex; flex-direction: column; gap: 14px; color: #292e38; font-size: 17px; line-height: 29px; }
.com-cote { display: flex; flex-direction: column; gap: 18px; }
.com-carte { border: 1px solid #e2e6eb; border-radius: 14px; background: #fff; box-shadow: 0 3px 14px rgba(0, 0, 0, 0.14); }
.com-axes { display: flex; flex-direction: column; gap: 18px; padding: 36px 36px 40px; margin-bottom: 6px; }
.com-axes h3 { color: #12275e; font-size: 22px; font-weight: 700; }
.com-axes ul { display: flex; flex-direction: column; gap: 18px; list-style: none; }
.com-axes li { position: relative; max-width: 380px; padding-left: 20px; color: #12275e; font-size: 16px; line-height: 24px; }
.com-axes li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #e1251d; }
.com-personne { display: flex; align-items: center; gap: 14px; padding: 16px 18px 16px 16px; }
.com-portrait { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.com-portrait--initiales { display: flex; align-items: center; justify-content: center; background: var(--navy-100); color: #12275e; font-size: 16px; font-weight: 700; }
.com-personne p { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.com-role { color: #e1251d; font-size: 12px; font-weight: 600; letter-spacing: 0.72px; text-transform: uppercase; }
.com-personne strong { color: #12275e; font-size: 16px; font-weight: 600; }
.com-linkedin { flex: none; display: flex; width: 28px; height: 28px; color: #12275e; transition: color 0.15s ease; }
.com-linkedin svg { width: 100%; height: 100%; }
.com-linkedin:hover { color: #0a66c2; }
.com-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
/* 2. Les dernières publications : image 324 × 186 (date posée dessus), texte à droite ; toute la ligne est cliquable */
.com-bloc--publications { padding: 56px 0 43px; }
.com-pubs { display: flex; flex-direction: column; gap: 30px; max-width: 1137px; list-style: none; }
.com-pub { position: relative; display: grid; grid-template-columns: 324px minmax(0, 1fr); gap: 30px; align-items: center; }
.com-pub-visuel { position: relative; height: 186px; border-radius: 16px; overflow: hidden; }
.com-pub-visuel img, .com-pub-visuel div { display: block; width: 100%; height: 100%; object-fit: cover; }
.com-pub-date { position: absolute; top: 14px; left: 14px; padding: 6px 14px; border-radius: 999px; background: #fff; color: #061332; font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: -0.2px; }
.com-pub-texte { display: flex; flex-direction: column; gap: 10px; letter-spacing: -0.2px; }
.com-pub-texte h3 { color: #061332; font-size: 18px; font-weight: 600; line-height: 27px; }
.com-pub-texte p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: #292e38; font-size: 13px; line-height: 21px; }
.com-lire { color: #e1251d; font-size: 13px; font-weight: 600; line-height: 20px; }
.com-lien { transition: color 0.15s ease; }
.com-lien::after { content: ""; position: absolute; inset: 0; }   /* toute la ligne (ou la carte) mène à la page */
.com-pub:hover .com-lien, .com-actu:hover .com-lien { color: #e1251d; }
.com-pub:hover .com-lire { text-decoration: underline; }
/* 3. Actualités de la commission : quatre cartes (photo 176 px de haut, date rouge, titre, début du texte) */
.com-bloc--actus { padding: 56px 0 74px; }
.com-actus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; }
.com-actu { position: relative; display: flex; flex-direction: column; gap: 12px; letter-spacing: -0.2px; }
.com-actu-visuel { display: block; width: 100%; height: 176px; border-radius: 14px; object-fit: cover; --rayon: 14px; }
.com-actu-date { color: #e1251d; font-size: 12px; font-weight: 600; line-height: 18px; }
.com-actu h3 { color: #061332; font-size: 16px; font-weight: 600; line-height: 24px; }
.com-actu-texte { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; color: #292e38; font-size: 13px; line-height: 21px; }
@media (max-width: 1100px) {
  .com-intro { grid-template-columns: 1fr; gap: 40px; }
  .com-cote { max-width: 500px; }
  .com-actus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .com-titre { font-size: 36px; line-height: 44px; }
  .com-hero-texte { padding-top: 64px; }
  .com-h2, .com-h2--grand { font-size: 28px; line-height: 36px; }
  .com-entete { flex-wrap: wrap; }
  .com-pub { grid-template-columns: 1fr; gap: 16px; }
  .com-actus { grid-template-columns: 1fr; }
}

/* PAGES CARRIÈRE, D'UNE OFFRE ET « CANDIDATER À CETTE OFFRE » (maquettes Figma « V4 - Page Carrière », « V4 - Page d'une
   offre », « V4 - Candidater à cette offre », cadre de 1440 px). Cartes blanches à ombre portée, textes #292e38. */
.carriere-hero { background: linear-gradient(rgba(6, 22, 52, 0.8), rgba(6, 22, 52, 0.8)), url('../img/carriere-banniere.jpg') center / cover no-repeat, url('../img/hero-globe.jpg') center / cover no-repeat, #061634; }
.carriere-hero .travaux-hero-inner { padding-top: 240px; }
.car-zone { padding: 88px 0; background: #fff; }
.car-zone--offre { padding: 56px 0 88px; }
.car-conteneur { width: min(100% - 48px, 1200px); margin-inline: auto; }
.car-conteneur--large { width: min(100% - 48px, 1240px); }
.car-titre { margin-bottom: 40px; color: #12275e; font-size: 40px; font-weight: 700; line-height: 48px; }
.car-titre--offre { margin-bottom: 28px; line-height: 1.25; }
.car-vide { color: #292e38; font-size: 16px; line-height: 1.6; }
.car-retour { color: #c42b25; font-weight: 600; }
/* La liste des offres : une carte par offre, le bouton « Candidater » à droite ; toute la carte mène à l'offre */
.car-offres { display: flex; flex-direction: column; gap: 26px; list-style: none; }
.car-offre { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px 26px 32px; border: 1px solid #e2e6eb; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.car-offre:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2); }
.car-offre-texte { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.car-offre h3 { color: #12275e; font-size: 21px; font-weight: 600; line-height: 28px; }
.car-lien { transition: color 0.15s ease; }
.car-lien::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.car-offre:hover .car-lien { color: #c42b25; }
.car-infos { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #292e38; font-size: 13.5px; font-weight: 700; line-height: 20px; }
.car-infos span { display: inline-flex; align-items: center; gap: 6px; }
.car-infos img { flex: none; width: 14px; height: 14px; }
.car-resume { color: #292e38; font-size: 15px; line-height: 25px; }
/* Les boutons : marine plein, ou blanc à contour (« Revenir à l'offre ») */
.car-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 14px 28px; border: 0; border-radius: 999px; background: #12275e; color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; line-height: normal; white-space: nowrap; cursor: pointer; transition: background 0.15s ease; }
.car-btn:hover { background: #0a1a45; }
.car-btn--grand { min-width: 266px; margin-bottom: 28px; padding: 15px 28px; font-size: 15px; line-height: 1.2; }
.car-btn--clair { border: 1px solid #e0e5f0; background: #fff; color: #12275e; font-size: 15px; font-weight: 600; }
.car-btn--clair:hover { background: #f2f4f8; }
/* La page d'une offre : un bloc par rubrique (titre 19 px, texte 15 px, puces rouges) */
.car-blocs, .car-formulaire { display: flex; flex-direction: column; gap: 24px; }
.car-formulaire { gap: 22px; }
.car-bloc { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 28px; border: 1px solid #e0e5f0; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18); }
.car-bloc h2 { color: #12275e; font-size: 19px; font-weight: 600; line-height: 1.35; }
.car-texte { display: flex; flex-direction: column; gap: 12px; color: #292e38; font-size: 15px; line-height: 1.75; }
.car-puces { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.car-puces li { position: relative; padding-left: 18px; color: #292e38; font-size: 15px; line-height: 1.75; }
.car-puces li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: #c42b25; }
/* Le formulaire de candidature : champs sur deux colonnes, libellés en petites capitales, saisie sur fond gris */
.car-offre-nom { margin: -16px 0 28px; color: #292e38; font-size: 17px; font-weight: 600; }
.car-formulaire .car-bloc { gap: 20px; padding: 28px 30px 30px; }
.car-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.car-champ { display: flex; flex-direction: column; gap: 8px; }
.car-champ > span, .car-etiquette { color: #5a657a; font-size: 12px; font-weight: 600; line-height: 18px; letter-spacing: 0.4px; text-transform: uppercase; }
.car-champ input, .car-champ textarea { width: 100%; padding: 14px 18px; border: 1px solid #e0e5f0; border-radius: 10px; background: #f2f4f8; color: #292e38; font-family: inherit; font-size: 15px; line-height: 24px; letter-spacing: -0.2px; }
.car-champ textarea { min-height: 140px; resize: vertical; }
.car-champ input:focus, .car-champ textarea:focus { outline: none; border-color: #12275e; background: #fff; }
.car-documents { display: flex; flex-direction: column; gap: 12px; }
.car-depot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border: 1px dashed #c5cddd; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.car-depot:hover, .car-depot:focus-within { border-color: #12275e; background: #f7f8fb; }
.car-depot.est-rempli { border-style: solid; }
.car-depot-nom { color: #12275e; font-size: 14px; font-weight: 500; line-height: 22px; }
.car-depot-fichier { color: #292e38; font-size: 13px; line-height: 20px; text-align: right; overflow-wrap: anywhere; }
.car-depot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }   /* le vrai champ, invisible, couvre tout le cadre */
.car-accord { display: flex; align-items: center; gap: 12px; color: #292e38; font-size: 13px; line-height: 20px; cursor: pointer; }
.car-accord input { flex: none; width: 20px; height: 20px; accent-color: #12275e; }
.car-boutons { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.car-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.car-erreurs { margin-bottom: 22px; padding: 18px 22px; border: 1px solid #f1c2bf; border-radius: 12px; background: #fdf2f1; color: #8a1f1a; font-size: 15px; line-height: 1.6; }
.car-erreurs ul { margin-top: 6px; padding-left: 1.2em; }
.car-merci h2 { font-size: 22px; }
.car-merci p { color: #292e38; font-size: 15px; line-height: 1.7; }
@media (max-width: 860px) {
  .car-offre { flex-direction: column; align-items: flex-start; }
  .car-grille { grid-template-columns: 1fr; }
  .car-titre { font-size: 30px; line-height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .car-offre, .car-offre:hover { transition: none; transform: none; } }
