/* ==========================================================================
   MARGA-RH — Site public (landing + sous-pages)
   S'appuie sur les variables de marga-brand.css (charger après).
   Marine = structure et CTA, Ciel = accent, Orange = alertes uniquement.
   ========================================================================== */

:root {
    --pub-ink: #021C36;
    --pub-text: #334155;
    --pub-muted: #64748B;
    --pub-line: #E2E8F0;
    --pub-soft: #F8FAFC;
    --pub-sky-soft: #EEF7FC;
    --pub-radius: 12px;
    --pub-radius-lg: 20px;
    --pub-shadow: 0 1px 2px rgba(2, 28, 54, .04), 0 8px 24px rgba(2, 28, 54, .06);
    --pub-shadow-lg: 0 30px 60px -20px rgba(2, 28, 54, .35), 0 12px 24px -12px rgba(2, 28, 54, .18);
    --pub-head: 'Outfit', 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

body.pub { background: #FFFFFF; color: var(--pub-text); }
/* Les gouttières g-5 dépassent la marge du conteneur sur mobile : pas de défilement horizontal */
body.pub > main { overflow-x: clip; }
.pub h1, .pub h2, .pub h3, .pub h4 { font-family: var(--pub-head); color: var(--pub-ink); letter-spacing: -0.02em; }
:where(.pub) a { color: #075A8A; } /* spécificité minimale : les classes de boutons l'emportent */
.pub img { max-width: 100%; height: auto; }

/* ---------- Navigation ---------- */
.pub-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.pub-nav.scrolled { border-bottom-color: var(--pub-line); box-shadow: 0 2px 16px rgba(2,28,54,.06); }
.pub-nav .navbar { padding: 14px 0; }
.pub-nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.pub-nav .brand img { width: 44px; height: 44px; object-fit: contain; }
.pub-nav .brand span { font-family: var(--pub-head); font-weight: 700; font-size: 1.25rem; color: #053460; letter-spacing: -0.02em; }
.pub-nav .nav-link { color: var(--pub-ink); font-weight: 600; font-size: .94rem; padding: 8px 14px !important; border-radius: 8px; }
.pub-nav .nav-link:hover, .pub-nav .nav-link.active { color: #0E86C5; background: var(--pub-sky-soft); }
.pub-nav .dropdown-menu { border: 1px solid var(--pub-line); border-radius: 14px; box-shadow: var(--pub-shadow-lg); padding: 10px; min-width: 330px; margin-top: 8px; }
.pub-nav .dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--pub-ink); }
.pub-nav .dd-item:hover { background: var(--pub-sky-soft); }
.pub-nav .dd-item strong { display: block; font-size: .92rem; }
.pub-nav .dd-item small { color: var(--pub-muted); font-size: .8rem; line-height: 1.4; display: block; }
.pub-nav .lang-select { width: auto; border: 0; background: transparent; font-weight: 700; font-size: .85rem; color: var(--pub-ink); cursor: pointer; padding-right: 1.6rem; }
@media (max-width: 991.98px) {
    .pub-nav .navbar-collapse { padding: 12px 0 8px; }
    .pub-nav .dropdown-menu { box-shadow: none; border: 0; min-width: 0; padding: 0 0 0 8px; }
    .pub-nav .nav-actions { flex-wrap: wrap; padding-top: 8px; }
}

/* ---------- Boutons ---------- */
.btn-pub { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: .98rem; padding: 13px 24px; border-radius: 8px; border: 1.5px solid transparent; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; line-height: 1.2; cursor: pointer; }
.btn-pub:focus-visible { outline: 3px solid rgba(14,134,197,.4); outline-offset: 2px; }
.btn-pub-primary { background: #053460; color: #FFFFFF; box-shadow: 0 6px 18px rgba(5,52,96,.25); }
.btn-pub-primary:hover { background: #0E86C5; color: #FFFFFF; transform: translateY(-1px); }
.btn-pub-light { background: #FFFFFF; color: #053460; }
.btn-pub-light:hover { background: var(--pub-sky-soft); color: #053460; transform: translateY(-1px); }
.btn-pub-ghost { background: transparent; color: #053460; border-color: #CBD5E1; }
.btn-pub-ghost:hover { border-color: #0E86C5; color: #0E86C5; }
.btn-pub-ghost-light { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,.35); }
.btn-pub-ghost-light:hover { background: rgba(255,255,255,.1); color: #FFFFFF; border-color: #FFFFFF; }
.btn-pub-sm { padding: 9px 16px; font-size: .88rem; }
.btn-pub-wa { background: #1FA855; color: #FFFFFF; }
.btn-pub-wa:hover { background: #178C46; color: #FFFFFF; }

/* ---------- Sections ---------- */
.sec { padding: 60px 0; }
.sec-sm { padding: 40px 0; }
.sec-soft { background: var(--pub-soft); }
.sec-sky { background: var(--pub-sky-soft); }
.sec-dark { background: #021C36; color: rgba(255,255,255,.75); }
.sec-dark h2, .sec-dark h3, .sec-dark h4 { color: #FFFFFF; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0E86C5; margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-dark .eyebrow, .hero .eyebrow { color: #5CB3E0; }
.h-display { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }
.h-sec { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.lead-pub { font-size: 1.12rem; line-height: 1.7; color: var(--pub-muted); }
.sec-dark .lead-pub { color: rgba(255,255,255,.7); }
.sec-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #021C36; color: rgba(255,255,255,.78); padding: 88px 0 0; }
.hero::before { content: ''; position: absolute; inset: 0; background:
    radial-gradient(900px 500px at 85% 10%, rgba(14,134,197,.35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(5,52,96,.9), transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #FFFFFF; }
.hero h1 em { font-style: normal; color: #5CB3E0; }
.hero .lead-pub { color: rgba(255,255,255,.75); max-width: 560px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 30px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #CFE8F5; font-size: .85rem; font-weight: 600; margin-bottom: 26px; }
.hero-pill b { background: #0E86C5; color: #FFFFFF; font-size: .72rem; padding: 3px 9px; border-radius: 20px; letter-spacing: .04em; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: .9rem; color: rgba(255,255,255,.7); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { color: #5CB3E0; }
.hero-shot { position: relative; margin-top: 64px; }
.hero-shot .browser { transform: perspective(2200px) rotateX(8deg); transform-origin: bottom center; margin-bottom: -2px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hero-shot .phone { position: absolute; right: 2%; bottom: -30px; width: 18%; min-width: 150px; }
@media (max-width: 767.98px) { .hero { padding-top: 56px; } .hero-shot .phone { display: none; } .hero-shot .browser { transform: none; } }

/* Hero de l'accueil : MARGA-RH expliqué simplement */
.hero-qa { padding: 40px 0 88px; }
.qa-title { font-size: clamp(2.4rem, 5.4vw, 4.3rem); max-width: 980px; margin-left: auto; margin-right: auto; }
.qa-lead { max-width: 760px; font-size: 1.15rem; }
.qa-lead strong { color: #FFFFFF; font-weight: 700; }
.ico-alert { background: rgba(242,140,30,.14); color: #D9740B; }

/* Parcours du salarié */
.journey { list-style: none; padding: 0; margin: 44px auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; counter-reset: j; }
.journey::before { content: ''; position: absolute; left: 7%; right: 7%; top: 27px; height: 2px; background: linear-gradient(90deg, rgba(92,179,224,.15), rgba(92,179,224,.5), rgba(92,179,224,.15)); }
.journey::after { content: ''; position: absolute; top: 23px; left: 7%; width: 10px; height: 10px; border-radius: 50%; background: #5CB3E0; box-shadow: 0 0 0 6px rgba(92,179,224,.2), 0 0 18px #5CB3E0; animation: travel 9s linear infinite; }
@keyframes travel { from { left: 7%; } to { left: calc(93% - 10px); } }
.journey li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4px; }
.journey .ico { width: 56px; height: 56px; border-radius: 16px; font-size: 1.25rem; background: #053460; color: #9DD0EC; border: 1px solid rgba(92,179,224,.35); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); margin-bottom: 12px; transition: transform .25s, background .25s; }
.journey li:hover .ico { transform: translateY(-3px); background: #0E86C5; color: #FFFFFF; }
.journey b { color: #FFFFFF; font-size: .95rem; font-weight: 700; }
.journey small { color: rgba(255,255,255,.55); font-size: .78rem; line-height: 1.35; margin-top: 2px; }
@media (max-width: 991.98px) {
    .journey { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
    .journey::before, .journey::after { display: none; }
}
@media (max-width: 575.98px) { .journey { grid-template-columns: repeat(2, 1fr); } .journey li:last-child { grid-column: span 2; } }

/* Questions du quotidien */
.qa { margin-top: 64px; }
.qa-intro { text-align: center; margin-bottom: 28px; }
.qa-intro h2 { color: #FFFFFF; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; max-width: 720px; margin: 0 auto; }
.qa-grid { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.qa-tabs { display: flex; flex-direction: column; gap: 10px; }
.qa-tabs button { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: rgba(255,255,255,.72); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.qa-tabs button i { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); color: #5CB3E0; transition: all .25s; }
.qa-tabs button:hover { border-color: rgba(92,179,224,.45); color: #FFFFFF; }
.qa-tabs button[aria-selected="true"] { background: #FFFFFF; color: var(--pub-ink); border-color: #FFFFFF; }
.qa-tabs button[aria-selected="true"] i { background: #0E86C5; color: #FFFFFF; }
.qa-tabs button em { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #0E86C5; }
.qa-tabs button.run em { animation: qaRun 5.5s linear forwards; }
@keyframes qaRun { to { width: 100%; } }
.qa-tabs button:focus-visible { outline: 3px solid rgba(92,179,224,.6); outline-offset: 2px; }

.qa-panels { position: relative; background: #FFFFFF; border-radius: 20px; padding: 26px 28px 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); min-height: 430px; display: flex; flex-direction: column; }
.qa-panel { display: flex; flex-direction: column; flex: 1; color: var(--pub-ink); }
.qa-panel[hidden] { display: none; }
.qa-panel.in { animation: qaIn .45s ease; }
@keyframes qaIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.qa-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.qa-mod { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: #075A8A; background: #E1F1FA; padding: 6px 12px; border-radius: 20px; }
.qa-date { font-size: .8rem; color: var(--pub-muted); font-weight: 600; }
.qa-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.qa-big b { font-family: var(--pub-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: #053460; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.qa-big span { color: var(--pub-muted); font-weight: 600; }
.qa-bar { height: 8px; border-radius: 8px; background: #F1F5F9; margin: 16px 0 12px; overflow: hidden; }
.qa-bar span { display: block; height: 100%; background: linear-gradient(90deg, #053460, #0E86C5); border-radius: 8px; }
.qa-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 6px; }
.qa-tags span, .qa-sub .t-alert { font-size: .76rem; font-weight: 700; padding: 5px 10px; border-radius: 20px; }
.t-alert { background: #FFF6EC; color: #A85A08; }
.t-muted { background: #F1F5F9; color: #64748B; }
.t-sky { background: #E1F1FA; color: #075A8A; }
.qa-list { list-style: none; padding: 0; margin: 12px 0 0; }
.qa-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F1F5F9; }
.qa-list li:last-child { border-bottom: 0; }
.qa-list .av { font-style: normal; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: #E1F1FA; color: #075A8A; font-weight: 700; font-size: .74rem; display: inline-flex; align-items: center; justify-content: center; }
.qa-list li > span { flex: 1; min-width: 0; }
.qa-list b { display: block; font-size: .9rem; }
.qa-list small { display: block; color: var(--pub-muted); font-size: .78rem; }
.qa-list em { font-style: normal; font-weight: 700; font-size: .85rem; color: #053460; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qa-list em.ok { font-size: .76rem; background: #053460; color: #FFFFFF; padding: 6px 10px; border-radius: 8px; }
.qa-list em.due { font-size: .76rem; background: #FFF6EC; color: #A85A08; padding: 5px 10px; border-radius: 20px; }
.qa-checks li > i { width: 26px; height: 26px; border-radius: 50%; background: #E1F1FA; color: #0E86C5; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qa-sub { margin-top: 14px; font-size: .88rem; color: var(--pub-text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qa-funnel { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.qa-funnel li { display: grid; grid-template-columns: 130px 1fr 28px; align-items: center; gap: 12px; font-size: .86rem; color: var(--pub-text); }
.qa-funnel i { height: 12px; border-radius: 6px; background: #F1F5F9; position: relative; overflow: hidden; }
.qa-funnel i::after { content: ''; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, #053460, #0E86C5); border-radius: 6px; }
.qa-panel.in .qa-funnel i::after, .qa-panel.in .qa-bar span { animation: grow .8s ease; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.qa-funnel b { text-align: right; color: #053460; }
.qa-more { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .9rem; color: #0E86C5 !important; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.qa-more:hover { color: #053460 !important; }
.qa-note { margin: 10px 0 0; font-size: .72rem; color: #94A3B8; }
@media (max-width: 991.98px) {
    .qa-grid { grid-template-columns: 1fr; }
    .qa-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .qa-tabs::-webkit-scrollbar { display: none; }
    .qa-tabs button { flex: 0 0 auto; width: auto; font-size: .9rem; padding: 12px 14px; }
    .qa-tabs button i { width: 30px; height: 30px; }
}
@media (max-width: 575.98px) { .hero-qa { padding-top: 28px; } .qa-panels { padding: 20px 18px 16px; min-height: 0; } .qa-funnel li { grid-template-columns: 100px 1fr 24px; } }
@media (prefers-reduced-motion: reduce) { .journey::after { animation: none; display: none; } .qa-panel.in, .qa-panel.in .qa-funnel i::after, .qa-panel.in .qa-bar span { animation: none; } }

/* Hero page interne (plus compact, avec photo) */
.page-hero { padding: 80px 0 88px; }
/* Version compacte : titre centré sans photo */
.page-hero-sm { padding: 40px 0 44px; }
.page-hero-sm .crumbs { margin-bottom: 10px; }
.page-hero-sm .eyebrow { margin-bottom: 8px; }
.page-hero-sm h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important; margin-bottom: 12px !important; }
.page-hero-sm .lead-pub { font-size: 1rem; max-width: 680px; }
@media (max-width: 575.98px) { .page-hero-sm { padding: 28px 0 32px; } }
.page-hero .hero-photo { border-radius: var(--pub-radius-lg); overflow: hidden; box-shadow: var(--pub-shadow-lg); aspect-ratio: 4 / 3; }
.page-hero .hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: #FFFFFF; }

/* ---------- Cadres de capture ---------- */
.browser { background: #FFFFFF; border-radius: 14px; overflow: hidden; box-shadow: var(--pub-shadow-lg); border: 1px solid rgba(2,28,54,.08); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #F1F5F9; border-bottom: 1px solid var(--pub-line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; display: inline-block; }
.browser-bar .url { margin-left: 12px; flex: 1; max-width: 360px; background: #FFFFFF; border: 1px solid var(--pub-line); border-radius: 6px; font-size: .75rem; color: var(--pub-muted); padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; height: auto; }
.phone { background: #021C36; border-radius: 30px; padding: 9px; box-shadow: var(--pub-shadow-lg); }
.phone img { display: block; width: 100%; border-radius: 22px; }

/* ---------- Bandeau de confiance ---------- */
.trust-band { border-bottom: 1px solid var(--pub-line); padding: 26px 0; background: #FFFFFF; }
.trust-band .item { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--pub-ink); font-weight: 600; }
.trust-band .item small { display: block; font-weight: 500; color: var(--pub-muted); font-size: .8rem; }

/* ---------- Pastilles d'icônes ---------- */
.ico { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; background: rgba(14,134,197,.1); color: #0A6FA6; }
.ico-navy { background: rgba(5,52,96,.08); color: #053460; }
.ico-solid { background: #053460; color: #FFFFFF; }
.ico-sky-solid { background: #0E86C5; color: #FFFFFF; }
.ico-dark { background: rgba(255,255,255,.08); color: #5CB3E0; border: 1px solid rgba(255,255,255,.12); }
.ico-lg { width: 56px; height: 56px; font-size: 1.35rem; border-radius: 14px; }

/* ---------- Cartes ---------- */
.card-pub { background: #FFFFFF; border: 1px solid var(--pub-line); border-radius: var(--pub-radius-lg); padding: 28px; height: 100%; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.card-pub { display: block; text-decoration: none; color: inherit; }
a.card-pub:hover, .card-pub.hoverable:hover { border-color: rgba(14,134,197,.4); box-shadow: var(--pub-shadow); transform: translateY(-3px); }
.card-pub h3 { font-size: 1.15rem; font-weight: 700; margin: 18px 0 8px; }
.card-pub p { color: var(--pub-muted); font-size: .94rem; line-height: 1.65; margin: 0; }
.card-pub .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: .9rem; color: #0E86C5; }
.sec-dark .card-pub { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.sec-dark .card-pub p { color: rgba(255,255,255,.65); }

/* Cartes profils (DRH / Dirigeant / Cabinet) */
.persona { position: relative; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.persona .ph { aspect-ratio: 16 / 9; overflow: hidden; }
.persona .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.persona:hover .ph img { transform: scale(1.04); }
.persona .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.persona .tag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0E86C5; }
.persona h3 { margin-top: 8px; }
.persona ul { list-style: none; padding: 0; margin: 14px 0 0; }
.persona li { display: flex; gap: 10px; font-size: .9rem; color: var(--pub-text); padding: 4px 0; }
.persona li i { color: #0E86C5; margin-top: 4px; font-size: .8rem; }
.persona .more { margin-top: auto; padding-top: 18px; }

/* ---------- Douleur → réponse ---------- */
.pain { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; background: #FFFFFF; border: 1px solid var(--pub-line); border-radius: 16px; padding: 20px 24px; }
.pain + .pain { margin-top: 12px; }
.pain .q { font-weight: 600; color: var(--pub-ink); font-size: .98rem; }
.pain .q::before { content: '\201C'; color: #94A3B8; margin-right: 2px; }
.pain .q::after { content: '\201D'; color: #94A3B8; margin-left: 2px; }
.pain .arrow { color: #0E86C5; }
.pain .a { color: var(--pub-text); font-size: .93rem; line-height: 1.55; }
.pain .a strong { color: #053460; }
@media (max-width: 767.98px) { .pain { grid-template-columns: 1fr; gap: 8px; } .pain .arrow { transform: rotate(90deg); width: fit-content; } }

/* ---------- Visite produit (onglets) ---------- */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.tour-tab { border: 1px solid var(--pub-line); background: #FFFFFF; color: var(--pub-ink); font-weight: 600; font-size: .92rem; padding: 10px 16px; border-radius: 30px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: all .2s; }
.tour-tab i { color: #0E86C5; }
.tour-tab:hover { border-color: #0E86C5; }
.tour-tab[aria-selected="true"] { background: #053460; color: #FFFFFF; border-color: #053460; }
.tour-tab[aria-selected="true"] i { color: #9DD0EC; }
.tour-panel { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.tour-panel[hidden] { display: none; }
.tour-panel h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.tour-panel p { color: var(--pub-muted); line-height: 1.7; }
@media (max-width: 991.98px) { .tour-panel { grid-template-columns: 1fr; } }

/* ---------- Listes à coches ---------- */
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { display: flex; gap: 12px; padding: 7px 0; color: var(--pub-text); line-height: 1.55; }
.checks li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #0E86C5; font-size: .8rem; width: 22px; height: 22px; border-radius: 50%; background: rgba(14,134,197,.1); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.sec-dark .checks li { color: rgba(255,255,255,.78); }
.sec-dark .checks li::before { background: rgba(92,179,224,.15); color: #5CB3E0; }

/* ---------- Bloc fonction (texte + capture) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 110px; }
.feature-row.rev > :first-child { order: 2; }
@media (max-width: 991.98px) { .feature-row { grid-template-columns: 1fr; gap: 32px; } .feature-row.rev > :first-child { order: 0; } .feature-row + .feature-row { margin-top: 72px; } }

/* ---------- Grille de modules ---------- */
.mod { display: flex; gap: 16px; padding: 22px; border-radius: 16px; border: 1px solid var(--pub-line); background: #FFFFFF; height: 100%; transition: border-color .2s, box-shadow .2s; }
.mod:hover { border-color: rgba(14,134,197,.4); box-shadow: var(--pub-shadow); }
.mod h4 { font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.mod p { margin: 0; font-size: .87rem; color: var(--pub-muted); line-height: 1.55; }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 26px 22px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--pub-line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--pub-head); font-weight: 700; font-size: 2rem; color: #CFE8F5; line-height: 1; display: block; margin-bottom: 14px; }
.step h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.step p { margin: 0; font-size: .88rem; color: var(--pub-muted); line-height: 1.55; }
.step .when { display: inline-block; font-size: .74rem; font-weight: 700; color: #075A8A; background: var(--pub-sky-soft); border-radius: 20px; padding: 3px 10px; margin-bottom: 10px; }
@media (max-width: 991.98px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Tarifs ---------- */
.plan { background: #FFFFFF; border: 1px solid var(--pub-line); border-radius: var(--pub-radius-lg); padding: 30px 26px; height: 100%; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid #053460; box-shadow: var(--pub-shadow-lg); }
.plan .badge-top { position: absolute; top: -13px; left: 26px; background: #053460; color: #FFFFFF; font-size: .74rem; font-weight: 700; letter-spacing: .05em; padding: 5px 12px; border-radius: 20px; text-transform: uppercase; }
.plan h3 { font-size: 1.3rem; font-weight: 700; margin: 0; }
.plan .size { color: var(--pub-muted); font-size: .9rem; font-weight: 600; margin: 4px 0 20px; }
.plan .price { font-family: var(--pub-head); font-size: 2rem; font-weight: 700; color: var(--pub-ink); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.plan .price small { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .85rem; font-weight: 600; color: var(--pub-muted); letter-spacing: 0; }
.plan .year { font-size: .85rem; color: #075A8A; font-weight: 600; margin-top: 8px; }
.plan .checks { flex: 1; margin: 22px 0 24px; font-size: .92rem; }
.plan .btn-pub { width: 100%; }
.price-note { display: flex; gap: 12px; align-items: flex-start; background: var(--pub-sky-soft); border: 1px solid #CFE8F5; border-radius: 14px; padding: 16px 20px; color: var(--pub-text); font-size: .92rem; }
.price-note i { color: #0E86C5; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--pub-line); padding: 20px 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--pub-ink); font-size: 1.02rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #0E86C5; font-size: .85rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--pub-muted); line-height: 1.7; }

/* ---------- Statistiques / engagements ---------- */
.kpi { padding: 4px 0; }
.kpi .v { font-family: var(--pub-head); font-size: 2.4rem; font-weight: 700; color: #FFFFFF; line-height: 1; letter-spacing: -0.03em; }
.kpi .l { font-size: .9rem; color: rgba(255,255,255,.65); margin-top: 8px; }
.light .kpi .v { color: #053460; }
.light .kpi .l { color: var(--pub-muted); }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(135deg, #053460 0%, #0E86C5 100%); padding: 56px; color: rgba(255,255,255,.8); }
.cta-band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.cta-band h2 { color: #FFFFFF; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 10px; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 575.98px) { .cta-band { padding: 36px 24px; } }

/* ---------- Photo avec encart ---------- */
.photo-card { position: relative; border-radius: var(--pub-radius-lg); overflow: hidden; box-shadow: var(--pub-shadow-lg); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card .overlay { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(255,255,255,.96); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--pub-shadow); font-size: .88rem; color: var(--pub-ink); font-weight: 600; max-width: 360px; }
.photo-card .overlay small { display: block; color: var(--pub-muted); font-weight: 500; }

/* ---------- Formulaires ---------- */
.form-card { background: #FFFFFF; border: 1px solid var(--pub-line); border-radius: var(--pub-radius-lg); padding: 36px; box-shadow: var(--pub-shadow); }
.form-card .form-label { font-weight: 600; font-size: .88rem; color: var(--pub-ink); }
.form-card .form-control, .form-card .form-select { border-radius: 8px; padding: 11px 14px; border-color: #CBD5E1; }
.form-card .form-control:focus, .form-card .form-select:focus { border-color: #0E86C5; box-shadow: 0 0 0 4px rgba(14,134,197,.15); }
.req { color: #C62828; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 575.98px) { .form-card { padding: 24px 18px; } }

/* ---------- Illustration SVG ---------- */
.illu { width: 100%; height: auto; display: block; }

/* ---------- Pied de page ---------- */
.pub-footer { background: #021C36; color: rgba(255,255,255,.62); padding: 72px 0 28px; font-size: .92rem; }
.pub-footer h5 { color: #FFFFFF; font-family: var(--pub-head); font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.pub-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.pub-footer a:hover { color: #FFFFFF; }
.pub-footer ul { list-style: none; padding: 0; margin: 0; }
.pub-footer li { padding: 5px 0; }
.pub-footer .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pub-footer .brand img { width: 40px; height: 40px; background: #FFFFFF; border-radius: 10px; padding: 4px; }
.pub-footer .brand span { font-family: var(--pub-head); font-size: 1.2rem; font-weight: 700; color: #FFFFFF; }
.pub-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; font-size: .84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .btn-pub, .card-pub, .persona .ph img { transition: none; } }

/* ---------- RTL ---------- */
[dir="rtl"] .eyebrow::before { order: 2; }
[dir="rtl"] .pain .arrow, [dir="rtl"] .more i { transform: scaleX(-1); }

/* ---------- Carrières (liste, détail, candidature) ---------- */
.job-card { display: flex; flex-direction: column; height: 100%; background: #FFFFFF; border: 1px solid var(--pub-line); border-radius: var(--pub-radius-lg); padding: 28px; position: relative; transition: border-color .2s, box-shadow .2s, transform .2s; }
.job-card:hover { border-color: rgba(14,134,197,.4); box-shadow: var(--pub-shadow); transform: translateY(-3px); }
.job-card h3 { font-size: 1.15rem; font-weight: 700; margin: 14px 0 12px; }
.job-card h3 a { color: inherit; text-decoration: none; }
.job-card h3 a:hover { color: #0E86C5; }
.job-card .excerpt { color: var(--pub-muted); font-size: .92rem; line-height: 1.65; flex-grow: 1; margin: 0 0 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--pub-line); font-size: .82rem; color: var(--pub-muted); }
.job-card .remote { position: absolute; top: 24px; right: 24px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; padding: 4px 11px; border-radius: 20px; background: var(--pub-sky-soft); color: #075A8A; }
.tag-navy { background: #E3ECF5; color: #053460; }
.tag-warn { background: #FEF3E2; color: #B45F06; }
.tag-red { background: #FDECEC; color: #B42318; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--pub-muted); background: #F1F5F9; padding: 4px 11px; border-radius: 20px; font-weight: 500; }
.pill i { font-size: .72rem; color: #94A3B8; }
.hero .pill { background: rgba(255,255,255,.09); color: rgba(255,255,255,.8); }
.hero .pill i { color: #5CB3E0; }
.hero .tag { background: rgba(14,134,197,.2); color: #CFE8F5; }
.job-side { position: sticky; top: 96px; }
.job-prose { color: var(--pub-text); line-height: 1.8; white-space: pre-wrap; }
.doc-block { background: #fff; border: 1px solid var(--pub-line); border-radius: var(--pub-radius-lg); padding: 32px 36px; margin-bottom: 20px; }
.doc-block h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--pub-line); }
.facts { list-style: none; padding: 0; margin: 20px 0 0; border: 1px solid var(--pub-line); border-radius: 12px; background: var(--pub-soft); }
.facts li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: .86rem; color: var(--pub-muted); }
.facts li + li { border-top: 1px solid var(--pub-line); }
.facts i { width: 16px; text-align: center; color: #94A3B8; }
.facts strong { color: var(--pub-ink); }
.facts .late, .facts .late strong, .facts .late i { color: #B42318; }
.upload { position: relative; border: 2px dashed #CBD5E1; border-radius: 12px; padding: 22px; text-align: center; background: var(--pub-soft); transition: border-color .2s, background .2s; }
.upload:hover, .upload:focus-within, .upload.filled { border-color: #0E86C5; background: var(--pub-sky-soft); }
.upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload .u-label { font-weight: 600; font-size: .9rem; color: var(--pub-ink); }
.upload .u-hint { font-size: .8rem; color: var(--pub-muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--pub-soft); border: 1px solid var(--pub-line); border-radius: 12px; padding: 16px; font-size: .84rem; color: var(--pub-muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: #053460; flex: none; }
.consent label { cursor: pointer; line-height: 1.6; }
.fieldset-title { font-family: var(--pub-head); font-weight: 700; font-size: 1rem; color: var(--pub-ink); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--pub-line); }
@media (max-width: 767.98px) { .doc-block { padding: 24px 20px; } .job-side { position: static; } }
