/* AC3E — site vitrine. Charte : marine #0f2d52, pervenche #5e60b1, lavande #b5b1dd, accent eau. */
:root {
  --navy: #0f2d52;
  --navy-deep: #0a1f3a;
  --navy-2: #173d6b;
  --peri: #5e60b1;
  --peri-dark: #4a4c98;
  --lav: #b5b1dd;
  --lav-soft: #ecebf7;
  --aqua: #1aa3b3;
  --aqua-text: #0b7584;
  --aqua-soft: #e3f6f8;
  --ink: #17202a;
  --muted: #55606f;
  --line: #e2e4ee;
  --tint: #f4f5fa;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(15, 45, 82, .25);
  --shadow-lg: 0 24px 60px -20px rgba(15, 45, 82, .35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Inter Display", "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--peri-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 750; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.rot { transform: rotate(-90deg); }
main:focus { outline: none; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .82em 1.45em; border-radius: 999px; font-weight: 650; font-size: .98rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--peri); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--peri); color: #fff; }
.btn-accent:hover { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-lg { padding: 1em 1.8em; font-size: 1.02rem; }
.btn-sm { padding: .6em 1.15em; font-size: .9rem; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btns.center { justify-content: center; }
.center-btn { text-align: center; margin: 44px 0 0; }

/* ---------- barre supérieure ---------- */
.topbar { background: var(--navy-deep); color: #c9cde6; font-size: .84rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar-info { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; }
.topbar-info li, .topbar-info a { display: inline-flex; align-items: center; gap: 8px; color: #dfe2f3; text-decoration: none; }
.topbar-info a:hover { color: #fff; }
.topbar-info .ico { color: var(--lav); width: 15px; height: 15px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.social { list-style: none; display: flex; gap: 6px; }
.social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #dfe2f3; background: rgba(255, 255, 255, .07); transition: background .2s; }
.social a:hover { background: var(--peri); color: #fff; }
.social .ico { width: 15px; height: 15px; }

/* ---------- en-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(15, 45, 82, .4); border-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; transition: min-height .25s; }
.is-scrolled .header-in { min-height: 70px; }
.brand img { height: 54px; width: auto; transition: height .25s; }
.is-scrolled .brand img { height: 46px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav ul a { position: relative; display: block; padding: 10px 12px; font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none; border-radius: var(--radius-sm); }
.main-nav ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--peri); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current]::after { transform: scaleX(1); }
.main-nav ul a[aria-current] { color: var(--peri-dark); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); width: 46px; height: 46px; border-radius: 10px; cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }
.nav-close { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep); min-height: clamp(560px, 86vh, 820px); overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease); z-index: 1; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.06); transition: transform 8s linear; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 31, 58, .94) 0%, rgba(10, 31, 58, .78) 38%, rgba(15, 45, 82, .25) 70%, rgba(15, 45, 82, .05) 100%), linear-gradient(0deg, rgba(10, 31, 58, .55), transparent 40%); }
.slide-content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 150px; }
.slide-content > * { max-width: 660px; }
.slide-title { font-size: clamp(2.2rem, 5.2vw, 4.1rem); font-weight: 800; color: #fff; letter-spacing: -.025em; margin-bottom: .45em; }
.slide-text { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #dfe3f5; margin-bottom: 2em; max-width: 560px; }
.slide.is-active .kicker, .slide.is-active .slide-title, .slide.is-active .slide-text, .slide.is-active .btns { animation: rise .9s var(--ease) both; }
.slide.is-active .slide-title { animation-delay: .1s; }
.slide.is-active .slide-text { animation-delay: .2s; }
.slide.is-active .btns { animation-delay: .3s; }
@keyframes navIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 104px; z-index: 3; display: flex; align-items: center; gap: 14px; }
.hero-arrow, .hero-pause { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(10, 31, 58, .35); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.hero-arrow:hover, .hero-pause:hover { background: var(--peri); border-color: var(--peri); }
.hero-pause { width: 36px; height: 36px; margin-left: 6px; display: flex; gap: 4px; justify-content: center; }
.hero-pause span { width: 3px; height: 12px; background: #fff; border-radius: 2px; }
.hero-pause[aria-pressed="true"] span:first-child { width: 0; height: 0; background: none; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-radius: 0; }
.hero-pause[aria-pressed="true"] span:last-child { display: none; }
.hero-dots { display: flex; gap: 8px; }
.dot { width: 11px; height: 11px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.dot.is-active { width: 34px; background: var(--aqua); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; z-index: 2; }

/* ---------- surtitres et en-têtes de section ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--peri-dark); margin-bottom: 14px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker.light { color: #9fe2ea; }
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.light h2 { color: #fff; }
.section-lead { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section-head.light .section-lead { color: #cfd3ea; }

/* ---------- chiffres clés ---------- */
.stats-band { position: relative; z-index: 5; margin-top: -78px; }
.stats-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 30px 26px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat::before { content: ""; position: absolute; left: 26px; top: 0; width: 40px; height: 3px; background: linear-gradient(90deg, var(--peri), var(--aqua)); border-radius: 0 0 3px 3px; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.1rem, 3.4vw, 2.8rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.stat-suffix, .stat-prefix { color: var(--peri); }
.stat-label { color: var(--muted); font-size: .95rem; line-height: 1.4; }

/* ---------- à propos ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-img { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.about-media::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 55%; height: 60%; border-radius: 22px; background: repeating-linear-gradient(135deg, var(--lav) 0 2px, transparent 2px 12px); z-index: -1; opacity: .7; }
.about-badge { position: absolute; right: -14px; bottom: 28px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 340px; }
.about-badge strong { display: block; color: var(--navy); font-size: .95rem; }
.about-badge small { color: var(--muted); font-size: .84rem; }
.about-badge-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--aqua-soft); color: var(--aqua-text); flex: none; }
.about-badge-ico .ico { width: 26px; height: 26px; }
.prose { color: #2c3644; }
.prose h2 { font-size: 1.45rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--peri); }
.prose blockquote { margin: 1.2em 0; padding: 14px 22px; border-left: 4px solid var(--peri); background: var(--tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose strong { color: var(--navy); }
.values { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin: 26px 0 32px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.value p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.value-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lav-soft); color: var(--peri-dark); flex: none; }
.call-box { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.call-box small { display: block; color: var(--muted); font-size: .82rem; }
.call-box strong { font-size: 1.08rem; }
.call-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--aqua-soft); color: var(--aqua-text); }

/* ---------- expertises ---------- */
.exp-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.exp-card a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 34px 30px 30px; background: #fff; border-radius: var(--radius); text-decoration: none; color: var(--ink); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.exp-card a::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--peri), var(--aqua)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.exp-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.exp-card a:hover::before { transform: scaleX(1); }
.exp-img { margin: -34px -30px 24px; aspect-ratio: 16 / 9; overflow: hidden; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.exp-card a:hover .exp-img img { transform: scale(1.05); }
.exp-ico { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), var(--peri)); color: #fff; margin-bottom: 22px; box-shadow: 0 10px 22px -10px rgba(94, 96, 177, .8); }
.exp-ico .ico { width: 30px; height: 30px; }
.exp-img + .exp-ico { margin-top: -56px; position: relative; border: 4px solid #fff; width: 66px; height: 66px; }
.exp-num { position: absolute; top: 24px; right: 26px; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--lav-soft); }
.exp-img ~ .exp-num { display: none; }
.exp-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.exp-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--peri-dark); font-size: .93rem; }
a:hover .more .ico { transform: translateX(4px); }
.more .ico { transition: transform .2s; }

/* ---------- démarche ---------- */
.steps-section { background: var(--navy) url("../img/motif.svg") center / cover no-repeat; color: #fff; overflow: hidden; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(181, 177, 221, .6) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: var(--navy-deep); border: 2px solid var(--lav); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; box-shadow: 0 0 0 8px rgba(94, 96, 177, .25); transition: background .3s, transform .3s var(--ease); }
.step:hover .step-num { background: var(--peri); transform: translateY(-4px); }
.step h3 { color: #fff; font-size: 1.15rem; }
.step p { color: #cfd3ea; font-size: .95rem; margin: 0; }

/* ---------- projets ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.chip { padding: .55em 1.15em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--peri); color: var(--peri-dark); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.proj-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.proj-card[hidden] { display: none; }
.proj-card a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; text-decoration: none; color: var(--ink); box-shadow: 0 2px 0 var(--line), 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.proj-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.proj-card figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.proj-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proj-card a:hover figure img { transform: scale(1.06); }
.proj-status { position: absolute; top: 14px; left: 14px; background: rgba(10, 31, 58, .82); color: #fff; font-size: .76rem; font-weight: 650; padding: 5px 12px; border-radius: 99px; letter-spacing: .02em; }
.proj-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aqua-text); background: var(--aqua-soft); padding: 5px 11px; border-radius: 6px; margin-bottom: 14px; }
.tag .ico { width: 14px; height: 14px; }
.proj-body h3 { font-size: 1.1rem; margin-bottom: 12px; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: var(--muted); font-size: .88rem; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ico { color: var(--peri); width: 15px; height: 15px; }
.filter-empty { text-align: center; color: var(--muted); }

/* ---------- appel à l'action ---------- */
.cta-band { padding: 0; position: relative; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--tint); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px); border-radius: 22px; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 45%, var(--peri) 100%); box-shadow: var(--shadow-lg); overflow: hidden; }
.cta-in::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(43, 179, 192, .18); }
.cta-in h2 { color: #fff; font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: .35em; }
.cta-in p { color: #dfe3f5; margin: 0; max-width: 620px; }
.cta-in .btns { position: relative; z-index: 1; flex: none; }
.page-accueil .cta-band::before, .cta-band + .section-tint { background: var(--tint); }

/* ---------- témoignages ---------- */
.testimonials { padding-top: clamp(64px, 8vw, 96px); }
.testi-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 32px 30px 28px; border: 1px solid var(--line); position: relative; }
.testi-q { color: var(--lav); display: block; margin-bottom: 10px; }
.testi-q .ico { width: 34px; height: 34px; }
.testi blockquote { margin: 0 0 24px; flex: 1; }
.testi blockquote p { font-size: 1.02rem; color: #2c3644; margin: 0; font-style: italic; }
.testi figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.testi figcaption strong { display: block; color: var(--navy); }
.testi figcaption small { color: var(--muted); }
.testi-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--peri), var(--aqua)); color: #fff; font-weight: 700; font-size: 1.1rem; flex: none; }

/* ---------- partenaires (logotypes typographiques) ---------- */
.partners { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner > a, .partner > div { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; height: 118px; padding: 14px 10px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--navy); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; filter: grayscale(.25); }
.partner > a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; filter: none; }
.partner .acr { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: 1; letter-spacing: -.01em; }
.partner .nm { font-size: .72rem; line-height: 1.3; color: var(--muted); max-width: 160px; }
.partner-logo { max-height: 70px; width: auto; object-fit: contain; }
.ps-1 .acr { color: #0b6e4f; letter-spacing: .08em; }
.ps-2 .acr { color: #1b3a6b; font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: .12em; }
.ps-3 .acr { color: #0a5aa5; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ps-4 .acr { color: #9b1c2c; letter-spacing: .16em; border-left: 3px solid #9b1c2c; padding-left: 10px; }
.ps-5 .acr { color: #0e7a3a; font-style: italic; letter-spacing: .02em; }
.ps-6 .acr { color: #004b87; letter-spacing: .1em; border-bottom: 3px solid #f0a500; padding-bottom: 3px; }

/* ---------- actualités ---------- */
.news-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.news-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.news-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card a:hover figure img { transform: scale(1.05); }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.12rem; }
.news-body p:not(.news-meta) { color: var(--muted); font-size: .94rem; flex: 1; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.news-meta span { color: var(--peri-dark); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; }
.news-meta .ico { color: var(--peri); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.faq-side p { color: var(--muted); }
.contact-card { margin-top: 26px; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.contact-card p { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-weight: 600; }
.contact-card p a { color: var(--navy); text-decoration: none; }
.contact-card p span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--lav-soft); color: var(--peri-dark); }
.contact-card .btn { margin-top: 8px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 650; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--lav-soft); flex: none; transition: background .2s, transform .3s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--peri-dark); border-radius: 2px; }
.faq-plus::after { transform: rotate(90deg); transition: transform .3s; }
.faq-item[open] .faq-plus { background: var(--peri); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 24px 20px; }
.faq-a p:last-child { margin: 0; }

/* ---------- en-tête des pages intérieures ---------- */
.page-hero { position: relative; color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px); background: linear-gradient(100deg, rgba(10, 31, 58, .97), rgba(15, 45, 82, .9) 55%, rgba(94, 96, 177, .85)), var(--navy) url("../img/motif.svg") center / cover no-repeat; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(43, 179, 192, .12); }
.page-hero h1 { color: #fff; max-width: 900px; margin-bottom: .35em; }
.page-hero .lead { color: #d5d9ef; font-size: 1.12rem; max-width: 720px; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; margin-bottom: 22px; color: #b9bede; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #7f86b8; }
.breadcrumb a { color: #e5e7f6; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #9fe2ea; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- pages de détail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail-cover { margin: 0 0 32px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-main .prose { font-size: 1.04rem; }
.h-sub { font-size: 1.4rem; margin-top: 1.6em; }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--tint); border-radius: var(--radius-sm); font-size: .95rem; }
.checklist .ico { color: #fff; background: var(--aqua-text); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.detail-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.side-box { background: var(--tint); border-radius: var(--radius); padding: 26px; }
.side-title { font-size: 1.08rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.side-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--peri); }
.side-links { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm); background: #fff; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .94rem; transition: background .2s, color .2s; }
.side-links a .ico { color: var(--peri); }
.side-links a:hover, .side-links a[aria-current] { background: var(--navy); color: #fff; }
.side-links a:hover .ico, .side-links a[aria-current] .ico { color: var(--lav); }
.side-cta { background: linear-gradient(140deg, var(--navy), var(--peri)); color: #fff; }
.side-cta .side-title { color: #fff; border-color: rgba(255, 255, 255, .2); }
.side-cta .side-title::after { background: var(--aqua); }
.side-cta p { color: #dfe3f5; font-size: .95rem; }
.side-phone { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-weight: 700; }
.side-phone a { color: #fff; text-decoration: none; }
.side-phone.big { font-size: 1.2rem; }
.facts { margin: 0; display: flex; flex-direction: column; }
.facts div { padding: 12px 0; border-bottom: 1px dashed #cfd3e6; }
.facts div:last-child { border: 0; }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; }
.facts dt .ico { color: var(--peri); width: 15px; height: 15px; }
.facts dd { margin: 4px 0 0; font-weight: 650; color: var(--navy); }
.article-wrap { max-width: 860px; }
.article-lead { font-size: 1.18rem; color: var(--navy); font-weight: 500; }
.share { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .94rem; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; }

/* ---------- à propos : mission / équipe ---------- */
.mvv { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 80px; }
.mvv li { background: #fff; border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); }
.mvv p { color: var(--muted); margin: 0; }
.mvv-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--peri)); color: #fff; margin-bottom: 20px; }
.mvv-ico .ico { width: 28px; height: 28px; }
.values-wrap .values { grid-template-columns: repeat(4, 1fr); }
.values-wrap .value { flex-direction: column; background: #fff; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.team-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.member { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.member figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.member figure img { width: 100%; height: 100%; object-fit: cover; }
.member-body { padding: 22px 24px 26px; }
.member-body h3 { margin-bottom: 4px; }
.member-role { color: var(--peri-dark); font-weight: 650; font-size: .92rem; }
.member-body p:last-child { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- contact ---------- */
.info-cards { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card h2 { font-size: 1.05rem; margin-bottom: 8px; }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.info-card a { color: var(--navy); font-weight: 600; text-decoration: none; }
.info-ico { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--lav-soft); color: var(--peri-dark); }
.info-ico .ico { width: 26px; height: 26px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; scroll-margin-top: 100px; }
.form-card { background: #fff; border-radius: 18px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin: 26px 0 28px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.req { color: #b42318; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--tint); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field input[type="file"] { padding: 10px; background: #fff; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--peri); background: #fff; box-shadow: 0 0 0 4px rgba(94, 96, 177, .18); }
.field.check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--peri); flex: none; }
.field.check label { font-weight: 400; color: var(--muted); font-size: .9rem; }
.hint { margin: 0; font-size: .84rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 16px 20px; margin: 18px 0 0; }
.alert ul { padding-left: 1.2em; margin: 6px 0 0; }
.alert p { margin: 0; }
.alert-error { background: #fdecea; border: 1px solid #f5c2bd; color: #8a1c13; }
.alert-ok { display: flex; gap: 12px; align-items: flex-start; background: #e7f6ef; border: 1px solid #b6e2cb; color: #135c3a; }
.alert-ok .ico { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.map-card { display: flex; flex-direction: column; gap: 14px; }
.map { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map-label { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 255, 255, .96); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); }
.map-label strong { display: block; color: var(--navy); }
.map-label span { font-size: .88rem; color: var(--muted); }
.map-note { font-size: .88rem; color: var(--muted); margin: 0; }
.map-note a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }

/* ---------- recrutement ---------- */
.recruit-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.recruit-img { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.recruit-img img { width: 100%; height: 100%; object-fit: cover; }
.jobs { list-style: none; display: flex; flex-direction: column; gap: 18px; max-width: 940px; margin: 0 auto; }
.job { background: #fff; border-radius: var(--radius); padding: 26px 28px; border: 1px solid var(--line); border-left: 4px solid var(--peri); }
.job-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.job h3 { font-size: 1.18rem; margin-bottom: 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .ico { color: var(--peri); width: 15px; height: 15px; }
.job > p { color: var(--muted); margin: 12px 0; }
.job-details summary { cursor: pointer; color: var(--peri-dark); font-weight: 650; }
.job-details .prose { padding-top: 12px; }
#candidature { scroll-margin-top: 90px; }

/* ---------- erreurs ---------- */
.err-code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--navy), var(--peri), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-dark { color: var(--muted); font-size: 1.1rem; }

/* ---------- pied de page ---------- */
.site-footer { background: var(--navy-deep); color: #c3c8e2; font-size: .94rem; }
.footer-cta { background: linear-gradient(90deg, var(--navy), var(--navy-2)); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.footer-cta .kicker { margin-bottom: 6px; }
.footer-cta-title { font-family: var(--font-display); color: #fff; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; margin: 0; max-width: 620px; line-height: 1.3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 20px; }
.footer-logo img { height: 52px; width: auto; }
.footer-about p { color: #aeb4d4; }
.social-footer { margin-top: 18px; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--aqua); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: #c3c8e2; text-decoration: none; transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { color: var(--lav); margin-top: 4px; }
.footer-contact a { color: #e3e6f5; text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom p { margin: 0; color: #9399bd; }
.footer-bottom a { color: #c3c8e2; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--peri); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); color: #fff; }

/* ---------- apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .main-nav ul a { padding: 10px 8px; font-size: .92rem; }
  .main-nav { gap: 14px; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-wrap .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); flex-direction: column; align-items: stretch; gap: 22px; padding: 96px 24px 32px; background: #fff; box-shadow: -20px 0 60px -20px rgba(10, 31, 58, .45); overflow-y: auto; z-index: 60; }
  .nav-open-state .main-nav { display: flex; animation: navIn .35s var(--ease) both; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav ul a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav ul a::after { display: none; }
  .main-nav ul a[aria-current] { background: var(--lav-soft); border-radius: 8px; }
  .nav-toggle { position: relative; z-index: 70; }
  .nav-open-state .nav-open { display: none; }
  .nav-open-state .nav-close { display: block; }
  .nav-open-state::after { content: ""; position: fixed; inset: 0; background: rgba(10, 31, 58, .45); z-index: 45; }
  .nav-open-state .site-header { z-index: 65; }
  .exp-grid, .proj-grid, .news-grid, .testi-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid, .faq-grid, .detail-grid, .contact-grid, .recruit-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 620px; }
  .detail-side { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .mvv { grid-template-columns: 1fr; }
  .cta-in, .footer-cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hide-sm { display: none !important; }
  .topbar-in { min-height: 38px; }
  .topbar-info { gap: 4px 16px; font-size: .8rem; }
  .topbar-right .social { display: none; }
  .header-in { min-height: 70px; }
  .brand img { height: 44px; }
  .hero { min-height: 640px; }
  .slide { align-items: flex-end; }
  .slide-bg { object-position: 78% center; }
  .slide-overlay { background: linear-gradient(0deg, rgba(10, 31, 58, .97) 0%, rgba(10, 31, 58, .88) 52%, rgba(15, 45, 82, .35) 100%); }
  .slide-content { padding-bottom: 170px; }
  .slide-title { font-size: 2.05rem; }
  .slide-text { font-size: 1rem; margin-bottom: 1.5em; }
  .hero-nav { bottom: 96px; }
  .hero-arrow { width: 40px; height: 40px; }
  .stats-band { margin-top: -64px; }
  .stat { padding: 22px 18px; }
  .stat::before { left: 18px; }
  .stat-label { font-size: .86rem; }
  .exp-grid, .proj-grid, .news-grid, .testi-grid, .team-grid, .values, .values-wrap .values, .checklist, .info-cards, .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 34px; }
  .partners { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; }
  .about-badge { right: 10px; bottom: 14px; left: 10px; max-width: none; }
  .about-media::before { display: none; }
  .btns .btn { flex: 1 1 auto; }
  .call-box { width: 100%; }
  .job-head { flex-direction: column; }
  .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; scrollbar-width: none; }
  .chip { flex: none; }
  .cta-band::before { display: none; }
  .breadcrumb [aria-current] { max-width: 24ch; }
}
@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 { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .hero-nav, .to-top, .footer-cta, .cta-band { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.field [aria-invalid="true"] { border-color: #b42318; background: #fff6f5; }
.form-msg { margin: 0 0 18px; }

/* =====================================================================
   Version 2 — photos réelles, en-tête transparent, mosaïque, fonds photo
   ===================================================================== */
h1, h2 { font-weight: 800; letter-spacing: -.028em; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.7rem); line-height: 1.12; }
.section-head h2 { text-wrap: balance; }
.kicker { letter-spacing: .18em; }
.lead, .section-lead { text-wrap: pretty; }

/* logo toujours sur pastille blanche (lisible sur fond transparent) */
.brand img { background: #fff; border-radius: 10px; padding: 4px 8px; box-sizing: content-box; height: 46px; }
.is-scrolled .brand img { height: 40px; }

/* en-tête transparent sur le carrousel d'accueil */
@media (min-width: 1021px) {
  .page-accueil .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; border-color: transparent; box-shadow: none; }
  .page-accueil .site-header:not(.is-scrolled) .main-nav ul a { color: #fff; }
  .page-accueil .site-header:not(.is-scrolled) .main-nav ul a[aria-current] { color: #9fe2ea; }
  .page-accueil .site-header:not(.is-scrolled) .main-nav ul a::after { background: #9fe2ea; }
  .page-accueil .hero { margin-top: -84px; }
  .page-accueil .slide-content { padding-top: 124px; }
}
@media (max-width: 1020px) {
  .page-accueil .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; }
  .page-accueil:not(.nav-open-state) .site-header:not(.is-scrolled) .nav-toggle { color: #fff; }
  .page-accueil .hero { margin-top: -84px; }
  .page-accueil .slide-content { padding-top: 110px; }
}
.site-header { transition: background .35s, box-shadow .35s, border-color .35s; }

/* carrousel : effet Ken Burns, dégradé marine vers transparent */
.hero { min-height: clamp(600px, 92vh, 880px); }
.slide-bg { transform: none; transition: none; will-change: transform; }
.slide.is-active .slide-bg { animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.slide-overlay { background:
  linear-gradient(90deg, rgba(10, 31, 58, .93) 0%, rgba(10, 31, 58, .78) 34%, rgba(15, 45, 82, .38) 62%, rgba(15, 45, 82, 0) 100%),
  linear-gradient(180deg, rgba(10, 31, 58, .55) 0%, rgba(10, 31, 58, 0) 26%, rgba(10, 31, 58, 0) 62%, rgba(10, 31, 58, .7) 100%); }
.slide-content { padding-bottom: 130px; }
.slide-title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); text-shadow: 0 2px 30px rgba(10, 31, 58, .35); text-wrap: balance; }
.slide-text { text-shadow: 0 1px 12px rgba(10, 31, 58, .5); }
.hero-nav { bottom: 48px; }
.hero-scroll { position: absolute; right: 40px; bottom: 44px; z-index: 3; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 16px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* fonds photo (chiffres clés, bandeau, appel à l'action) */
.band-bg, .page-hero-bg, .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band-shade, .page-hero-shade, .cta-shade { position: absolute; inset: 0; z-index: 1; }

/* chiffres clés sur photo floutée */
.stats-band { position: relative; margin-top: 0; padding: clamp(56px, 7vw, 84px) 0; overflow: hidden; background: var(--navy-deep); color: #fff; }
.stats-band .band-bg { transform: scale(1.1); filter: saturate(1.1); }
.band-shade { background: linear-gradient(120deg, rgba(10, 31, 58, .88), rgba(15, 45, 82, .72) 55%, rgba(94, 96, 177, .6)); }
.stats-band .container { position: relative; z-index: 2; }
.stats-grid { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); backdrop-filter: blur(6px); border-radius: 22px; }
.stat { border-right-color: rgba(255, 255, 255, .12); padding: 34px 30px; }
.stat-num { color: #fff; font-size: clamp(2.4rem, 4vw, 3.4rem); }
.stat-suffix, .stat-prefix { color: #8fe3ea; }
.stat-label { color: #d5d9ef; }
.stat::before { background: linear-gradient(90deg, #8fe3ea, var(--lav)); }

/* mosaïque des domaines */
.mosaic { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; }
.mosaic .tile-1 { grid-column: span 2; grid-row: span 2; }
.mosaic .tile-2, .mosaic .tile-5, .mosaic .tile-6 { grid-column: span 2; }
.mosaic a { position: relative; display: block; height: 100%; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 18px 40px -22px rgba(10, 31, 58, .55); isolation: isolate; }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mosaic a:hover .tile-img, .mosaic a:focus-visible .tile-img { transform: scale(1.08); }
.tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 31, 58, .05) 20%, rgba(10, 31, 58, .55) 55%, rgba(10, 31, 58, .94) 100%); transition: background .4s; }
.mosaic a:hover .tile-shade { background: linear-gradient(180deg, rgba(15, 45, 82, .25) 0%, rgba(15, 45, 82, .7) 45%, rgba(10, 31, 58, .96) 100%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.tile-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); margin-bottom: 6px; }
.tile-num { position: absolute; top: -170px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .1em; opacity: .85; display: none; }
.mosaic h3 { color: #fff; font-size: 1.22rem; margin: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.tile-1 h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.tile-text { font-size: .92rem; color: #dfe3f5; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.tile-1 .tile-text, .mosaic a:hover .tile-text, .mosaic a:focus-visible .tile-text { max-height: 120px; opacity: 1; }
.more.light { color: #9fe2ea; font-size: .88rem; margin-top: 4px; }

/* cartes à photo */
.exp-card a, .proj-card a, .news-card a, .member { border-radius: 18px; box-shadow: 0 14px 34px -24px rgba(15, 45, 82, .45); border-color: #e9eaf3; }
.exp-img { aspect-ratio: 4 / 3; }
.proj-card figure { aspect-ratio: 4 / 3; }
.proj-card figure::after, .exp-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 31, 58, .35)); pointer-events: none; }
.exp-img { position: relative; }
.proj-card a:hover figure img, .exp-card a:hover .exp-img img, .news-card a:hover figure img { transform: scale(1.08); }

/* appel à l'action avec photo */
.cta-band .container > .cta-in { background: var(--navy); }
.cta-in { position: relative; overflow: hidden; padding: 0; display: block; min-height: 300px; border-radius: 24px; }
.cta-in::after { display: none; }
.cta-shade { background: linear-gradient(95deg, rgba(10, 31, 58, .95) 0%, rgba(15, 45, 82, .86) 45%, rgba(94, 96, 177, .55) 100%); }
.cta-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px); }
.cta-content h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 620px; }

/* bandeau des pages intérieures */
.page-hero { background: var(--navy-deep); padding: clamp(70px, 10vw, 128px) 0 clamp(70px, 9vw, 112px); }
.page-hero-bg { object-position: center 60%; }
.page-hero-shade { background: linear-gradient(100deg, rgba(10, 31, 58, .95) 0%, rgba(15, 45, 82, .82) 50%, rgba(94, 96, 177, .45) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero::after { z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); text-wrap: balance; }

.recruit-img { aspect-ratio: 1 / 1; }
.recruit-img img { object-position: center top; }

/* apparition en cascade */
.js .reveal { transform: translateY(30px) scale(.985); }
.js .reveal.in { transform: none; }
.js li.reveal:nth-child(2) { transition-delay: .07s; }
.js li.reveal:nth-child(3) { transition-delay: .14s; }
.js li.reveal:nth-child(4) { transition-delay: .21s; }
.js li.reveal:nth-child(5) { transition-delay: .28s; }
.js li.reveal:nth-child(6) { transition-delay: .35s; }

@media (max-width: 1020px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .mosaic .tile-1 { grid-column: span 2; grid-row: span 1; }
  .mosaic .tile-2, .mosaic .tile-5, .mosaic .tile-6 { grid-column: span 1; }
  .mosaic .tile-6 { grid-column: span 2; }
  .cta-content { flex-direction: column; align-items: flex-start; }
  .hero-scroll { display: none; }
}
@media (max-width: 640px) {
  .page-accueil .hero { margin-top: -70px; }
  .brand img { height: 38px; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 210px; gap: 14px; }
  .mosaic .tile-1, .mosaic .tile-6 { grid-column: span 1; }
  .tile-text { display: none; }
  .slide-overlay { background: linear-gradient(0deg, rgba(10, 31, 58, .97) 0%, rgba(10, 31, 58, .85) 50%, rgba(10, 31, 58, .35) 80%, rgba(10, 31, 58, .55) 100%); }
  .slide-content { padding-bottom: 120px; }
  .hero-nav { bottom: 40px; }
  .stats-band { padding: 44px 0; }
  .stat { padding: 22px 18px; }
  .stat:nth-child(-n+2) { border-bottom-color: rgba(255, 255, 255, .12); }
  .page-hero h1 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-active .slide-bg, .hero-scroll span { animation: none !important; }
  .js li.reveal { transition-delay: 0s !important; }
}
