/* Digit Nova Emploi — couleurs du logo : bleu #0049ad, rouge #d61313, bleu nuit #152039. */
:root {
	--eh-accent: #0049ad;
	--eh-accent-dark: #003a8a;
	--eh-accent-soft: #eaf1fb;
	--eh-red: #d61313;
	--eh-red-dark: #b00e0e;
	--eh-navy: #152039;
	--eh-ink: #111111;
	--eh-text: #1a1a1a;
	--eh-muted: #4a5160;
	--eh-border: #e2e6ee;
	--eh-bg: #f5f7fb;
	--eh-radius: 14px;
	--eh-shadow: 0 1px 2px rgba(21, 32, 57, .06), 0 6px 20px rgba(21, 32, 57, .07);
	--eh-shadow-hover: 0 2px 4px rgba(21, 32, 57, .08), 0 14px 32px rgba(21, 32, 57, .14);
}

/* ---------- Typographie : texte noir bien lisible ---------- */
body, button, input, select, textarea {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
body, .entry-content, .entry-content p, .entry-content li { color: var(--eh-text); }
body { -webkit-font-smoothing: antialiased; }
.entry-content p, .entry-content li { line-height: 1.7; font-size: 1.02rem; }
h1, h2, h3, h4, .entry-title, .eh-card-title, .site-title {
	font-family: 'Inter', system-ui, sans-serif;
	color: var(--eh-navy);
	letter-spacing: -.01em;
}
.entry-content h2 { font-size: 1.45rem; font-weight: 700; margin-top: 1.6em; }
.entry-title { font-weight: 700; }

/* ---------- Boutons ---------- */
.eh-btn, .eh-search button {
	display: inline-flex; align-items: center; gap: 8px; justify-content: center;
	padding: 12px 22px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--eh-accent); color: #fff !important; text-decoration: none !important;
	font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: .98rem; line-height: 1.2;
	box-shadow: 0 4px 14px rgba(0, 73, 173, .25);
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.eh-btn:hover, .eh-search button:hover { background: var(--eh-accent-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 73, 173, .32); }
.eh-btn span[aria-hidden] { transition: transform .15s ease; }
.eh-btn:hover span[aria-hidden] { transform: translateX(3px); }
.eh-btn-light { background: #fff; color: var(--eh-navy) !important; border: 2px solid var(--eh-navy); box-shadow: none; }
.eh-btn-light:hover { background: var(--eh-navy); color: #fff !important; box-shadow: none; }
.eh-btn-small { padding: 9px 16px; font-size: .9rem; }

/* Bouton « Postuler » : rouge du logo, bien visible */
.eh-btn-apply, .eh-apply-bottom .eh-btn, .eh-continue, .eh-output a.eh-btn {
	background: linear-gradient(135deg, #e3261f 0%, var(--eh-red) 55%, var(--eh-red-dark) 100%);
	box-shadow: 0 6px 18px rgba(214, 19, 19, .35);
	padding: 14px 26px; font-size: 1.05rem;
}
.eh-btn-apply:hover, .eh-apply-bottom .eh-btn:hover, .eh-continue:hover, .eh-output a.eh-btn:hover {
	background: var(--eh-red-dark); box-shadow: 0 10px 24px rgba(214, 19, 19, .42);
}

/* ---------- Recherche ---------- */
.eh-search {
	display: flex; flex-wrap: wrap; gap: 10px;
	background: var(--eh-navy); padding: 16px; border-radius: var(--eh-radius);
	margin: 8px 0 14px; box-shadow: var(--eh-shadow);
}
.eh-search input, .eh-search select {
	min-width: 0; padding: 12px 14px; border: 0; border-radius: 10px;
	background: #fff; color: var(--eh-ink); font-size: .95rem;
}
.eh-search input { flex: 2 1 260px; }
.eh-search select { flex: 1 1 160px; }
.eh-search button { flex: 0 0 auto; background: var(--eh-red); box-shadow: none; border-radius: 10px; }
.eh-search input:focus, .eh-search select:focus { outline: 3px solid rgba(0, 73, 173, .45); }
.eh-search button:hover { background: var(--eh-red-dark); box-shadow: none; }
@media (max-width: 600px) { .eh-search button { flex: 1 1 100%; } }

.eh-count { color: var(--eh-muted); font-weight: 600; font-size: .92rem; margin: 0 0 12px; }

/* ---------- Cartes d'offres ---------- */
.eh-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.eh-list > .eh-ad { grid-column: 1 / -1; }
.eh-card {
	position: relative; display: flex; flex-direction: column; gap: 8px;
	background: #fff; border: 1px solid var(--eh-border); border-radius: var(--eh-radius);
	padding: 20px 20px 18px; box-shadow: var(--eh-shadow);
	border-top: 4px solid var(--eh-accent);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.eh-card:hover { transform: translateY(-3px); box-shadow: var(--eh-shadow-hover); border-top-color: var(--eh-red); }
.eh-card-title { margin: 2px 0 0; font-size: 1.12rem; line-height: 1.35; font-weight: 600; }
.eh-card-title a { color: var(--eh-navy); text-decoration: none; }
.eh-card-title a:hover { color: var(--eh-accent); }
.eh-card-title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--eh-radius); } /* toute la carte est cliquable */
.eh-card-text { margin: 2px 0 0; color: var(--eh-text); font-size: .95rem; line-height: 1.6; flex: 1;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.eh-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--eh-border); }
.eh-card-foot .eh-btn { position: relative; z-index: 1; }

.eh-company { display: flex; align-items: center; gap: 7px; margin: 0; font-weight: 600; color: var(--eh-ink); font-size: .95rem; }
.eh-card-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.eh-card-facts li { display: flex; align-items: center; gap: 6px; color: var(--eh-muted); font-size: .88rem; margin: 0; }
.eh-ico { flex: none; color: var(--eh-accent); }

.eh-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.eh-tag {
	display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600;
	background: var(--eh-accent-soft); color: var(--eh-accent); letter-spacing: .01em;
}
.eh-tag-contrat { background: var(--eh-navy); color: #fff; }
.eh-tag-new { background: #fde8e8; color: var(--eh-red); }

.eh-deadline { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--eh-muted); }
.eh-deadline-soon { color: var(--eh-red); }
.eh-deadline-soon .eh-ico { color: var(--eh-red); }

.eh-pages { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }
.eh-pages a { min-width: 40px; text-align: center; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--eh-border); color: var(--eh-navy); font-weight: 600; text-decoration: none; }
.eh-pages a:hover { border-color: var(--eh-accent); color: var(--eh-accent); }
.eh-pages a.current { background: var(--eh-accent); border-color: var(--eh-accent); color: #fff; }

.eh-empty { background: var(--eh-accent-soft); border-left: 4px solid var(--eh-accent); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--eh-text); }

/* ---------- Fiche offre ---------- */
.eh-details {
	background: #fff; border: 1px solid var(--eh-border); border-radius: var(--eh-radius);
	box-shadow: var(--eh-shadow); padding: 22px; margin-bottom: 24px; border-top: 5px solid var(--eh-red);
}
.eh-details-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.eh-details-head .eh-company { font-size: 1.05rem; }
.eh-facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.eh-facts li { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; background: var(--eh-bg); border-radius: 10px; }
.eh-facts li .eh-ico { width: 20px; height: 20px; margin-top: 2px; }
.eh-facts li span { display: flex; flex-direction: column; font-weight: 600; color: var(--eh-ink); font-size: .95rem; line-height: 1.35; }
.eh-facts li small { font-weight: 500; color: var(--eh-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.eh-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.eh-clair {
	background: linear-gradient(135deg, var(--eh-accent-soft), #fff); border: 1px solid #cfdcf3;
	border-left: 5px solid var(--eh-accent); padding: 16px 20px; margin: 0 0 24px; border-radius: 0 var(--eh-radius) var(--eh-radius) 0;
}
.eh-clair h2, .eh-dico h2 { margin: 0 0 6px; font-size: 1.12rem; }
.eh-clair p { margin: 0; color: var(--eh-ink); font-size: 1.03rem; }
.eh-dico { background: #fff; border: 1px solid var(--eh-border); border-radius: var(--eh-radius); padding: 18px 20px; margin: 24px 0; }
.eh-dico dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 8px 0 0; }
.eh-dico dt { font-weight: 700; color: var(--eh-navy); }
.eh-dico dd { margin: 0; color: var(--eh-text); }
@media (max-width: 600px) { .eh-dico dl { grid-template-columns: 1fr; gap: 2px; } .eh-dico dd { margin-bottom: 8px; } }
.eh-apply-bottom { margin: 22px 0; }

.eh-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 24px; font-weight: 600; color: var(--eh-navy); }
.eh-share a { padding: 9px 16px; border-radius: 999px; color: #fff !important; text-decoration: none; font-weight: 600; font-size: .9rem; }
.eh-share-fb { background: #1877f2; }
.eh-share-wa { background: #25d366; }

/* ---------- Générateur CV / lettre ---------- */
.eh-candidature { background: #fff; border: 1px solid var(--eh-border); border-radius: var(--eh-radius); box-shadow: var(--eh-shadow); padding: 24px; margin-top: 36px; }
.eh-candidature > h2 { margin-top: 0; }
.eh-note, .eh-period { color: var(--eh-muted); font-size: .9rem; }
.eh-cv-form label { display: block; margin-bottom: 12px; font-weight: 600; color: var(--eh-ink); font-size: .93rem; }
.eh-cv-form input, .eh-cv-form textarea { display: block; width: 100%; margin-top: 5px; padding: 11px 13px; border: 1px solid #cdd3de; border-radius: 10px; font-weight: 400; box-sizing: border-box; color: var(--eh-ink); }
.eh-cv-form input:focus, .eh-cv-form textarea:focus { outline: none; border-color: var(--eh-accent); box-shadow: 0 0 0 3px rgba(0, 73, 173, .15); }
.eh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }
.eh-output { margin-top: 24px; }
.eh-tabs { display: flex; gap: 6px; }
.eh-tabs button { padding: 9px 16px; border: 1px solid var(--eh-border); background: #fff; border-radius: 10px 10px 0 0; cursor: pointer; font-weight: 600; color: var(--eh-navy); }
.eh-tabs button.active { background: var(--eh-navy); border-color: var(--eh-navy); color: #fff; }
.eh-doc { background: #fff; color: #111; border: 1px solid var(--eh-border); padding: 32px; line-height: 1.55; outline: none; }
.eh-doc h1 { margin: 0; font-size: 1.8em; }
.eh-doc h3 { border-bottom: 2px solid var(--eh-accent); padding-bottom: 2px; margin: 18px 0 8px; color: var(--eh-accent); }
.eh-cv-title { font-size: 1.15em; color: var(--eh-accent); margin: 2px 0; }
.eh-skills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.eh-skills li { padding: 3px 10px; border-radius: 12px; background: #eef1f3; }
.eh-skills li.eh-match { background: #dbe6f7; font-weight: 600; }
.eh-right { text-align: right; }
.eh-output > .eh-btn { margin: 12px 8px 0 0; }
.eh-print-page { margin: 0; }
.eh-print-page .eh-doc { border: 0; padding: 0; }
@media print { @page { margin: 18mm; } }

/* ---------- Publicité ---------- */
.eh-ad { margin: 22px 0; text-align: center; min-height: 90px; }
.eh-ad-label { display: block; font-size: .72rem; color: var(--eh-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }

/* ---------- Page « Avant de postuler » ---------- */
.eh-transition { max-width: 760px; margin: 32px auto; padding: 0 16px; }
.eh-transition h1 { margin: 6px 0; }
.eh-continue { margin: 16px 0 6px; }
.eh-tips { background: #fff; border: 1px solid var(--eh-border); border-radius: var(--eh-radius); box-shadow: var(--eh-shadow); padding: 18px 22px; margin-top: 24px; }
.eh-warning { background: #fff4e5; border-left: 4px solid #f59e0b; border-radius: 0 10px 10px 0; padding: 12px 14px; color: var(--eh-ink); }
.eh-meta { color: var(--eh-muted); font-size: .92rem; }

/* ---------- Corrections 1.4.2 ---------- */
.eh-card-title a, .eh-card-title a:hover, .eh-card a, .eh-btn, .eh-pages a, .eh-share a { text-decoration: none !important; }
.eh-search select, .eh-search input {
	height: 48px; line-height: 1.2; padding-top: 0; padding-bottom: 0;
	text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.eh-search select { padding-right: 34px; -webkit-appearance: none; appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23152039' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.eh-search button { height: 48px; }
/* Le thème ajoute marges et retraits aux listes et paragraphes : on les neutralise dans nos blocs. */
.eh-card p, .eh-card ul, .eh-card li, .eh-details ul, .eh-details li, .eh-details p { margin-left: 0 !important; margin-right: 0 !important; }
.eh-card-facts, .eh-facts { padding-left: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.eh-card .eh-company, .eh-card .eh-card-text { margin-top: 0 !important; margin-bottom: 0 !important; }
.eh-details .eh-facts { margin-bottom: 18px !important; }
.eh-details .eh-company { margin: 0 !important; }
.eh-btn { white-space: nowrap; }
.eh-card-foot { flex-wrap: wrap; }
.eh-card-foot .eh-deadline { flex: 1 1 auto; min-width: 0; }
@media (max-width: 600px) {
	.eh-list { grid-template-columns: 1fr; gap: 14px; }
	.eh-card { padding: 16px; }
	.eh-details { padding: 16px; }
	.eh-actions .eh-btn { flex: 1 1 100%; }
	.eh-facts { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
 * 1.5 — Bandeau d'accueil, en-têtes de pages, menu et icônes
 * ===================================================================== */

body { background: var(--eh-bg); }

/* ---------- Grand bandeau d'accueil ---------- */
.eh-hero {
	position: relative; overflow: hidden; isolation: isolate;
	margin: 0 0 28px; padding: 56px 48px 40px; border-radius: 22px;
	background:
		radial-gradient(circle at 85% 15%, rgba(0, 73, 173, .55), transparent 45%),
		radial-gradient(circle at 10% 110%, rgba(214, 19, 19, .25), transparent 40%),
		linear-gradient(135deg, #152039 0%, #1b2d57 55%, #0d3f8f 100%);
	color: #fff; box-shadow: 0 20px 50px rgba(21, 32, 57, .28);
}
.eh-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.eh-hero-kicker {
	display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
	font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #dbe6ff;
}
.eh-hero .eh-hero-title {
	margin: 0 0 12px; color: #fff; font-family: 'Inter', system-ui, sans-serif; font-weight: 700;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em;
}
.eh-hero-text { margin: 0 0 20px !important; max-width: 680px; color: #d6e0f5 !important; font-size: 1.08rem !important; line-height: 1.6 !important; }
.eh-hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px !important; padding: 0 !important; }
.eh-hero-stats li {
	margin: 0 !important; padding: 10px 16px; border-radius: 12px; color: #dbe6ff; font-size: .92rem;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(4px);
}
.eh-hero-stats strong { color: #fff; font-family: 'Inter', system-ui, sans-serif; font-size: 1.15rem; margin-right: 4px; }
.eh-hero .eh-search { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); box-shadow: none; margin: 0; padding: 12px; backdrop-filter: blur(6px); }
/* Bâtonnets décoratifs, comme le symbole du logo */
.eh-hero-bar { position: absolute; z-index: 0; width: 220px; height: 46px; border-radius: 999px; transform: rotate(-45deg); background: rgba(0, 73, 173, .55); }
.eh-hero-bar-1 { right: -40px; top: 40px; }
.eh-hero-bar-2 { right: 90px; top: -30px; width: 160px; background: rgba(0, 73, 173, .35); }
.eh-hero-bar-3 { right: -10px; bottom: 30px; width: 180px; background: rgba(0, 73, 173, .3); }
.eh-hero-bar-red { right: 130px; top: 110px; width: 110px; background: rgba(214, 19, 19, .85); }
@media (max-width: 700px) {
	.eh-hero { padding: 34px 20px 22px; border-radius: 16px; }
	.eh-hero-bar { opacity: .45; }
	.eh-hero-stats li { flex: 1 1 auto; text-align: center; }
}
/* Le texte d'introduction ajouté avant la liste n'est plus utile quand le bandeau est là. */
.eh-hero ~ .eh-count { margin-top: 4px; }

/* ---------- En-tête des pages (Stages, À propos, Contact, Confidentialité) ---------- */
body.page:not(.home) .entry-header, .single-offre .entry-header {
	position: relative; overflow: hidden; margin: 0 0 30px !important; padding: 44px 40px;
	border-radius: 20px; color: #fff;
	background:
		radial-gradient(circle at 90% 0%, rgba(0, 73, 173, .6), transparent 50%),
		linear-gradient(135deg, #152039 0%, #1b2d57 60%, #0d3f8f 100%);
	box-shadow: 0 16px 40px rgba(21, 32, 57, .22);
}
body.page:not(.home) .entry-header::after, .single-offre .entry-header::after {
	content: ''; position: absolute; right: 40px; top: -20px; width: 150px; height: 40px; border-radius: 999px;
	background: rgba(214, 19, 19, .85); transform: rotate(-45deg);
}
body.page:not(.home) .entry-header::before, .single-offre .entry-header::before {
	content: ''; position: absolute; right: -30px; top: 50px; width: 200px; height: 42px; border-radius: 999px;
	background: rgba(0, 73, 173, .55); transform: rotate(-45deg);
}
body.page:not(.home) .entry-title, .single-offre .entry-title { position: relative; z-index: 1; color: #fff !important; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.single-offre .entry-meta, .single-offre .entry-meta * { position: relative; z-index: 1; color: #b9c8e6 !important; }
@media (max-width: 700px) { body.page:not(.home) .entry-header, .single-offre .entry-header { padding: 30px 20px; border-radius: 16px; } }

/* Contenu des pages : sections claires, listes à puces de couleur */
body.page:not(.home) .entry-content > h2 {
	position: relative; padding-left: 16px; margin: 36px 0 14px; font-size: 1.4rem;
}
body.page:not(.home) .entry-content > h2::before {
	content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 4px;
	background: linear-gradient(var(--eh-accent), var(--eh-red));
}
body.page:not(.home) .entry-content > ul {
	list-style: none; padding: 18px 22px !important; margin: 0 0 22px !important;
	background: #fff; border: 1px solid var(--eh-border); border-radius: var(--eh-radius); box-shadow: var(--eh-shadow);
}
body.page:not(.home) .entry-content > ul > li { position: relative; padding: 8px 0 8px 30px; margin: 0 !important; border-bottom: 1px dashed var(--eh-border); }
body.page:not(.home) .entry-content > ul > li:last-child { border-bottom: 0; }
body.page:not(.home) .entry-content > ul > li::before {
	content: ''; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%;
	background: var(--eh-accent) 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='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
body.page:not(.home) .entry-content > p:first-child { font-size: 1.12rem; color: var(--eh-ink); }
.entry-content a[href^="mailto:"] {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
	background: var(--eh-accent); color: #fff !important; font-weight: 600; text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(0, 73, 173, .25);
}
.entry-content a[href^="mailto:"]:hover { background: var(--eh-red); }

/* ---------- En-tête du site : menu plus grand, icône Facebook blanche ---------- */
.main-header-menu > .menu-item > .menu-link {
	font-family: 'Inter', system-ui, sans-serif !important; font-weight: 600 !important; font-size: 1.02rem !important;
	padding: 10px 20px !important; margin: 0 2px; border-radius: 999px;
	color: #fff !important; transition: background .15s ease, color .15s ease;
}
.main-header-menu > .menu-item > .menu-link:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }
.main-header-menu > .current-menu-item > .menu-link,
.main-header-menu > .current_page_item > .menu-link { background: var(--eh-red); color: #fff !important; box-shadow: 0 6px 16px rgba(214, 19, 19, .35); }
.ast-builder-social-element, .ast-builder-social-element svg, .ast-builder-social-element .ahfb-svg-iconset svg {
	color: #fff !important; fill: #fff !important;
}
.ast-builder-social-element {
	width: 40px; height: 40px; display: inline-flex !important; align-items: center; justify-content: center;
	border-radius: 50%; background: rgba(255, 255, 255, .12); transition: background .15s ease;
}
.ast-builder-social-element:hover { background: #1877f2; }
.ast-builder-social-element svg { width: 20px !important; height: 20px !important; }
/* Bouton menu mobile (les 3 traits) en blanc */
.ast-mobile-menu-trigger-minimal, .menu-toggle, .ast-button-wrap .menu-toggle { color: #fff !important; }
.menu-toggle .ast-mobile-svg, .ast-button-wrap .ast-mobile-svg { fill: #fff !important; }

.entry-header.ast-no-title, .entry-header.ast-header-without-markup { display: none !important; }

/* =====================================================================
 * 1.6 — Offres en lignes horizontales sur ordinateur, menu mobile lisible, pied de page
 * ===================================================================== */

/* ---------- Ordinateur : une offre par ligne, informations côte à côte ---------- */
@media (min-width: 900px) {
	.eh-list { grid-template-columns: 1fr; gap: 14px; }
	.eh-card {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 210px;
		grid-template-areas:
			"tags   text   foot"
			"title  text   foot"
			"company facts foot";
		grid-template-rows: auto auto 1fr;
		column-gap: 28px; row-gap: 6px;
		align-items: start;
		padding: 22px 26px;
		border-top: 1px solid var(--eh-border);
		border-left: 5px solid var(--eh-accent);
	}
	.eh-card:hover { border-left-color: var(--eh-red); border-top-color: var(--eh-border); }
	.eh-card-tags { grid-area: tags; }
	.eh-card-title { grid-area: title; font-size: 1.2rem; }
	.eh-card .eh-company { grid-area: company; }
	.eh-card-facts { grid-area: facts; align-self: end; }
	.eh-card-text { grid-area: text; -webkit-line-clamp: 3; padding-left: 26px; border-left: 1px solid var(--eh-border); }
	.eh-card-foot {
		grid-area: foot; flex-direction: column; align-items: stretch; justify-content: center; gap: 12px;
		height: 100%; margin: 0; padding: 0 0 0 26px; border-top: 0; border-left: 1px solid var(--eh-border);
	}
	.eh-card-foot .eh-deadline { justify-content: center; text-align: center; flex: 0 0 auto; }
	.eh-card-foot .eh-btn { width: 100%; }
}

/* ---------- Téléphone : menu déroulant lisible (fond blanc → texte bleu nuit) ---------- */
@media (max-width: 921px) {
	.ast-mobile-header-content, .ast-mobile-popup-drawer .ast-mobile-popup-inner, #ast-mobile-site-navigation { background: #fff !important; }
	.ast-mobile-header-content .main-header-menu .menu-item > .menu-link,
	.ast-mobile-popup-drawer .main-header-menu .menu-item > .menu-link,
	.ast-header-break-point .main-header-menu .menu-item > .menu-link {
		color: var(--eh-navy) !important; background: transparent; border-radius: 12px;
		padding: 14px 18px !important; margin: 2px 8px; font-size: 1.05rem !important;
		border-bottom: 1px solid var(--eh-border);
	}
	.ast-header-break-point .main-header-menu .menu-item > .menu-link:hover { background: var(--eh-accent-soft); color: var(--eh-accent) !important; }
	.ast-header-break-point .main-header-menu .current-menu-item > .menu-link,
	.ast-header-break-point .main-header-menu .current_page_item > .menu-link { background: var(--eh-red) !important; color: #fff !important; border-bottom-color: transparent; }
	.ast-header-break-point .main-header-menu .menu-item .ast-menu-toggle { color: var(--eh-navy) !important; }
}

/* ---------- Pied de page aux couleurs du site ---------- */
.site-footer, .site-below-footer-wrap, .site-primary-footer-wrap, .ast-builder-footer-grid-columns {
	background: var(--eh-navy) !important; border-top: 0 !important;
}
.site-footer, .site-footer p, .ast-footer-copyright, .ast-footer-copyright p { color: #b9c8e6 !important; font-size: .92rem; }
.site-footer a { color: #fff !important; }

/* ---------- v1.6.1 : espace sous l'en-tête + logo « Emploi RDC » ---------- */
.eh-hero, body.page:not(.home) .entry-header, .single-offre .entry-header { margin-top: 32px !important; }
@media (max-width: 921px) {
	.eh-hero, body.page:not(.home) .entry-header, .single-offre .entry-header { margin-top: 20px !important; }
}
.site-logo-img img.custom-logo { width: 260px !important; max-width: none; height: auto; }
@media (max-width: 921px) { .site-logo-img img.custom-logo { width: 190px !important; } }
@media (max-width: 380px) { .site-logo-img img.custom-logo { width: 165px !important; } }

/* =====================================================================
 * v1.7 : fiche offre plus vivante, appels à postuler
 * ===================================================================== */
.single-offre .entry-meta { display: none; } /* remplacée par la signature Digit Nova dans l'encadré */
.eh-details { position: relative; padding: 26px; border-top: 0; overflow: hidden; }
.eh-details::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--eh-accent) 0 70%, var(--eh-red) 70% 100%); }

.eh-status {
	display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; padding: 8px 14px;
	border-radius: 999px; background: #e7f6ec; color: #0f6b34; font-weight: 700; font-size: .92rem;
}
.eh-dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: eh-pulse 1.8s infinite; }
.eh-status-urgent { background: #fde8e8; color: var(--eh-red); }
.eh-status-urgent .eh-dot { background: var(--eh-red); box-shadow: 0 0 0 0 rgba(214, 19, 19, .6); animation-name: eh-pulse-red; }
@keyframes eh-pulse { 70% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
@keyframes eh-pulse-red { 70% { box-shadow: 0 0 0 9px rgba(214, 19, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 19, 19, 0); } }

.eh-details-head { margin-bottom: 10px; }
.eh-details .eh-company-big { font-family: 'Inter', system-ui, sans-serif; font-size: 1.2rem; color: var(--eh-navy); margin: 0 0 16px !important; }
.eh-details .eh-company-big .eh-ico { width: 22px; height: 22px; }

.eh-btn-big { padding: 16px 28px; font-size: 1.05rem; border-radius: 12px; }
.eh-actions .eh-btn-apply { animation: eh-glow 2.6s ease-in-out infinite; }
@keyframes eh-glow { 0%, 100% { box-shadow: 0 8px 20px rgba(214, 19, 19, .28); } 50% { box-shadow: 0 8px 30px rgba(214, 19, 19, .55); } }
@media (prefers-reduced-motion: reduce) { .eh-dot, .eh-actions .eh-btn-apply { animation: none; } }

.eh-details .eh-reassure { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 14px 0 0 !important; color: var(--eh-muted); font-size: .9rem; }
.eh-reassure .eh-ico { color: #16a34a; }
.eh-reassure strong { color: var(--eh-red); }
.eh-details .eh-byline { display: flex; align-items: center; gap: 8px; margin: 16px 0 0 !important; padding-top: 14px; border-top: 1px dashed var(--eh-border); color: var(--eh-muted); font-size: .88rem; }
.eh-byline strong { color: var(--eh-navy); }
.eh-byline-ico { width: 24px; height: 24px; border-radius: 6px; }

/* Étapes */
.eh-steps { background: #fff; border: 1px solid var(--eh-border); border-radius: var(--eh-radius); box-shadow: var(--eh-shadow); padding: 22px 24px; margin: 0 0 26px; }
.eh-steps h2 { margin: 0 0 14px; font-size: 1.2rem; }
.eh-steps ol { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.eh-steps li { display: flex; gap: 12px; margin: 0; padding: 14px; border-radius: 12px; background: var(--eh-bg); }
.eh-steps li p { margin: 4px 0 0; font-size: .92rem; color: var(--eh-muted); }
.eh-steps li strong { color: var(--eh-navy); }
.eh-steps li a { color: var(--eh-red); font-weight: 700; text-decoration: none; }
.eh-step-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--eh-accent); color: #fff; font-family: 'Inter', system-ui, sans-serif; font-weight: 700; }
.eh-steps li:last-child .eh-step-num { background: var(--eh-red); }
@media (max-width: 800px) { .eh-steps ol { grid-template-columns: 1fr; } }

/* Description */
.eh-desc { background: #fff; border: 1px solid var(--eh-border); border-radius: var(--eh-radius); padding: 22px 24px; margin: 0 0 24px; }
.eh-desc > h2 { margin-top: 0; font-size: 1.2rem; padding-bottom: 10px; border-bottom: 3px solid var(--eh-accent-soft); }
.eh-desc p { line-height: 1.7; }

/* Grand encadré d'appel à l'action */
.eh-cta-banner {
	position: relative; overflow: hidden; isolation: isolate; margin: 28px 0; padding: 34px 32px; border-radius: 20px; color: #fff;
	background: radial-gradient(circle at 90% 10%, rgba(0, 73, 173, .6), transparent 50%), linear-gradient(135deg, #152039 0%, #1b2d57 60%, #0d3f8f 100%);
	box-shadow: 0 18px 44px rgba(21, 32, 57, .28);
}
.eh-cta-inner { position: relative; z-index: 1; max-width: 640px; }
.eh-cta-kicker { display: inline-block; margin: 0 0 10px !important; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 700; font-size: .85rem; color: #fff !important; }
.eh-cta-banner h2 { color: #fff !important; margin: 0 0 8px; font-size: 1.5rem; }
.eh-cta-banner p { color: #d6e0f5 !important; margin: 0 0 18px; }
.eh-btn-ghost { background: transparent; color: #fff !important; border: 2px solid rgba(255, 255, 255, .7); box-shadow: none; }
.eh-btn-ghost:hover { background: #fff; color: var(--eh-navy) !important; }

/* Offres similaires */
.eh-similar { margin: 36px 0 10px; }
.eh-similar h2 { font-size: 1.25rem; margin: 0 0 14px; }
.eh-similar-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.eh-similar-card {
	display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 18px; border-radius: var(--eh-radius);
	background: #fff; border: 1px solid var(--eh-border); border-top: 4px solid var(--eh-accent); box-shadow: var(--eh-shadow);
	text-decoration: none !important; color: var(--eh-text); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.eh-similar-card:hover { transform: translateY(-3px); box-shadow: var(--eh-shadow-hover); border-top-color: var(--eh-red); }
.eh-similar-card strong { font-family: 'Inter', system-ui, sans-serif; color: var(--eh-navy); font-size: 1.02rem; line-height: 1.35; }
.eh-similar-emp { font-weight: 600; color: var(--eh-ink); font-size: .9rem; }
.eh-similar-meta { display: flex; align-items: center; gap: 6px; color: var(--eh-muted); font-size: .86rem; }
.eh-similar-go { margin-top: auto; padding-top: 8px; color: var(--eh-red); font-weight: 700; }
.eh-similar-all { text-align: center; margin: 18px 0 0; }
@media (max-width: 800px) { .eh-similar-list { grid-template-columns: 1fr; } }

/* Barre collante */
.eh-sticky {
	position: fixed; z-index: 999; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(760px, calc(100% - 24px));
	display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 16px;
	background: rgba(21, 32, 57, .96); color: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .3); backdrop-filter: blur(8px);
	animation: eh-rise .25s ease-out;
}
.eh-sticky[hidden] { display: none; }
@keyframes eh-rise { from { transform: translate(-50%, 20px); opacity: 0; } }
.eh-sticky-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.eh-sticky-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
.eh-sticky-text span { font-size: .8rem; color: #b9c6e4; }
.eh-sticky-text .eh-deadline-soon { color: #ff8a8a; }
body.eh-has-sticky { padding-bottom: 80px; }

@media (max-width: 600px) {
	.eh-details { padding: 18px 16px; }
	.eh-btn-big { padding: 15px 18px; width: 100%; }
	.eh-cta-banner { padding: 26px 20px; }
	.eh-cta-banner h2 { font-size: 1.25rem; }
	.eh-sticky { bottom: 8px; padding-left: 14px; }
}
.eh-steps li a, .eh-similar-card, .eh-similar-card * { text-decoration: none !important; }
.eh-details .eh-reassure { display: block; line-height: 1.6; }
.eh-reassure .eh-ico { display: inline-block; vertical-align: -3px; margin-right: 6px; }
@media (max-width: 600px) {
	.eh-actions .eh-btn-big { display: flex !important; width: 100% !important; flex: 1 1 100% !important; justify-content: center; box-sizing: border-box; }
}

/* ---------- v1.8 : pages métier / province / contrat / ville ---------- */
.eh-tax-page { width: 100% !important; max-width: 100% !important; float: none !important; padding: 0 0 40px !important; margin: 0 !important; border: 0 !important; }
.tax-metier #secondary, .tax-province #secondary, .tax-contrat #secondary, .tax-ville #secondary { display: none; }
.eh-card-foot .eh-btn-apply { box-shadow: 0 6px 16px rgba(214, 19, 19, .28); }

/* ---------- v1.10 : encadré « alertes e-mail » ---------- */
.eh-alert {
	grid-column: 1 / -1; margin: 6px 0 24px; padding: 24px 26px; border-radius: 18px; color: #fff;
	background: radial-gradient(circle at 95% 0%, rgba(214, 19, 19, .35), transparent 45%), linear-gradient(135deg, #0049ad 0%, #0d3f8f 50%, #152039 100%);
	box-shadow: 0 16px 40px rgba(0, 73, 173, .25);
}
.eh-alert-text { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.eh-alert-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .15); color: #fff; }
.eh-alert h2 { color: #fff !important; margin: 0 0 4px !important; font-size: 1.3rem; }
.eh-alert p { color: #dbe6f7 !important; margin: 0 !important; }
.eh-alert-form { display: flex; flex-wrap: wrap; gap: 10px; }
.eh-alert-form input[type=email], .eh-alert-form select {
	flex: 1 1 200px; height: 48px; padding: 0 14px; border-radius: 10px; border: 0; background: #fff; color: var(--eh-ink); font-size: .95rem; min-width: 0;
}
.eh-alert-form select { flex-basis: 170px; -webkit-appearance: none; appearance: none; padding-right: 32px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23152039' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; }
.eh-alert-form button {
	flex: 0 0 auto; height: 48px; padding: 0 22px; border: 0; border-radius: 10px; cursor: pointer; font-weight: 700; color: #fff;
	background: linear-gradient(135deg, #e3261f 0%, var(--eh-red) 55%, var(--eh-red-dark) 100%); box-shadow: 0 8px 20px rgba(214, 19, 19, .35);
}
.eh-alert-form button:hover { background: var(--eh-red-dark); }
.eh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.eh-alert .eh-alert-note { margin-top: 10px !important; font-size: .85rem; color: #b9c6e4 !important; }
.eh-alert .eh-alert-msg { margin: 0 0 12px !important; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.eh-alert .eh-alert-msg-ok { background: #e7f6ec; color: #0f6b34 !important; }
.eh-alert .eh-alert-msg-err { background: #fde8e8; color: var(--eh-red) !important; }
@media (max-width: 600px) {
	.eh-alert { padding: 20px 16px; }
	.eh-alert-form input[type=email], .eh-alert-form select, .eh-alert-form button { flex: 1 1 100%; }
}

/* ---------- v1.12 : bouton « alertes », fenêtre pop-up, page d'inscription, guides ---------- */
.eh-alert-cta {
	grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin: 6px 0 24px; padding: 18px 22px; border-radius: 16px;
	color: #fff !important; text-decoration: none !important;
	background: radial-gradient(circle at 95% 0%, rgba(214, 19, 19, .35), transparent 45%), linear-gradient(135deg, #0049ad 0%, #0d3f8f 55%, #152039 100%);
	box-shadow: 0 14px 34px rgba(0, 73, 173, .22); transition: transform .15s ease, box-shadow .15s ease;
}
.eh-alert-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 73, 173, .3); }
.eh-alert-cta-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.eh-alert-cta-text strong { font-family: 'Inter', system-ui, sans-serif; font-size: 1.12rem; }
.eh-alert-cta-text span { color: #dbe6f7; font-size: .95rem; }
.eh-alert-cta-btn { flex: none; padding: 12px 18px; border-radius: 10px; font-weight: 700; background: linear-gradient(135deg, #e3261f 0%, var(--eh-red) 55%, var(--eh-red-dark) 100%); box-shadow: 0 8px 20px rgba(214, 19, 19, .35); }
@media (max-width: 700px) { .eh-alert-cta { flex-wrap: wrap; } .eh-alert-cta-btn { width: 100%; text-align: center; } }

.eh-popup {
	position: fixed; z-index: 1000; left: 18px; bottom: 18px; width: min(360px, calc(100% - 36px));
	display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px;
	background: #fff; color: var(--eh-text); border-top: 5px solid var(--eh-red); box-shadow: 0 18px 50px rgba(21, 32, 57, .28);
	animation: eh-rise-left .3s ease-out;
}
.eh-popup[hidden] { display: none; }
@keyframes eh-rise-left { from { transform: translateY(20px); opacity: 0; } }
.eh-popup .eh-alert-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--eh-accent-soft); color: var(--eh-accent); display: grid; place-items: center; flex: none; }
.eh-popup strong { display: block; font-family: 'Inter', system-ui, sans-serif; color: var(--eh-navy); font-size: 1.02rem; }
.eh-popup p { margin: 4px 0 10px !important; font-size: .9rem; color: var(--eh-muted); }
.eh-popup-btn { display: inline-block; padding: 10px 16px; border-radius: 10px; color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: .92rem; background: linear-gradient(135deg, #e3261f 0%, var(--eh-red) 55%, var(--eh-red-dark) 100%); }
.eh-popup-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--eh-muted); cursor: pointer; padding: 4px; }
body.eh-has-sticky .eh-popup { bottom: 92px; }
@media (max-width: 600px) { .eh-popup { left: 12px; bottom: 12px; width: calc(100% - 24px); } }

.eh-alert-page { margin: 32px 0 30px; padding: 30px; }
.eh-alert-form-big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.eh-alert-form-big label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: #fff; font-size: .95rem; margin: 0; }
.eh-alert-form-big label select, .eh-alert-form-big label input[type=email] { flex: none; width: 100%; }
.eh-alert-form-big button { grid-column: 1 / -1; height: 54px; font-size: 1.05rem; }
.eh-alert-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0 !important; padding: 0 !important; color: #dbe6f7; font-weight: 600; }
.eh-alert-points li { margin: 0; }
@media (max-width: 600px) { .eh-alert-page { padding: 22px 16px; } .eh-alert-form-big { grid-template-columns: 1fr; } }

/* Guides (« Comment faire un bon CV »…) */
.eh-guide { font-size: 1.04rem; line-height: 1.75; }
.eh-guide h2 { margin: 34px 0 12px; font-size: 1.4rem; padding-left: 14px; border-left: 5px solid var(--eh-red); }
.eh-guide h3 { margin: 20px 0 8px; font-size: 1.12rem; color: var(--eh-accent); }
.eh-guide-intro { font-size: 1.12rem; color: var(--eh-ink); }
.eh-guide-box { background: #fff; border: 1px solid var(--eh-border); border-radius: var(--eh-radius); box-shadow: var(--eh-shadow); padding: 20px 24px; margin: 18px 0; }
.eh-guide-tip { background: var(--eh-accent-soft); border-left: 5px solid var(--eh-accent); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 18px 0; }
.eh-guide-warn { background: #fff4e5; border-left: 5px solid #f59e0b; border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 18px 0; }
.eh-guide-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eh-guide-cols > div { background: #fff; border: 1px solid var(--eh-border); border-radius: 12px; padding: 16px 18px; }
.eh-guide-cols h3 { margin-top: 0; }
.eh-guide-ok h3 { color: #0f6b34; }
.eh-guide-no h3 { color: var(--eh-red); }
.eh-cv-sample { background: #fff; border: 1px solid var(--eh-border); border-top: 6px solid var(--eh-navy); border-radius: 12px; padding: 26px 28px; margin: 18px 0; box-shadow: var(--eh-shadow); font-size: .95rem; line-height: 1.55; }
.eh-cv-sample h3 { color: var(--eh-navy); margin: 0; font-size: 1.4rem; }
.eh-cv-sample h4 { margin: 16px 0 6px; padding-bottom: 3px; border-bottom: 2px solid var(--eh-accent); color: var(--eh-accent); text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; }
.eh-cv-sample p, .eh-cv-sample ul { margin: 0 0 6px !important; }
.eh-guide-cta { text-align: center; margin: 30px 0; padding: 26px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #152039 0%, #1b2d57 60%, #0d3f8f 100%); }
.eh-guide-cta h2 { border: 0; padding: 0; color: #fff !important; margin: 0 0 8px; }
.eh-guide-cta p { color: #d6e0f5; margin: 0 0 16px; }
.eh-guide-cta .eh-btn { margin: 4px; }
@media (max-width: 700px) { .eh-guide-cols { grid-template-columns: 1fr; } .eh-cv-sample { padding: 18px; } }
.eh-alert .eh-alert-points li { color: #fff !important; }

/* ---------- v1.14 : chaîne WhatsApp ---------- */
.eh-wa-float {
	position: fixed; z-index: 998; right: 18px; bottom: 70px; display: flex; align-items: center; gap: 8px;
	padding: 11px 16px; border-radius: 999px; background: #25d366; color: #fff !important; text-decoration: none !important;
	font-weight: 700; font-size: .92rem; box-shadow: 0 10px 28px rgba(37, 211, 102, .4); transition: transform .15s ease;
}
.eh-wa-float:hover { transform: translateY(-2px); }
body.eh-has-sticky .eh-wa-float { bottom: 150px; }
@media (max-width: 700px) {
	.eh-wa-float { right: 12px; bottom: 64px; padding: 13px; }
	.eh-wa-float span { display: none; } /* sur téléphone : juste le rond vert */
	body.eh-has-sticky .eh-wa-float { bottom: 90px; }
}
.eh-wa-box {
	display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 16px 20px; border-radius: 14px;
	background: #e9fbf0; border: 1px solid #b7efcc; color: #0f5132 !important; text-decoration: none !important;
}
.eh-wa-box svg { color: #25d366; flex: none; }
.eh-wa-box span { flex: 1; display: flex; flex-direction: column; font-size: .93rem; }
.eh-wa-box strong { font-family: 'Inter', system-ui, sans-serif; font-size: 1.02rem; color: #0f5132; }
.eh-wa-box em { font-style: normal; font-weight: 700; color: #fff; background: #25d366; padding: 9px 14px; border-radius: 10px; white-space: nowrap; }

/* ---------- v1.15 : page « Conseils », outil CV libre ---------- */
.eh-guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 24px 0 36px; }
.eh-guide-card {
	display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff;
	border: 1px solid var(--eh-border); box-shadow: var(--eh-shadow); text-decoration: none !important; color: var(--eh-text);
	transition: transform .15s ease, box-shadow .15s ease;
}
.eh-guide-card:hover { transform: translateY(-4px); box-shadow: var(--eh-shadow-hover); }
.eh-guide-card img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.eh-guide-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.eh-guide-card strong { font-family: 'Inter', system-ui, sans-serif; font-size: 1.1rem; color: var(--eh-navy); }
.eh-guide-card-body > span { color: var(--eh-muted); font-size: .92rem; line-height: 1.5; }
.eh-guide-card em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 700; color: var(--eh-red); }
.eh-cv-target { border: 2px solid var(--eh-accent); border-radius: 12px; padding: 14px 16px 4px; margin: 0 0 16px; background: var(--eh-accent-soft); }
.eh-cv-target legend { padding: 0 8px; font-weight: 700; color: var(--eh-accent); }
/* Sous-menu « Conseils » */
.main-header-menu .sub-menu { border-radius: 12px; overflow: hidden; box-shadow: 0 14px 34px rgba(21, 32, 57, .25); }
.main-header-menu .sub-menu .menu-link { color: var(--eh-navy) !important; background: #fff; padding: 12px 18px !important; }
.main-header-menu .sub-menu .menu-link:hover { background: var(--eh-accent-soft); color: var(--eh-accent) !important; }

/* ---------- v1.17 : menu et textes sur téléphone ---------- */
@media (max-width: 921px) {
	/* Le lien et son sous-menu l'un sous l'autre (et non côte à côte). */
	.ast-header-break-point .main-header-menu .menu-item { display: block !important; position: relative; }
	.ast-header-break-point .main-header-menu .menu-item > .menu-link {
		padding: 11px 18px !important; font-size: 15.5px !important; line-height: 1.35; min-height: 0; height: auto;
	}
	.ast-header-break-point .main-header-menu .current-menu-item > .menu-link,
	.ast-header-break-point .main-header-menu .current_page_item > .menu-link,
	.ast-header-break-point .main-header-menu .current-menu-ancestor > .menu-link {
		display: inline-block !important; margin: 6px 12px !important; padding: 8px 16px !important; border-radius: 999px !important;
		background: var(--eh-red) !important; color: #fff !important; box-shadow: none !important;
	}
	.ast-header-break-point .main-header-menu .sub-menu { background: var(--eh-bg) !important; box-shadow: none !important; border-radius: 0; margin: 0 !important; }
	.ast-header-break-point .main-header-menu .sub-menu .menu-link {
		padding: 9px 18px 9px 34px !important; font-size: 14.5px !important; background: transparent !important; color: var(--eh-navy) !important;
		display: block !important; margin: 0 !important; border-radius: 0 !important;
	}
	.ast-header-break-point .main-header-menu .sub-menu .current-menu-item > .menu-link { color: var(--eh-red) !important; background: transparent !important; font-weight: 700; display: block !important; padding: 9px 18px 9px 34px !important; margin: 0 !important; }
	.ast-header-break-point .main-header-menu .ast-menu-toggle { top: 4px !important; height: 40px; }
}
@media (max-width: 600px) {
	body, .entry-content p, .entry-content li { font-size: 14.5px; }
	.eh-hero .eh-hero-title { font-size: 1.65rem; }
	.eh-hero-text { font-size: .98rem !important; }
	body.page:not(.home) .entry-title, .single-offre .entry-title { font-size: 1.45rem; line-height: 1.25; }
	body.page:not(.home) .entry-header, .single-offre .entry-header { padding: 22px 18px; }
	.eh-guide { font-size: 1rem; line-height: 1.65; }
	.eh-guide h2 { font-size: 1.2rem; margin-top: 26px; }
	.eh-guide-intro { font-size: 1.02rem; }
	.eh-card-title { font-size: 1.08rem !important; }
	.eh-steps h2, .eh-desc > h2, .eh-similar h2 { font-size: 1.12rem; }
	.eh-cta-banner h2 { font-size: 1.15rem; }
	.eh-alert-cta-text strong { font-size: 1rem; }
	.eh-guide-card strong { font-size: 1.02rem; }
}
@media (max-width: 921px) {
	.ast-header-break-point .main-header-menu > .current-menu-item > .menu-link,
	.ast-header-break-point .main-header-menu > .current_page_item > .menu-link,
	.ast-header-break-point .main-header-menu > .current-menu-ancestor > .menu-link,
	.ast-header-break-point .main-header-menu > .current-menu-parent > .menu-link {
		width: fit-content !important; max-width: calc(100% - 80px); display: block !important;
	}
}

/* ---------- v1.18 : cartes sans trous, pagination ---------- */
@media (min-width: 900px) {
	/* Le résumé et le lieu se suivent dans la colonne du milieu : plus d'espace vide entre les deux. */
	.eh-card { grid-template-rows: auto auto auto; align-content: center; }
	.eh-card-facts { align-self: start; margin-top: 4px !important; }
}
.eh-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 26px 0 6px; }
.eh-pages a.eh-pages-nav { padding: 9px 16px; background: var(--eh-navy); border-color: var(--eh-navy); color: #fff; }
.eh-pages a.eh-pages-nav:hover { background: var(--eh-red); border-color: var(--eh-red); color: #fff; }
.eh-pages-gap { color: var(--eh-muted); padding: 0 2px; }
.eh-pages-info { text-align: center; color: var(--eh-muted); font-size: .9rem; margin: 0 0 20px; }
#eh-liste { scroll-margin-top: 90px; }
@media (max-width: 600px) { .eh-pages a { min-width: 38px; padding: 8px 10px; } .eh-pages a.eh-pages-nav { padding: 8px 12px; } }
/* Téléphone : flèches seules pour que la pagination tienne sur une ligne. */
@media (max-width: 600px) {
  .eh-pages { gap: 6px; flex-wrap: nowrap; }
  .eh-pages a { min-width: 36px; padding: 8px 9px; }
  .eh-pages a.eh-pages-nav { padding: 8px 12px; }
  .eh-pages-txt { display: none; }
}

/* ---------- Échelle du texte : une seule police (Inter) et une base plus fine ---------- */
html { font-size: 14px !important; }
body { font-size: 1rem !important; }
h1, h2, h3, h4, h5, h6, .entry-title, .eh-card-title, .site-title,
.eh-btn, button, .main-header-menu a, .menu-link {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
	letter-spacing: -.015em;
}
body.page:not(.home) .entry-title, .single-offre .entry-title { font-size: 1.7rem !important; line-height: 1.25; }
.eh-card-tags span, .eh-tag { font-size: .8rem; }
@media (max-width: 600px) {
	body.page:not(.home) .entry-title, .single-offre .entry-title { font-size: 1.4rem !important; }
	html { font-size: 14px !important; }
	/* 16 px minimum dans les champs : en dessous, l'iPhone zoome à la saisie. */
	input, select, textarea { font-size: 16px !important; }
}

/* Conseils par métier et province (fiche offre, pages métier et province) */
.eh-conseils { background: #fff; border: 1px solid var(--eh-border); border-left: 4px solid var(--eh-blue, #0049ad); border-radius: var(--eh-radius); padding: 18px 20px; margin: 24px 0; }
.eh-conseils h2 { margin: 0 0 8px; font-size: 1.12rem; }
.eh-conseils h3 { margin: 14px 0 4px; font-size: 1rem; color: var(--eh-navy); }
.eh-conseils p, .eh-conseils li { color: var(--eh-text); }
.eh-conseils ul { margin: 6px 0 0 18px; }
.eh-tax-conseils { max-width: 1100px; margin: 24px auto 40px; }

/* =====================================================================
 * Style B « comme une application » (v1.26) : fond clair, cartes nettes,
 * raccourcis par métier, barre de navigation en bas sur téléphone.
 * ===================================================================== */
body { background: #F9FAFB !important; }

/* Bandeau d'accueil clair */
.eh-hero {
	background: #fff !important; color: #101828; box-shadow: none !important;
	border: 1px solid #EAECF0; padding: 36px 32px 28px !important;
}
.eh-hero-bar { display: none !important; }
.eh-hero-kicker { background: #EAF1FC !important; border: 0 !important; color: #0049ad !important; letter-spacing: .04em !important; }
.eh-hero .eh-hero-title { color: #101828 !important; letter-spacing: -.03em !important; font-weight: 800 !important; }
.eh-hero-text { color: #475467 !important; }
.eh-hero-stats li { background: #F2F4F7 !important; border: 0 !important; color: #344054 !important; backdrop-filter: none !important; }
.eh-hero-stats strong { color: #101828 !important; }
.eh-hero .eh-search, .eh-search { background: #fff !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; gap: 10px; }
.eh-search input, .eh-search select { background: #F2F4F7 !important; border: 1px solid transparent !important; border-radius: 14px !important; height: 52px !important; color: #101828 !important; }
.eh-search input:focus, .eh-search select:focus { background: #fff !important; border-color: #0049ad !important; outline: 3px solid rgba(0, 73, 173, .15) !important; }
.eh-search button { background: #0049ad !important; border-radius: 14px !important; height: 52px !important; font-weight: 700 !important; }
.eh-search button:hover { background: #003a8a !important; }

/* Raccourcis : provinces en pastilles, métiers en icônes */
.eh-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin: 0 0 18px; scrollbar-width: none; }
.eh-chips::-webkit-scrollbar { display: none; }
.eh-chips a { flex: none; background: #fff; border: 1px solid #D0D5DD; color: #344054 !important; font-size: .85rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; text-decoration: none !important; }
.eh-chips a:hover { background: #152039; border-color: #152039; color: #fff !important; }
.eh-metiers { margin: 0 0 26px; }
.eh-metiers h2 { font-size: 1.05rem !important; font-weight: 700 !important; margin: 0 0 12px !important; color: #101828; }
.eh-metiers-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.eh-metiers-grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .78rem; font-weight: 600; line-height: 1.25; color: #344054 !important; text-decoration: none !important; }
.eh-metier-ico { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; transition: transform .15s ease; }
.eh-metiers-grid a:hover .eh-metier-ico { transform: translateY(-2px); }
.eh-ico-orange { background: #FFF4E5; color: #B54708; }
.eh-ico-blue { background: #EAF1FC; color: #0049ad; }
.eh-ico-red { background: #FDECEC; color: #B00F0F; }
.eh-ico-green { background: #ECFDF3; color: #067647; }
.eh-ico-purple { background: #F4F3FF; color: #5925DC; }
.eh-ico-gray { background: #F2F4F7; color: #344054; }
@media (max-width: 700px) { .eh-metiers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; } .eh-metier-ico { width: 56px; height: 56px; border-radius: 16px; } }

/* Cartes d'offres nettes */
.eh-card { border: 1px solid #EAECF0 !important; border-top: 1px solid #EAECF0 !important; border-radius: 18px !important; box-shadow: none !important; }
.eh-card:hover { border-color: #0049ad !important; box-shadow: 0 8px 24px rgba(16, 24, 40, .08) !important; transform: translateY(-2px); }
.eh-card-title a { color: #101828 !important; }
.eh-tag { background: #F2F4F7 !important; color: #344054 !important; border: 0 !important; border-radius: 8px !important; }
.eh-tag-contrat { background: #152039 !important; color: #fff !important; }
.eh-tag-new { background: #FDECEC !important; color: #B00F0F !important; }
.eh-card-foot { border-top-color: #F2F4F7 !important; }
.eh-card-foot .eh-btn-apply { background: #0049ad !important; box-shadow: none !important; border-radius: 12px !important; }
.eh-card-foot .eh-btn-apply:hover { background: #003a8a !important; }
.eh-count { color: #101828 !important; font-size: 1.05rem !important; font-weight: 800 !important; }
.eh-pages a { border-radius: 12px !important; }

/* Fiche offre : résumé en carte, sections aérées */
.eh-details { background: #fff !important; border: 1px solid #EAECF0 !important; border-radius: 20px !important; box-shadow: 0 8px 28px rgba(16, 24, 40, .08) !important; }
.eh-status { display: inline-flex !important; align-items: center; gap: 6px; background: #FDECEC !important; color: #B00F0F !important; font-weight: 700 !important; border-radius: 8px !important; padding: 5px 10px !important; }
.eh-facts li { background: #F9FAFB; border-radius: 12px; padding: 12px 14px !important; }
.eh-clair { background: #EAF1FC !important; border: 0 !important; border-radius: 16px !important; }
.eh-steps, .eh-desc, .eh-dico, .eh-conseils, .eh-candidature { border: 1px solid #EAECF0 !important; border-left: 1px solid #EAECF0 !important; border-radius: 18px !important; box-shadow: none !important; background: #fff; }
.eh-conseils h3 { color: #101828 !important; }
.eh-btn-apply { border-radius: 14px !important; }

/* Barre « Postuler » de l'offre : blanche, bouton rouge large */
.eh-sticky { background: #fff !important; color: #101828 !important; border-top: 1px solid #EAECF0; box-shadow: 0 -8px 24px rgba(16, 24, 40, .08) !important; }
.eh-sticky-text span { color: #475467 !important; }
.eh-sticky-text .eh-deadline-soon { color: #B00F0F !important; }

/* Barre de navigation du bas : téléphone seulement */
.eh-tabbar { display: none; }
@media (max-width: 768px) {
	.eh-tabbar {
		display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
		background: #fff; border-top: 1px solid #EAECF0;
		padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
	}
	.eh-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 52px; justify-content: center; color: #475467 !important; font-size: 11px; font-weight: 600; text-decoration: none !important; }
	.eh-tabbar a.active { color: #0049ad !important; font-weight: 700; }
	body:not(.single-offre) { padding-bottom: 72px; }
	body:not(.single-offre) .eh-wa-float { bottom: 84px !important; }
	.eh-hero { padding: 24px 18px 20px !important; border-radius: 0 0 20px 20px !important; border-width: 0 0 1px !important; }
	.eh-hero .eh-hero-title { font-size: 1.7rem !important; }
	.eh-card { padding: 16px !important; }
	.eh-details { border-radius: 18px !important; }
}

/* =====================================================================
 * Ordinateur (v1.27) : liste à gauche, offre choisie à droite
 * ===================================================================== */
.eh-apercu { display: none; }
@media (min-width: 1100px) {
	.eh-split { display: grid; grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 22px; align-items: start; }
	.eh-split .eh-list { grid-template-columns: 1fr; gap: 10px; }
	/* Cartes compactes dans la colonne de gauche */
	.eh-split .eh-card { display: flex !important; flex-direction: column; gap: 6px; padding: 16px 18px !important; border-left: 1px solid #EAECF0 !important; cursor: pointer; }
	.eh-split .eh-card .eh-card-text, .eh-split .eh-card .eh-card-facts { display: none !important; }
	.eh-split .eh-card-title { font-size: 1.02rem !important; }
	.eh-split .eh-card-foot { flex-direction: row !important; height: auto !important; padding: 8px 0 0 !important; border-left: 0 !important; border-top: 1px solid #F2F4F7 !important; justify-content: space-between !important; }
	.eh-split .eh-card-foot .eh-btn { width: auto !important; }
	.eh-split .eh-card:hover { transform: none; }
	.eh-split .eh-card.is-active { border: 2px solid #0049ad !important; box-shadow: 0 8px 24px rgba(0, 73, 173, .12) !important; }
	/* Panneau de droite */
	.eh-apercu {
		display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px;
		background: #fff; border: 1px solid #EAECF0; border-radius: 22px; padding: 30px 32px;
		box-shadow: 0 8px 28px rgba(16, 24, 40, .06);
	}
	.eh-apercu-delai { align-self: flex-start; background: #FDECEC; color: #B00F0F; font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 8px; }
	.eh-apercu .eh-apercu-titre { margin: 0 !important; font-size: 1.7rem !important; line-height: 1.2 !important; font-weight: 800 !important; letter-spacing: -.02em; }
	.eh-apercu-titre a { color: #101828 !important; text-decoration: none !important; }
	.eh-apercu-emp { margin: -6px 0 0 !important; color: #475467; font-weight: 600; font-size: 1.02rem; }
	.eh-apercu-chips { display: flex; flex-wrap: wrap; gap: 8px; }
	.eh-apercu-chip { background: #F2F4F7; color: #344054; font-size: .85rem; font-weight: 600; padding: 7px 12px; border-radius: 9px; }
	.eh-apercu-actions { display: flex; flex-wrap: wrap; gap: 10px; }
	.eh-apercu-clair { background: #EAF1FC; border-radius: 16px; padding: 18px 20px; }
	.eh-apercu-clair h3 { margin: 0 0 6px !important; font-size: 1rem !important; color: #101828; }
	.eh-apercu-clair p { margin: 0 !important; font-size: 1rem; line-height: 1.65; color: #233049; }
	.eh-apercu-note { display: flex; align-items: center; gap: 8px; margin: 0 !important; font-size: .88rem; color: #067647; font-weight: 600; }
}
@media (min-width: 1100px) { .eh-split > .eh-list:only-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .eh-split .eh-alert-cta { flex-wrap: wrap; margin: 0; } .eh-split .eh-alert-cta-btn { width: 100%; text-align: center; } .eh-split .eh-alert-form input[type=email], .eh-split .eh-alert-form select, .eh-split .eh-alert-form button { flex: 1 1 100%; } }

/* v1.28 : baromètre et date des guides */
.eh-guide-date { margin: 0 0 14px; font-size: .9rem; color: #475467; }
.eh-baro { list-style: none; margin: 14px 0 26px; padding: 0; display: grid; gap: 10px; }
.eh-baro li { display: grid; grid-template-columns: minmax(0, 13rem) 1fr 2.6rem; gap: 12px; align-items: center; margin: 0; }
.eh-baro-nom { font-size: .95rem; line-height: 1.35; overflow-wrap: anywhere; }
.eh-baro-barre { height: 12px; border-radius: 999px; background: #eaecf0; overflow: hidden; }
.eh-baro-barre i { display: block; height: 100%; border-radius: 999px; background: var(--eh-accent); }
.eh-baro b { text-align: right; font-variant-numeric: tabular-nums; }
.eh-baro-cles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.eh-baro-cles > div { border: 1px solid var(--eh-border); border-radius: 14px; padding: 16px; background: #fff; }
.eh-baro-cles b { display: block; font-size: 1.6rem; line-height: 1.2; }
.eh-baro-cles span { font-size: .92rem; color: #475467; }
@media (max-width: 560px) {
	.eh-baro li { grid-template-columns: 1fr 2.6rem; }
	.eh-baro-nom { grid-column: 1 / -1; }
}
.eh-guide ul.eh-baro { padding: 0 !important; margin-left: 0 !important; }
@media (max-width: 767px) {
	/* Au-dessus de la barre du bas, sinon le bouton est caché. */
	.eh-popup { bottom: 84px !important; }
}
