/* ==========================================================================
   Emploi-Interim.fr — feuille de style unique pour tout le site
   ========================================================================== */

:root {
  --brand: #41bbbb;
  --brand-600: #34a8a8; /* survol */
  --brand-50: #eef9f9;
  --brand-100: #d4f0f0;
  --accent: #ff7a59;
  --accent-600: #f0603d;

  --ink: #14232e;
  --ink-2: #3f5263;
  --muted: #6b7b8b;
  --bg: #f4f7f9;
  --surface: #ffffff;
  --line: #e2e8ee;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .12);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-title: "Baloo 2", "Inter", system-ui, sans-serif;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
.ico { flex-shrink: 0; vertical-align: middle; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 66px; flex-wrap: wrap; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-title); font-size: 1.35rem; font-weight: 700; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand__logo { display: block; height: 48px; width: auto; max-width: 240px; object-fit: contain; }
@media (max-width: 760px) { .brand__logo { height: 40px; } }
.brand b { color: var(--brand-600); }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand);
  color: #fff; font-size: 1rem; letter-spacing: .02em;
}
.main-nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.main-nav a:not(.btn) { padding: .5rem .8rem; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.main-nav a:not(.btn):hover { background: var(--brand-50); color: var(--brand); text-decoration: none; }
.main-nav .btn { margin-left: .4rem; }

/* Bouton burger (mobile uniquement) */
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle__bar { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .site-header__inner { min-height: 60px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; flex-direction: column; align-items: stretch; gap: .15rem;
    width: 100%; margin: 0; padding: .4rem 0 1rem; border-top: 1px solid var(--line);
  }
  .is-open .main-nav { display: flex; }
  .main-nav a:not(.btn) { padding: .8rem .6rem; font-size: 1.05rem; }
  .main-nav .btn { margin: .6rem 0 0; padding: .85rem 1rem; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.3rem; border: 0; border-radius: 999px;
  background: var(--brand); color: #fff;
  font: 600 1rem/1.1 var(--font); cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--brand-600); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); }
.btn--accent:hover { background: var(--accent-600); }
.btn--ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand-100); }
.btn--ghost:hover { background: var(--brand-50); color: var(--brand); }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .65rem; border-radius: 999px;
  background: var(--brand-50); color: var(--brand);
  font-size: .78rem; font-weight: 600;
}

/* ---------- Hero + recherche ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(255, 255, 255, .20), transparent 70%),
    linear-gradient(135deg, #41bbbb 0%, #36abab 100%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.hero--compact { padding: 1.6rem 0; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: .25em; }
.hero__lead { margin: 0 0 1.6rem; font-size: clamp(1rem, 1.6vw, 1.15rem); opacity: .92; max-width: 640px; }

.search {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: .5rem;
  max-width: 880px; padding: .5rem;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
}
.hero--compact .search { box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.search__field { position: relative; display: flex; align-items: center; }
.search__field .ico { position: absolute; left: .95rem; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; padding: .9rem .9rem .9rem 2.7rem;
  border: 1px solid transparent; border-radius: 12px;
  background: var(--bg); color: var(--ink); font: inherit;
  transition: border-color .15s, background .15s;
}
.search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.search .btn { border-radius: 12px; padding-inline: 1.8rem; }
@media (max-width: 700px) { .search { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; align-items: center; }
.chips__label { font-size: .9rem; opacity: .85; margin-right: .2rem; }
.chip {
  padding: .35rem .85rem; border-radius: 999px; font-size: .88rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff;
}
.chip:hover { background: rgba(255, 255, 255, .26); text-decoration: none; }

.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2rem; }
.stats div { font-size: .92rem; opacity: .9; }
.stats strong { display: block; font-family: var(--font-title); font-size: 1.8rem; line-height: 1.1; opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: clamp(2rem, 4vw, 3rem) 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.section__head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 0; }
.section__head p { margin: .2rem 0 0; color: var(--muted); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem;
}

/* ---------- Catégories (accueil) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.cat-card h3 {
  display: flex; align-items: center; gap: .7rem; font-size: 1.2rem;
  padding-bottom: .75rem; margin-bottom: .75rem; border-bottom: 1px solid var(--line);
}
.cat-card h3 a { color: var(--ink); }
.cat-card__icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand-50); color: var(--brand);
}
.cat-card--city .cat-card__icon { background: #fff1ec; color: var(--accent-600); }
.link-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1rem; font-size: .93rem; }
.link-list li { break-inside: avoid; padding: .18rem 0; }
.link-list a { color: var(--ink-2); }
.link-list a:hover { color: var(--brand); }
.cat-card__all { display: inline-flex; align-items: center; gap: .3rem; margin-top: .8rem; font-weight: 600; font-size: .92rem; }

/* ---------- Agences ---------- */
.agency-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.agency {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .8rem;
  padding: 1.1rem; text-align: center; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.agency:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); text-decoration: none; }
