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

:root {
  --taupe:       #7f625c;
  --taupe-fonce: #5c3f3a;
  --taupe-clair: #a08078;
  --corail:      #ea5153;
  --corail-hover:#d03e40;
  --perle:       #e2e7e1;
  --perle-fonce: #cdd4cc;
  --eclat:       #f9ae00;
  --menthe:      #00a89b;
  --blanc:       #fdfcfa;
  --texte:       #2e1f1d;
  --texte-leger: #7a6460;
  --ligne:       #ddd8d4;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--blanc); color: var(--texte); font-size: 16px; line-height: 1.6; }

/* ─── PAGE SWITCHING ─── */
.page { display: none; }
.page.active { display: block; }

/* ─── BANDEAU ─── */
.top-bar {
  background: var(--taupe-fonce);
  color: rgba(255,255,255,0.55);
  font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 6px 44px;
  display: flex; justify-content: space-between; align-items: center;
  white-space: nowrap;
  min-height: 0;
}
.top-bar a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; }
.top-bar a:hover { color: #fff; }
.top-bar-right { display: flex; gap: 22px; }

/* ─── HEADER ─── */
header {
  background: var(--blanc);
  border-bottom: 1px solid var(--ligne);
  padding: 0 44px;
  display: flex; align-items: stretch; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(95,50,45,0.06);
  min-height: 64px;
}
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 12px 0; cursor: pointer; }
.logo-mark { width: 3px; height: 38px; background: var(--corail); border-radius: 2px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; padding-left: 12px; }
.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 600; color: var(--taupe-fonce); }
.logo-name .public { color: var(--corail); }
.logo-badge { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--corail); font-weight: 600; opacity: 0.75; }

nav { display: flex; align-items: stretch; }
nav a {
  display: flex; align-items: center; padding: 0 17px;
  font-size: 13.5px; font-weight: 500; color: var(--texte-leger);
  text-decoration: none; letter-spacing: 0.01em;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s; white-space: nowrap; cursor: pointer;
}
nav a:hover { color: var(--taupe-fonce); border-bottom-color: var(--perle-fonce); }
nav a.active { color: var(--taupe-fonce); font-weight: 600; border-bottom-color: var(--corail); }

/* ─── HERO ─── */
.hero { background: var(--taupe-fonce); color: #fff; padding: 68px 44px 56px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(234,81,83,0.18) 0%, transparent 70%), repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.02) 39px, rgba(255,255,255,0.02) 40px); }
.hero-inner { max-width: 840px; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-pill { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; padding: 5px 12px; border-radius: 20px; }
.hero-pill.menthe { background: rgba(0,168,155,0.2); border-color: rgba(0,168,155,0.4); color: #7eded8; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4.2vw, 50px); font-weight: 600; line-height: 1.18; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.55); font-weight: 500; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 520px; line-height: 1.75; margin-bottom: 34px; font-weight: 300; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--corail); color: #fff; padding: 11px 26px; border-radius: 4px; font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: 0.02em; transition: background .2s, transform .15s; cursor: pointer; display: inline-block; }
.btn-primary:hover { background: var(--corail-hover); transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(255,255,255,0.28); color: rgba(255,255,255,0.8); padding: 11px 26px; border-radius: 4px; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s; cursor: pointer; display: inline-block; }
.btn-outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.hero-chiffres { display: flex; gap: 40px; margin-top: 50px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.chiffre-val { display: block; font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 4px; }
.chiffre-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); font-weight: 500; }

/* ─── INNER HERO ─── */
.inner-hero { background: var(--taupe-fonce); padding: 40px 44px 36px; position: relative; overflow: hidden; }
.inner-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.02) 39px, rgba(255,255,255,0.02) 40px); }
.inner-hero-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.inner-hero-eyebrow { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--menthe); font-weight: 600; margin-bottom: 10px; }
.inner-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 3vw, 38px); font-weight: 600; color: #fff; line-height: 1.2; margin-bottom: 8px; }
.inner-hero p { font-size: 15px; color: rgba(255,255,255,0.6); font-weight: 300; max-width: 560px; }

