/* ========================================================================
   France Jobs — Hoja de estilos global
   Paleta alineada con prompts/redaccion.md
   ======================================================================== */

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #555555;
  --color-muted-2: #6b7785;

  /* Paleta Allô Job — valores APROXIMADOS del logo.
     Sustituir por los hex exactos cuando el diseñador los entregue.
     --color-primary-dark  = navy oscuro del fondo del logo
     --color-accent        = amarillo del signo ! del logo */
  --color-primary: #1B4180;
  --color-primary-dark: #102B5C;
  --color-primary-darker: #0A1D40;
  --color-accent: #F5C422;
  --color-accent-bright: #FFCB05;
  --color-accent-soft: #FFF4D9;

  --color-card-bg: #F7F9FC;
  --color-border: #E1E5EB;

  --max-width: 1080px;
  --max-content-width: 760px;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-card: 0 2px 8px rgba(27, 58, 107, 0.06);
  --shadow-card-hover: 0 8px 24px rgba(27, 58, 107, 0.12);

  --radius-card: 14px;
  --radius-button: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

a { color: var(--color-primary); }

h1, h2, h3 {
  line-height: 1.2;
  color: var(--color-primary-dark);
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 { font-size: 2.5rem; margin: 0 0 1rem; }
h2 { font-size: 1.85rem; margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }

.section-lead {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: var(--max-content-width);
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  cursor: pointer;
}

.btn-hero {
  background: #ffffff;
  color: var(--color-primary-dark);
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-hero:hover {
  background: var(--color-accent-soft);
  color: var(--color-primary-darker);
  border-color: var(--color-accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* ---------- Site header ---------- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.site-logo {
  height: 42px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--color-primary);
}

/* ---------- Hamburguesa móvil (CSS-only, sin JS) ---------- */
/* El checkbox sirve solo de estado, está oculto */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* En desktop, el botón hamburguesa NO se ve */
.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-toggle-icon::before { top: 12px; }
.nav-toggle-icon::after { bottom: 12px; }

/* Al marcar el checkbox, el icono se convierte en una X */
.nav-toggle:checked + .nav-toggle-label .nav-toggle-icon {
  background: transparent;
}
.nav-toggle:checked + .nav-toggle-label .nav-toggle-icon::before {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-toggle:checked + .nav-toggle-label .nav-toggle-icon::after {
  bottom: 50%;
  transform: translate(-50%, 50%) rotate(-45deg);
}

/* En móvil: hamburguesa visible, nav oculta por defecto, empuja contenido al abrir */
@media (max-width: 720px) {
  .nav-toggle-label {
    display: flex;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin: 0.5rem 0 0;
    order: 3;
  }
  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }
  .site-nav a {
    padding: 0.85rem 0;
    border-top: 1px solid var(--color-border);
    width: 100%;
  }
}

/* ---------- Site footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-card-bg);
  margin-top: 4rem;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  text-align: center;
}

.site-footer-logo {
  height: 44px;
  width: auto;
  display: block;
  margin: 0 auto 0.85rem;
}

.site-footer-tagline {
  margin: 0 0 0.5rem;
  color: var(--color-primary-dark);
  font-size: 1rem;
}

.site-footer-meta {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.site-footer-legal {
  margin: 0 0 0.5rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.site-footer-legal a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #142a4f 0%, #1B3A6B 45%, #2D89EF 100%);
  color: #ffffff;
  margin: 0 0 3.5rem;
  border-radius: 0 0 28px 28px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0 0 1.4rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero h1 {
  font-size: 3rem;
  color: #ffffff;
  margin: 0 0 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-tagline {
  font-size: 1.2rem;
  margin: 0 0 2.25rem;
  color: #D6E6FA;
  font-weight: 400;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 0 0 4.5rem;
}

.trust-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.trust-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
  line-height: 1;
}

.trust-item strong {
  display: block;
  color: var(--color-primary-dark);
  font-size: 1rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.trust-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- Sectors ---------- */
.sectors {
  margin: 0 0 4.5rem;
}

.sectors h2,
.pillars h2,
.featured h2,
.cta-final h2 {
  text-align: center;
}

.sector-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.1rem;
  margin: 0;
}

.sector-card {
  margin: 0;
}

.sector-card a {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.12s ease, border-color 0.22s ease;
  height: 100%;
}

.sector-card a:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.sector-card h3 {
  color: var(--color-primary-dark);
  margin: 0 0 0.6rem;
}

.sector-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0 0 1.15rem;
  line-height: 1.55;
  flex-grow: 1;
}

.sector-card-arrow {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Pillars ---------- */
.pillars {
  margin: 0 0 4.5rem;
  padding: 3rem 0;
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
}

.pillars .section-lead {
  padding: 0 1.5rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
}

.pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.95rem;
}

.pillar-card h3 {
  margin: 0 0 0.5rem;
  color: var(--color-primary-dark);
}

.pillar-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Featured / post list ---------- */
.featured {
  margin: 0 0 4.5rem;
}

.post-list {
  list-style: none;
  padding: 0;
  max-width: var(--max-content-width);
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.post-list li {
  margin: 0;
  padding: 0;
}

.post-list-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
  border-radius: 6px;
}

.post-list-link:hover {
  background: var(--color-accent-soft);
}

.post-list-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Cluster items (categoría) */
.cluster-item {
  margin: 0;
  padding: 0;
}

.cluster-item-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
  border-radius: 6px;
}