.agency__logo { height: 64px; display: grid; place-items: center; }
.agency__logo img { max-height: 64px; width: auto; object-fit: contain; }
.agency__name { font-weight: 600; font-size: .93rem; line-height: 1.3; }

/* ---------- Résultats ---------- */
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0 1.2rem; }
.results-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.results-head h1 span { color: var(--brand-600); }
.results-head p { margin: .2rem 0 0; color: var(--muted); }

.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.job-card {
  position: relative; display: flex; flex-direction: column; gap: .45rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.2rem 1.25rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.job-card__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 1.4rem; }
.job-card__date { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--muted); margin-left: auto; }
.job-card__title { font-size: 1.15rem; margin: 0; text-transform: none; }
.job-card__title a { color: var(--ink); }
.job-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-card__title a:hover { text-decoration: none; }
.job-card:hover .job-card__title a { color: var(--brand); }
.job-card__meta { display: flex; align-items: center; gap: .35rem; margin: 0; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.job-card__excerpt {
  margin: 0; color: var(--muted); font-size: .9rem;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.job-card__foot {
  margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .86rem;
}
.job-card__company { font-weight: 600; color: var(--brand); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-card__more { display: inline-flex; align-items: center; gap: .25rem; color: var(--muted); white-space: nowrap; }
.job-card:hover .job-card__more { color: var(--brand); }

.empty { text-align: center; padding: 3rem 1rem; }
.empty h2 { font-size: 1.4rem; }

/* ---------- Alerte e-mail ---------- */
.alert-box {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  background: linear-gradient(135deg, #14232e, #1d3a46); color: #e9f2f5;
  border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.5rem;
}
.alert-box__text { display: flex; gap: .8rem; align-items: center; }
.alert-box__text strong { color: #fff; display: block; font-size: 1.05rem; }
.alert-box__text small { opacity: .8; }
.alert-box__text .ico { color: var(--brand); }
.alert-form { display: flex; gap: .5rem; flex: 1 1 340px; max-width: 480px; }
.alert-form input[type=email] {
  flex: 1; min-width: 0; padding: .75rem 1rem; border-radius: 999px; border: 0; font: inherit;
}
.alert-box__legal { flex-basis: 100%; font-size: .8rem; opacity: .75; margin: 0; }
.alert-box__legal a { color: #fff; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { flex-basis: 100%; padding: .7rem 1rem; border-radius: var(--radius-sm); font-size: .93rem; margin: 0; }
.notice--ok { background: #e6f7ee; color: #12623a; }
.notice--err { background: #fdeaea; color: #9d2222; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .35rem; margin: 2.2rem 0 1rem; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 .8rem; display: grid; place-items: center;
  border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); font-weight: 600;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination [aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .gap { background: none; border: 0; min-width: 20px; padding: 0; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.3rem 0; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: #b3bfca; }
.breadcrumb a { color: var(--ink-2); }

/* ---------- Page offre ---------- */
.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; padding-bottom: 3rem; }
@media (max-width: 960px) { .offer-layout { grid-template-columns: 1fr; } }

.offer { padding: clamp(1.3rem, 3vw, 2.2rem); }
.offer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.offer h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: .3rem 0 .2rem; }
.offer__company { font-weight: 600; color: var(--brand); }
.offer h2 { font-size: 1.3rem; margin: 2rem 0 .8rem; padding-bottom: .45rem; border-bottom: 2px solid var(--brand-100); }

.facts { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .7rem; }
.facts li { display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; background: var(--bg); border-radius: var(--radius-sm); }
.facts .ico { color: var(--brand); background: #fff; border-radius: 9px; padding: 7px; width: 34px; height: 34px; box-shadow: var(--shadow); }
.facts small { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.facts strong { font-weight: 600; font-size: .96rem; line-height: 1.3; }
.facts .is-contract strong { color: var(--brand); }

.prose { color: var(--ink-2); overflow-wrap: anywhere; }
.requirements {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem;
  margin-top: 1.6rem; padding: 1rem 1.1rem;
  background: var(--brand-50); border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.requirements div { display: flex; gap: .6rem; align-items: flex-start; }
.requirements .ico { color: var(--brand); margin-top: 3px; }
.requirements small { display: block; color: var(--muted); font-size: .8rem; }

.offer__cta { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.offer__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted);
}
.share { display: flex; gap: .4rem; align-items: center; }
.share a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line); transition: background .15s, border-color .15s;
}
.share a:hover { background: var(--brand-50); border-color: var(--brand-100); }
.share img { width: 18px; height: 18px; }

.apply-bar { display: none; }
@media (max-width: 960px) {
  .apply-bar {
    display: block; position: sticky; bottom: 0; z-index: 40;
    padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); backdrop-filter: blur(6px);
  }
}

.expired { text-align: center; padding: 3rem 1.5rem; }
.expired .ico { color: var(--muted); margin-bottom: .5rem; }

/* ---------- Colonne latérale ---------- */
.aside { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 86px; }
@media (max-width: 960px) { .aside { position: static; } }
.aside-logo { display: grid; place-items: center; min-height: 120px; text-align: center; }
.aside-logo img { max-height: 90px; width: auto; }
.aside-logo span { display: block; margin-top: .5rem; font-size: .88rem; font-weight: 600; }

.promo {
  display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--radius);
  background: var(--brand); color: #fff; line-height: 1.35;
  transition: box-shadow .15s, transform .15s;
}
.promo:hover { color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.promo .ico { background: rgba(255, 255, 255, .18); border-radius: 12px; padding: 9px; width: 44px; height: 44px; }
.promo strong { display: block; font-size: 1.02rem; }
.promo small { opacity: .9; }
.promo--light { background: #fff4ef; color: var(--ink); border: 1px solid #ffdccf; }
.promo--light:hover { color: var(--ink); }
.promo--light .ico { background: #ffe3d8; color: var(--accent-600); }

.similar h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.similar ul { list-style: none; margin: 0; padding: 0; }
.similar li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.similar li:last-child { border-bottom: 0; padding-bottom: 0; }
.similar a { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; }
.similar a:hover { color: var(--brand); }
.similar small { color: var(--muted); }
.similar small span { color: var(--brand); }

/* ---------- En-tête de page de contenu ---------- */
.page-head { margin-bottom: 1.5rem; max-width: 860px; }
.page-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.page-head p { color: var(--ink-2); }
.chips--light .chip { background: var(--surface); border-color: var(--line); color: var(--ink-2); }
.chips--light .chip:hover { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand); }

/* ---------- Top 100 métiers ---------- */
.rank-list {
  list-style: none; margin: 0 0 2rem; padding: .6rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .2rem 1rem;
}
.rank-list a {
  display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem; border-radius: var(--radius-sm); color: var(--ink);
}
.rank-list a:hover { background: var(--brand-50); text-decoration: none; }
.rank {
  flex-shrink: 0; display: grid; place-items: center; min-width: 36px; height: 28px; padding: 0 .4rem;
  border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem;
}
.rank-list li:nth-child(-n+3) .rank { background: var(--accent); }
.rank-list__name { flex: 1; font-weight: 600; text-transform: uppercase; font-size: .9rem; letter-spacing: .02em; }
.rank-list__count { color: var(--muted); font-size: .82rem; white-space: nowrap; }

/* ---------- Régions (page villes) ---------- */
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.region-card { scroll-margin-top: 90px; }
.region-card__head {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center;
  padding-bottom: .8rem; margin-bottom: .8rem; border-bottom: 1px solid var(--line); color: var(--ink);
}
.region-card__head:hover { text-decoration: none; color: var(--brand); }
.region-card__head img { height: 70px; width: auto; max-width: 90%; object-fit: contain; }
.region-card__head h2 { font-size: 1.15rem; margin: 0; color: inherit; }

/* ---------- Page agence ---------- */
.agency-head { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.agency-head__logo {
  flex: 0 0 auto; display: grid; place-items: center; width: 180px; height: 110px;
  padding: .6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.agency-head__logo img { max-height: 90px; width: auto; object-fit: contain; }
.agency-head__body { flex: 1 1 300px; }
.agency-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 .3rem; }
.agency-head__dep { display: flex; align-items: center; gap: .35rem; color: var(--ink-2); margin: 0 0 .6rem; }
.agency-head__tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .8rem; }
.dep-form { display: flex; gap: .5rem; }
.dep-form select {
  min-width: 240px; padding: .65rem 2.2rem .65rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; cursor: pointer;
}
.dep-form select:focus { outline: none; border-color: var(--brand); }
@media (max-width: 560px) { .agency-head__logo { width: 100%; } .dep-form, .dep-form select { width: 100%; min-width: 0; } }

/* ---------- Pages de texte (mentions légales, RGPD) ---------- */
.legal { max-width: 860px; margin: 0 auto 3rem; padding: clamp(1.3rem, 3vw, 2.4rem); color: var(--ink-2); }
.legal h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--ink); }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .8rem; padding-bottom: .45rem; border-bottom: 2px solid var(--brand-100); }
.legal h3 { font-size: 1.08rem; margin: 1.4rem 0 .5rem; }
.legal ul { margin: 0 0 1em; padding-left: 1.3rem; }
.legal li { margin-bottom: .4rem; }
.legal li::marker { color: var(--brand); }
.legal address { font-style: normal; margin: 0 0 1em; padding: .9rem 1.1rem; background: var(--bg); border-radius: var(--radius-sm); }
.legal__date { font-size: .88rem; color: var(--muted); font-style: italic; }

/* ---------- Publicité ---------- */
.ad-slot { margin-block: 1.5rem; text-align: center; }

/* ---------- Pied de page ---------- */
.site-footer { background: #0e2830; color: #b9cad1; padding: 3rem 0 1.5rem; margin-top: 2rem; font-size: .94rem; }
.site-footer a { color: #e3f1f1; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.brand--light { color: #fff; margin-bottom: .8rem; }
.brand--light b { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid p { max-width: 380px; }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: #8aa1aa; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
