/* ==========================================================================
   Design v2 — photographie, animations discrètes, mise en page éditoriale
   ========================================================================== */
:root { --ease: cubic-bezier(.22, .61, .36, 1); }

/* ---------- Boutons ---------- */
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: var(--white); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); color: var(--white); border-color: var(--gold-300); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn { transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease), box-shadow .25s; }
.btn-gold:hover, .btn-navy:hover { transform: translateY(-1px); }

/* ---------- En-tête transparent sur l'accueil ---------- */
.home .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(5, 13, 28, .65), rgba(5, 13, 28, 0)); border-bottom-color: transparent; transition: background .35s, border-color .35s, box-shadow .35s; }
.home .site-header.scrolled, .home .site-header:has(.mobile-nav.open) { background: rgba(10, 22, 40, .97); border-bottom-color: rgba(201, 169, 110, .18); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6); }
.home .flash-wrap { padding-top: 96px; }
.site-header.scrolled .header-inner { height: 64px; }
.header-inner { transition: height .3s var(--ease); }

/* ---------- Libellé « photo d'illustration » ---------- */
.ph { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-800); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover img { transform: scale(1.04); }
.ph-tall { aspect-ratio: 4 / 5; }
@media (max-width: 999px) { .ph-tall { aspect-ratio: 16 / 10; } }
.ph-label { position: absolute; right: 10px; bottom: 10px; z-index: 3; font-size: .68rem; letter-spacing: .04em; color: rgba(255, 255, 255, .88); background: rgba(5, 13, 28, .55); backdrop-filter: blur(6px); padding: 3px 9px; border-radius: 999px; pointer-events: auto; cursor: help; }
.ph-label-hero { right: 16px; bottom: 14px; }

/* ---------- Héros photographique ---------- */
.hero-photo { min-height: min(100vh, 900px); display: flex; align-items: center; background: var(--navy-950); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: kenburns 24s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5, 13, 28, .94) 0%, rgba(5, 13, 28, .78) 42%, rgba(5, 13, 28, .25) 100%),
  linear-gradient(0deg, rgba(5, 13, 28, .85) 0%, transparent 35%); }
.hero-photo .hero-inner { position: relative; z-index: 2; display: block; padding-top: 150px; padding-bottom: 120px; }
.hero-photo .hero-inner { padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .hero-photo .hero-inner { padding-left: 28px; padding-right: 28px; } }
.hero-copy { max-width: 720px; }
.hero-photo h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.08; letter-spacing: -.02em; }
.hero-photo .hero-sub { font-size: clamp(1rem, 1.6vw, 1.12rem); color: rgba(255, 255, 255, .82); }
.hero-trust { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.hero-trust .ico { color: var(--gold-400); flex: none; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; }
.fade-up.d1 { animation-delay: .12s; } .fade-up.d2 { animation-delay: .24s; } .fade-up.d3 { animation-delay: .36s; } .fade-up.d4 { animation-delay: .5s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .hero-photo .hero-inner { padding-top: 120px; padding-bottom: 96px; }
  .hero-shade { background: linear-gradient(180deg, rgba(5, 13, 28, .7), rgba(5, 13, 28, .92)); }
  .hero-cta .btn { width: 100%; }
}

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

/* ---------- Bande des engagements ---------- */
.commit-strip { position: relative; z-index: 5; margin-top: -64px; }
.commit-grid { display: grid; gap: 1px; background: var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10, 22, 40, .45); }
@media (min-width: 640px) { .commit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .commit-grid { grid-template-columns: repeat(4, 1fr); } }
.commit-item { background: var(--white); padding: 28px 24px; display: flex; gap: 16px; align-items: flex-start; }
.commit-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.commit-item p { margin: 0; color: var(--gray-500); font-size: .9rem; line-height: 1.5; }
.commit-item .commit-icon { margin: 0; flex: none; width: 46px; height: 46px; }

