/* ==========================================================================
   Union du Recrutement — Design System v3
   Direction : typo imposante, layout asymétrique, blanc pur, footer léger
   ========================================================================== */

/* --- Fonts --- */
@font-face {
  font-family: 'Lexend Giga';
  src: url('../fonts/LexendGiga-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lexend Giga';
  src: url('../fonts/LexendGiga-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Variables --- */
:root {
  --blue: #2D71D3;
  --blue-hover: #2563b8;
  --blue-dark: #102F54;
  --white: #FFFFFF;
  --text: #0D0D0D;
  --text-secondary: #4A5568;
  --border: #E2E8F0;
  --blue-tint: rgba(45, 113, 211, 0.07);

  --map-empty: #E2E8F0;
  --map-low: rgba(45, 113, 211, 0.2);
  --map-mid: rgba(45, 113, 211, 0.45);
  --map-high: rgba(45, 113, 211, 0.75);

  --font-display: 'Lexend Giga', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --section-py: 120px;
  --max-w: 1120px;
  --max-w-narrow: 800px;
  --ease: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-family: var(--font-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ==========================================================================
   TYPOGRAPHY — titres imposants, letter-spacing: 0, weight lourd
   ========================================================================== */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0;
  line-height: 1.1;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--blue-dark);
  letter-spacing: 0;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  margin-bottom: 0.65rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}
p:last-child { margin-bottom: 0; }

/* --- Élément signature : ligne bleue au-dessus des H2 --- */
.section h2::before,
.cta-section h2::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.text-center h2::before,
.cta-section h2::before {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.text-center { text-align: center; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--ease);
}

.header--scrolled {
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 42px;
  width: auto;
}

.header__logo-fallback {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue-dark);
  letter-spacing: 0;
  display: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--ease);
  position: relative;
  padding: 10px 0;
}

.header__link:hover,
.header__link--active {
  color: var(--blue-dark);
}

.header__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(45, 113, 211, 0.22);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--large {
  padding: 15px 34px;
  font-size: 0.95rem;
}

/* ==========================================================================
   HAMBURGER
   ========================================================================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: all var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO — asymétrique, H1 imposant à gauche, ligne déco à droite
   ========================================================================== */
.hero {
  padding: 160px 0 80px;
  background: var(--white);
  position: relative;
}

.hero .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.hero__inner {
  max-width: 60%;
  flex-shrink: 0;
}

.hero__accent {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 2rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero__deco {
  width: 4px;
  background: var(--blue);
  border-radius: 2px;
  align-self: stretch;
  opacity: 0.5;
  flex-shrink: 0;
  margin-right: 60px;
}

/* Hero page interne (plus compact, même asymétrie) */
.hero--page {
  padding: 150px 0 60px;
}

.hero--page .hero__sub {
  margin-bottom: 0;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
}

.card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--blue);
  letter-spacing: 0;
  margin-bottom: 14px;
}

.card p {
  font-size: 0.95rem;
}

/* ==========================================================================
   CONVICTIONS (ligne verticale bleue)
   ========================================================================== */
.conviction {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.conviction:last-child {
  border-bottom: none;
}

.conviction__bar {
  width: 3px;
  flex-shrink: 0;
  background: var(--blue);
  border-radius: 2px;
}

.conviction__body h3 {
  margin-bottom: 0.5rem;
}

.conviction__body p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   FEATURE LIST (rejoindre.html)
   ========================================================================== */
.feature-list {
  display: flex;
  flex-direction: column;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue);
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
  letter-spacing: 0;
}

.feature-item__body h3 {
  margin-bottom: 0.4rem;
}

.feature-item__body p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   AUDIENCE CARDS (2 colonnes)
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
}

.audience-card h3 {
  margin-bottom: 0.75rem;
}

.audience-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font-size: 0.93rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 113, 211, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-success {
  display: none;
  padding: 18px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  color: #166534;
  font-size: 0.93rem;
  margin-top: 16px;
}

