:root {
  --encre:      #2B3FA8;
  --lin:        #FDFBF7;
  --blanc:      #FFFFFF;
  --texte:      #16161A;
  --texte-doux: #52504A;
  --filet:      #D0C8BA;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Geist', sans-serif; background: var(--blanc); color: var(--texte); font-size: 17px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--filet); backdrop-filter: blur(8px); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -0.05em; color: var(--encre); line-height: 1; }
.nav-logo .sig { font-family: 'Geist', sans-serif; font-weight: 400; font-size: 13px; letter-spacing: 0.04em; color: var(--texte-doux); margin-left: 6px; }
.nav-right { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 15px; font-weight: 500; }
.nav-right a:not(.nav-cta) { color: var(--texte); transition: color .2s; }
.nav-right a:not(.nav-cta):hover, .nav-right a.active { color: var(--encre); }
.nav-cta { background: var(--encre); color: var(--blanc); padding: 10px 18px; border-radius: 8px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; transition: opacity .2s; }
.nav-cta:hover { opacity: .85; }
.nav-lang { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--texte-doux); }
.nav-right .nav-lang a { color: var(--texte-doux); }
.nav-right .nav-lang a.active, .nav-right .nav-lang a:hover { color: var(--encre); }
.nav-hamburger { display: none; }

/* TYPO */
.surtitre { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--encre); margin-bottom: 12px; }
h1 { font-family: 'Lexend', sans-serif; font-weight: 600; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; color: var(--encre); margin: 0 0 20px; max-width: 900px; }
h2 { font-family: 'Lexend', sans-serif; font-weight: 600; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.02em; color: var(--encre); margin-bottom: 40px; }
.chapo { font-size: 19px; color: var(--texte); max-width: 720px; }
.texte { color: var(--texte); line-height: 1.75; }
.note { margin-top: 20px; font-size: 14px; color: var(--texte-doux); font-style: italic; }

/* HERO */
.page-hero { background: var(--lin); padding: 152px 0 80px; border-bottom: 1px solid var(--filet); }
.retour { display: inline-block; font-size: 14px; color: var(--texte-doux); margin-bottom: 32px; transition: color .2s; }
.retour:hover { color: var(--encre); }
.hero-actions { margin-top: 32px; }
.btn-primary { background: var(--encre); color: var(--blanc); padding: 16px 26px; border-radius: 8px; font-weight: 600; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; transition: opacity .2s; }
.btn-primary:hover { opacity: .85; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; background: var(--encre); color: var(--blanc); }

/* SECTIONS */
.section-pad { padding: 96px 0; }
.lin { background: var(--lin); border-top: 1px solid var(--filet); }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--filet); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--encre); transform: translateY(-2px); }
.card-n { font-size: 12px; font-weight: 600; color: var(--encre); }
.card-titre { font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--encre); }
.card-desc { color: var(--texte-doux); font-size: 15px; flex: 1; }
.card-lien { font-weight: 600; font-size: 15px; color: var(--encre); }

/* DETAIL */
.grid2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.liste { list-style: none; border-top: 1px solid var(--filet); }
.liste li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--filet); position: relative; }
.liste li::before { content: '·'; position: absolute; left: 4px; color: var(--encre); font-weight: 700; font-size: 20px; line-height: 1.2; }
.items { border-top: 1px solid var(--filet); }
.item { display: grid; grid-template-columns: 28px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--filet); }
.item-n { font-size: 12px; color: var(--encre); font-weight: 600; padding-top: 3px; }
.item-titre { display: block; font-weight: 600; margin-bottom: 4px; }
.item-desc { font-size: 15px; color: var(--texte-doux); line-height: 1.7; }

/* MODALITÉS */
.rows { border-top: 1px solid var(--filet); max-width: 900px; }
.row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--filet); }
.row dt { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texte-doux); padding-top: 4px; }
.row dd { color: var(--texte); }

/* PAGER */
.pager { border-top: 1px solid var(--filet); }
.pager-inner { display: flex; justify-content: space-between; gap: 24px; padding-top: 32px; padding-bottom: 32px; font-weight: 600; font-size: 15px; color: var(--encre); }
.pager-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* CTA */
.cta { background: var(--encre); color: var(--blanc); }
.cta-inner { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.cta-inner > div:first-child { flex: 999 1 520px; }
.cta h2 { color: var(--blanc); margin-bottom: 16px; }
.cta p { color: #E3E6F2; max-width: 620px; }
.cta-actions { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.btn-lin { background: var(--lin); color: var(--encre); padding: 16px 26px; border-radius: 8px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; transition: opacity .2s; }
.btn-lin:hover { opacity: .85; }
.cta-mail { color: var(--blanc); text-align: center; text-decoration: underline; text-underline-offset: 4px; }

/* FOOTER */
footer { border-top: 1px solid var(--filet); padding: 32px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-logo { font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.05em; color: var(--encre); }
.footer-sig { font-family: 'Geist', sans-serif; font-weight: 400; font-size: 14px; color: var(--texte-doux); margin-left: 4px; letter-spacing: 0; }
.footer-copy { font-size: 13px; color: var(--texte-doux); margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--texte-doux); }
.footer-links a:hover { color: var(--encre); }

/* MENTIONS */
#mentions { padding: 80px 0; display: none; border-top: 1px solid var(--filet); }
#mentions h2 { margin: 12px 0 40px; }
.legal-block { border-top: 1px solid var(--filet); }
.legal-row { padding: 24px 0; border-bottom: 1px solid var(--filet); }
.legal-row:last-child { border-bottom: none; }
.legal-lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 8px; }
.legal-val { font-size: 14px; color: var(--texte); line-height: 1.8; }

/* RESPONSIVE */
@media (max-width: 760px) {
  .nav-right { display: none; }
  .nav-right.open { display: flex; flex-direction: column; gap: 0; position: fixed; top: 72px; left: 0; right: 0; background: rgba(255,255,255,0.99); border-bottom: 1px solid var(--filet); padding: 12px 0; z-index: 99; align-items: stretch; }
  .nav-right.open > a { display: block; padding: 14px 24px; font-size: 16px; border-bottom: 1px solid var(--filet); }
  .nav-right.open .nav-cta { margin: 12px 24px; justify-content: center; }
  .nav-right.open .nav-lang { padding: 8px 24px; }
  .nav-hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; margin-left: auto; }
  .nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--texte); transition: all 0.25s; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-logo .sig { display: none; }
  .page-hero { padding: 120px 0 56px; }
  .section-pad { padding: 64px 0; }
  .grid2 { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .pager-inner { flex-direction: column; }
  .cta-inner { padding-top: 64px; padding-bottom: 64px; }
  footer { text-align: center; }
  .footer-inner { flex-direction: column; align-items: center; }
}
