/* ============================================================
   SEO pages : layout deux colonnes alternant texte/image
   Utilisé sur taxonomy-metier, taxonomy-ville_offre, cross-emploi
   ============================================================ */

.seo-section { padding: 3rem 0; }
.seo-section + .seo-section { border-top: 1px solid #e5e9ef; }

.seo-row {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 0 1.5rem;
}

.seo-row.reverse .seo-text { order: 2; }
.seo-row.reverse .seo-media { order: 1; }

.seo-text h2 {
  font-size: 1.75rem;
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a2438;
}
.seo-text h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 .75rem;
  color: var(--primary, #004A99);
}
.seo-text p { line-height: 1.75; margin: 0 0 1rem; color: #2a3445; font-size: 1.02rem; }
.seo-text ul { padding-left: 1.25rem; line-height: 1.75; margin: 0; }
.seo-text ul li { margin-bottom: .35rem; }

.seo-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f6f9 0%, #e8edf4 100%);
  aspect-ratio: 4/3;
  box-shadow: 0 8px 32px rgba(0,74,153,0.08);
}
.seo-media svg, .seo-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Encart salaire — bandeau pleine largeur fond bleu très clair */
.seo-salary-bar {
  background: linear-gradient(135deg, #eff5ff 0%, #f8fafe 100%);
  padding: 2.5rem 0;
  border-top: 3px solid var(--primary, #004A99);
  border-bottom: 1px solid #d8dde6;
}
.seo-salary-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
.seo-salary-inner .icon-circle {
  width: 80px; height: 80px;
  background: var(--primary, #004A99);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.seo-salary-inner h3 { margin: 0 0 .5rem; font-size: 1.3rem; }
.seo-salary-inner pre {
  background: transparent; padding: 0; margin: 0;
  font-family: inherit; font-size: 1rem; line-height: 1.7;
  white-space: pre-line; color: #2a3445;
}

/* Hero spécifique pages SEO ville/metier — visuel d'accroche */
.seo-hero-visual {
  background: linear-gradient(135deg, #1a2438 0%, #004A99 100%);
  color: #fff;
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.seo-hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 30px),
    radial-gradient(circle at 80% 50%, rgba(255,199,44,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.seo-hero-visual .wrap { position: relative; }

/* Stat boxes (compétences, salaire) */
.seo-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.seo-stat {
  background: #fff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}
.seo-stat .num { font-size: 1.75rem; font-weight: 800; color: var(--primary, #004A99); }
.seo-stat .lab { font-size: .85rem; color: #555; text-transform: uppercase; letter-spacing: .03em; }

/* Mobile : empile et désactive l'alternance */
@media (max-width: 860px) {
  .seo-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .seo-row.reverse .seo-text,
  .seo-row.reverse .seo-media { order: initial; }
  .seo-section { padding: 2rem 0; }
  .seo-text h2 { font-size: 1.5rem; }
  .seo-salary-inner { grid-template-columns: 1fr; text-align: center; }
}