/* ---------- Titres de section ---------- */
.eyebrow-dark { color: var(--gold-600); }
.eyebrow-dark::before { background: var(--gold-600); }
.eyebrow-center { justify-content: center; }
.lead { font-size: 1.08rem; color: var(--gray-500); max-width: 560px; }
.section-navy .eyebrow { color: var(--gold-400); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h2 { letter-spacing: -.015em; }
.h3-like { font-size: 1.45rem; }

/* ---------- Deux colonnes photo / texte ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split-reverse .split-media { order: 2; } }
.split-media { position: relative; }
.floating-card { position: absolute; left: -14px; bottom: 28px; display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); max-width: 320px; color: var(--navy-700); }
.floating-card strong { display: block; font-size: .9rem; color: var(--navy-900); }
.floating-card span { font-size: .8rem; color: var(--gray-500); }
.floating-card .ico { color: var(--gold-600); flex: none; }
@media (max-width: 640px) { .floating-card { position: static; margin-top: 12px; max-width: none; } }
.steps-list { list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 18px; }
.steps-list li { display: flex; gap: 16px; align-items: flex-start; }
.steps-list h3 { font-size: 1.02rem; margin-bottom: 2px; }
.steps-list p { margin: 0; color: var(--gray-500); font-size: .93rem; }
.step-badge { width: 44px; height: 44px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(201, 169, 110, .14); color: var(--gold-600); }
.step-n { color: var(--gold-600); font-weight: 700; margin-right: 4px; }

/* ---------- Tuiles secteurs ---------- */
.sector-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } .sector-tile { min-height: 420px; } }
@media (min-width: 1100px) { .sector-grid { grid-template-columns: repeat(4, 1fr); } .sector-tile { min-height: 360px; } }
.sector-tile { position: relative; display: block; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; box-shadow: 0 20px 40px -28px rgba(10, 22, 40, .6); }
.sector-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.sector-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 13, 28, .05) 20%, rgba(5, 13, 28, .92) 78%); transition: background .4s; }
.sector-tile:hover img { transform: scale(1.07); }
.sector-tile:hover { color: var(--white); }
.sector-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.sector-tile-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(201, 169, 110, .92); color: var(--navy-950); margin-bottom: 14px; }
.sector-tile h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 6px; }
.sector-tile p { font-size: .88rem; color: rgba(255, 255, 255, .8); margin: 0 0 14px; line-height: 1.5; }
.sector-tile-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--gold-300); }
.sector-tile:hover .sector-tile-link .ico { transform: translateX(4px); }
.sector-tile-link .ico { transition: transform .25s var(--ease); }

/* ---------- Mosaïque d'actifs ---------- */
.mosaic { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
.mosaic-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-item figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; background: linear-gradient(0deg, rgba(5, 13, 28, .85), transparent); }
.mosaic-item figcaption span { font-family: var(--font-head); font-weight: 600; color: var(--white); font-size: .95rem; }
.m-a { grid-column: span 2; grid-row: span 2; }
.m-f { grid-column: span 2; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
  .m-a { grid-column: span 2; grid-row: span 2; }
  .m-d, .m-e, .m-f { grid-column: span 2; }
}
.mosaic-note { text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .5); margin: 18px 0 0; }
.mosaic-note a { color: var(--gold-300); }

/* ---------- Transparence ---------- */
.check-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--navy-900); }
.check-ico { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--navy-900); color: var(--gold-400); display: flex; align-items: center; justify-content: center; }
.note-line { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--success); background: var(--success-bg); border-radius: 10px; padding: 10px 14px; }

/* ---------- Simulateur (aperçu) ---------- */
.sim-teaser { display: grid; gap: 32px; align-items: center; border-radius: 24px; padding: clamp(28px, 5vw, 56px); color: rgba(255, 255, 255, .8);
  background: radial-gradient(700px 380px at 90% 0%, rgba(201, 169, 110, .22), transparent 60%), linear-gradient(150deg, var(--navy-900), var(--navy-700)); }
@media (min-width: 900px) { .sim-teaser { grid-template-columns: 1.1fr .9fr; } }
.sim-teaser h2 { color: var(--white); }
.sim-teaser-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 24px; backdrop-filter: blur(6px); }
.sim-teaser-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.sim-teaser-row strong { color: var(--white); font-variant-numeric: tabular-nums; }
.sim-teaser-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 10px; }
.sim-teaser-total strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-300); font-variant-numeric: tabular-nums; }
.muted-light { color: rgba(255, 255, 255, .55); }