.cluster-item-link:hover {
  background: var(--color-accent-soft);
}

.cluster-item-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cluster-item-title {
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 1.02rem;
}

/* Mini-tarjeta de marca (color + inicial). Se usa en home y categorías. */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.post-list-title {
  display: block;
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.post-list-desc {
  display: block;
  color: var(--color-muted);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.post-list-date {
  display: block;
  color: var(--color-muted-2);
  font-size: 0.82rem;
}

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, #1B3A6B 0%, #2D89EF 100%);
  border-radius: var(--radius-card);
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: #ffffff;
  margin: 0 0 2rem;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final h2 {
  color: #ffffff;
  margin: 0 0 0.75rem;
  position: relative;
}

.cta-final p {
  color: #D6E6FA;
  font-size: 1.05rem;
  max-width: var(--max-content-width);
  margin: 0 auto 1.75rem;
  position: relative;
}

.cta-final .btn-hero {
  position: relative;
}

/* ---------- Empty states ---------- */
.empty-state {
  color: var(--color-muted);
  font-style: italic;
  text-align: center;
  padding: 2rem 1rem;
  background: var(--color-card-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-card);
  margin: 0;
}

/* ---------- Category page ---------- */
.category-hub {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.category-header {
  margin: 1rem 0 2.5rem;
  text-align: center;
}

.category-description {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin: 1rem auto 2.5rem;
  text-align: center;
  max-width: 62ch;
}

/* Byline discret juste sous le H1 des articles (toutes pages sauf home).
   "Publié le DD/MM/YYYY par Chloé Dubois". Texte petit et gris,
   collé au H1 pour ne pas voler la vedette au contenu. */
.post-byline {
  margin: -0.5rem 0 1.75rem;
  color: #8a8f99;
  font-size: 0.82rem;
  font-style: normal;
}

.category-articles h2 {
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
  text-align: left;
}

.cluster-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.cluster-list li {
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.cluster-list-desc {
  margin: 0.3rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ---------- Posts (URL A / URL B) ---------- */
.post {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.post h1 {
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-top: 0;
  margin-bottom: 2rem;
}

.back {
  margin-top: 3rem;
  font-size: 0.95rem;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero-inner { padding: 3.5rem 1.25rem; }
  .hero-tagline { font-size: 1.05rem; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: 0.9rem; }
  .site-logo { height: 34px; }
  .site-footer-logo { height: 38px; }
  .pillars { padding: 2.25rem 0; }
  .cta-final { padding: 2.5rem 1.25rem; }
}

/* ---------- Animation d'appel sur les boutons CTA ----------
   Léger frémissement horizontal toutes les 4 secondes pour attirer
   l'œil sans gêner. Pause au survol et au focus clavier.
   Respect total de prefers-reduced-motion (accessibilité). */
@keyframes btn-cta-shake {
  0%, 88%, 100% { transform: translate3d(0, 0, 0); }
  90%, 94% { transform: translate3d(-3px, 0, 0); }
  92%, 96% { transform: translate3d(3px, 0, 0); }
  98% { transform: translate3d(-1px, 0, 0); }
}

.btn-cta,
.btn-hero {
  animation: btn-cta-shake 3s ease-in-out 1s infinite;
  transform-origin: center;
  will-change: transform;
}

.btn-cta:hover,
.btn-cta:focus-visible,
.btn-hero:hover,
.btn-hero:focus-visible {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta,
  .btn-hero { animation: none; }
}

/* ---------- Cluster d'enseignes (réutilisable home + catégories) ----------
   Mêmes classes que les <style> inline des catégories, déplacées en global
   pour pouvoir afficher des cards d'enseignes ailleurs (home notamment).
   Si une catégorie redéfinit les mêmes classes inline, l'inline gagne. */
.fj-cluster {
  --col-gap: 14px;
  --cols: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--col-gap);
  margin: 1.5rem 0 0;
}
.fj-enseigne {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--col-gap)) / var(--cols));
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  border: 1px solid #D6DEE8;
  border-radius: 16px;
  padding: 30px 22px 26px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.22s ease-out, box-shadow 0.24s ease-out, border-color 0.24s ease-out;
}
.fj-enseigne:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(27, 58, 107, 0.12);
  border-color: #BFD7F2;
}
.fj-enseigne-logo { flex: 0 0 auto; line-height: 0; }
.fj-enseigne-logo svg { display: block; }
.fj-enseigne-name {
  margin: 4px 0 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: #1B3A6B;
  letter-spacing: -0.01em;
}
.fj-enseigne-excerpt {
  margin: 0;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
  max-width: 32ch;
}

/* Tintes par marque pour les enseignes utilisées sur la home. */
.fj-enseigne--amazon { background: linear-gradient(180deg, #ffffff 0%, rgba(255, 153, 0, 0.06) 100%); }
.fj-enseigne--amazon:hover { border-color: rgba(255, 153, 0, 0.5); }

.fj-enseigne--la-poste { background: linear-gradient(180deg, #ffffff 0%, rgba(255, 205, 0, 0.10) 100%); }
.fj-enseigne--la-poste:hover { border-color: rgba(255, 205, 0, 0.6); }

.fj-enseigne--mcdonalds { background: linear-gradient(180deg, #ffffff 0%, rgba(255, 199, 44, 0.10) 100%); }
.fj-enseigne--mcdonalds:hover { border-color: rgba(218, 41, 28, 0.5); }

.fj-enseigne--lidl { background: linear-gradient(180deg, #ffffff 0%, rgba(230, 10, 20, 0.05) 100%); }
.fj-enseigne--lidl:hover { border-color: rgba(230, 10, 20, 0.5); }

.fj-enseigne--carrefour { background: linear-gradient(180deg, #ffffff 0%, rgba(0, 78, 159, 0.06) 100%); }
.fj-enseigne--carrefour:hover { border-color: rgba(0, 78, 159, 0.5); }

.fj-enseigne--dhl { background: linear-gradient(180deg, #ffffff 0%, rgba(255, 204, 0, 0.10) 100%); }
.fj-enseigne--dhl:hover { border-color: rgba(212, 5, 17, 0.5); }

@media (max-width: 720px) {
  .fj-cluster { --cols: 1; }
}

/* ---------- Disclaimer footer ---------- */
.site-footer-disclaimer {
  max-width: 64ch;
  margin: 1rem auto 0.5rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #8a8f99;
  text-align: center;
}

/* ---------- Cards des métiers les mieux payés (home) ----------
   3 cards qui mettent le salaire en vedette pour capter le regard. */
.metier-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 0;
}
.metier-feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease-out, box-shadow 0.24s ease-out, border-color 0.24s ease-out;
}
.metier-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(27, 58, 107, 0.12);
  border-color: var(--color-primary);
}
.metier-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.metier-feature-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-darker);
  letter-spacing: -0.01em;
}
.metier-feature-salary {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.metier-feature-salary small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}
.metier-feature-detail {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.55;
}
.metier-feature-arrow {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}
.metier-feature-card:hover .metier-feature-arrow {
  color: var(--color-primary-darker);
}
@media (max-width: 720px) {
  .metier-feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Proof social dans le hero ---------- */
.hero-proof {
  margin: 1.5rem 0 2.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}
.hero-proof strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* ---------- Badges sous le nom des enseignes (cards mieux notées) ---------- */
.fj-enseigne-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 4px;
}
.fj-enseigne-badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  background: #EEF4FF;
  color: #1B3A6B;
}
.fj-enseigne-badge--cdi {
  background: #E5F4ED;
  color: #1F6B43;
}

/* ---------- FAQ accordéon (HTML/CSS-only, sans JS) ---------- */
.faq-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 0;
}
.faq-section h2 {
  text-align: center;
}
.faq-section .section-lead {
  text-align: center;
  max-width: 56ch;
  margin: 0.5rem auto 2rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(27, 58, 107, 0.08);
}
.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-darker);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform 0.22s ease;
  line-height: 1;
}
.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(0deg);
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------- CTA final adapté ---------- */
.cta-final-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 720px;
  margin: 1rem auto 0;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, var(--color-card-bg) 0%, #ffffff 80%);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  text-align: left;
}
.cta-final-card-icon {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-final-card-body { flex: 1; min-width: 0; }
.cta-final-card-title {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-darker);
}
.cta-final-card-detail {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.55;
}
@media (max-width: 560px) {
  .cta-final-card { flex-direction: column; text-align: center; align-items: stretch; }
  .cta-final-card-icon { margin: 0 auto; }
}

/* ===================================================================
   THEME BLACK — Landing Black (URL puente AdSense)
   Fondo negro total. Encabezados aplanados (parecen texto normal) para
   NO competir con el botón amarillo: toda la atención al CTA.
   Se activa con `theme: black` en el frontmatter (body.theme-black).
   =================================================================== */
body.theme-black {
  background: #000000;
  color: #e6e6e6;
}

/* Header negro */
.theme-black .site-header {
  background: #000000;
  border-bottom: 1px solid #1c1c1c;
}
.theme-black .site-nav a { color: #c9ccd1; }
.theme-black .site-nav a:hover { color: #ffffff; }

/* Hamburguesa móvil en claro + panel desplegado oscuro */
.theme-black .nav-toggle-icon,
.theme-black .nav-toggle-icon::before,
.theme-black .nav-toggle-icon::after { background: #e6e6e6; }
.theme-black .nav-toggle:checked + .nav-toggle-label .nav-toggle-icon { background: transparent; }
@media (max-width: 720px) {
  .theme-black .site-nav a { border-top: 1px solid #1c1c1c; }
}

/* H1: SÍ destaca. Es el único encabezado con jerarquía visual:
   más grande, blanco y con peso. Encabeza la página antes del botón. */
.theme-black .post h1 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.6rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
}
.theme-black .post h1 strong { font-weight: 800; }

/* H2 para abajo: aplanados, se leen como texto normal (color algo apagado).
   Siguen siendo <h2>/<h3> para SEO, pero visualmente NO destacan, así toda
   la atención se queda en el botón amarillo. */
.theme-black .post h2,
.theme-black .post h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #c2c5ca;
  margin: 1.6rem 0 0.5rem;
  line-height: 1.5;
  letter-spacing: 0;
}
.theme-black .post h2 strong,
.theme-black .post h3 strong { font-weight: 600; }
@media (max-width: 720px) {
  .theme-black .post h1 { font-size: 2rem; }
  .theme-black .post h2 { font-size: 1.05rem; }
}

/* Texto y listas legibles sobre negro */
.theme-black .post p,
.theme-black .post li { color: #e6e6e6; }
.theme-black .post strong { color: #ffffff; }

/* Footer negro coherente con la página */
.theme-black .site-footer {
  background: #000000;
  border-top: 1px solid #1c1c1c;
}
.theme-black .site-footer,
.theme-black .site-footer-tagline,
.theme-black .site-footer-legal,
.theme-black .site-footer-meta,
.theme-black .site-footer-disclaimer { color: #9aa0a6; }
.theme-black .site-footer-legal a { color: #c9ccd1; }
