/* ==========================================================================
   Foundiougne.com — feuille de styles de la plateforme (maquette 2026)
   Sommaire
   1. Tokens          2. Base              3. Typo & sections   4. Boutons
   5. Photos          6. Header & menus    7. Recherche         8. Héros
   9. Accueil        10. Listes & cartes  11. Filtres          12. Fiches
   13. Formulaires   14. Pages spéciales  15. Footer           16. Modale/toast
   17. Animations    18. Impression
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --red: #d3121b; --red-deep: #a80f18; --red-soft: #fdecec;
  --navy: #12294a; --navy-2: #0c1f3b;
  --bolong: #1d5f7a; --bolong-soft: #e3eff3;
  --mangrove: #2c6a4e; --mangrove-soft: #e4f0ea;
  --tanne: #c2843f; --tanne-soft: #f7ecdf;
  --sel: #f3f6f5; --sel-2: #e8efed;
  --ink: #14213a; --muted: #586579; --line: #d9e1e4; --line-soft: #e8edef; --white: #fff;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1240px; --gutter: 16px; --header-h: 76px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --shadow-pop: 0 24px 60px -24px rgba(18,41,74,.35), 0 2px 6px rgba(18,41,74,.06);
  --shadow-soft: 0 12px 30px -18px rgba(18,41,74,.35);
  --shadow-lift: 0 26px 50px -24px rgba(18,41,74,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
mark { background: #ffe7a8; color: inherit; border-radius: 3px; padding: 0 2px; }
:focus-visible { outline: 3px solid var(--bolong); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; } .ico--xs { width: 14px; height: 14px; }
.tbd { color: #8a6a3f; font-style: normal; }
body.no-scroll { overflow: hidden; }
.center { text-align: center; margin-top: 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 3. Typographie & sections ---------- */
.h2 { font-size: clamp(30px, 3.6vw, 46px); font-variation-settings: "wdth" 112; letter-spacing: -.02em; line-height: 1.06; color: var(--navy); text-wrap: balance; }
.h3 { font-size: clamp(22px, 2vw, 28px); font-variation-settings: "wdth" 110; letter-spacing: -.01em; color: var(--navy); margin: 0 0 18px; }
.layout-side__main > .h3:not(:first-child) { margin-top: clamp(40px, 5vw, 56px); }
.h-small { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.lead { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(32px, 4vw, 48px); }
.section--flush { padding-top: 0; }
.section--alt { background: var(--sel); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); border: 0; border-bottom: 1.5px solid currentColor; background: none; padding: 0 0 2px; transition: gap .25s var(--ease); }
.link-arrow:hover { gap: 13px; }
.prose h2 { font-size: 24px; color: var(--navy); margin: 36px 0 10px; font-variation-settings: "wdth" 108; }
.prose p { margin-bottom: 14px; }
.prose a { color: var(--red); text-decoration: underline; }

/* ---------- 4. Boutons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center; overflow: hidden; isolation: isolate; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(211,18,27,.7); }
.btn--red:hover { background: var(--red-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--bolong); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sel-2); }
.btn--outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--navy); }
.btn--glass { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::before { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn--outline.is-loading::before { border-color: var(--line); border-top-color: var(--navy); }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); transition: border-color .2s, background-color .2s, transform .2s; }
.icon-btn:hover { border-color: var(--navy); }
.icon-btn span { font-weight: 600; font-size: 15px; }
.icon-btn--search { padding: 0 8px 0 12px; color: var(--muted); min-width: 0; }
.icon-btn--search span { font-weight: 500; }
.icon-btn kbd { font: 600 12px var(--font); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; color: var(--muted); background: var(--sel); }
.round-btn { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; display: grid; place-items: center; transition: background-color .2s, color .2s, transform .3s var(--spring), opacity .2s; }
.round-btn:hover { background: #fff; color: var(--navy); transform: scale(1.06); }
.round-btn:disabled { opacity: .3; pointer-events: none; }

/* ---------- 5. Photos ---------- */
.photo { position: relative; display: block; overflow: hidden; background-color: var(--bolong); background-size: cover; background-position: center; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.photo--wide { aspect-ratio: 16 / 11; border-radius: var(--r-lg); }
.photo--inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--r-md); border: 6px solid #fff; box-shadow: var(--shadow-soft); }

/* ==========================================================================
   6. HEADER & MENUS
   ========================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1500; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--tanne)); transform-origin: left; transform: scaleX(0); }
.topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: 14px; }
.topbar__row { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__place { display: flex; align-items: center; gap: 8px; }
.topbar__place .ico { width: 16px; height: 16px; color: #ff8d92; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 5px; }
.topbar__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(18,41,74,.4); }
.site-header__row { height: var(--header-h); display: flex; align-items: center; gap: 18px; transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__row { height: calc(var(--header-h) - 10px); }
.brand img { width: 172px; transition: width .3s var(--ease); }
.site-header.is-scrolled .brand img { width: 150px; }
.site-header__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav { margin-left: auto; }
.nav__head, .nav__foot { display: none; }
.nav__list { display: flex; align-items: center; gap: 0; }
.nav__item { position: relative; }
.nav__item--mega { position: static; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: none; font-size: 15px; font-weight: 500; white-space: nowrap; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover::after, .nav__link.is-current::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__link.is-current { color: var(--navy); font-weight: 650; }
.nav__trigger .ico { transition: transform .3s var(--ease); color: var(--muted); }
.nav__item.is-open > .nav__trigger .ico { transform: rotate(180deg); color: var(--red); }
.dropdown { position: absolute; top: calc(100% + 14px); left: 0; min-width: 250px; padding: 8px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-pop); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top left; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: 15px; transition: background-color .15s, color .15s, padding-left .2s var(--ease); }
.dropdown a .ico { color: var(--bolong); }
.dropdown a:hover { background: var(--sel); color: var(--red); padding-left: 18px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line-soft); box-shadow: 0 40px 60px -30px rgba(18,41,74,.45); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.nav__item.is-open > .dropdown, .nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-block: 30px 34px; }
.mega__groups { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; }
.mega__title { font-size: 13px; font-weight: 600; color: var(--muted); padding: 0 12px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
.mega__group a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; transition: background-color .15s, transform .25s var(--ease); }
.mega__group a .ico { color: var(--bolong); margin-top: 2px; transition: transform .3s var(--spring), color .2s; }
.mega__group a strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.mega__group a small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.mega__group a:hover { background: var(--sel); }
.mega__group a:hover strong, .mega__group a:hover .ico { color: var(--red); }
.mega__group a:hover .ico { transform: scale(1.15) rotate(-6deg); }
.nav__item.is-open .mega__group li { animation: megaIn .4s var(--ease) both; }
.nav__item.is-open .mega__group li:nth-child(2) { animation-delay: .03s; } .nav__item.is-open .mega__group li:nth-child(3) { animation-delay: .06s; }
.nav__item.is-open .mega__group li:nth-child(4) { animation-delay: .09s; } .nav__item.is-open .mega__group li:nth-child(5) { animation-delay: .12s; } .nav__item.is-open .mega__group li:nth-child(6) { animation-delay: .15s; }
@keyframes megaIn { from { opacity: 0; transform: translateY(8px); } }
.mega__aside { background: var(--navy); color: rgba(255,255,255,.85); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; font-size: 15px; background-image: radial-gradient(120% 90% at 100% 0%, rgba(29,95,122,.8), transparent 60%); }
.mega__aside-title { color: #fff; font-size: 19px; font-weight: 700; font-variation-settings: "wdth" 110; }
.mega__aside-links { margin-top: auto; display: grid; gap: 6px; }
.mega__aside-links a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.scrim { position: fixed; inset: 0; z-index: 990; background: rgba(14,34,64,.45); backdrop-filter: blur(2px); }
@media (max-width: 1199px) {
  .site-header { backdrop-filter: none; background: #fff; }
  .nav { position: fixed; z-index: 1100; top: 0; right: 0; bottom: 0; width: min(420px, 100%); margin: 0; display: flex; flex-direction: column; background: #fff; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; box-shadow: -20px 0 60px rgba(14,34,64,.25); }
  .nav.is-open .nav__list > li { animation: megaIn .45s var(--ease) both; }
  .nav.is-open .nav__list > li:nth-child(n) { animation-delay: calc(var(--n, 0) * 1ms); }
  .nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; background: #fff; z-index: 2; }
  .nav__head img { width: 140px; }
  .nav__list { display: block; padding: 8px var(--gutter) 16px; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }
  .nav__link { width: 100%; height: 56px; padding: 0 4px; justify-content: space-between; font-size: 17px; }
  .nav__link::after { display: none; }
  .nav__link.is-current { color: var(--red); }
  .dropdown, .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; transition: none; min-width: 0; padding: 0; background: none; }
  .nav__item.is-open > .dropdown, .nav__item.is-open > .mega { display: block; }
  .dropdown ul { padding: 0 0 12px 8px; }
  .mega .wrap { width: 100%; }
  .mega__inner { display: block; padding: 0 0 14px; }
  .mega__groups { display: block; }
  .mega__title { padding: 8px 4px; border: 0; margin: 0; }
  .mega__group a { padding: 10px 6px; }
  .mega__group a small, .mega__aside { display: none; }
  .nav__foot { display: grid; gap: 14px; padding: 16px var(--gutter) 28px; margin-top: auto; background: var(--sel); }
  .nav__foot-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--navy); font-weight: 500; }
}
@media (min-width: 1200px) { .icon-btn--menu, .scrim { display: none; } .site-header__tools { margin-left: 6px; } .icon-btn--search span { display: none; } }
@media (min-width: 1560px) { .icon-btn--search span { display: inline; } .nav__link { padding: 0 12px; } }
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .topbar__links { display: none; }
  .topbar__row { min-height: 34px; font-size: 13px; }
  .brand img, .site-header.is-scrolled .brand img { width: 136px; }
  .icon-btn--search { display: none; }
}

/* ==========================================================================
   7. RECHERCHE INSTANTANÉE
   ========================================================================== */