/* ---------- Conditions & risques ---------- */
.card-lift { transition: transform .35s var(--ease), box-shadow .35s; padding: 32px; }
.card-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.num-list { counter-reset: n; list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.num-list li { counter-increment: n; display: flex; gap: 12px; align-items: flex-start; }
.num-list li::before { content: counter(n); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-900); color: var(--gold-300); font: 700 .8rem var(--font-head); display: flex; align-items: center; justify-content: center; }
.risk-points { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 14px; }
.risk-points li { display: flex; gap: 12px; }
.risk-points strong { color: var(--navy-900); }
.risk-points p { margin: 0; font-size: .9rem; color: var(--gray-500); }
.risk-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--warning-bg); color: var(--warning); }
.risk-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 8px; }
.rs { font-size: .7rem; text-align: center; padding: 8px 2px; border-radius: 6px; color: var(--navy-900); line-height: 1.2; }
.rs b { display: block; font-size: 1rem; font-family: var(--font-head); }
.rs1 { background: #e3f1ea; } .rs2 { background: #eef3d9; } .rs3 { background: #fbf0cf; } .rs4 { background: #fbe0c8; } .rs5 { background: #f7d1cc; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 0 22px; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { border-color: var(--gold-400); box-shadow: 0 12px 30px -20px rgba(10, 22, 40, .35); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0 0 20px; color: var(--gray-700); }
.faq-plus { width: 22px; height: 22px; flex: none; position: relative; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; background: var(--gold-600); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }

/* ---------- Bande d'appel à l'action ---------- */
.cta-band { position: relative; overflow: hidden; color: rgba(255, 255, 255, .85); text-align: center; isolation: isolate; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 13, 28, .88), rgba(10, 22, 40, .8)); }
.cta-inner { padding: 110px 16px; max-width: 820px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.9rem, 4.2vw, 3rem); }
.cta-band .hero-cta { justify-content: center; margin: 28px 0 22px; }
.cta-risk { color: rgba(255, 255, 255, .55); max-width: 680px; margin: 0 auto; }

/* ---------- En-têtes de page avec photo ---------- */
.page-hero.has-photo { position: relative; overflow: hidden; padding: 0; isolation: isolate; background: var(--navy-950); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 20s var(--ease) both; }
.page-hero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 13, 28, .92), rgba(5, 13, 28, .6) 60%, rgba(5, 13, 28, .35)); }
.page-hero-inner { padding-top: 88px; padding-bottom: 80px; }
@media (min-width: 768px) { .page-hero-inner { padding-top: 110px; padding-bottom: 96px; } }
.page-hero.has-photo p { color: rgba(255, 255, 255, .82); font-size: 1.05rem; }
.page-hero.has-photo .breadcrumb a { color: var(--gold-300); }
.project-hero .chip-navy { background: rgba(5, 13, 28, .6); backdrop-filter: blur(4px); }

.facts-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
@media (min-width: 760px) { .facts-strip { grid-template-columns: repeat(4, 1fr); } }
.facts-strip > div { background: var(--white); padding: 16px 18px; display: grid; gap: 4px; }
.facts-strip .ico { color: var(--gold-600); }
.facts-strip span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); }
.facts-strip strong { font-family: var(--font-head); color: var(--navy-900); font-size: 1rem; }

/* ---------- Cartes projets ---------- */
.project-card { border-radius: 18px; }
.project-media img { transition: transform 1s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-media .ph-label { right: 10px; bottom: 10px; left: auto; top: auto; }
.news-card .news-media { overflow: hidden; }
.news-card .news-media img { transition: transform 1s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }

/* ---------- Connexion / inscription ---------- */
.auth-split { display: grid; min-height: calc(100vh - 72px); }
@media (min-width: 1000px) { .auth-split { grid-template-columns: .9fr 1.1fr; } }
.auth-visual { position: relative; display: none; overflow: hidden; isolation: isolate; color: var(--white); }
@media (min-width: 1000px) { .auth-visual { display: flex; align-items: flex-end; } }
.auth-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 13, 28, .92) 10%, rgba(5, 13, 28, .25) 70%); }
.auth-visual-inner { padding: 48px; }
.auth-quote { font-family: var(--font-head); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--gold-300); max-width: 460px; }
.auth-split .auth-wrap { width: 100%; padding: 48px 16px 64px; align-self: center; }
@media (min-width: 1000px) { .auth-split .auth-wrap { padding: 56px 40px; } }