.form-success.visible {
  display: block;
}

.form-error {
  display: none;
  padding: 18px 20px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #991b1b;
  font-size: 0.93rem;
  margin-top: 16px;
}

.form-error.visible {
  display: block;
}

/* ==========================================================================
   CONTACT LAYOUT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

/* No blue line above contact-info H2 */
.contact-info h2::before {
  display: none;
}

.contact-info__item {
  margin-bottom: 24px;
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-info__value {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-info__value a {
  color: var(--blue);
  transition: color var(--ease);
}

.contact-info__value a:hover {
  color: var(--blue-hover);
}

/* ==========================================================================
   PLACEHOLDER BLOCK
   ========================================================================== */
.placeholder-block {
  border-left: 3px solid var(--blue);
  padding: 28px 36px;
  border-radius: 0 8px 8px 0;
}

.placeholder-block p {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 0;
}

/* ==========================================================================
   BADGE
   ========================================================================== */
.badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   CIBLE GRID — layout asymétrique 60/40 (index.html)
   ========================================================================== */
.cible-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: center;
}

.cible-grid__content h2 {
  text-align: left;
}

.cible-grid__accent {
  background: var(--blue-tint);
  border-radius: 10px;
  padding: 40px 32px;
  text-align: center;
}

.cible-grid__stat {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.5rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

.cible-grid__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   CTA SECTION — visuellement distinct, fond tint léger
   ========================================================================== */
.cta-section {
  text-align: center;
  padding: var(--section-py) 0;
  background: rgba(45, 113, 211, 0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   TEASER PAGE
   ========================================================================== */
.teaser {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 0 var(--section-py);
  background: var(--white);
}

.teaser__content {
  max-width: 600px;
}

.teaser__content h1 {
  margin-bottom: 1.5rem;
}

.teaser__content p {
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal {
  padding: 150px 0 var(--section-py);
}

.legal h1 {
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* No blue line above legal H2 */
.legal h2::before {
  display: none;
}

.legal p, .legal li {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.legal ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1.2rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   FOOTER — minimaliste, fond blanc, bordure top bleu marine
   ========================================================================== */
.footer {
  background: var(--white);
  color: var(--text);
  border-top: 3px solid var(--blue-dark);
  padding: 40px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer__brand img {
  height: 36px;
  margin-bottom: 8px;
}

.footer__brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  padding-block: 6px;
  transition: color var(--ease);
}

.footer__col a:hover {
  color: var(--blue);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FADE-IN ANIMATION (scroll reveal)
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  :root { --section-py: 100px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__inner { max-width: 65%; }
}

@media (max-width: 768px) {
  :root { --section-py: 80px; }

  .header__inner { height: 60px; }

  .header__nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 1005;
  }

  .header__nav.open { display: flex; }
  .header__link { font-size: 1.05rem; }
  .hamburger { display: flex; }

  /* Hero : pleine largeur sur mobile */
  .hero { padding: 120px 0 80px; }
  .hero .container { flex-direction: column; }
  .hero__inner { max-width: 100%; }
  .hero__deco { display: none; }

  .hero--page { padding: 110px 0 48px; }

  h1 { font-size: clamp(2rem, 8vw, 2.6rem); }

  .cards-grid, .audience-grid, .cible-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 24px; }

  .teaser { padding: 120px 0 80px; min-height: auto; }
  .legal { padding: 110px 0 80px; }

  .card { padding: 28px 22px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .btn--large { padding: 13px 26px; font-size: 0.93rem; }
}

/* ==========================================================================
   Offres d'emploi — Carte + Filtres + Cards
   ========================================================================== */

/* --- Layout --- */
.offres__layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 48px;
  align-items: start;
}

/* --- Carte --- */
.offres__map-col {
  position: sticky;
  top: 96px;
}

.offres__map-wrapper {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offres__map-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
}

.offres__map-wrapper svg path[id^="dep_"] {
  fill: var(--map-empty);
  stroke: #fff;
  stroke-width: 0.5;
  cursor: pointer;
  transition: fill 0.2s ease, stroke-width 0.2s ease;
}

.offres__map-wrapper svg path[id^="dep_"]:hover {
  filter: brightness(0.88);
}

.offres__map-wrapper svg path.offres__dept--active {
  stroke: var(--blue);
  stroke-width: 2;
}

.offres__map-loading {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.offres__map-tap-info {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--blue-dark);
  min-height: 1.6em;
  margin-top: 8px;
}

.offres__map-tap-info:empty {
  display: none;
}

.offres__map-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.offres__legend-item {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  margin-left: 12px;
  vertical-align: middle;
}

.offres__legend-item:first-child {
  margin-left: 0;
}

.offres__legend-item--0 { background: var(--map-empty); }
.offres__legend-item--low { background: var(--map-low); }
.offres__legend-item--mid { background: var(--map-mid); }
.offres__legend-item--high { background: var(--map-high); }

.offres__reset {
  display: block;
  margin: 12px auto 0;
  font-size: 0.82rem;
  padding: 6px 16px;
}

/* --- Tooltip --- */
.offres-tooltip {
  position: fixed;
  pointer-events: none;
  z-index: 200;
  background: var(--blue-dark);
  color: #fff;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  opacity: 0;
  transition: opacity 0.12s ease;
  white-space: nowrap;
}

.offres-tooltip.visible {
  opacity: 1;
}

/* --- Filtres --- */
.offres__filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.offres__filter-row {
  display: flex;
  gap: 12px;
}

.offres__filter-group {
  flex: 1;
  min-width: 0;
}

.offres__search-input,
.offres__select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease);
}

.offres__search-input:focus,
.offres__select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 113, 211, 0.1);
}

.offres__search-input::placeholder {
  color: #A0AEC0;
}

.offres__active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.offres__active-filters:empty {
  display: none;
}

.offres__active-filters:not(:empty) {
  margin-top: 12px;
}

.offres__filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--ease);
}