.search-ov { position: fixed; inset: 0; z-index: 2000; display: grid; justify-items: center; align-items: start; padding: 10vh var(--gutter) 24px; }
.search-ov__backdrop { position: absolute; inset: 0; background: rgba(12,31,59,.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.search-ov__panel { position: relative; width: min(760px, 100%); max-height: 78vh; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); overflow: hidden; transform: translateY(-16px) scale(.98); opacity: 0; transition: transform .35s var(--spring), opacity .25s; }
.search-ov.is-open .search-ov__backdrop { opacity: 1; }
.search-ov.is-open .search-ov__panel { transform: none; opacity: 1; }
.search-ov__form { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line-soft); }
.search-ov__form > .ico { color: var(--red); width: 24px; height: 24px; }
.search-ov__form input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: clamp(18px, 2.4vw, 22px); padding: 10px 0; background: none; }
.search-ov__results { overflow-y: auto; padding: 8px 22px 22px; }
.search-ov__label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 18px 0 8px; }
.search-ov__quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.search-ov__quick a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border-radius: 12px; background: var(--sel); font-weight: 600; transition: background-color .2s, transform .25s var(--ease); }
.search-ov__quick a .ico { color: var(--red); }
.search-ov__quick a:hover { background: var(--sel-2); transform: translateY(-2px); }
.search-ov__all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 600; }
.search-ov__all.is-active, .search-ov__all:hover { background: var(--bolong); }
.sres li a { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px; transition: background-color .15s; }
.sres li a > .ico:first-child { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--sel); color: var(--bolong); }
.sres li a > span { flex: 1; min-width: 0; display: grid; }
.sres li a strong { font-weight: 600; }
.sres li a small { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sres li a em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--red); }
.sres li a > .ico:last-child { color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.sres li a:hover, .sres li a.is-active { background: var(--sel); }
.sres li a:hover > .ico:last-child, .sres li a.is-active > .ico:last-child { opacity: 1; transform: none; }
.sres--page li { border-bottom: 1px solid var(--line-soft); }
.sres--page li a { padding: 16px 8px; }
@media (max-width: 600px) { .search-ov { padding-top: 12px; } .search-ov__panel { max-height: 92vh; } .search-ov__quick { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   8. HÉROS
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(600px, 90vh, 820px); display: flex; align-items: center; color: #fff; background: var(--navy); }
.hero__media { position: absolute; inset: -6% 0 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,28,52,.88) 0%, rgba(10,28,52,.6) 45%, rgba(10,28,52,.15) 80%), linear-gradient(0deg, rgba(10,28,52,.6) 0%, transparent 40%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: center; padding-block: 64px 170px; }
.hero__place { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.hero__place::before { content: ""; width: 36px; height: 2px; background: var(--red); transform-origin: left; animation: grow 1s var(--ease) .1s both; }
@keyframes grow { from { transform: scaleX(0); } }
.hero__title { max-width: 15ch; font-size: clamp(40px, 6.2vw, 84px); font-variation-settings: "wdth" 118; line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.hero__lead { max-width: 560px; margin-top: 26px; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: rgba(255,255,255,.9); animation: rise .9s var(--ease) .45s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; animation: rise .9s var(--ease) .6s both; }
.hero__content--center { text-align: center; padding-block: 90px 170px; display: grid; justify-items: center; }
.hero__content--center .hero__title { max-width: 18ch; margin-top: 18px; }
.hero__content--center .crumbs ol { justify-content: center; }
.hero--tour { min-height: clamp(560px, 86vh, 760px); }
.today { padding: 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); animation: rise 1s var(--ease) .7s both; }
.today__date { font-size: 14px; color: rgba(255,255,255,.78); }
.today__date::first-letter { text-transform: uppercase; }
.today__main { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 16px; flex-wrap: wrap; }
.today__temp { font-size: 52px; font-weight: 700; font-variation-settings: "wdth" 115; line-height: 1; }
.today__temp b { font-weight: inherit; }
.today__desc { font-size: 15px; color: rgba(255,255,255,.88); }
.today__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.today__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 13px; }
.today__list .ico { grid-row: span 2; align-self: center; color: #ffc59a; }
.today__list span { color: rgba(255,255,255,.7); }
.today__list b { font-size: 15px; }
.today__src { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 6px; }
.today.is-live .today__src::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* Marée animée */
.tide { position: absolute; left: 0; bottom: -1px; width: 200%; height: 80px; animation: tide 18s linear infinite; pointer-events: none; }
.tide--hero { height: 90px; }
.tide__fill { fill: #fff; }
.tide__line { fill: none; stroke: var(--red); stroke-width: 2.5; vector-effect: non-scaling-stroke; transform: translateY(-14px); }
@keyframes tide { to { transform: translateX(-50%); } }

/* Héros des pages intérieures */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.page-hero__art { position: absolute; inset: -8% 0 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.page-hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,28,52,.92) 0%, rgba(10,28,52,.72) 50%, rgba(10,28,52,.35) 100%); }
.page-hero--red .page-hero__shade { background: linear-gradient(90deg, rgba(120,10,18,.92), rgba(10,28,52,.6)); }
.page-hero--mangrove .page-hero__shade { background: linear-gradient(90deg, rgba(14,52,38,.92), rgba(10,28,52,.5)); }
.page-hero--bolong .page-hero__shade { background: linear-gradient(90deg, rgba(10,50,70,.93), rgba(10,28,52,.5)); }
.page-hero--tanne .page-hero__shade { background: linear-gradient(90deg, rgba(70,40,14,.9), rgba(10,28,52,.55)); }
.page-hero__inner { padding-block: 28px clamp(110px, 12vw, 140px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: clamp(28px, 5vw, 56px); }
.page-hero__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 14px; font-weight: 500; animation: rise .7s var(--ease) both; }
.page-hero__kicker .ico { width: 18px; height: 18px; color: #ffc59a; }
.page-hero__title { max-width: 20ch; font-size: clamp(36px, 5vw, 64px); font-variation-settings: "wdth" 116; line-height: 1.02; letter-spacing: -.022em; text-wrap: balance; }
.page-hero__intro { max-width: 640px; margin-top: 18px; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: rgba(255,255,255,.88); animation: rise .8s var(--ease) .3s both; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: rise .8s var(--ease) .4s both; }
.page-hero__aside { animation: rise .9s var(--ease) .45s both; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: rgba(255,255,255,.75); }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: #fff; max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-search { width: min(380px, 100%); padding: 20px; border-radius: var(--r-lg); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); }
.hero-search label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.hero-search__field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: #fff; color: var(--ink); }
.hero-search__field .ico { color: var(--muted); }
.hero-search__field input { flex: 1; min-width: 0; border: 0; outline: 0; min-height: 50px; background: none; font-size: 16px; }
.hero-search__count { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.75); }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); padding-block: 56px 150px; gap: 32px; }
  .today { max-width: 420px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero__grid { padding-block: 40px 120px; }
  .hero__shade { background: linear-gradient(0deg, rgba(10,28,52,.92) 0%, rgba(10,28,52,.6) 60%, rgba(10,28,52,.4) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .today__temp { font-size: 42px; }
  .tide, .tide--hero { height: 54px; }
  .page-hero__inner { padding-bottom: 96px; }
}

/* ==========================================================================
   9. ACCUEIL
   ========================================================================== */
.quick { position: relative; z-index: 5; margin-top: -100px; }
.quick__panel { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-pop); padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; animation: rise 1s var(--ease) .5s both; }
.quick__search label { display: block; font-size: clamp(20px, 2vw, 24px); font-weight: 700; font-variation-settings: "wdth" 110; color: var(--navy); margin-bottom: 12px; }
.quick__field { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--sel); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.quick__field:focus-within { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 5px rgba(29,95,122,.12); }
.quick__field .ico { color: var(--muted); }
.quick__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; padding: 10px 0; }
.quick__links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); padding-top: 6px; }
.quick__links a { display: flex; align-items: center; gap: 10px; padding: 14px 12px; border-radius: 10px; font-weight: 600; font-size: 15.5px; line-height: 1.25; color: var(--navy); transition: background-color .2s, color .2s; }
.quick__links a .ico { color: var(--red); transition: transform .35s var(--spring); }
.quick__links a:hover { background: var(--sel); color: var(--red); }
.quick__links a:hover .ico { transform: scale(1.2) rotate(-8deg); }
.ticker { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 10px 0; overflow: hidden; }
.ticker__label { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13.5px; font-weight: 600; }
.ticker__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker__track ul { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover ul, .ticker:focus-within ul { animation-play-state: paused; }
.ticker li a { display: inline-flex; gap: 8px; padding: 0 28px; white-space: nowrap; font-size: 15px; color: var(--ink); border-right: 1px solid var(--line); }
.ticker li a b { color: var(--bolong); font-weight: 600; }
.ticker li a:hover { color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 1100px) { .quick__links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .quick { margin-top: -70px; }
  .quick__field .btn { display: none; }
  .quick__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick__links a { padding: 12px 8px; font-size: 15px; min-height: 52px; }
  .ticker__label span { display: none; }
}

.discover__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.discover__media { position: relative; padding: 0 48px 56px 0; }
.discover__badge { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-soft); animation: float 6s ease-in-out infinite; }
.discover__badge .ico { color: var(--red); }
@keyframes float { 50% { transform: translateY(-6px); } }
.discover__text .lead { margin-top: 22px; }
.discover__text .btn-row { margin-top: 28px; }
.facts { margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(120px, 40%) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { font-weight: 600; font-size: 15.5px; }
.facts dd a { color: var(--red); }
@media (max-width: 900px) { .discover__grid { grid-template-columns: minmax(0, 1fr); } .discover__media { max-width: 560px; } }
@media (max-width: 520px) { .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .discover__media { padding: 0 24px 40px 0; } }

.services-home { background: var(--sel); }
.svc-home { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.svc-home__popular { padding: 26px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-soft); }
.svc-home__popular .link-arrow { margin-top: 18px; }
@media (max-width: 1000px) { .svc-home { grid-template-columns: minmax(0, 1fr); } }

.esn { position: relative; overflow: hidden; margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: clamp(24px, 3vw, 38px) clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--bolong); color: #fff; isolation: isolate; }
.esn__waves { position: absolute; inset: 0; z-index: -1; background: repeating-radial-gradient(circle at 100% 0, transparent 0 22px, rgba(255,255,255,.06) 22px 23px); animation: ripple 10s linear infinite; }
@keyframes ripple { to { background-position: 46px 46px; } }
.esn h3 { font-size: clamp(22px, 2.2vw, 28px); font-variation-settings: "wdth" 110; }
.esn p { margin-top: 8px; max-width: 62ch; color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .esn .btn { width: 100%; } }

.news-home__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.news-home__list { display: grid; align-content: start; }
@media (max-width: 960px) { .news-home__grid { grid-template-columns: minmax(0, 1fr); } }

.projects-home { background: var(--sel); }
.projects-home__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.kpis { display: flex; gap: clamp(20px, 3vw, 44px); margin-bottom: clamp(28px, 4vw, 44px); }
.kpis dt { font-size: 14px; color: var(--muted); }
.kpis dd { font-size: clamp(34px, 4vw, 52px); font-weight: 700; font-variation-settings: "wdth" 115; color: var(--navy); line-height: 1; margin-top: 4px; }
.kpis--hero { margin: 0; padding: 20px 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); flex-wrap: wrap; }
.kpis--hero dt { color: rgba(255,255,255,.75); }
.kpis--hero dd { color: #fff; font-size: clamp(30px, 3.4vw, 44px); }

.work-home__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.sectors { display: grid; gap: 0; margin-bottom: 26px; }
.sectors a { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.sectors a:hover { padding-left: 8px; }
.sectors .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--mangrove-soft); color: var(--mangrove); transition: background-color .2s, color .2s, transform .3s var(--spring); }
.sectors a:hover .ico { background: var(--mangrove); color: #fff; transform: rotate(-10deg); }
.sectors strong { display: block; font-weight: 600; color: var(--navy); }
.sectors small { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.jobs-box { border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; }
.jobs-box__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 22px 24px 16px; border-bottom: 3px solid var(--red); flex-wrap: wrap; }
.jobs-box__head h3 { font-size: 21px; font-variation-settings: "wdth" 110; color: var(--navy); }
.jobs-box__head a { font-size: 15px; font-weight: 600; color: var(--red); }
.jobs-box__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 24px 22px; }
@media (max-width: 900px) { .work-home__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .jobs-box__actions { grid-template-columns: 1fr; } }

