/* ============================================================
   Fiches de poste Tanitjobs.com (06/12/2026, porté de Jobsquare) — /fiches-de-poste/ et /fiche-de-poste/{metier}/
   Orange Tanit = jetons des guides /emploi/ (seo_emploi.css) : accent #eb800e, survol #c76a05,
   fond clair #fff3e3, bordure d encart #FED7AA, texte d encart #9A3412.
   Sur Tanit, .seo-breadcrumb et .btn-cta ne sont chargés par aucune feuille globale :
   ils sont définis ici, limités à .fp-page.
   Appelée avec ?v= : incrémenter à chaque modification (2 gabarits).
   ============================================================ */

/* --- Fil d Ariane et boutons (propres à la page) --- */
.fp-page .seo-breadcrumb { font-size: 13px; color: #767676; margin-bottom: 20px; }
.fp-page .seo-breadcrumb a { color: #eb800e; text-decoration: none; }
.fp-page .seo-breadcrumb a:hover { text-decoration: underline; }
.fp-page .seo-breadcrumb__sep { margin: 0 6px; color: #bbb; }
.fp-page .btn-cta { display: inline-flex; align-items: center; justify-content: center; background: #eb800e; color: #fff !important; padding: 12px 28px; min-height: 44px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none !important; transition: background .2s, transform .15s; border: 2px solid #eb800e; cursor: pointer; font-family: inherit; line-height: 1.2; }
.fp-page .btn-cta:hover { background: #c76a05; border-color: #c76a05; transform: translateY(-1px); }
.fp-page .btn-cta--outline { background: transparent; color: #eb800e !important; border: 2px solid #eb800e; }
.fp-page .btn-cta--outline:hover { background: #eb800e; color: #fff !important; }
.fp-page .btn-cta--alert { background: #1a1a1a; border-color: #1a1a1a; }
.fp-page .btn-cta--alert:hover { background: #333; border-color: #333; }


.fp-page { max-width: 1140px; margin: 0 auto; padding: 28px 16px 56px; font-family: 'Open Sans', sans-serif; color: #1a1a2e; }
.fp-page *, .fp-page *::before, .fp-page *::after { box-sizing: border-box; }
.fp-page a { color: #eb800e; }
.fp-page a:hover { color: #c76a05; }

/* --- Bandeau : fil d'Ariane, H1, accroche, recherche --- */
.fp-bandeau { background: #fff3e3; border: 1px solid #FED7AA; border-radius: 14px; padding: 24px 28px 26px; margin-bottom: 28px; }
.fp-bandeau .seo-breadcrumb { margin-bottom: 12px; }
.fp-h1 { font-size: 30px; font-weight: 700; line-height: 1.25; margin: 0 0 8px; color: #1a1a2e; }
.fp-accroche { font-size: 15.5px; color: #4b5563; margin: 0 0 18px; line-height: 1.6; max-width: 760px; }
.fp-recherche { display: flex; gap: 10px; flex-wrap: wrap; }
.fp-recherche select,
.fp-recherche input[type="text"] { height: 48px; border: 1px solid #d9dde5; border-radius: 8px; padding: 0 14px; font-size: 15px; background: #fff; color: #1a1a2e; font-family: inherit; }
.fp-recherche select { flex: 0 0 240px; max-width: 100%; }
.fp-recherche input[type="text"] { flex: 1 1 280px; min-width: 0; }
.fp-recherche select:focus,
.fp-recherche input[type="text"]:focus { outline: none; border-color: #eb800e; box-shadow: 0 0 0 3px rgba(235,128,14,.15); }
.fp-recherche .btn-cta { height: 48px; padding: 0 28px; }
.fp-masque { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Corps : colonne secteurs + contenu --- */
.fp-corps { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.fp-colonne { position: sticky; top: 16px; }
.fp-encart { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.fp-encart__titre { font-size: 15px; font-weight: 700; margin: 0 0 10px; color: #1a1a2e; }
.fp-secteurs__bouton { display: none; }
.fp-secteurs__liste { list-style: none; margin: 0; padding: 0; }
.fp-secteurs__liste li { margin: 0; }
.fp-secteurs__liste a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 6px; color: #374151; text-decoration: none; font-size: 14px; line-height: 1.35; }
.fp-secteurs__liste a:hover { background: #fff3e3; color: #c76a05; }
.fp-secteurs__liste a.is-actif { background: #fff3e3; color: #9A3412; font-weight: 700; }
.fp-secteurs__nb { color: #9ca3af; font-size: 12.5px; flex: 0 0 auto; }

/* --- Onglets alphabétiques (regroupent les SECTEURS) --- */
.fp-onglets { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; border-bottom: 2px solid #f0f0f0; }
.fp-onglet { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 10px 14px; font-size: 14.5px; font-weight: 600; color: #6b7280; cursor: pointer; font-family: inherit; min-height: 44px; }
.fp-onglet:hover { color: #c76a05; }
.fp-onglet.is-actif { color: #eb800e; border-bottom-color: #eb800e; }

/* --- Groupes de fiches par secteur --- */
.fp-groupe { margin-bottom: 26px; }
.fp-groupe[hidden] { display: none; }
.fp-groupe__titre { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.fp-groupe__titre a { color: #1a1a2e; text-decoration: none; }
.fp-groupe__titre a:hover { color: #eb800e; }
.fp-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fp-lien { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; color: #1a1a2e !important; text-decoration: none !important; font-size: 14.5px; font-weight: 600; line-height: 1.3; transition: border-color .15s, box-shadow .15s, color .15s; }
.fp-lien:hover { border-color: #eb800e; color: #eb800e !important; box-shadow: 0 4px 12px rgba(235,128,14,.10); }
.fp-groupe__tout { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.fp-plus { text-align: center; margin: 8px 0 0; }
.fp-plus .btn-cta[disabled] { opacity: .6; cursor: wait; }
.fp-compteur { font-size: 15px; color: #4b5563; margin: 0 0 18px; }
.fp-compteur strong { color: #1a1a2e; }

/* --- Aucun résultat --- */
.fp-vide { text-align: center; background: #fff; border: 1px dashed #FED7AA; border-radius: 12px; padding: 30px 20px; }
.fp-vide__icone { width: 48px; height: 48px; margin: 0 auto 10px; color: #eb800e; }
.fp-vide__titre { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.fp-vide p { color: #6b7280; margin: 0 0 16px; }
.fp-vide .fp-grille { text-align: left; max-width: 640px; margin: 0 auto 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* --- Fiche --- */
.fp-fiche__entete { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.fp-fiche__entete .fp-h1 { flex: 1 1 420px; }
.fp-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fp-actions__boutons { display: flex; gap: 8px; }
.fp-actions__aide { font-size: 12.5px; color: #6b7280; max-width: 290px; text-align: right; margin: 0; }
.fp-partager { background: #fff; border: 2px solid #eb800e; color: #eb800e; border-radius: 6px; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fp-partager:hover { background: #eb800e; color: #fff; }
.fp-partager svg { width: 20px; height: 20px; }
.fp-partager__msg { font-size: 12.5px; color: #9A3412; min-height: 16px; margin: 0; }
.fp-meta-ligne { font-size: 13.5px; color: #6b7280; margin: 4px 0 0; }
.fp-meta-ligne a { font-weight: 600; text-decoration: none; }

.fp-article { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 26px 30px; }
.fp-resume { font-size: 16.5px; line-height: 1.75; color: #333; border-left: 4px solid #eb800e; background: #fff3e3; padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 0 0 24px; }
.fp-resume p { margin: 0; }
.fp-section { margin: 0 0 26px; }
.fp-section h2 { font-size: 21px; font-weight: 700; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid #f3f4f6; color: #1a1a2e; }
.fp-section p { font-size: 15.5px; line-height: 1.75; color: #374151; margin: 0 0 12px; }
.fp-section ul { margin: 0; padding: 0; list-style: none; }
.fp-section li { position: relative; padding: 0 0 0 24px; margin: 0 0 9px; font-size: 15.5px; line-height: 1.6; color: #374151; }
.fp-section li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #eb800e; }

.fp-offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.fp-offre { display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px 16px; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.fp-offre:hover { border-color: #eb800e; box-shadow: 0 6px 16px rgba(235,128,14,.10); }
.fp-offre__titre { display: block; font-size: 15px; font-weight: 700; color: #1a1a2e; line-height: 1.35; margin-bottom: 6px; }
.fp-offre:hover .fp-offre__titre { color: #eb800e; }
.fp-offre__meta { display: block; font-size: 13px; color: #6b7280; }
.fp-offre__badge { display: inline-block; background: #fff3e3; color: #9A3412; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 700; margin-left: 6px; }

.fp-liens { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fp-section .fp-liens li { padding: 0; margin: 0; }
.fp-section .fp-liens li::before { display: none; }
.fp-liens a { display: inline-block; padding: 8px 14px; border: 1px solid #FED7AA; background: #fff3e3; color: #9A3412 !important; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; }
.fp-liens a:hover { background: #eb800e; border-color: #eb800e; color: #fff !important; }

.fp-faq dt { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: #1a1a2e; }
.fp-faq dd { margin: 0 0 16px; font-size: 15.5px; line-height: 1.7; color: #374151; }

.fp-cta-bas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; padding-top: 24px; border-top: 2px solid #f0f0f0; }
.fp-cta-bas p { flex: 1 0 100%; text-align: center; margin: 0; font-size: 13px; color: #6b7280; }
.fp-proches { list-style: none; margin: 0; padding: 0; }
.fp-proches a { display: block; padding: 8px 0; border-bottom: 1px solid #f3f4f6; text-decoration: none; font-size: 14.5px; font-weight: 600; color: #1a1a2e; }
.fp-proches li:last-child a { border-bottom: 0; }
.fp-proches a:hover { color: #eb800e; }

/* --- Tablette --- */
@media (max-width: 991px) {
	.fp-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fp-offres { grid-template-columns: 1fr; }
}

/* --- Mobile : secteurs en accordéon, champs empilés pleine largeur --- */
@media (max-width: 767px) {
	.fp-page { padding: 16px 16px 40px; }
	.fp-bandeau { padding: 18px 16px 20px; border-radius: 12px; }
	.fp-h1 { font-size: 23px; }
	.fp-recherche { flex-direction: column; }
	.fp-recherche select, .fp-recherche input[type="text"], .fp-recherche .btn-cta { flex: 0 0 auto; width: 100%; }
	.fp-corps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.fp-colonne { position: static; }
	.fp-colonne--fiche { order: 2; }
	.fp-secteurs__bouton { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: 0; padding: 0; min-height: 44px; font-size: 15px; font-weight: 700; color: #1a1a2e; font-family: inherit; cursor: pointer; }
	.fp-secteurs__bouton::after { content: '+'; font-size: 22px; color: #eb800e; line-height: 1; }
	.fp-secteurs.is-ouvert .fp-secteurs__bouton::after { content: '\2212'; }
	.fp-secteurs .fp-encart__titre { display: none; }
	.fp-secteurs .fp-secteurs__liste { display: none; margin-top: 8px; }
	.fp-secteurs.is-ouvert .fp-secteurs__liste { display: block; }
	.fp-secteurs__liste a { min-height: 44px; align-items: center; }
	.fp-onglets { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.fp-onglet { flex: 0 0 auto; padding: 10px 11px; }
	.fp-grille { grid-template-columns: minmax(0, 1fr); }
	.fp-vide .fp-grille { grid-template-columns: minmax(0, 1fr); }
	.fp-article { padding: 18px 16px; }
	.fp-actions { align-items: stretch; width: 100%; }
	.fp-actions__boutons .btn-cta { flex: 1 1 auto; text-align: center; }
	.fp-actions__aide { text-align: left; max-width: none; }
	.fp-cta-bas .btn-cta { width: 100%; text-align: center; }
}