/* ─── WRAP ─── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 44px; }

/* ─── SEC HEAD ─── */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 14px; margin-bottom: 28px; border-bottom: 2px solid var(--taupe-fonce); }
.sec-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--taupe-fonce); line-height: 1.2; }
.sec-title small { display: block; font-family: 'DM Sans', sans-serif; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--texte-leger); font-weight: 600; margin-bottom: 5px; }
.voir-tout { font-size: 12.5px; font-weight: 600; color: var(--corail); text-decoration: none; letter-spacing: 0.04em; display: flex; align-items: center; gap: 5px; transition: color .2s; cursor: pointer; }
.voir-tout:hover { color: var(--taupe-fonce); }
.voir-tout::after { content: '→'; font-size: 14px; }

/* ─── VEILLE GRID ─── */
.section-veille { padding: 56px 0 40px; }
.veille-grid { display: grid; grid-template-columns: 5fr 3fr 3fr; gap: 22px; }
.v-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: 6px; overflow: hidden; border: 1px solid var(--ligne); background: #fff; transition: box-shadow .2s, transform .2s; }
.v-card:hover { box-shadow: 0 8px 28px rgba(95,50,45,0.10); transform: translateY(-2px); }
.v-card-img { height: 150px; position: relative; overflow: hidden; flex-shrink: 0; }
.v-card.featured .v-card-img { height: 210px; }
.v-card-img-bg { width: 100%; height: 100%; background: linear-gradient(135deg, var(--taupe-fonce), var(--taupe)); display: flex; align-items: center; justify-content: center; font-size: 64px; opacity: 0.2; }
.v-card-img-bg.menthe-bg { background: linear-gradient(135deg, #005f58, var(--menthe)); }
.v-card-img-bg.eclat-bg { background: linear-gradient(135deg, #7a5500, var(--eclat)); }
.v-tag { position: absolute; top: 12px; left: 12px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 3px; color: #fff; }
.tag-regl { background: var(--taupe-fonce); }
.tag-concours { background: var(--menthe); }
.tag-financement { background: var(--eclat); color: #3a2e00; }
.tag-politique { background: var(--corail); }
.v-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.v-card-date { font-size: 11px; color: var(--texte-leger); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.v-card-title { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; color: var(--taupe-fonce); line-height: 1.4; margin-bottom: 10px; }
.v-card.featured .v-card-title { font-size: 19px; }
.v-card-excerpt { font-size: 13.5px; color: #7a6460; line-height: 1.6; flex: 1; }

/* ─── CONTENT WRAP ─── */
.content-wrap { display: grid; grid-template-columns: 1fr 330px; gap: 52px; padding: 12px 0 64px; }

/* ─── INITIATIVES (home) ─── */
.section-initiatives { padding: 16px 0 0; }
.init-list { display: flex; flex-direction: column; }
.init-item { display: grid; grid-template-columns: 3px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid #ede7e5; text-decoration: none; color: inherit; }
.init-item:first-child { padding-top: 4px; }
.init-item:hover .init-title { color: var(--corail); }
.init-bar { border-radius: 2px; min-height: 64px; }
.bar-menthe { background: var(--menthe); }
.bar-eclat { background: var(--eclat); }
.bar-corail { background: var(--corail); }
.init-territoire { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--texte-leger); font-weight: 700; margin-bottom: 5px; }
.init-title { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; color: var(--taupe-fonce); line-height: 1.4; margin-bottom: 6px; transition: color .2s; }
.init-desc { font-size: 13px; color: #8a7470; line-height: 1.6; }

/* ─── ARTICLE DE FOND ─── */
.article-fond { display: block; text-decoration: none; color: inherit; background: var(--perle); border-left: 4px solid var(--eclat); border-radius: 0 6px 6px 0; padding: 28px 28px 28px 24px; margin-top: 32px; transition: box-shadow .2s; }
.article-fond:hover { box-shadow: 0 4px 18px rgba(95,50,45,0.08); }
.article-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--eclat); margin-bottom: 10px; }
.article-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--taupe-fonce); line-height: 1.35; margin-bottom: 12px; }
.article-desc { font-size: 13.5px; color: #7a6460; line-height: 1.65; }
.article-lire { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--taupe-fonce); }
.article-lire::after { content: '→'; }

/* ─── SIDEBAR ─── */
.sidebar { position: sticky; top: 76px; align-self: start; }
.offres-encart { border: 1px solid var(--ligne); border-radius: 6px; overflow: hidden; }
.offres-encart-top { background: var(--taupe-fonce); padding: 15px 18px 12px; display: flex; justify-content: space-between; align-items: center; }
.offres-encart-titre { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; color: #fff; }
.offres-badge { background: var(--corail); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: 20px; }
.offre-preview { display: block; padding: 13px 16px; border-bottom: 1px solid #f0ebe9; text-decoration: none; color: inherit; transition: background .15s; }
.offre-preview:hover { background: #fdf9f8; }
.offre-poste { font-size: 13px; font-weight: 600; color: var(--taupe-fonce); line-height: 1.3; margin-bottom: 5px; }
.offre-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: #9a8480; }
.offre-collec { color: var(--taupe); font-weight: 600; }
.offre-dept::before { content: '·'; margin-right: 4px; }
.offre-new { background: #e8f7f6; color: var(--menthe); font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.06em; }
.offres-encart-footer { background: #fdf9f8; border-top: 1px solid var(--ligne); padding: 16px; text-align: center; }
.offres-encart-footer p { font-size: 12.5px; color: var(--texte-leger); margin-bottom: 10px; line-height: 1.5; }
.btn-crechemploi { display: inline-flex; align-items: center; gap: 8px; background: var(--corail); color: #fff; padding: 9px 18px; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s; }
.btn-crechemploi:hover { background: var(--corail-hover); }
.btn-crechemploi::after { content: '↗'; }

/* ─── EN DIRECT (home) ─── */
.section-bouge { background: var(--perle); padding: 60px 44px; }
.bouge-intro { max-width: 560px; margin-bottom: 36px; }
.bouge-intro p { font-size: 15px; color: var(--texte-leger); line-height: 1.7; margin-top: 10px; }
.bouge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collec-card { background: #fff; border-radius: 6px; padding: 24px; border: 1px solid var(--ligne); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.collec-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--corail); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.collec-card:hover { box-shadow: 0 6px 22px rgba(95,50,45,0.1); transform: translateY(-2px); }
.collec-card:hover::after { transform: scaleX(1); }
.collec-dept { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--texte-leger); font-weight: 600; }
.collec-nom { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--taupe-fonce); line-height: 1.3; }
.collec-desc { font-size: 13px; color: #8a7470; line-height: 1.55; }
.collec-stats { display: flex; gap: 18px; padding-top: 12px; border-top: 1px solid #f0ebe9; margin-top: auto; }
.c-stat-val { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; color: var(--corail); display: block; }
.c-stat-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #b0a09c; }
.collec-voir { font-size: 12.5px; font-weight: 600; color: var(--taupe); display: flex; align-items: center; gap: 5px; }
.collec-voir::after { content: '→'; }

/* ─── NEWSLETTER ─── */
.section-newsletter { background: var(--taupe-fonce); padding: 56px 44px; position: relative; overflow: hidden; }
.section-newsletter::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(234,81,83,0.15) 0%, transparent 60%); }
.nl-inner { max-width: 520px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.nl-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.45); font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.nl-eyebrow::before, .nl-eyebrow::after { content: ''; height: 1px; width: 30px; background: rgba(255,255,255,0.2); }
.nl-freq { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,168,155,0.2); border: 1px solid rgba(0,168,155,0.35); color: #7eded8; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 20px; margin-bottom: 22px; }
.nl-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 10px; }
.nl-desc { font-size: 14.5px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 26px; font-weight: 300; }
.nl-form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.nl-input { flex: 1; padding: 11px 15px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; font-size: 14px; font-family: 'DM Sans', sans-serif; outline: none; transition: border-color .2s, background .2s; }
.nl-input::placeholder { color: rgba(255,255,255,0.35); }
.nl-input:focus { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.45); }
.nl-btn { background: var(--corail); color: #fff; border: none; padding: 11px 20px; border-radius: 4px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; white-space: nowrap; transition: background .2s; }
.nl-btn:hover { background: var(--corail-hover); }
.nl-mention { margin-top: 10px; font-size: 10.5px; color: rgba(255,255,255,0.3); }

/* ─── FOOTER ─── */
footer { background: #2e1f1d; color: rgba(255,255,255,0.4); padding: 32px 44px; font-size: 12px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; }
footer a:hover { color: #fff; }
.footer-ref { color: rgba(255,255,255,0.7) !important; font-weight: 600; text-decoration: underline !important; cursor: pointer; }
.footer-ref:hover { color: #fff !important; }

/* ─── PAGE INITIATIVES ─── */
.initiatives-list { padding: 48px 0 64px; display: flex; flex-direction: column; }
.initiative-full { display: grid; grid-template-columns: 4px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid #ede7e5; text-decoration: none; color: inherit; }
.initiative-full:first-child { padding-top: 0; }
.initiative-full:hover .if-title { color: var(--corail); }
.initiative-full .init-bar { min-height: 80px; }
.if-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.if-date { font-size: 11px; color: var(--texte-leger); text-transform: uppercase; letter-spacing: 0.08em; }
.if-tag { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 9px; border-radius: 3px; color: #fff; }
.if-territoire { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--texte-leger); font-weight: 700; margin-bottom: 8px; }
.if-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--taupe-fonce); line-height: 1.35; margin-bottom: 10px; transition: color .2s; }
.if-excerpt { font-size: 14px; color: #7a6460; line-height: 1.65; margin-bottom: 12px; }
.lire-suite { font-size: 12.5px; font-weight: 600; color: var(--corail); display: inline-flex; align-items: center; gap: 5px; }
.lire-suite::after { content: '→'; }

/* ─── PAGE EN DIRECT ─── */
.endirect-wrap { padding: 48px 0 32px; }
/* ─── BARRE RECHERCHE EN DIRECT ─── */
.endirect-search-wrap {
  padding: 36px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.search-bar-wrap {
  position: relative;
  max-width: 480px;
}
.search-bar-wrap::before {
  content: '🔍';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.4;
  pointer-events: none;
}
.search-bar {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border: 1px solid var(--ligne);
  border-radius: 4px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--texte);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-bar:focus {
  border-color: var(--taupe);
  box-shadow: 0 0 0 3px rgba(127,98,92,0.08);
}
.search-bar::placeholder { color: #b0a09c; }
.type-filtres {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.type-btn {
  font-size: 11.5px;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid var(--ligne);
  background: #fff;
  cursor: pointer;
  color: var(--texte-leger);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  transition: all .15s;
}
.type-btn.on { background: var(--taupe-fonce); color: #fff; border-color: var(--taupe-fonce); }
.type-btn:hover:not(.on) { border-color: var(--taupe); color: var(--taupe); }
.no-results {
  display: none;
  padding: 40px;
  text-align: center;
  color: var(--texte-leger);
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: 6px;
}

/* ─── TERRITOIRE CARDS ─── */
.endirect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.territoire-card {
  background: #fff;
  border-radius: 6px;
  padding: 26px;
  border: 1px solid var(--ligne);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.territoire-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--corail);
  transform: scaleX(0);
  transition: transform .25s;
  transform-origin: left;
}
.territoire-card:hover { box-shadow: 0 6px 22px rgba(95,50,45,0.1); transform: translateY(-2px); }
.territoire-card:hover::after { transform: scaleX(1); }
.t-dept { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--texte-leger); font-weight: 700; }
.t-nom { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--taupe-fonce); line-height: 1.25; }
.t-type { font-size: 11px; color: var(--menthe); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.t-desc { font-size: 13px; color: #8a7470; line-height: 1.55; flex: 1; }
.t-stats { display: flex; gap: 20px; padding-top: 14px; border-top: 1px solid #f0ebe9; }
.t-stat-val { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--corail); display: block; line-height: 1; margin-bottom: 3px; }
.t-stat-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #b0a09c; }
.t-offres-lien {
  font-size: 12px;
  font-weight: 600;
  color: var(--corail);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  margin-top: 4px;
  transition: color .2s;
}
.t-offres-lien::after { content: '↗'; font-size: 11px; }
.t-offres-lien:hover { color: var(--corail-hover); }

/* Bloc actions Top Territoire (lien offres + lien employeur) */
.t-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed #f0ebe9;
}
.t-actions .t-offres-lien { margin-top: 0; }
.t-decouvrir-lien {
  font-size: 12px;
  font-weight: 600;
  color: var(--taupe-fonce);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color .2s;
}
.t-decouvrir-lien::after { content: '→'; font-size: 12px; }
.t-decouvrir-lien:hover { color: var(--corail); }

/* Encart référencement */
.ref-encart {
  background: var(--perle);
  border-radius: 6px;
  padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-bottom: 60px;
}
.ref-encart-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--taupe-fonce); margin-bottom: 8px; }
.ref-encart-content p { font-size: 14px; color: var(--texte-leger); line-height: 1.6; max-width: 480px; }
.btn-ref { background: var(--taupe-fonce); color: #fff; padding: 11px 24px; border-radius: 4px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s; cursor: pointer; display: inline-block; }
.btn-ref:hover { background: var(--corail); }

/* ─── PAGE OFFRES ─── */
.offres-page { padding: 48px 0 64px; }

.offres-orientation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}
/* Variante 2 colonnes : encart Crèchemploi compact + pub rectangulaire alignée */
.offres-orientation-grid.orientation-duo {
  grid-template-columns: 1fr 320px;
  gap: 20px;
  margin-bottom: 36px;
  align-items: stretch;
}
.offres-orientation-grid.orientation-duo .ad-banner-side {
  margin: 0;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
}
.orientation-card-large {
  padding: 0;
  overflow: hidden;
}
.orientation-card-large .orientation-card-large-inner {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  padding: 18px 24px;
  align-items: center;
}
.orientation-card-large .orientation-icone { font-size: 28px; }
.orientation-card-large .orientation-content { display: flex; flex-direction: column; gap: 4px; }
.orientation-card-large .orientation-titre { font-size: 16px; line-height: 1.3; }
.orientation-card-large .orientation-desc { font-size: 13px; line-height: 1.5; }
.orientation-card-large .orientation-postes { display: none; }
.orientation-card-large .orientation-card-large-cta {
  display: flex;
  justify-content: flex-end;
}
.orientation-card-large .orientation-cta { margin-top: 0; white-space: nowrap; }

.orientation-card {
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: 6px;
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit;
}
.orientation-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
}
.orientation-card.corail::before { background: var(--corail); }
.orientation-card.menthe::before { background: var(--menthe); }
.orientation-card.eclat::before { background: var(--eclat); }
.orientation-card:hover { box-shadow: 0 6px 22px rgba(95,50,45,0.1); transform: translateY(-2px); }
.orientation-icone { font-size: 28px; }
.orientation-titre { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--taupe-fonce); line-height: 1.3; }
.orientation-desc { font-size: 13.5px; color: #7a6460; line-height: 1.6; flex: 1; }
.orientation-postes { display: flex; flex-direction: column; gap: 6px; }
.orientation-poste-tag { font-size: 11.5px; font-weight: 500; color: var(--texte-leger); display: flex; align-items: center; gap: 6px; }
.orientation-poste-tag::before { content: '·'; color: var(--corail); font-size: 18px; line-height: 0; }
.orientation-cta { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 4px; text-decoration: none; transition: background .2s; margin-top: auto; }
.orientation-cta.corail-btn { background: var(--corail); color: #fff; }
.orientation-cta.corail-btn:hover { background: var(--corail-hover); }
.orientation-cta.menthe-btn { background: var(--menthe); color: #fff; }
.orientation-cta.menthe-btn:hover { background: #008f83; }
.orientation-cta.eclat-btn { background: var(--eclat); color: #3a2e00; }
.orientation-cta.eclat-btn:hover { background: #e09d00; }
.orientation-cta::after { content: '↗'; font-size: 12px; }

/* ─── BANNIÈRE PUB / PARTENAIRE ─── */
.ad-banner-top-wrap {
  background: #fff;
  border-bottom: 1px solid var(--ligne);
  padding: 18px 0;
}
.ad-banner-top-wrap .ad-banner {
  min-height: 90px;
}
.ad-banner-wrap {
  padding: 36px 0 8px;
}
.ad-banner-wrap.ad-mid {
  padding: 8px 0 36px;
}
.ad-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  background: var(--perle);
  border: 1px dashed var(--perle-fonce);
  border-radius: 6px;
  /* padding: 18px 24px; */
  text-align: center;
  overflow: hidden;
}
.ad-banner.compact { min-height: 90px; }
.ad-banner-label {
  position: absolute;
  top: 8px; left: 12px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--texte-leger);
  font-weight: 600;
  opacity: 0.6;
}
.ad-banner-inner {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--texte-leger);
  font-style: italic;
  font-weight: 500;
}
.ad-banner-inner small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b0a09c;
  margin-top: 4px;
  font-weight: 500;
}

/* ─── BURGER MENU ─── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--taupe-fonce);
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-inner > * { animation: fadeUp .65s ease both; }
.hero-inner > *:nth-child(1) { animation-delay: .05s; }
.hero-inner > *:nth-child(2) { animation-delay: .15s; }
.hero-inner > *:nth-child(3) { animation-delay: .25s; }
.hero-inner > *:nth-child(4) { animation-delay: .35s; }
.hero-inner > *:nth-child(5) { animation-delay: .45s; }


.offres-section-sep { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--taupe-fonce); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--taupe-fonce); }
.offres-section-sep small { display: block; font-family: 'DM Sans', sans-serif; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--texte-leger); font-weight: 600; margin-bottom: 5px; }

.offres-table { display: flex; flex-direction: column; border: 1px solid var(--ligne); border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.offre-row { display: grid; grid-template-columns: 1fr 180px 150px 110px; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #f0ebe9; text-decoration: none; color: inherit; transition: background .15s; }
.offre-row:last-child { border-bottom: none; }
.offre-row:hover { background: #fdf9f8; }
.offre-row-poste { font-size: 14px; font-weight: 600; color: var(--taupe-fonce); }
.offre-row-poste small { display: block; font-size: 12px; font-weight: 400; color: var(--texte-leger); margin-top: 2px; }
.offre-row-collec { font-size: 13px; font-weight: 600; color: var(--taupe); }
.offre-row-lieu { font-size: 12.5px; color: var(--texte-leger); }
.offre-row-new { background: #e8f7f6; color: var(--menthe); font-size: 9.5px; font-weight: 700; padding: 3px 9px; border-radius: 3px; text-transform: uppercase; justify-self: end; }
.offres-voir-tout { text-align: center; padding-bottom: 60px; }
.offres-voir-tout a { display: inline-flex; align-items: center; gap: 8px; background: var(--taupe-fonce); color: #fff; padding: 12px 28px; border-radius: 4px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s; }
.offres-voir-tout a:hover { background: var(--corail); }
.offres-voir-tout a::after { content: '↗'; }

/* ─── TERRITOIRE FEATURED ─── */
.territoire-card.featured {
  border-color: var(--eclat);
  background: linear-gradient(160deg, #fffef8 0%, #fff 60%);
}
.territoire-card.featured::after { background: var(--eclat); }
.t-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--eclat);
  margin-bottom: 2px;
}
.t-featured-badge::before { content: '★'; font-size: 9px; }

/* ─── RESSOURCES NAV HEADER ─── */
.res-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 52px;
  padding-top: 8px;
}
.res-nav-item {
  background: var(--perle);
  border-radius: 6px;
  padding: 22px 24px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, background .2s, transform .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.res-nav-item:hover { background: var(--perle-fonce); transform: translateY(-2px); border-color: var(--ligne); }
.res-nav-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--corail);
  line-height: 1;
  margin-bottom: 8px;
}
.res-nav-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--taupe-fonce);
  line-height: 1.3;
  margin-bottom: 6px;
}
.res-nav-desc {
  font-size: 12.5px;
  color: var(--texte-leger);
  line-height: 1.5;
}
.res-nav-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--corail);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.res-nav-cta::after { content: '↓'; }

/* ─── FORMATION LIST ─── */
.formation-list { display: flex; flex-direction: column; }
.formation-item {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #ede7e5;
}
.formation-item:last-child { border-bottom: none; }
.formation-bar { background: var(--menthe); border-radius: 2px; }
.formation-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--taupe-fonce);
  margin-bottom: 6px;
}
.formation-desc { font-size: 14px; color: #7a6460; line-height: 1.65; margin-bottom: 10px; }
.formation-lien {
  font-size: 13px;
  font-weight: 600;
  color: var(--corail);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.formation-lien:hover { color: var(--corail-hover); }
.formation-lien::after { content: '↗'; font-size: 12px; }
.res-section { margin-bottom: 52px; }
.res-titre { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--taupe-fonce); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--taupe-fonce); }
.res-titre small { display: block; font-family: 'DM Sans', sans-serif; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--texte-leger); font-weight: 600; margin-bottom: 5px; }

/* ─── ONGLETS MÉTIERS ─── */
.metiers-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ligne);
  margin-bottom: 28px;
}
.metier-tab-btn {
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--texte-leger);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.metier-tab-btn:hover { color: var(--taupe-fonce); }
.metier-tab-btn.active { color: var(--taupe-fonce); font-weight: 600; border-bottom-color: var(--corail); }
.metier-tab-content { display: none; }
.metier-tab-content.active { display: block; }
.tab-note {
  background: var(--perle);
  border-left: 3px solid var(--menthe);
  border-radius: 0 4px 4px 0;
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--texte-leger);
  line-height: 1.6;
  margin-top: 20px;
}
.tab-note a { color: var(--corail); font-weight: 600; text-decoration: none; cursor: pointer; }
.tab-note a:hover { color: var(--corail-hover); }
.metiers-list { display: flex; flex-direction: column; }
.metier-item { padding: 20px 0; border-bottom: 1px solid #ede7e5; }
.metier-item:last-child { border-bottom: none; }
.metier-item-nom { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--taupe-fonce); margin-bottom: 3px; line-height: 1.3; }
.metier-item-grade { font-size: 12px; color: var(--texte-leger); margin-bottom: 10px; }
.metier-item-desc { font-size: 14px; color: #7a6460; line-height: 1.65; margin-bottom: 12px; }
.metier-item-lien { font-size: 13px; font-weight: 600; color: var(--corail); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: color .2s; }
.metier-item-lien:hover { color: var(--corail-hover); }
.metier-item-lien.externe::after { content: '↗'; font-size: 12px; }
.metier-item-lien.interne::after { content: '→'; font-size: 12px; }
.parcours-list { display: flex; flex-direction: column; gap: 14px; }
.parcours-item { background: #fff; border: 1px solid var(--ligne); border-radius: 6px; padding: 22px 24px; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.parcours-num { width: 40px; height: 40px; background: var(--taupe-fonce); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; flex-shrink: 0; }
.parcours-titre { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--taupe-fonce); margin-bottom: 6px; }
.parcours-desc { font-size: 13.5px; color: #7a6460; line-height: 1.6; }
.parcours-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.p-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 3px; background: var(--perle); color: var(--texte-leger); }
.liens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lien-card { background: var(--perle); border-radius: 6px; padding: 18px; text-decoration: none; color: inherit; transition: background .2s; display: flex; flex-direction: column; gap: 8px; }
.lien-card:hover { background: var(--perle-fonce); }
.lien-org { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--texte-leger); font-weight: 700; }
.lien-titre { font-size: 13.5px; font-weight: 600; color: var(--taupe-fonce); line-height: 1.35; }
.lien-externe { font-size: 11.5px; color: var(--corail); font-weight: 600; margin-top: auto; display: flex; align-items: center; gap: 4px; }
.lien-externe::after { content: '↗'; }