/* ---------- Crédits ---------- */
.credits-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.credit-item { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); background: var(--white); }
.credit-item img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.credit-item figcaption { padding: 12px 14px; display: grid; gap: 2px; font-size: .85rem; }
.credit-item span { color: var(--gray-500); font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .page-hero-bg { animation: none; }
  .fade-up { opacity: 1; transform: none; animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Réseau de partenaires ---------- */
.partners p { color: rgba(255, 255, 255, .78); max-width: 620px; }
.partners .partners-lead { font-size: 1.1rem; color: rgba(255, 255, 255, .92); }
.partners h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.partners .btn { margin-top: 8px; }
.partners-sub { color: var(--white); font-size: 1.35rem; text-align: center; margin: 64px 0 26px; }
.partners-sub::after { content: ""; display: block; width: 56px; height: 2px; background: var(--gold-500); margin: 14px auto 0; }
.section-navy.partners .partners-h { color: var(--gold-400); font-size: 1.15rem; margin: 26px 0 10px; }
.why-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 24px 20px; transition: border-color .35s, transform .35s var(--ease); }
.why-card:hover { border-color: var(--gold-500); transform: translateY(-4px); }
.why-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-500); color: var(--gold-400); margin-bottom: 14px; }
.why-card h4 { color: var(--white); font-size: 1.02rem; margin: 0 0 8px; }
.why-card p { font-size: .93rem; margin: 0; }
.partners-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 32px; padding: 28px; border: 1px solid var(--gold-500); border-radius: var(--radius-lg); background: rgba(201, 169, 110, .08); }
.partners-cta h3 { color: var(--white); font-size: 1.3rem; margin: 0 0 6px; }
.partners-cta p { margin: 0; max-width: 640px; }
.partners-cta .btn { margin-top: 0; flex: none; }
.market-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .market-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .market-grid { grid-template-columns: repeat(5, 1fr); } }
.market-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.market-card:hover { transform: translateY(-4px); border-color: rgba(201, 169, 110, .6); background: rgba(255, 255, 255, .08); }
.market-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.market-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.market-card:hover .market-media img { transform: scale(1.06); }
.market-icon { position: absolute; left: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(201, 169, 110, .95); color: var(--navy-950); }
.market-body { padding: 16px 18px 20px; }
.market-body h4 { color: var(--white); font-size: .98rem; margin: 0 0 6px; line-height: 1.3; }
.market-body p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .68); line-height: 1.5; }
@media (min-width: 640px) and (max-width: 1099px) { .market-card:last-child { grid-column: span 2; } .market-card:last-child .market-media { aspect-ratio: 21 / 9; } }

/* ---------- Notre engagement ---------- */
.pledge-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pledge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pledge-grid { grid-template-columns: repeat(5, 1fr); } }
.pledge { position: relative; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 26px 20px 22px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pledge:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.pledge-num { position: absolute; right: 16px; top: 12px; font: 700 1.6rem var(--font-head); color: var(--gray-200); }
.pledge-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--gold-400); margin-bottom: 16px; }
.pledge h3 { font-size: 1rem; margin-bottom: 6px; }
.pledge p { margin: 0; font-size: .88rem; color: var(--gray-500); line-height: 1.5; }
@media (min-width: 640px) and (max-width: 1099px) { .pledge:last-child { grid-column: span 2; } }
.risk-banner .ico { display: inline-block; vertical-align: -3px; color: var(--gold-600); }