.agenda-home { background: var(--sel); }
.agenda-home__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.agenda a { display: flex; align-items: center; gap: 20px; padding: 18px 20px; margin-bottom: 10px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.agenda a:hover { transform: translateX(6px); box-shadow: var(--shadow-soft); border-color: var(--line); }
.agenda a > .ico { color: var(--red); margin-left: auto; }
.agenda__date { flex: none; width: 64px; display: grid; justify-items: center; padding: 8px 0; border-radius: 12px; background: var(--navy); color: #fff; font-size: 13px; line-height: 1.1; }
.agenda__date b { font-size: 26px; font-variation-settings: "wdth" 115; }
.agenda__main { display: grid; gap: 2px; }
.agenda__main small { font-size: 13px; font-weight: 600; color: var(--bolong); }
.agenda__main strong { font-weight: 600; font-size: 17px; color: var(--navy); }
.agenda__main span { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 860px) { .agenda-home__grid { grid-template-columns: minmax(0, 1fr); } }

.town-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.town-cloud a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 16px; transition: all .25s var(--ease); }
.town-cloud a .ico { color: var(--bolong); }
.town-cloud a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }
.town-cloud a:hover .ico { color: #fff; }
.town-cloud a.is-chef { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
.town-cloud a.is-chef .ico { color: #fff; }

/* ==========================================================================
   10. LISTES & CARTES
   ========================================================================== */
/* Démarches */
.dlist { border-top: 1px solid var(--line); }
.drow { display: flex; align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1px solid var(--line); transition: background-color .2s, padding .3s var(--ease); }
.drow:hover { background: var(--sel); padding-left: 14px; padding-right: 10px; }
.drow__ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--bolong-soft); color: var(--bolong); transition: background-color .2s, color .2s; }
.drow__ico .ico { width: 20px; height: 20px; }
.drow:hover .drow__ico { background: var(--red); color: #fff; }
.drow__main { flex: 1; min-width: 0; display: grid; }
.drow__main strong { font-weight: 600; font-size: 16px; line-height: 1.35; }
.drow__main small { font-size: 14px; color: var(--muted); line-height: 1.4; }
.drow__go { color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.drow:hover .drow__go { transform: translateX(4px); color: var(--red); }
.dlist--big .drow { padding-block: 18px; }
.dlist--big .drow__main strong { font-size: 17px; }
.tag { flex: none; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag--local { background: var(--mangrove-soft); color: var(--mangrove); }
.tag--esn { background: var(--bolong-soft); color: var(--bolong); }
@media (max-width: 600px) { .drow { flex-wrap: wrap; } .drow__main { flex-basis: calc(100% - 60px); } .drow .tag { margin-left: 54px; } .drow__go { display: none; } .drow__main small { display: none; } }
.dgroup { margin-bottom: 36px; }
.dgroup__title { font-size: 18px; margin-bottom: 8px; }
.dgroup__title a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.dgroup__title .ico { color: var(--red); }
.dgroup__title a:hover { color: var(--red); }

/* Tuiles de services */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { --c: var(--bolong); --cs: var(--bolong-soft); position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-soft); overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.tile::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: var(--cs); z-index: -1; transform: scale(.4); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; }
.tile:hover::before { transform: scale(1.6); opacity: 1; }
.tile > .ico { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--cs); color: var(--c); margin-bottom: 8px; transition: transform .4s var(--spring), background-color .3s, color .3s; }
.tile:hover > .ico { background: var(--c); color: #fff; transform: rotate(-8deg) scale(1.08); }
.tile strong { font-weight: 650; font-size: 16.5px; color: var(--navy); line-height: 1.3; }
.tile small { font-size: 14px; color: var(--muted); line-height: 1.4; }
.tile__foot { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--c); }
.tile__foot .ico { transition: transform .3s var(--ease); }
.tile:hover .tile__foot .ico { transform: translateX(4px); }
.tile--red { --c: var(--red); --cs: var(--red-soft); }
.tile--navy { --c: var(--navy); --cs: #e3e8f1; }
.tile--mangrove { --c: var(--mangrove); --cs: var(--mangrove-soft); }
.tile--tanne { --c: #a86b2a; --cs: var(--tanne-soft); }
.tiles--big { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tiles--big .tile { padding: 24px; min-height: 200px; }
.svc-group + .svc-group { margin-top: 48px; }
.svc-group .h3 { margin-bottom: 18px; }
@media (max-width: 1000px) { .tiles--big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { padding: 16px; } .tiles--big .tile { min-height: 0; padding: 18px; } .tile small { display: none; } .tiles--big .tile small { display: block; } }

/* Actualités */
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; color: var(--muted); }
.meta .cat { color: var(--red); font-weight: 600; }
.meta a { display: inline-flex; align-items: center; gap: 4px; }
.ncard__media { display: block; overflow: hidden; border-radius: var(--r-md); }
.ncard__media .photo { aspect-ratio: 16 / 10; transition: transform .8s var(--ease); }
.ncard:hover .ncard__media .photo { transform: scale(1.05); }
.ncard__body { padding-top: 16px; }
.ncard__title { margin-top: 8px; font-size: 19px; line-height: 1.3; font-weight: 650; color: var(--navy); text-wrap: balance; }
.ncard__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.ncard:hover .ncard__title a { background-size: 100% 1.5px; }
.ncard__excerpt { margin-top: 8px; color: var(--muted); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard--lead .ncard__media { border-radius: var(--r-lg); }
.ncard--lead .ncard__title { font-size: clamp(24px, 2.4vw, 32px); font-variation-settings: "wdth" 110; letter-spacing: -.015em; }
.ncard--lead .ncard__excerpt { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.ncard--row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ncard--row:first-child { padding-top: 0; }
.ncard--row .ncard__media .photo { aspect-ratio: 4 / 3; }
.ncard--row .ncard__body { padding: 0; }
.ncard--row .ncard__title { font-size: 17px; }
.ncard--row .ncard__excerpt { display: none; }
.ncard--hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.ncard--hero .ncard__media { border-radius: var(--r-lg); }
.ncard--hero .ncard__title { font-size: clamp(26px, 3vw, 40px); font-variation-settings: "wdth" 112; letter-spacing: -.02em; }
.ncard--hero .ncard__excerpt { font-family: var(--serif); font-size: 20px; color: var(--ink); -webkit-line-clamp: 4; }
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.ngrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .ngrid, .ngrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ncard--hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .ngrid, .ngrid--2, .ngrid--3 { grid-template-columns: minmax(0, 1fr); } .ncard--row { grid-template-columns: 108px minmax(0, 1fr); gap: 14px; } .ncard--row .ncard__title { font-size: 16px; } }

/* Flux RSS */
.feed { margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--tanne-soft) 0, #fff 150px); }
.feed__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 22px; }
.feed__head h3 { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-variation-settings: "wdth" 110; color: var(--navy); }
.feed__head h3 .ico { color: var(--tanne); }
.feed__head p { font-size: 14.5px; color: var(--muted); max-width: 520px; }
.feed__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.feed__grid.is-loaded .feed-item { animation: rise .6s var(--ease) both; }
.feed__grid.is-loaded .feed-item:nth-child(2) { animation-delay: .1s; } .feed__grid.is-loaded .feed-item:nth-child(3) { animation-delay: .2s; }
.feed-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; }
.feed-item__media { display: block; border-radius: 10px; overflow: hidden; }
.feed-item__media .photo { aspect-ratio: 1; }
.feed-item h4 { margin-top: 4px; font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--navy); }
.feed-item h4 a:hover { color: var(--red); }
.feed-item__excerpt { margin-top: 6px; font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-item__src { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 13px; font-weight: 600; color: #a86b2a; }
.skel { display: block; height: 12px; margin: 8px 0; border-radius: 6px; background: linear-gradient(90deg, var(--line-soft) 0, #f6f8f8 40%, var(--line-soft) 80%) 0 0 / 300% 100%; animation: shimmer 1.2s linear infinite; }
.skel--sq { width: 76px; height: 76px; margin: 0; border-radius: 10px; }
.skel--short { width: 50%; }
@keyframes shimmer { to { background-position: -300% 0; } }
@media (max-width: 960px) { .feed__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Projets */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard { --st: var(--bolong); display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-soft); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard[data-status="etude"] { --st: var(--tanne); }
.pcard[data-status="livre"] { --st: var(--mangrove); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.pcard__media { position: relative; display: block; overflow: hidden; }
.pcard__media .photo { aspect-ratio: 16 / 10; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media .photo { transform: scale(1.06); }
.status-pill { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--st); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-soft); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pcard[data-status="cours"] .status-pill::before { animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot { 50% { opacity: .3; } }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.pcard__sector { font-size: 13.5px; font-weight: 600; color: var(--st); }
.pcard h3 { font-size: 19px; line-height: 1.3; color: var(--navy); font-weight: 650; }
.pcard h3 a:hover { color: var(--red); }
.pcard__place { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--muted); }
.meter { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; }
.meter__bar { flex: 1; height: 7px; border-radius: 7px; background: var(--line-soft); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--st, var(--bolong)); transition: width 1.4s var(--ease) .2s; }
.meter__val { font-size: 14px; font-weight: 600; color: var(--navy); min-width: 48px; text-align: right; }
.pgrid--list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pgrid--list .pcard { flex-direction: row; }
.pgrid--list .pcard__media { width: 240px; flex: none; }
.pgrid--list .pcard__media .photo { height: 100%; aspect-ratio: auto; min-height: 150px; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pgrid, .pgrid--2 { grid-template-columns: minmax(0, 1fr); } .pgrid--list .pcard { flex-direction: column; } .pgrid--list .pcard__media { width: auto; } }

/* Emplois */
.jlist { display: grid; }
.jrow { position: relative; border-bottom: 1px solid var(--line-soft); }
.jrow__link { display: flex; align-items: center; gap: 16px; padding: 18px 64px 18px 24px; transition: background-color .2s; }
.jrow__link:hover { background: var(--sel); }
.jrow__logo { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; font-size: 18px; font-variation-settings: "wdth" 115; transition: transform .35s var(--spring); }
.jrow:hover .jrow__logo { transform: rotate(-8deg); }
.jrow__main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.jrow__main strong { font-weight: 600; font-size: 16.5px; color: var(--navy); }
.jrow__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; color: var(--muted); }
.jrow__meta span { display: inline-flex; align-items: center; gap: 4px; }
.jrow__side { flex: none; display: grid; justify-items: end; gap: 6px; }
.jrow__side small { font-size: 13px; color: var(--muted); }
.jrow__side small.urgent { color: var(--red); font-weight: 600; }
.ctype { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bolong-soft); color: var(--bolong); }
.ctype--cdi { background: var(--mangrove-soft); color: var(--mangrove); }
.ctype--stage { background: var(--tanne-soft); color: #9a5f22; }
.ctype--saisonnier { background: #fdf3d8; color: #8a6510; }
.ctype--temps-partiel { background: #efe9f8; color: #5a3f92; }
.fav { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); transition: color .2s, background-color .2s, transform .35s var(--spring); }
.fav:hover { background: #fff; color: var(--tanne); }
.fav[aria-pressed="true"] { color: #e0a21b; }
.fav[aria-pressed="true"] .ico { fill: currentColor; animation: pop .4s var(--spring); }
@keyframes pop { 50% { transform: scale(1.4); } }
.jlist--page { border-top: 1px solid var(--line-soft); }
.jlist--page .jrow__link { padding-left: 8px; }
@media (max-width: 640px) {
  .jrow__link { flex-wrap: wrap; padding: 16px 56px 16px 16px; gap: 12px; }
  .jrow__logo { width: 40px; height: 40px; }
  .jrow__main { flex-basis: calc(100% - 56px); }
  .jrow__side { justify-items: start; grid-auto-flow: column; align-items: center; margin-left: 52px; }
  .jlist--page .jrow__link { padding-left: 4px; }
  .fav { top: 26px; transform: none; right: 6px; }
}

/* Tourisme : carrousel */
.tour { position: relative; padding-block: clamp(110px, 12vw, 150px) clamp(60px, 7vw, 96px); background: var(--navy-2); background-image: radial-gradient(90% 70% at 85% 10%, rgba(29,95,122,.6) 0%, transparent 70%); color: #fff; overflow: hidden; }
.tour__edge { position: absolute; top: -1px; left: 0; width: 100%; height: 70px; fill: #fff; }
.agenda-home + .tour .tour__edge, .services-home + .tour .tour__edge { fill: var(--sel); }
.tour__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.tour__title { font-size: clamp(34px, 5vw, 68px); font-variation-settings: "wdth" 118; letter-spacing: -.025em; line-height: 1; max-width: 13ch; text-wrap: balance; }
.tour__lead { margin-top: 20px; max-width: 54ch; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 22px); color: rgba(255,255,255,.82); }
.tour__nav { display: flex; gap: 10px; flex: none; }
.tour__track { --edge: max(var(--gutter), (100vw - var(--wrap)) / 2); display: flex; gap: 18px; margin-top: clamp(32px, 4vw, 48px); padding-inline: var(--edge); scroll-padding-inline: var(--edge); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.tour__track::-webkit-scrollbar { display: none; }
.tour__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.tour__track.is-drag .place { pointer-events: none; }
.tour__foot { margin-top: 32px; }
.tour__progress { height: 2px; background: rgba(255,255,255,.18); border-radius: 2px; overflow: hidden; }
.tour__progress i { display: block; height: 100%; width: 20%; background: #fff; transition: width .2s linear; }
.place { position: relative; flex: none; scroll-snap-align: start; width: clamp(260px, 27vw, 360px); aspect-ratio: 3 / 4.2; border-radius: var(--r-lg); overflow: hidden; background: var(--bolong); color: #fff; }
.place--wide { width: clamp(290px, 46vw, 640px); }
.place__photo { position: absolute; inset: 0; transition: transform 1s var(--ease); }
.place:hover .place__photo { transform: scale(1.06); }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,24,46,.92) 0%, rgba(8,24,46,.35) 45%, rgba(8,24,46,0) 70%); pointer-events: none; }
.place__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; }
.place__kind { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.place h3 { margin-top: 10px; font-size: clamp(22px, 2vw, 28px); font-variation-settings: "wdth" 112; letter-spacing: -.01em; }
.place--wide h3 { font-size: clamp(26px, 2.8vw, 38px); }
.place__text > p:not(.place__kind) { margin-top: 8px; font-size: 15.5px; line-height: 1.45; color: rgba(255,255,255,.86); max-width: 40ch; }
.place__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 0; border: 0; background: none; color: #fff; font-weight: 600; border-bottom: 1.5px solid rgba(255,255,255,.6); transition: gap .25s var(--ease); }
.place__more:hover { gap: 12px; }
.place--cta { background: var(--red); display: flex; align-items: flex-end; }
.place--cta::after { display: none; }
.place--cta .place__text { position: static; }
.place--cta .btn { margin-top: 22px; }
.places-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.places-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.places-grid .place { width: 100%; aspect-ratio: 4 / 4.6; }
@media (max-width: 960px) { .places-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tour__nav { display: none; } .tour__track .place { width: 78vw; aspect-ratio: 3 / 3.9; } .tour__track .place--wide { width: 86vw; } .tour__edge { height: 40px; } }
@media (max-width: 560px) { .places-grid, .places-grid--2 { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   11. FILTRES & BARRES D'OUTILS
   ========================================================================== */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-soft); margin-bottom: 18px; }
.toolbar--stack { display: grid; }
.toolbar__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar__search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 48px; border-radius: 12px; background: var(--sel); border: 1.5px solid transparent; transition: border-color .2s, background-color .2s; }
.toolbar__search:focus-within { border-color: var(--navy); background: #fff; }
.toolbar__search .ico { color: var(--muted); }
.toolbar__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; min-height: 46px; }
.select { position: relative; }
.select select { appearance: none; min-height: 48px; padding: 0 40px 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; font-size: 15px; max-width: 100%; cursor: pointer; }
.select select:focus { border-color: var(--navy); outline: 0; }
.select .ico { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; font-weight: 500; white-space: nowrap; transition: all .2s var(--ease); }
.chip span { font-size: 12.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--sel-2); color: var(--muted); transition: inherit; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] span { background: rgba(255,255,255,.2); color: #fff; }
.chip--fav[aria-pressed="true"] { background: #e0a21b; border-color: #e0a21b; }
.chip--fav[aria-pressed="true"] .ico { fill: currentColor; }
.view-toggle { display: flex; margin-left: auto; padding: 4px; border-radius: 12px; background: var(--sel); }
.view-toggle button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; color: var(--muted); transition: background-color .2s, color .2s; }
.view-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(18,41,74,.12); }
.result-count { margin: 6px 0 18px; font-size: 15px; color: var(--muted); }
.result-count b { color: var(--navy); font-size: 17px; }
.tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 50px; padding: 0 16px; border: 0; background: none; font-weight: 500; font-size: 16px; color: var(--muted); transition: color .2s; }
.tabs button[aria-selected="true"] { color: var(--navy); font-weight: 650; }
.tabs button:hover { color: var(--ink); }
.tabs__ink { position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--red); transition: transform .4s var(--ease), width .4s var(--ease); }
.empty { display: grid; justify-items: center; gap: 6px; padding: 48px 20px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--r-lg); }
.empty > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--sel); color: var(--bolong); margin-bottom: 6px; }
.empty b { color: var(--navy); font-size: 17px; }
.empty a { color: var(--red); text-decoration: underline; }
.empty .btn { margin-top: 14px; }
.empty--big { padding: 80px 20px; }
.empty--inline { display: flex; justify-content: flex-start; gap: 12px; padding: 18px 20px; text-align: left; border-style: solid; background: var(--sel); border-color: transparent; }
.empty--inline > .ico { margin: 0; width: 36px; height: 36px; padding: 8px; background: #fff; }
@media (max-width: 640px) { .toolbar { padding: 12px; } .select, .select select { width: 100%; } .toolbar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; } .view-toggle { margin-left: 0; } }

/* ==========================================================================
   12. FICHES (service, démarche, projet, offre, article)
   ========================================================================== */
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.layout-side__aside { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 18px; }
@media (max-width: 960px) { .layout-side { grid-template-columns: minmax(0, 1fr); } .layout-side__aside { position: static; } }
.card-contact { padding: 24px; border-radius: var(--r-lg); background: var(--navy); color: rgba(255,255,255,.88); background-image: radial-gradient(120% 80% at 100% 0, rgba(29,95,122,.7), transparent 60%); }
.card-contact .h-small { color: #fff; }
.card-contact .h-small .ico { color: #ffc59a; }
.card-contact ul { display: grid; gap: 12px; margin-bottom: 20px; font-size: 15px; }
.card-contact li { display: flex; gap: 10px; align-items: flex-start; }
.card-contact li .ico { margin-top: 2px; color: rgba(255,255,255,.6); }
.card-contact .tbd { color: #f0c896; }
.card-contact a:not(.btn) { text-decoration: underline; }
.card-contact .btn--navy { background: #fff; color: var(--navy); }
.card-contact .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.aside-block { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.aside-block .facts { margin: 0; }
.aside-block .link-arrow { margin-top: 14px; }
.mini-links { display: grid; }
.mini-links a, .mini-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 6px; border: 0; border-bottom: 1px solid var(--line-soft); background: none; font-size: 15px; font-weight: 500; text-align: left; transition: color .2s, padding-left .25s var(--ease); }
.mini-links .ico { color: var(--bolong); }
.mini-links a:hover, .mini-btn:hover { color: var(--red); padding-left: 12px; }
.aside-esn { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-radius: var(--r-md); background: var(--bolong-soft); color: var(--bolong); font-size: 15px; }
.aside-esn a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.report-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 36px 0; padding: 22px 26px; border-radius: var(--r-lg); background: var(--red-soft); border: 1px solid #f6c9cb; }
.report-band > div { display: flex; gap: 16px; align-items: flex-start; max-width: 640px; }
.report-band > div > .ico { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--red); color: #fff; animation: pulse-red 2.4s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(211,18,27,.4); } 70% { box-shadow: 0 0 0 12px rgba(211,18,27,0); } 100% { box-shadow: 0 0 0 0 rgba(211,18,27,0); } }
.report-band h3 { font-size: 19px; color: var(--navy); }
.report-band p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; font-weight: 600; font-size: 17px; color: var(--navy); cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--sel); transition: transform .35s var(--ease), background-color .2s, color .2s; }
.accordion details[open] summary .ico { transform: rotate(45deg); background: var(--red); color: #fff; }
.accordion summary:hover { color: var(--red); }
.accordion details > div { padding: 0 4px 20px; color: var(--muted); animation: rise .4s var(--ease); }

.keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: -86px; position: relative; z-index: 3; }
.keyfacts li { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-pop); }
.keyfacts .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--bolong-soft); color: var(--bolong); margin-bottom: 6px; }
.keyfacts span { font-size: 13.5px; color: var(--muted); }
.keyfacts b { font-weight: 600; font-size: 15.5px; line-height: 1.35; color: var(--navy); }
@media (max-width: 900px) { .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .keyfacts { margin-top: -70px; gap: 8px; } .keyfacts li { padding: 14px; } }

.timeline { position: relative; display: grid; gap: 0; margin: 0 0 8px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 19px; top: 20px; width: 2px; height: 0; background: var(--red); transition: height 1.6s var(--ease) .2s; }
.timeline.is-in::after { height: calc(100% - 40px); }
.timeline--dated::after { display: none; }
.timeline li { position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 10px 0 18px; opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease) calc(var(--i) * 140ms + .2s), transform .5s var(--ease) calc(var(--i) * 140ms + .2s); }
.timeline.is-in li { opacity: 1; transform: none; }
.timeline__dot { position: relative; z-index: 1; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--red); color: var(--red); font-weight: 700; font-size: 15px; }
.timeline li > div { padding-top: 8px; display: grid; gap: 2px; }
.timeline li strong { font-weight: 600; font-size: 17px; }
.timeline li small { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.timeline--dated .timeline__dot { width: 22px; height: 22px; margin: 9px 9px 0; border-color: var(--line); }
.timeline--dated li.is-done .timeline__dot { background: var(--mangrove); border-color: var(--mangrove); color: #fff; }
.timeline--dated li:not(.is-done) strong { color: var(--muted); }
.timeline--itin li { align-items: center; }
.itin-step { flex: 1; }
.itin-step .link-arrow { margin-top: 6px; font-size: 15px; }
.itin-step__img { flex: none; width: 140px; aspect-ratio: 4 / 3; border-radius: var(--r-md); }
@media (max-width: 560px) { .itin-step__img { display: none; } }

.checklist { margin-top: 44px; padding: 26px; border-radius: var(--r-lg); background: var(--sel); transition: background-color .4s; }
.checklist.is-done { background: var(--mangrove-soft); }
.checklist__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.checklist__head .h3 { margin: 0; }
.checklist__head p { font-size: 15px; color: var(--muted); }
.checklist__head b { color: var(--navy); font-size: 18px; }
.checklist__bar { height: 6px; border-radius: 6px; background: #fff; margin: 14px 0 18px; overflow: hidden; }
.checklist__bar i { display: block; height: 100%; width: 0; background: var(--mangrove); border-radius: inherit; transition: width .5s var(--ease); }
.checklist li label { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: #fff; margin-bottom: 8px; cursor: pointer; transition: background-color .2s, transform .2s; }
.checklist li label:hover { transform: translateX(4px); }
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.checklist .box { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; border: 2px solid var(--line); color: transparent; transition: all .25s var(--spring); }
.checklist input:checked + .box { background: var(--mangrove); border-color: var(--mangrove); color: #fff; transform: scale(1.1); }
.checklist input:checked ~ span:last-child { color: var(--muted); text-decoration: line-through; }
.checklist input:focus-visible + .box { outline: 3px solid var(--bolong); outline-offset: 2px; }
.checklist__hint { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.cta-band h3 { font-size: 21px; }
.cta-band p { margin-top: 4px; color: rgba(255,255,255,.8); max-width: 50ch; }

.ring-card { position: relative; width: 210px; padding: 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); display: grid; justify-items: center; --st: #7fd1f0; }
.ring-card[data-status="livre"] { --st: #7ee0a8; } .ring-card[data-status="etude"] { --st: #ffc59a; }
.ring { width: 140px; height: 140px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring__bg { stroke: rgba(255,255,255,.18); }
.ring__val { stroke: var(--st); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.ring-card__val { position: absolute; top: 24px; height: 140px; display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 700; font-variation-settings: "wdth" 115; }
.ring-card__val span { font-size: 20px; margin-left: 2px; }
.ring-card .status-label { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--st); }
.ring-card .status-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { flex: none; margin-top: 3px; color: var(--mangrove); }
.ticks--big li { padding: 14px 16px; border-radius: 12px; background: var(--sel); font-weight: 500; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 160px 160px; gap: 10px; }
.gallery__item { padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; }
.gallery__item:first-child { grid-row: span 2; }
.gallery__item:nth-child(4) { grid-column: span 2; }
.gallery__item .photo { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.gallery__item:hover .photo { transform: scale(1.06); }
.lightbox .photo { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
@media (max-width: 560px) { .gallery { grid-template-rows: 110px 110px; } }
.panel { margin-top: 44px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.layout-side__aside .panel { margin-top: 0; }
.panel > p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.panel--navy { background: var(--navy); color: #fff; border-color: transparent; }
.panel--navy .h-small { color: #fff; }
.panel--navy > p { color: rgba(255,255,255,.78); }
.panel--navy label, .panel--navy .field__label { color: #fff; }
.panel--navy .drop { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.deadline { display: grid; justify-items: center; padding: 22px; border-radius: var(--r-lg); background: var(--bolong-soft); color: var(--bolong); text-align: center; }
.deadline span { font-size: 14px; font-weight: 500; }
.deadline b { font-size: 48px; font-variation-settings: "wdth" 118; line-height: 1.1; }
.deadline small { font-size: 14px; }
.deadline.is-urgent { background: var(--red-soft); color: var(--red); }
.deadline.is-urgent b { animation: pulse-dot 1.4s infinite; }

/* Article */
.post__head { padding-block: 32px 36px; background: var(--sel); }
.post__head .crumbs ol { color: var(--muted); }
.post__head .crumbs [aria-current] { color: var(--ink); }
.post__head .crumbs a:hover { color: var(--red); }
.post__head .meta { margin-top: 28px; }
.post__title { max-width: 24ch; margin-top: 14px; font-size: clamp(32px, 4.6vw, 58px); font-variation-settings: "wdth" 114; letter-spacing: -.022em; line-height: 1.05; color: var(--navy); text-wrap: balance; }
.post__lead { max-width: 60ch; margin-top: 18px; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; }
.post__by { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.post__media { margin-top: -1px; padding-top: 0; }
.post__media .photo { aspect-ratio: 21 / 9; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.post__grid { display: grid; grid-template-columns: 64px minmax(0, 720px); gap: clamp(20px, 4vw, 48px); justify-content: center; padding-block: 48px 80px; }
.post__share { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 10px; }
.post__body { font-family: var(--serif); font-size: 21px; line-height: 1.7; }
.post__body p + p { margin-top: 1.1em; }
.post__body .dropcap::first-letter { float: left; font-family: var(--font); font-size: 4.2em; line-height: .85; padding: 6px 12px 0 0; color: var(--red); font-weight: 700; font-variation-settings: "wdth" 115; }
.post__body blockquote { margin: 32px 0; padding: 24px 28px; border-left: 4px solid var(--red); background: var(--sel); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 24px; font-style: italic; color: var(--navy); }
.post__body blockquote .ico { color: var(--red); width: 28px; height: 28px; margin-bottom: 6px; }
@media (max-width: 760px) { .post__grid { grid-template-columns: minmax(0, 1fr); } .post__share { position: static; display: flex; order: 2; } .post__media .photo { aspect-ratio: 16 / 10; } .post__body { font-size: 19px; } }

/* ==========================================================================
   13. FORMULAIRES
   ========================================================================== */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field__label { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586579' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(29,95,122,.14); }
.field [aria-invalid="true"] { border-color: var(--red) !important; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.field__err { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--red); font-weight: 500; animation: rise .25s var(--ease); }
.panel--navy .field__err { color: #ffb3b6; }
.field__hint { font-size: 13.5px; color: var(--muted); text-align: right; }
.field--inline { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; }
.field--inline label { grid-column: 1 / -1; }
.field--inline .field__err { grid-column: 1 / -1; }
.drop { position: relative; display: grid; gap: 4px; place-items: center; padding: 22px 16px; border-radius: 12px; border: 2px dashed var(--line); background: var(--sel); text-align: center; font-size: 15px; color: var(--muted); cursor: pointer; transition: all .2s; }
.drop span { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.drop b { color: var(--red); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop em { font-style: normal; font-weight: 600; color: var(--mangrove); }
.drop.is-over { border-color: var(--bolong); background: var(--bolong-soft); transform: scale(1.01); }
.drop.has-file { border-style: solid; border-color: var(--mangrove); background: var(--mangrove-soft); }
.panel--navy .drop.has-file em { color: #9be3bd; }
.consent, .checks label { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.consent input, .checks input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.consent { flex-wrap: wrap; }
.consent .field__err { flex-basis: 100%; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rating { display: flex; gap: 6px; }
.rating label { cursor: pointer; }
.rating input { position: absolute; opacity: 0; }
.rating .ico { width: 34px; height: 34px; color: var(--line); transition: color .15s, transform .3s var(--spring); }
.rating:hover label .ico { color: #f2c14e; fill: #f2c14e; }
.rating label:hover ~ label .ico { color: var(--line); fill: none; }
.rating label:has(input:checked) .ico, .rating label:has(~ label input:checked) .ico { color: #e0a21b; fill: #e0a21b; }
.rating label:hover .ico { transform: scale(1.2); }
.rating input:focus-visible + span .ico { outline: 2px solid var(--bolong); border-radius: 4px; }
.success { display: grid; justify-items: center; gap: 10px; padding: 32px 16px; text-align: center; animation: rise .5s var(--ease); }
.success__ico { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--mangrove); color: #fff; animation: pop .6s var(--spring); }
.success__ico .ico { width: 30px; height: 30px; stroke-width: 2.5; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s var(--ease) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 22px; color: var(--navy); }
.panel--navy .success h3 { color: #fff; }
.success p { color: var(--muted); max-width: 46ch; }
.panel--navy .success p { color: rgba(255,255,255,.8); }
.success .btn { margin-top: 8px; }
.stepper { display: flex; gap: 8px; margin-bottom: 24px; counter-reset: s; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 3px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--muted); transition: border-color .4s, color .3s; }
.stepper li span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sel-2); font-weight: 700; font-size: 14px; transition: background-color .3s, color .3s; }
.stepper li.is-current { border-color: var(--red); color: var(--navy); }
.stepper li.is-current span { background: var(--red); color: #fff; }
.stepper li.is-done { border-color: var(--mangrove); }
.stepper li.is-done span { background: var(--mangrove); color: #fff; }
@media (max-width: 600px) { .stepper li { font-size: 0; gap: 0; justify-content: center; } }
[data-step].is-in { animation: slideIn .4s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(18px); } }
.form__nav { display: flex; justify-content: space-between; gap: 10px; }
.form__nav [data-next] { margin-left: auto; }
.recap { padding: 6px 18px; border-radius: 12px; background: var(--sel); margin-bottom: 16px; }
.recap .facts { margin: 0; border: 0; }
.recap .facts > div:last-child { border: 0; }

/* ==========================================================================
   14. PAGES SPÉCIALES
   ========================================================================== */
.unesco { background: var(--sel); }
.unesco__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.unesco__big { font-size: clamp(28px, 3.6vw, 48px); font-weight: 700; font-variation-settings: "wdth" 114; letter-spacing: -.02em; line-height: 1.1; color: var(--navy); text-wrap: balance; }
.unesco__grid > p:last-child { color: var(--muted); font-size: 18px; }
@media (max-width: 800px) { .unesco__grid { grid-template-columns: 1fr; } }
.infos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.infos li { padding: 24px; border-radius: var(--r-lg); background: var(--sel); }
.infos .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; color: var(--bolong); }
.infos h3 { margin: 16px 0 6px; font-size: 18px; color: var(--navy); }
.infos p { font-size: 15px; color: var(--muted); }
.infos a { color: var(--red); text-decoration: underline; }
@media (max-width: 1000px) { .infos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .infos { grid-template-columns: 1fr; } }
.place-modal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.place-modal__photo { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
.place-modal__text { margin: 14px 0 22px; font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.place-modal .btn-row { margin-top: 22px; }
@media (max-width: 700px) { .place-modal { grid-template-columns: 1fr; } .place-modal__photo { aspect-ratio: 16 / 10; } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 100px); }
.feature--rev .feature__media { order: 2; }
.feature__icon .ico { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--mangrove-soft); color: var(--mangrove); margin-bottom: 18px; }
.feature .lead { margin: 16px 0 22px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature--rev .feature__media { order: 0; } }
.dir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dir li:not(.empty) { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-soft); transition: transform .3s var(--ease), box-shadow .3s; }
.dir li:not(.empty):hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.dir li > div { flex: 1; min-width: 0; display: grid; }
.dir strong { font-weight: 600; color: var(--navy); }
.dir small { font-size: 14px; color: var(--muted); }
.dir__ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--tanne-soft); color: #a86b2a; }
.dir .empty { grid-column: 1 / -1; }
@media (max-width: 700px) { .dir { grid-template-columns: 1fr; } .dir .btn { display: none; } }

.chapters-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.chapters-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.chapters-nav ul::-webkit-scrollbar { display: none; }
.chapters-nav a { display: inline-flex; align-items: center; min-height: 54px; padding: 0 14px; white-space: nowrap; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; transition: color .2s, border-color .3s; }
.chapters-nav a:hover { color: var(--navy); }
.chapters-nav a.is-active { color: var(--navy); border-color: var(--red); font-weight: 600; }
@media (max-width: 1199px) { .chapters-nav { top: var(--header-h); } }
.chapter__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.chapter__grid--rev .chapter__media { order: 2; }
.chapter__media { position: relative; }
.chapter__num { position: absolute; right: -10px; bottom: -28px; font-size: clamp(80px, 10vw, 140px); font-weight: 800; font-variation-settings: "wdth" 125; line-height: 1; color: var(--red); opacity: .9; text-shadow: 0 6px 30px rgba(0,0,0,.15); }
.chapter__text .lead { margin-top: 20px; }
@media (max-width: 860px) { .chapter__grid { grid-template-columns: 1fr; } .chapter__grid--rev .chapter__media { order: 0; } .chapter__num { right: 10px; } }
.inst-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.inst-cards li { display: flex; flex-direction: column; gap: 8px; padding: 26px 22px; border-radius: var(--r-lg); background: #fff; border-top: 4px solid var(--navy); box-shadow: var(--shadow-soft); transition: transform .35s var(--ease); }
.inst-cards li:hover { transform: translateY(-5px); }
.inst-cards__ico .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sel); color: var(--navy); }
.inst-cards h3 { font-size: 19px; color: var(--navy); margin-top: 6px; }
.inst-cards p { font-size: 15px; color: var(--muted); }
.inst-cards__contact { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 6px; font-size: 14px !important; }
@media (max-width: 1000px) { .inst-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .inst-cards { grid-template-columns: 1fr; } }
.missions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.missions li { display: flex; align-items: center; gap: 14px; padding: 24px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); transition: background-color .25s; }
.missions li:hover { background: var(--sel); }
.missions .ico { flex: none; color: var(--red); }
@media (max-width: 900px) { .missions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .missions { grid-template-columns: 1fr; } }
.org { display: grid; justify-items: center; gap: 26px; }
.org__node { position: relative; padding: 16px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-align: center; display: grid; gap: 2px; min-width: 200px; box-shadow: var(--shadow-soft); }
.org__node strong { color: var(--navy); }
.org__node span { font-size: 14px; color: var(--muted); }
.org__node--top { background: var(--navy); border-color: var(--navy); }
.org__node--top strong { color: #fff; } .org__node--top span { color: rgba(255,255,255,.7); }
.org__node--main { border: 2px solid var(--red); }
.org__node + .org__node::before, .org__row::before { content: ""; position: absolute; left: 50%; top: -27px; width: 2px; height: 26px; background: var(--line); }
.org__row { position: relative; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; padding-top: 0; }
.org__row--small .org__node { min-width: 0; padding: 10px 16px; font-size: 14.5px; font-weight: 500; box-shadow: none; background: var(--sel); }
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ccard { display: block; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-soft); height: 100%; transition: transform .35s var(--ease), box-shadow .35s; }
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.ccard__img { aspect-ratio: 16 / 9; transition: transform .8s var(--ease); }
.ccard:hover .ccard__img { transform: scale(1.06); }
.ccard__body { position: relative; display: grid; gap: 2px; padding: 16px 18px 18px; background: #fff; }
.ccard__body strong { font-size: 18px; color: var(--navy); font-weight: 650; }
.ccard__body small { font-size: 14px; color: var(--muted); }
.ccard__stats { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ccard__stats span { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--sel); color: var(--bolong); }
.ccard--chef { border: 2px solid var(--red); }
.ccard--chef .ccard__body small { color: var(--red); font-weight: 600; }
.cgrid .empty { grid-column: 1 / -1; }
@media (max-width: 1000px) { .cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .ccard__stats { display: none; } .ccard__body { padding: 12px 14px; } .ccard__body strong { font-size: 16px; } }
.map-card { position: relative; display: grid; gap: 12px; justify-items: start; padding: 22px; min-height: 220px; align-content: end; border-radius: var(--r-lg); background-size: cover; background-position: center; color: #fff; overflow: hidden; isolation: isolate; }
.map-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,28,52,.85), rgba(10,28,52,.2)); }
.map-card__pin { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--red); animation: bob 2.4s ease-in-out infinite; }
.map-card__pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.4s ease-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -62%); } }
@keyframes ping { to { transform: scale(2.4); opacity: 0; } }
.map-card p { font-weight: 600; font-size: 18px; }
.map-card small { font-weight: 400; font-size: 13px; opacity: .8; }
.sitemap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.sitemap h2 { margin-top: 0; }
.sitemap li { padding: 4px 0; }

/* ==========================================================================
   15. PRÉ-FOOTER & FOOTER
   ========================================================================== */
.prefooter { background: var(--sel-2); padding-block: clamp(56px, 7vw, 88px) clamp(84px, 9vw, 120px); }
.prefooter__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prefooter__title { font-size: clamp(28px, 3.2vw, 40px); font-variation-settings: "wdth" 112; color: var(--navy); letter-spacing: -.02em; }
.prefooter__grid > div > p { margin-top: 12px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.prefooter__form { display: grid; gap: 14px; }
.prefooter__form .field input { min-height: 52px; }
.prefooter__alt { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); }
.prefooter__alt .ico { color: var(--mangrove); }
@media (max-width: 860px) { .prefooter__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field--inline { grid-template-columns: 1fr; row-gap: 10px; } }
.site-footer { position: relative; background: var(--sel-2); }
.site-footer__edge { display: block; width: 100%; height: 60px; margin-top: -59px; fill: var(--navy); position: relative; }
.site-footer__body { background: var(--navy); color: rgba(255,255,255,.75); padding-top: clamp(32px, 4vw, 48px); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 52px; }
.site-footer__brand img { width: 190px; }
.site-footer__brand > p { margin-top: 18px; max-width: 40ch; font-size: 15.5px; }
.site-footer__contact { display: grid; gap: 10px; margin-top: 22px; font-size: 15px; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__contact .ico { color: #ff8d92; margin-top: 3px; }
.site-footer .tbd { color: #f0c896; }
.site-footer h2 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.site-footer nav ul { display: grid; gap: 4px; }
.site-footer nav a { display: inline-flex; min-height: 36px; align-items: center; font-size: 15.5px; transition: color .2s, transform .25s var(--ease); }
.site-footer nav a:hover { color: #fff; transform: translateX(4px); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.6); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer__bottom a:hover { color: #fff; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } .site-footer__bottom { flex-direction: column; align-items: flex-start; } }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .mobile-bar { position: fixed; z-index: 980; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border: 0; background: none; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--navy); }
  .mobile-bar .ico { color: var(--red); }
  .mobile-bar a:active, .mobile-bar button:active { background: var(--sel); }
}
.to-top { position: fixed; right: 20px; bottom: 24px; z-index: 970; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .3s, transform .4s var(--spring), background-color .2s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); }
@media (max-width: 760px) { .to-top { bottom: 84px; right: 14px; width: 44px; height: 44px; } }
.demo-ribbon { position: fixed; left: 16px; bottom: 16px; z-index: 960; display: flex; align-items: center; gap: 8px; max-width: min(460px, calc(100% - 100px)); padding: 8px 8px 8px 14px; border-radius: 12px; background: #fff8e6; border: 1px solid #f0d58f; color: #6b4e10; font-size: 13px; line-height: 1.35; box-shadow: var(--shadow-soft); animation: rise .6s var(--ease) 1.5s both; }
.demo-ribbon span { display: flex; gap: 8px; align-items: flex-start; }
.demo-ribbon .ico { flex: none; }
.demo-ribbon button { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: inherit; }
.demo-ribbon button:hover { background: #f6e6b8; }
@media (max-width: 760px) { .demo-ribbon { bottom: 80px; left: 10px; max-width: calc(100% - 76px); } }

/* ==========================================================================
   16. MODALE & TOASTS
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; padding: 20px var(--gutter); }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12,31,59,.6); backdrop-filter: blur(5px); opacity: 0; transition: opacity .25s; }
.modal__dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); transform: translateY(24px) scale(.97); opacity: 0; transition: transform .4s var(--spring), opacity .25s; }
.modal__dialog--wide { width: min(900px, 100%); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px 14px 26px; border-bottom: 1px solid var(--line-soft); }
.modal__head h2 { font-size: 22px; font-variation-settings: "wdth" 110; color: var(--navy); }
.modal__body { padding: 22px 26px 26px; overflow-y: auto; }
.modal__intro { color: var(--muted); margin-bottom: 18px; }
@media (max-width: 600px) { .modal { padding: 0; align-items: end; } .modal__dialog, .modal__dialog--wide { width: 100%; max-height: 92vh; border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(100%); } .modal__body { padding: 18px var(--gutter) 28px; } }
.toasts { position: fixed; right: 20px; top: calc(var(--header-h) + 52px); z-index: 2200; display: grid; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 380px; padding: 14px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 500; box-shadow: var(--shadow-pop); transform: translateX(120%); opacity: 0; transition: transform .45s var(--spring), opacity .3s; pointer-events: auto; }
.toast.is-in { transform: none; opacity: 1; }
.toast--ok .ico { color: #7ee0a8; }
.toast--err { background: var(--red-deep); }
.toast--info .ico { color: #ffc59a; }
@media (max-width: 600px) { .toasts { left: 12px; right: 12px; top: auto; bottom: 88px; } .toast { max-width: none; transform: translateY(120%); } }

/* ==========================================================================
   17. ANIMATIONS
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* Entrée de page */
main { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } }
body.is-leaving main, body.is-leaving .prefooter, body.is-leaving .site-footer { opacity: 0; transform: translateY(-10px); transition: opacity .22s, transform .22s; }
@view-transition { navigation: auto; }
/* Titres découpés en mots */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); animation: wordUp .9s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + .1s); }
@keyframes wordUp { to { transform: none; } }
/* Apparitions au scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.is-swap > * { animation: rise .45s var(--ease) both; }
.is-swap > *:nth-child(2) { animation-delay: .04s; } .is-swap > *:nth-child(3) { animation-delay: .08s; } .is-swap > *:nth-child(4) { animation-delay: .12s; }
.is-swap > *:nth-child(5) { animation-delay: .16s; } .is-swap > *:nth-child(n+6) { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js [data-stagger] > *, .timeline li { opacity: 1 !important; transform: none !important; }
  [data-split] .w > span { transform: none; }
  .tide { animation: none; }
}

/* ---------- 18. Impression ---------- */
@media print {
  .topbar, .site-header, .prefooter, .site-footer, .mobile-bar, .to-top, .demo-ribbon, .tide, .page-hero__art, .page-hero__actions, .layout-side__aside, .cta-band, .scroll-progress { display: none !important; }
  .page-hero { background: none; color: #000; } .page-hero__shade { display: none; }
  .page-hero__intro { color: #333; }
  .js .reveal, .js [data-stagger] > *, .timeline li { opacity: 1 !important; transform: none !important; }
  .layout-side { display: block; }
}

/* ---------- Ajustements ---------- */
.brand { flex: none; display: block; }
.today.is-off .today__temp, .today.is-off .today__list, .today.is-off .today__src { display: none; }
.today.is-off .today__main { margin-bottom: 0; }
.panel--navy .field > label, .panel--navy .field__label { color: #fff; }
.unesco { background: #fff; padding-top: clamp(40px, 5vw, 64px); }
@media (max-width: 640px) { .today { padding: 16px; } .today__list, .today__src { display: none; } .today__main { margin-bottom: 0; } .today__temp { font-size: 36px; } }
.search-ov__form input::-webkit-search-cancel-button { -webkit-appearance: none; }
