/*
 * PACTE — styles du site public (en-tête, accueil, pied de page).
 * Fichier statique (hors build Encore) : chargé dans base.html.twig après app.css.
 * Couleurs : bleu DAIP #0A3D91 / #0052CC, encre #0A1F44, orange d'action #EE9137,
 * orange logo PACTE #FE6800, fonds clairs #F5F7FB / #EEF4FD / #FFF5E8 / #F6FFE8.
 */

/* ---------- Base ---------- */
.pa-page h1, .pa-page h2, .pa-page h3, .pa-page h4 { text-wrap: balance; }
.pa-page ::selection { background: #EE9137; color: #0A1F44; }
.pa-page a:focus-visible,
.pa-header a:focus-visible,
.pa-footer a:focus-visible { outline: 3px solid #EE9137; outline-offset: 3px; border-radius: 8px; }
.pa-container { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.pa-section { padding-top: 104px; padding-bottom: 104px; }
.pa-section--white { background: #FFFFFF; border-top: 1px solid #E2E8F0; }
.pa-section--tint { background: #F5F7FB; border-top: 1px solid #E2E8F0; }
.pa-h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; color: #0A1F44; }
.pa-lead { margin: 0; max-width: 500px; font-size: 17px; line-height: 1.6; color: #475569; }
.pa-lead strong { color: #0A1F44; }
.pa-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 64px; margin-bottom: 48px; }
.pa-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #0052CC; }
.pa-num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #0A3D91; color: #FFFFFF; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pa-tabular { font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
    .pa-container { padding-left: 16px; padding-right: 16px; }
    .pa-section { padding-top: 64px; padding-bottom: 64px; }
    .pa-head { margin-bottom: 32px; }
}

/* ---------- En-tête : logos institutionnels et bailleurs ---------- */
.pa-header-logo-etat { height: 56px; width: auto; display: block; }
.pa-header-logo-daip { height: 34px; width: auto; display: block; }
.pa-header-sep { width: 1px; height: 36px; background: #E2E8F0; }
.pa-bailleurs { height: 46px; width: auto; display: block; }
.pa-bailleurs-desktop { display: none; }
.pa-bailleurs-mobile { display: flex; align-items: center; justify-content: center; height: 60px; box-sizing: border-box; padding: 8px 16px; border-top: 1px solid #F1F5F9; background: #FFFFFF; }
.pa-bailleurs-mobile img { height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.pa-header-spacer { height: 140px; }
.pa-mobile-menu { top: 140px !important; max-height: calc(100vh - 140px) !important; }
@media (min-width: 1024px) {
    .pa-bailleurs-desktop { display: block; }
    .pa-bailleurs-mobile { display: none; }
    .pa-header-spacer { height: 80px; }
}
@media (max-width: 480px) {
    .pa-header-logo-etat { height: 44px; }
    .pa-header-logo-daip { height: 26px; }
    .pa-header-sep { height: 28px; }
}

/* ---------- Hero ---------- */
.pa-hero { background: linear-gradient(135deg, #0A3D91 0%, #0052CC 60%, #1D4ED8 100%); color: #FFFFFF; position: relative; overflow: hidden; }
.pa-hero__inner { max-width: 1280px; margin: 0 auto; padding: 72px 32px 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.pa-hero__text { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pa-hero__title { margin: 0; font-size: clamp(2.1rem, 4.2vw, 3.75rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; color: #FFFFFF; }
.pa-hero__title span { display: block; font-weight: 600; color: #BAE6FD; font-size: 0.62em; line-height: 1.25; letter-spacing: -0.015em; margin-top: 14px; }

.pa-date { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; background: #FFFFFF; border-radius: 18px; box-shadow: 0 18px 36px -20px rgba(3,20,60,0.65), 0 2px 6px -2px rgba(3,20,60,0.2); }
.pa-date__cal { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: #E8F0FC; display: flex; flex-direction: column; align-items: center; overflow: hidden; line-height: 1; }
.pa-date__month { width: 100%; background: #0A3D91; color: #FFFFFF; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-align: center; padding: 4px 0 3px; }
.pa-date__day { flex: 1; display: flex; align-items: center; font-size: 18px; font-weight: 800; color: #0A3D91; font-variant-numeric: tabular-nums; }
.pa-date__text { display: flex; flex-direction: column; line-height: 1.3; }
.pa-date__label { font-size: 13px; font-weight: 600; color: #475569; }
.pa-date__value { font-size: 17px; font-weight: 800; color: #0A1F44; letter-spacing: -0.01em; }

.pa-hero__media { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; padding: 8px 24px 24px; }
.pa-hero__figure { position: relative; margin: 0; width: 100%; max-width: 470px; }
.pa-hero__plate { position: absolute; top: 22px; left: 22px; right: -16px; bottom: -16px; border-radius: 36px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); transform: rotate(3deg); }
.pa-hero__frame { position: relative; background: #FFFFFF; border-radius: 32px; padding: 28px 28px 40px; box-shadow: 0 44px 70px -34px rgba(3,20,60,0.7), 0 12px 24px -16px rgba(3,20,60,0.35); }
.pa-hero__frame::before { content: ""; position: absolute; inset: 18px; border-radius: 22px; background: radial-gradient(circle at 50% 38%, #EEF4FD 0%, #FFFFFF 62%); }
.pa-hero__frame img { position: relative; width: 100%; height: auto; display: block; }
.pa-hero__badge { position: absolute; left: -22px; bottom: 34px; display: flex; align-items: center; gap: 12px; background: #FFFFFF; color: #0A1F44; border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: 0 20px 40px -18px rgba(3,20,60,0.6); }
.pa-hero__badge-icon { width: 44px; height: 44px; border-radius: 12px; background: #FFF4E8; display: flex; align-items: center; justify-content: center; }
.pa-hero__badge-text { display: flex; flex-direction: column; line-height: 1.3; }
.pa-hero__badge-text strong { font-size: 15px; font-weight: 800; }
.pa-hero__badge-text span { font-size: 13px; color: #475569; }
@media (max-width: 640px) {
    .pa-hero__inner { padding: 40px 16px 48px; gap: 32px; }
    .pa-hero__media { padding: 8px 12px 16px; }
    .pa-hero__figure { max-width: 330px; }
    .pa-hero__frame { padding: 20px 20px 28px; border-radius: 26px; }
    .pa-hero__badge { left: -6px; bottom: 18px; }
}

/* ---------- Présentation ---------- */
.pa-pres { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; max-width: 1280px; }
.pa-pres__text { flex: 1 1 560px; min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 22px; }
.pa-pres__title { margin: 0; font-size: clamp(1.75rem, 2.6vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: #0A1F44; }
.pa-pres__p1 { margin: 0; font-size: 18px; line-height: 1.6; color: #1E2B4A; }
.pa-pres__p1 strong.pa-blue { color: #0A3D91; }
.pa-pres__p2 { margin: 0; font-size: 16px; line-height: 1.6; color: #475569; }
.pa-pres__p2 strong { color: #1E2B4A; }
.pa-facts { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.pa-fact { padding: 18px 20px; border-radius: 16px; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.pa-fact dt { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; color: #0A1F44; }
.pa-fact dt svg { flex: 0 0 auto; }
.pa-fact dd { margin: 0; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: #0A1F44; }
.pa-fact--blue { background: #EEF4FD; }
.pa-fact--sky { background: #F9FCFF; }
.pa-fact--sky dt { color: #7C3A06; }
.pa-fact--green { background: #F6FFE8; }
.pa-link-arrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: #0052CC; text-decoration: underline; text-underline-offset: 3px; }
.pa-link-arrow:hover { color: #0A3D91; }

.pa-genre { flex: 1 1 400px; min-width: 0; max-width: 480px; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -42px rgba(10,61,145,0.55); }
.pa-genre__band { position: relative; background: #E8F0FC; height: 104px; display: flex; justify-content: center; }
.pa-genre__band svg { position: absolute; inset: 0; width: 100%; height: 104px; }
.pa-genre__photo { position: relative; width: 168px; height: 168px; display: block; margin-top: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 8px #FFFFFF, 0 22px 40px -18px rgba(10,61,145,0.5); }
.pa-genre__body { padding: 104px 28px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.pa-genre__title { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; color: #0A1F44; }
.pa-genre__goal { width: 100%; padding: 14px 0; border-top: 1px solid #E2E8F0; border-bottom: 1px solid #E2E8F0; }
.pa-genre__goal p { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #1E2B4A; font-size: 15px; }
.pa-genre__pct { font-size: 48px; line-height: 1; letter-spacing: -0.04em; font-weight: 800; color: #0A3D91; font-variant-numeric: tabular-nums; }
.pa-genre__cheer { margin: 0; display: flex; align-items: center; gap: 12px; text-align: left; font-size: 15px; font-weight: 700; color: #0A1F44; border-radius: 14px; padding: 12px 16px; background: #FFF5E8; }
.pa-genre__cheer svg { flex: 0 0 auto; }

/* ---------- Établissements ---------- */
.pa-notice { margin: 14px 0 0; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #0A1F44; background: #FFFFFF; border: 1px solid #DCE3EE; border-radius: 12px; padding: 10px 14px; }
.pa-notice svg { flex: 0 0 auto; }
.pa-etabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.pa-etab { display: flex; flex-direction: column; overflow: hidden; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 24px; box-shadow: 0 24px 48px -36px rgba(10,61,145,0.45); transition: transform .35s cubic-bezier(.33,1,.68,1), box-shadow .35s ease; }
.pa-etab:hover { transform: translateY(-4px); box-shadow: 0 36px 64px -40px rgba(10,61,145,0.6); }
.pa-etab__head { min-height: 216px; box-sizing: border-box; padding: 24px 24px 26px; color: #FFFFFF; display: flex; flex-direction: column; gap: 20px;
    background-color: #0A3D91;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 28px 28px; background-position: -1px -1px; }
.pa-etab__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pa-etab__icon { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 14px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; }
.pa-etab__place { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; background: #FFFFFF; color: #0A3D91; }
.pa-etab__name { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.pa-etab__name p { margin: 0; font-size: 13px; font-weight: 600; color: #BFDBFE; }
.pa-etab__name h3 { margin: 0; font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 800; color: #FFFFFF; }
.pa-etab__body { flex: 1; padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 16px; }
.pa-etab__offer + .pa-etab__offer { padding-top: 16px; border-top: 1px solid #E2E8F0; }
.pa-etab__offer { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pa-metier { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #F5F7FB; border: 1px solid #E8EDF5; }
.pa-metier__icon { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px; background: #FFFFFF; border: 1px solid #DCE3EE; display: flex; align-items: center; justify-content: center; }
.pa-metier__icon svg { width: 20px; height: 20px; }
.pa-metier__text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pa-metier__label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #475569; }
.pa-metier__name { margin: 0; font-size: 15px; line-height: 1.3; font-weight: 800; color: #0A1F44; }
.pa-kpis { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pa-kpi { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 12px 14px; border-radius: 14px; }
.pa-kpi dt { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #0A1F44; white-space: nowrap; }
.pa-kpi dt svg { flex: 0 0 auto; }
.pa-kpi dd { margin: 0; font-size: 32px; line-height: 1; letter-spacing: -0.04em; font-weight: 800; color: #0A1F44; font-variant-numeric: tabular-nums; }
.pa-kpi dd small { font-size: 16px; letter-spacing: -0.01em; font-weight: 800; }
.pa-kpi--blue { background: #EEF4FD; }
.pa-kpi--blue dt { color: #1E3A8A; }
.pa-kpi--blue dd { color: #0A3D91; }
.pa-kpi--green { background: #F6FFE8; }
.pa-etab__cta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; box-sizing: border-box; padding: 0 22px; border-radius: 14px; background-color: #EE9137; color: #FFFFFF; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 12px 24px -14px rgba(238,145,55,0.9); transition: filter .25s ease; }
.pa-etab__cta:hover { filter: brightness(.94); color: #FFFFFF; }
.pa-etab__cta svg { transition: transform .3s cubic-bezier(.33,1,.68,1); }
.pa-etab__cta:hover svg { transform: translateX(4px); }
.pa-empty { padding: 32px; text-align: center; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 20px; color: #475569; grid-column: 1 / -1; }

/* ---------- Éligibilité ---------- */
.pa-el { display: flex; flex-direction: column; gap: 48px; }
.pa-el .pa-head { margin-bottom: 0; }
.pa-el-row { display: grid; grid-template-columns: minmax(0,1fr) 72px minmax(0,1fr); align-items: stretch; }
.pa-and, .pa-or { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; }
.pa-and::before, .pa-or::before { content: ""; position: absolute; left: 50%; top: 10%; bottom: 10%; border-left: 1.5px dashed #CBD5E1; }
.pa-and span, .pa-or span { position: relative; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.pa-and span { background: #FFFFFF; border: 1.5px solid #0A3D91; color: #0A3D91; }
.pa-or span { background: #0A1F44; color: #FFFFFF; }
.pa-and--h::before, .pa-or--h::before { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 1.5px dashed #CBD5E1; }
.pa-crit { background: #F5F7FB; border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.pa-crit__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pa-crit h3 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; color: #0A1F44; }
.pa-crit p { margin: 0; font-size: 16px; line-height: 1.6; color: #475569; }
.pa-crit p strong { color: #0A1F44; }
.pa-crit__age { font-size: 44px !important; line-height: 1 !important; letter-spacing: -0.03em; font-weight: 800; color: #0A3D91 !important; font-variant-numeric: tabular-nums; }
.pa-crit__age small { font-size: 22px; letter-spacing: -0.01em; }
.pa-years { margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.pa-years__track { position: relative; height: 12px; border-radius: 999px; background: repeating-linear-gradient(135deg, #E2E8F0 0 6px, #EEF2F7 6px 12px); }
.pa-years__track span { position: absolute; left: 14%; right: 14%; top: 0; bottom: 0; border-radius: 999px; background: #0052CC; }
.pa-years__ends { position: relative; height: 20px; font-size: 14px; font-weight: 800; color: #0A1F44; font-variant-numeric: tabular-nums; }
.pa-years__ends span:first-child { position: absolute; left: 14%; transform: translateX(-50%); }
.pa-years__ends span:last-child { position: absolute; right: 14%; transform: translateX(50%); }
.pa-years figcaption { font-size: 14px; color: #475569; }
.pa-crit3 { border: 1px solid #E2E8F0; border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 28px; box-shadow: 0 24px 48px -36px rgba(10,61,145,0.45); background: #FFFFFF; }
.pa-crit3__head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 24px; }
.pa-crit3__head > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pa-crit3__head h3 { margin: 4px 0 0; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; color: #0A1F44; }
.pa-crit3__head p { margin: 0; font-size: 16px; color: #475569; max-width: 720px; }
.pa-crit3__head p strong { color: #0A1F44; }
.pa-voie { background: #F5F7FB; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.pa-voie--1 { gap: 20px; }
.pa-voie h4 { margin: 0; font-size: 20px; font-weight: 800; color: #0A1F44; }
.pa-voie h4 span { color: #0052CC; }
.pa-voie p { margin: 0; font-size: 16px; color: #475569; }
.pa-voie p strong { color: #0A1F44; }
.pa-voie__intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.pa-voie__intro p { font-size: 15px; }
.pa-diplomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pa-diplome { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.pa-diplome__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #E2E8F0; }
.pa-diplome__head p:first-child { margin: 0; font-size: 26px; line-height: 1; font-weight: 800; letter-spacing: -0.01em; color: #0A3D91; }
.pa-diplome__head p:last-child { margin: 0; font-size: 13px; font-weight: 700; color: #475569; }
.pa-checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; color: #1E2B4A; }
.pa-checklist li { position: relative; padding-left: 28px; }
.pa-checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #E8F0FC; }
.pa-checklist li::after { content: ""; position: absolute; left: 6.5px; top: 5.5px; width: 4px; height: 8px; border: solid #0052CC; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 860px) {
    .pa-el-row { grid-template-columns: minmax(0,1fr); }
    .pa-el-row > .pa-and::before, .pa-el-row > .pa-or::before { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 1.5px dashed #CBD5E1; }
    .pa-el { gap: 28px; }
    .pa-crit, .pa-crit3 { padding: 24px; }
    .pa-crit3 { border-radius: 22px; }
    .pa-voie { padding: 20px; }
    .pa-crit h3, .pa-crit3__head h3 { font-size: 22px; }
    .pa-crit3__head > div { flex-basis: 200px; }
    .pa-diplomes { grid-template-columns: minmax(0,1fr); }
}

/* ---------- Pièces à fournir ---------- */
.pa-pieces { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.pa-pieces__intro { flex: 1 1 340px; min-width: 0; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.pa-pieces__facts { margin: 8px 0 0; display: flex; flex-direction: column; border-top: 1px solid #DCE3EE; }
.pa-pieces__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #DCE3EE; }
.pa-pieces__facts dt { color: #475569; }
.pa-pieces__facts dd { margin: 0; font-weight: 800; color: #0A1F44; text-align: right; }
.pa-pieces__list { flex: 2 1 560px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.pa-piece { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 24px; align-items: center; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 20px; padding: 26px 28px; box-shadow: 0 14px 30px -26px rgba(10,61,145,.5); transition: transform .35s cubic-bezier(.33,1,.68,1), box-shadow .35s ease; }
.pa-piece:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(10,61,145,.55); }
.pa-piece__sheet { position: relative; width: 64px; height: 80px; box-sizing: border-box; border-radius: 8px; background: #EEF4FD; border: 1.5px solid #C6D7F2; display: flex; align-items: center; justify-content: center; }
.pa-piece__sheet::after { content: ""; position: absolute; top: -1.5px; right: -1.5px; width: 18px; height: 18px; background: linear-gradient(225deg, #FFFFFF 50%, #C6D7F2 50%); border-bottom-left-radius: 4px; }
.pa-piece__num { position: absolute; left: -10px; bottom: -10px; width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%; background: #0A3D91; color: #FFFFFF; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 3px solid #FFFFFF; }
.pa-piece__text { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pa-piece h3 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 800; color: #0A1F44; }
.pa-piece p { margin: 0; color: #475569; line-height: 1.6; }
@media (max-width: 640px) {
    .pa-piece { grid-template-columns: 64px minmax(0,1fr); gap: 20px; padding: 22px 20px; }
}

/* ---------- Calendrier : cadre de l'illustration ---------- */
.pa-cal-media { position: relative; padding-bottom: 28px; }
.pa-cal-media__plate { position: absolute; top: 20px; left: 20px; right: -14px; bottom: 40px; border-radius: 32px; background: #D1FAE5; transform: rotate(-2.5deg); }
.pa-cal-media__frame { position: relative; border-radius: 28px; overflow: hidden; background: #FFFFFF; padding: 36px 32px 48px; border: 1px solid #DCFCE7; box-shadow: 0 34px 64px -38px rgba(21,128,61,0.55), 0 12px 24px -16px rgba(15,23,42,0.2); }
.pa-cal-media__frame::before { content: ""; position: absolute; inset: 16px; border-radius: 20px; background: radial-gradient(circle at 50% 42%, #ECFDF5 0%, #FFFFFF 68%); }
.pa-cal-media__frame img { position: relative; width: 100%; height: auto; display: block; }
.pa-cal-media__badge { position: absolute; bottom: 4px; right: -18px; background: #FFFFFF; border-radius: 16px; padding: 12px 18px 12px 12px; border: 1px solid #DCFCE7; box-shadow: 0 20px 40px -20px rgba(21,128,61,0.6), 0 4px 10px -6px rgba(15,23,42,0.18); display: flex; align-items: center; gap: 12px; }
.pa-cal-media__badge-icon { width: 44px; height: 44px; flex: 0 0 auto; background: #DCFCE7; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.pa-cal-media__badge p { margin: 0; }

/* ---------- Partenaires ---------- */
.pa-partners { display: flex; flex-direction: column; gap: 32px; align-items: center; text-align: center; }
.pa-partners__title { margin: 0; font-size: clamp(1.75rem, 2.6vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: #0A1F44; }
.pa-partners__lead { margin: 12px auto 0; max-width: 620px; color: #475569; }
.pa-partners__box { width: 100%; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 20px; padding: 32px; box-sizing: border-box; display: flex; justify-content: center; }
.pa-partners__box img { width: 100%; max-width: 1040px; height: auto; display: block; }
@media (max-width: 640px) { .pa-partners__box { padding: 16px; } }

/* ---------- Contact ---------- */
.pa-contact { background: #0A3D91; color: #FFFFFF; }
.pa-contact__inner { max-width: 1280px; margin: 0 auto; padding: 72px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.pa-contact h2 { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: #FFFFFF; }
.pa-contact p { margin: 6px 0 0; color: #DBEAFE; }
.pa-contact__links { display: flex; flex-wrap: wrap; gap: 12px; }
.pa-contact__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.4); color: #FFFFFF; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; transition: background-color .25s ease, border-color .25s ease; }
.pa-contact__links a:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.pa-contact__links a.pa-contact__mail { background: #FFFFFF; color: #0A3D91; border-color: #FFFFFF; }
.pa-contact__links a.pa-contact__mail:hover { background: #E8F0FC; }
@media (max-width: 640px) { .pa-contact__inner { padding: 56px 16px; } }

/* ---------- Pied de page ---------- */
.pa-footer { background: #0F172A; color: #CBD5E1; }
.pa-footer__inner { max-width: 1280px; margin: 0 auto; padding: 64px 32px 0; }
.pa-footer__mention { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; padding-bottom: 48px; border-bottom: 1px solid #1E293B; }
.pa-footer__pacte { flex: 0 0 auto; background: #FFFFFF; border-radius: 16px; padding: 14px 18px; display: block; }
.pa-footer__pacte img { height: 44px; width: auto; display: block; }
.pa-footer__mention-body { flex: 1 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.pa-footer__funding { position: relative; margin: 10px 0 0; padding: 26px 28px 24px; border: 1.5px solid rgba(255,255,255,0.9); border-radius: 20px; background: rgba(255,255,255,0.04); box-shadow: 0 0 0 6px rgba(255,255,255,0.06), 0 24px 48px -28px rgba(0,0,0,0.8); font-size: 15px; line-height: 1.75; color: #E2E8F0; }
.pa-footer__funding-tag { position: absolute; top: -12px; left: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: #FFFFFF; color: #0A1F44; font-size: 12px; font-weight: 800; line-height: 1.5; }
.pa-footer__site { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.pa-footer__site:hover { color: #FDE7CF; }
.pa-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding: 40px 0; }
.pa-footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.pa-footer__col-title { margin: 0 0 4px; font-weight: 700; color: #FFFFFF; }
.pa-footer__col p { margin: 0; }
.pa-footer__col .pa-muted { font-size: 14px; color: #94A3B8; }
.pa-footer__col a { color: #CBD5E1; text-decoration: none; transition: color .2s ease; }
.pa-footer__col a:hover { color: #FFFFFF; }
.pa-footer__copy { margin: 0; padding: 20px 0 28px; border-top: 1px solid #1E293B; font-size: 13px; color: #94A3B8; }
@media (max-width: 640px) {
    .pa-footer__inner { padding: 48px 16px 0; }
    .pa-footer__funding { padding: 26px 18px 20px; font-size: 14px; }
}

/* ---------- Défilement doux (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .pa-etab, .pa-piece, .pa-etab__cta svg { transition: none; }
    .pa-etab:hover, .pa-piece:hover { transform: none; }
}