/* ---------- Opportunités internationales : filtres, catégories, cartes ---------- */
.opp-lead { color: var(--gray-600); font-size: 1.08rem; max-width: 640px; margin-top: 6px; }
.opp-filters { padding: 22px 24px; margin-bottom: 18px; border-top: 3px solid var(--gold-500); }
.opp-filters-title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0 0 14px; }
.opp-filters-grid { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 640px) { .opp-filters-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .opp-filters-grid { grid-template-columns: repeat(4, 1fr) auto; } }
.opp-filters label { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); margin-bottom: 6px; }
.opp-filters select { width: 100%; }
.opp-filters-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-strip { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin: 22px 0 18px; }
@media (min-width: 720px) { .cat-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cat-strip { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.cat-pill { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--gray-200); background: var(--white); color: var(--navy-900); font-size: .88rem; font-weight: 600; line-height: 1.25; text-decoration: none; box-shadow: 0 1px 2px rgba(10, 22, 40, .04); transition: border-color .2s, box-shadow .25s, transform .25s; }
.cat-pill:hover { border-color: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 22px rgba(10, 22, 40, .10); transform: translateY(-2px); }
.cat-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: var(--navy-900); color: var(--gold-400); transition: background .2s, color .2s; }
.cat-pill[aria-current="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.cat-pill[aria-current="true"] .cat-ico { background: var(--gold-500); color: var(--navy-900); }
@media (max-width: 420px) { .cat-pill { flex-direction: column; align-items: flex-start; gap: 8px; font-size: .82rem; } }
.opp-count { font-size: .9rem; margin: 6px 0 12px; }
.project-media { aspect-ratio: 4 / 3; }
.project-media .chip { z-index: 1; }
.project-card { border: 1px solid var(--gray-200); box-shadow: 0 1px 3px rgba(10, 22, 40, .05); }
.project-card:hover { box-shadow: 0 18px 40px rgba(10, 22, 40, .12); transform: translateY(-4px); border-color: rgba(201, 169, 110, .6); }
.project-body { padding: 24px 24px 22px; gap: 14px; }
.project-body h3 { font-size: 1.14rem; line-height: 1.3; letter-spacing: .01em; overflow-wrap: anywhere; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--gray-500); }
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-meta svg { color: var(--gold-600); flex: none; }
.project-amount { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--navy-900); color: var(--white); }
.project-amount small { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-400); font-weight: 600; }
.project-amount strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.project-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--gray-600); font-size: .93rem; margin: 0; }
.project-facts { padding-top: 14px; border-top: 1px solid var(--gray-200); margin: 0; }
.project-actions { margin-top: auto; }
.project-fact-wide { grid-column: 1 / -1; }
.project-actions .btn { display: inline-flex; align-items: center; gap: 6px; }
.progress-label { display: flex; justify-content: space-between; gap: 10px; }
.opp-demo-note { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; }
.opp-demo-note svg { flex: none; margin-top: 3px; }
.project-media .chip-demo { max-width: calc(100% - 24px); }

/* ---------- Opportunités : présentation lorsqu'aucun projet n'est publié ---------- */
.opp-empty { text-align: center; max-width: 760px; margin: 28px auto 0; padding: 44px 26px; background: var(--white); border: 1px solid var(--gray-200); border-top: 3px solid var(--gold-500); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.opp-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; background: var(--navy-900); color: var(--gold-400); margin-bottom: 18px; }
.opp-empty h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 0 0 10px; }
.opp-empty p { color: var(--gray-600); margin: 0 auto; max-width: 600px; }
.opp-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.opp-empty-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.opp-sectors-title { text-align: center; font-size: 1.4rem; margin: 54px 0 22px; }
.opp-sectors { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .opp-sectors { grid-template-columns: repeat(2, 1fr); } }
.opp-sector { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; }
.opp-sector strong { display: block; color: var(--navy-900); font-size: .98rem; }
.opp-sector p { margin: 3px 0 0; font-size: .9rem; color: var(--gray-500); }

/* ---------- Fiches : boutons, informations clés ---------- */
.project-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.project-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.project-facts dd { font-weight: 500; font-size: .86rem; line-height: 1.45; }
.project-objective { font-size: 1.08rem; color: var(--navy-900); border-left: 3px solid var(--gold-500); padding: 4px 0 4px 16px; }
.project-keys { display: grid; gap: 14px; grid-template-columns: 1fr; }
.project-key { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--gray-200); border-radius: 14px; background: var(--white); }
.project-key-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--navy-900); color: var(--gold-400); }
.project-key h3 { font-size: .98rem; margin: 0 0 4px; }
.project-key p { margin: 0; color: var(--gray-600); font-size: .94rem; }
.project-hero .contact-hero-actions { margin-top: 18px; }
.project-ref-note { margin: 12px 2px 0; font-size: .8rem; line-height: 1.5; color: var(--gray-500); }