/* ─── MODAL FORMULAIRE ─── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(46,31,29,0.6);
  z-index: 500;
  display: none; align-items: flex-start; justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--blanc);
  border-radius: 8px;
  width: 100%; max-width: 560px;
  padding: 40px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  animation: fadeUp .3s ease;
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--texte-leger); line-height: 1;
  transition: color .2s;
}
.modal-close:hover { color: var(--texte); }
.modal-eyebrow { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--menthe); font-weight: 600; margin-bottom: 10px; }
.modal h2 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--taupe-fonce); margin-bottom: 8px; line-height: 1.3; }
.modal-desc { font-size: 14px; color: var(--texte-leger); margin-bottom: 28px; line-height: 1.6; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--texte-leger); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--ligne); border-radius: 4px;
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: var(--texte); background: #fff;
  outline: none; transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--taupe); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; padding: 12px; border-radius: 4px;
  background: var(--corail); color: #fff; border: none;
  font-size: 14px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  cursor: pointer; letter-spacing: 0.03em; transition: background .2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--corail-hover); }
.form-note { font-size: 11.5px; color: var(--texte-leger); margin-top: 10px; text-align: center; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-inner > * { animation: fadeUp .65s ease both; }
.hero-inner > *:nth-child(1) { animation-delay: .05s; }
.hero-inner > *:nth-child(2) { animation-delay: .15s; }
.hero-inner > *:nth-child(3) { animation-delay: .25s; }
.hero-inner > *:nth-child(4) { animation-delay: .35s; }
.hero-inner > *:nth-child(5) { animation-delay: .45s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  header { padding: 0 24px; height: 64px; }
  .wrap { padding: 0 24px; }
  .burger { display: flex; }
  nav {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--blanc);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    transform: translateX(100%);
    transition: transform .3s ease-in-out;
    z-index: 99;
    border-top: 1px solid var(--ligne);
  }
  nav.open { transform: translateX(0); }
  nav a { padding: 15px; font-size: 16px; border-bottom: 1px solid var(--ligne); }
  nav a.active { border-bottom: 1px solid var(--corail); }
  
  .content-wrap { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; order: 2; }
  .veille-grid { grid-template-columns: 1fr 1fr; }
  .bouge-grid, .endirect-grid, .offres-orientation-grid { grid-template-columns: 1fr 1fr; }
  .res-nav { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .top-bar { display: none; }
  header { padding: 0 16px; height: 56px; }
  nav { top: 56px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 16px; }
  .hero h1 { font-size: 28px; }
  .hero-chiffres { gap: 20px; }
  
  .veille-grid { grid-template-columns: 1fr; }
  .bouge-grid, .endirect-grid, .offres-orientation-grid { grid-template-columns: 1fr; }
  .offres-orientation-grid.orientation-duo { grid-template-columns: 1fr; }
  
  .nl-form { flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .modal { padding: 24px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr !important; }
  .section-bouge, .section-newsletter { padding-left: 16px; padding-right: 16px; }
  .offres-table { border: none; }
  .offre-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 0; }
  .offre-row-new { justify-self: start; }
  .ref-encart { flex-direction: column; text-align: center; padding: 32px 24px; gap: 24px; }
  .ref-encart-content p { margin: 0 auto; }
  .orientation-card-large .orientation-card-large-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 12px; }
  .orientation-card-large .orientation-card-large-cta { justify-content: center; width: 100%; }
  .metiers-tabs { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; margin-right: -16px; margin-left: -16px; padding-left: 16px; scrollbar-width: none; }
  .metiers-tabs::-webkit-scrollbar { display: none; }
  .metier-tab-btn { padding: 10px 14px; font-size: 13px; }
}


/* --- TOPJOBS PPE (sidebar home) --- */
.offre-preview-top { background: linear-gradient(to right, rgba(234,81,83,0.04), transparent); border-left: 3px solid var(--corail); position: relative; }
.offre-preview-top:hover { background: linear-gradient(to right, rgba(234,81,83,0.08), #fdf9f8); }
.offre-badge-top { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--corail); margin-bottom: 5px; }

