/* Dossier de candidature (candidature-reprise.irs-rp.com) : styles communs aux versions FR et EN. */
/* Page isolée : aucun lien du site n'y mène (candidature-reprise.irs-rp.com). En-tête, bandeau et
   pied de page sont ceux du site ; seul le sous-titre change (meta irs-subtitle). */
.cr { --gold: #f3b41b; }

.cr-hero { position: relative; overflow: hidden; color: #fff; background: #0b2250; }
.cr-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(11,34,80,.96) 30%, rgba(11,34,80,.55)); }
.cr-hero .wrap { position: relative; z-index: 1; padding: 84px 0 92px; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 48px; align-items: center; }
.cr-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.cr-kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.cr-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; margin: 0 0 20px; color: #fff; }
.cr-hero p.lead { font-size: 20px; line-height: 1.55; max-width: 660px; opacity: .92; margin: 0 0 30px; }
.cr-hero .cr-seal { width: 200px; height: 200px; justify-self: center; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.cr-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .cr-hero .wrap { grid-template-columns: 1fr; padding: 56px 0 64px; } .cr-hero .cr-seal { width: 110px; height: 110px; justify-self: start; order: -1; } }

.cr-facts { background: var(--navy); color: #fff; }
.cr-facts ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cr-facts li { border-left: 2px solid rgba(243,180,27,.6); padding-left: 14px; }
.cr-facts b { display: block; font-family: "Playfair Display", serif; font-size: 30px; line-height: 1.1; color: var(--gold); }
.cr-facts span { font-size: 14px; opacity: .85; }
@media (max-width: 900px) { .cr-facts ul { grid-template-columns: repeat(2, 1fr); } }

/* Sommaire du dossier (les boutons de l'ancienne barre du haut) */
.cr-toc { position: sticky; top: 40px; z-index: 15; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.cr-toc .wrap { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.cr-toc .wrap::-webkit-scrollbar { display: none; }
.cr-toc b { flex: none; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.cr-toc a { flex: none; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; transition: background .15s, color .15s, border-color .15s; }
.cr-toc a:hover, .cr-toc a.on { background: var(--navy); border-color: var(--navy); color: #fff; }

.cr-section { padding: 84px 0; scroll-margin-top: 104px; }
.cr-section.alt { background: #f5f7fb; }
.cr-head { max-width: 780px; margin-bottom: 42px; }
.cr-num { font-family: "Playfair Display", serif; font-size: 15px; font-weight: 700; color: var(--btn); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.cr-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; margin: 0 0 14px; }
.cr-head p { font-size: 18px; line-height: 1.6; color: #3a4558; margin: 0; }
html { scroll-behavior: smooth; }

.cr-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .cr-grid3 { grid-template-columns: 1fr; } }
.cr-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 26px rgba(15,47,107,.07); display: flex; flex-direction: column; }
.cr-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.cr-card div { padding: 20px 22px 22px; }
.cr-card h3 { font-size: 22px; margin: 0 0 8px; }
.cr-card p { margin: 0; line-height: 1.6; color: #3a4558; }
.cr-mission h3::before { content: attr(data-n); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 14px "Source Sans 3", sans-serif; vertical-align: 3px; }

/* Pourquoi */
.cr-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .cr-why { grid-template-columns: 1fr; } }
.cr-reason { display: grid; grid-template-columns: 54px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 20px 22px; }
.cr-reason > b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--navy); color: var(--gold); font: 700 22px "Playfair Display", serif; }
.cr-reason h3 { font-size: 20px; margin: 0 0 6px; }
.cr-reason p { margin: 0; line-height: 1.6; color: #3a4558; }
.cr-quote { margin: 34px 0 0; padding: 26px 30px 26px 46px; border-radius: 14px; background: var(--navy); color: #fff; font: italic 22px/1.5 "Playfair Display", serif; position: relative; }
.cr-quote::before { content: "“"; position: absolute; left: 14px; top: -6px; font-size: 80px; color: var(--gold); line-height: 1; }
.cr-quote span { display: block; margin-top: 10px; font: 600 14px "Source Sans 3", sans-serif; color: var(--gold); letter-spacing: .04em; }

/* Équipe */
.cr-members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .cr-members { grid-template-columns: 1fr; } }
.cr-member { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px 24px; text-align: center; box-shadow: 0 10px 30px rgba(15,47,107,.08); position: relative; overflow: hidden; }
.cr-member::before { content: ""; position: absolute; inset: 0 0 auto; height: 78px; background: linear-gradient(120deg, var(--navy), var(--btn)); }
.cr-avatar { position: relative; width: 104px; height: 104px; margin: 18px auto 14px; border-radius: 50%; background: #fff; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(15,47,107,.25); display: grid; place-items: center; overflow: hidden; }
.cr-avatar img { width: 100%; height: 100%; display: block; }
.cr-member h3 { font-size: 22px; margin: 0 0 6px; }
.cr-member .role { display: inline-block; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--btn); background: #e6edf8; border-radius: 999px; padding: 4px 12px; }
.cr-member ul { list-style: none; margin: 0; padding: 0; text-align: left; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; color: #3a4558; }
.cr-member li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.cr-member li::before { content: "›"; color: var(--gold); font-weight: 800; font-size: 18px; line-height: 1.2; }
.cr-trio { margin: 30px 0 0; font-size: 16px; color: #3a4558; text-align: center; }
.cr-trio strong { color: var(--navy); }

/* Cycle fiscal */
.cr-cycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: c; position: relative; }
.cr-cycle::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--navy), var(--btn)); }
.cr-cycle li { position: relative; text-align: center; padding: 0 10px; }
.cr-cycle li::before { counter-increment: c; content: counter(c); position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); color: var(--navy); font: 800 20px "Source Sans 3", sans-serif; }
.cr-cycle b { display: block; font-size: 17px; margin-bottom: 4px; }
.cr-cycle span { font-size: 15px; color: #3a4558; line-height: 1.5; }
.cr-cycle em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--btn); background: #e6edf8; border-radius: 4px; padding: 2px 7px; }
@media (max-width: 900px) { .cr-cycle { grid-template-columns: 1fr; gap: 22px; } .cr-cycle::before { display: none; } .cr-cycle li { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 0 14px; } .cr-cycle li::before { grid-row: span 3; margin: 0; } .cr-cycle em { justify-self: start; } }
.cr-rules { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cr-rule { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; padding: 16px 18px; }
.cr-rule b { display: block; font-size: 22px; color: var(--navy); }
.cr-rule span { font-size: 14px; color: #3a4558; }
@media (max-width: 900px) { .cr-rules { grid-template-columns: 1fr 1fr; } }

/* Portail */
.cr-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cr-features { grid-template-columns: 1fr; } }
.cr-feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cr-feature:hover { border-color: var(--btn); box-shadow: 0 10px 26px rgba(15,47,107,.12); transform: translateY(-2px); }
.cr-feature svg { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: #e6edf8; color: var(--navy); }
.cr-feature h3 { font-size: 18px; margin: 2px 0 4px; font-family: "Source Sans 3", sans-serif; font-weight: 700; }
.cr-feature p { margin: 0; font-size: 15px; line-height: 1.55; color: #3a4558; }
.cr-feature a { font-weight: 700; font-size: 14px; }

.cr-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .cr-split { grid-template-columns: 1fr; } }
.cr-split img { width: 100%; border-radius: 16px; box-shadow: 0 18px 46px rgba(15,47,107,.18); }
.cr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cr-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; line-height: 1.55; }
.cr-list li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: #1e8e4e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cr-list b { color: var(--navy); }
.cr-grades { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.cr-grades span { display: inline-grid; place-items: center; min-width: 40px; height: 32px; border-radius: 7px; color: #fff; font: 800 15px "Source Sans 3", sans-serif; }
.cr-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
@media (max-width: 900px) { .cr-team { grid-template-columns: 1fr 1fr; } }
.cr-role { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.cr-role h3 { font-size: 19px; margin: 0 0 6px; }
.cr-role p { margin: 0; font-size: 15px; line-height: 1.55; color: #3a4558; }
.cr-role small { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--btn); }

/* Apports */
.cr-bring { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cr-bring { grid-template-columns: 1fr; } }
.cr-gain { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.cr-gain small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--btn); margin-bottom: 6px; }
.cr-gain h3 { font-size: 21px; margin: 0 0 10px; }
.cr-gain ul { margin: 0; padding-left: 18px; color: #3a4558; line-height: 1.6; font-size: 15.5px; }

/* Objectifs */
.cr-goals { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cr-goals { grid-template-columns: 1fr; gap: 18px; } }
.cr-goal { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); padding: 28px 24px 24px; }
.cr-goal:first-child { border-radius: 14px 0 0 14px; }
.cr-goal:last-child { border-radius: 0 14px 14px 0; }
.cr-goal + .cr-goal { border-left: 0; }
@media (max-width: 900px) { .cr-goal, .cr-goal:first-child, .cr-goal:last-child { border-radius: 14px; } .cr-goal + .cr-goal { border-left: 1px solid var(--line); } }
.cr-goal header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cr-goal header i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-style: normal; font-weight: 800; font-size: 18px; color: #fff; flex: none; background: var(--c); }
.cr-goal h3 { font-size: 22px; margin: 0; }
.cr-goal header span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.cr-goal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cr-goal li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 15.5px; line-height: 1.5; color: #3a4558; }
.cr-goal li::before { content: ""; width: 12px; height: 12px; margin-top: 5px; border-radius: 3px; background: var(--c); }
.cr-goal li b { color: var(--navy); }
.cr-goal .bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.g-short { --c: #2a5ca8; } .g-mid { --c: #c9a227; } .g-long { --c: #1e8e4e; }

.cr-end { background: #0b2250; color: #fff; text-align: center; padding: 84px 0; position: relative; overflow: hidden; }
.cr-end img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.cr-end .wrap { position: relative; }
.cr-end .cr-seal { width: 92px; height: 92px; margin: 0 auto 18px; display: block; }
.cr-end h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin: 0 0 14px; }
.cr-end p { font-size: 18px; opacity: .88; max-width: 640px; margin: 0 auto 28px; line-height: 1.6; }
.cr .btn-gold, .cr .btn-light { font-size: 16px; }
.cr-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.cr-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cr-reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