.offres__filter-tag:hover {
  background: rgba(45, 113, 211, 0.15);
}

.offres__filter-tag-x {
  font-size: 0.7rem;
  line-height: 1;
}

/* --- Compteur --- */
.offres__count {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* --- Grille cards --- */
.offres__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Card offre --- */
.offres__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  transition: border-color var(--ease), box-shadow var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}

.offres__card:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 16px rgba(45, 113, 211, 0.08);
}

.offres__card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.offres__card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--blue-dark);
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
}

.offres__card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.offres__card-badge--cdi {
  background: rgba(45, 113, 211, 0.1);
  color: var(--blue);
}

.offres__card-badge--cdd {
  background: rgba(217, 119, 6, 0.1);
  color: #B45309;
}

.offres__card-badge--interim {
  background: rgba(5, 150, 105, 0.1);
  color: #047857;
}

.offres__card-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.offres__card-meta strong {
  color: var(--text);
  font-weight: 500;
}

.offres__card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.5;
}

.offres__card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.offres__card-salary {
  font-weight: 600;
  color: var(--blue-dark);
}

/* --- État vide --- */
.offres__empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-secondary);
}

.offres__empty p {
  margin-bottom: 20px;
}

/* --- SR only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Offres Responsive --- */
@media (max-width: 1024px) {
  .offres__layout {
    grid-template-columns: 0.4fr 0.6fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .offres__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .offres__map-col {
    position: static;
  }

  .offres__map-wrapper {
    max-height: 50vh;
    overflow: hidden;
  }

  .offres__filter-row {
    flex-direction: column;
  }

  .offres__card {
    padding: 20px;
  }

  .offres__card-header {
    flex-direction: column;
    gap: 8px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .offres__map-wrapper svg path {
    transition: none;
  }

  .offres-tooltip {
    transition: none;
  }

  .offres__card {
    transition: none;
  }
}
