/* =========================================================================
   Guide des chefs d'entreprise — leguidedesce.fr
   Ambiance : rédaction d'affaires, structuré et confiant.
   Typo : Schibsted Grotesk (titres) + Hanken Grotesk (texte).
   Palette : encre marine + bleu éditorial + accent émeraude.
   ========================================================================= */

:root {
  --encre:        #16243D;
  --encre-2:      #1E3354;
  --bleu:         #2B5FD9;
  --bleu-fonce:   #1E47A8;
  --bleu-pale:    #EAF0FC;
  --emeraude:     #0F9D77;
  --emeraude-clr: #7FE3C4;

  --texte:        #1E2733;
  --texte-doux:   #586577;
  --papier:       #F4F6FA;
  --blanc:        #FFFFFF;
  --bord:         rgba(22,36,61,.12);
  --bord-fort:    rgba(22,36,61,.22);
  --ombre:        0 6px 22px rgba(22,36,61,.08);
  --ombre-forte:  0 14px 40px rgba(22,36,61,.16);

  --r-petit: 7px;
  --r:       11px;
  --r-grand: 18px;
  --large:   1280px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--texte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Schibsted Grotesk', system-ui, sans-serif; color: var(--encre); line-height: 1.18; margin: 0 0 .5em; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu-fonce); }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.btn-pilote {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--bleu); color: #fff; font-weight: 700;
  font-family: 'Schibsted Grotesk', sans-serif;
  padding: 11px 20px; border-radius: var(--r-petit);
  text-decoration: none; border: 0; cursor: pointer; font-size: .95rem;
  transition: background .15s, transform .15s;
}
.btn-pilote:hover { background: var(--bleu-fonce); transform: translateY(-1px); }
.btn-pilote--grand { padding: 15px 30px; font-size: 1.05rem; }
.btn-contour {
  display: inline-flex; align-items: center; gap: .5em;
  background: transparent; color: var(--encre); font-weight: 700;
  font-family: 'Schibsted Grotesk', sans-serif;
  padding: 13px 26px; border-radius: var(--r-petit);
  text-decoration: none; border: 2px solid var(--bord-fort); cursor: pointer; font-size: 1.02rem;
  transition: border-color .15s, color .15s;
}
.btn-contour:hover { border-color: var(--bleu); color: var(--bleu); }
.btn-contour--clair { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-contour--clair:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------- En-tête (fond marine, comme le pied) ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: #111C30; border-bottom: 1px solid rgba(255,255,255,.08); transition: box-shadow .2s; }
.entete--colle { box-shadow: 0 4px 22px rgba(0,0,0,.28); }
.entete-int { max-width: var(--large); margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; gap: 18px; }
.logo-guide { flex-shrink: 0; display: inline-flex; }
.logo-guide img { height: 30px; width: auto; display: block; }
.nav-pilotage { display: flex; align-items: center; gap: 3px; margin-left: auto; flex-wrap: nowrap; }
.nav-pilotage a { position: relative; color: #C7D0DE; text-decoration: none; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: .9rem; letter-spacing: .01em; padding: 9px 12px; border-radius: var(--r-petit); white-space: nowrap; transition: color .15s; }
.nav-pilotage a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: #fff; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.nav-pilotage a:hover { color: #fff; }
.nav-pilotage a:hover::after { transform: scaleX(1); }
.entete-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-entete { display: inline-flex; align-items: center; gap: .5em; background: var(--bleu); color: #fff; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: .92rem; padding: 10px 18px; border-radius: var(--r-petit); text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.btn-entete:hover { background: var(--bleu-fonce); transform: translateY(-1px); }
.declic { display: none; flex-direction: column; gap: 5px; width: 42px; height: 40px; border: 1px solid rgba(255,255,255,.2); background: transparent; border-radius: var(--r-petit); cursor: pointer; align-items: center; justify-content: center; }
.declic span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- Largeur commune des sections ---------- */
.tribune-int, .bandeau-atouts-int, .une-int, .acces-rubriques-int,
.derniers-int, .deux-colonnes-int, .appel-sombre-int, .zone-liste,
.entete-rubrique-int, .entete-page-int, .fil-int, .page-dossier,
.page-editoriale { max-width: var(--large); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* évite le débordement des colonnes de grille contenant une image */
.tribune-int > *, .une-grille > *, .dossier-mise-en-page > *,
.deux-colonnes-int > *, .appel-sombre-int > * { min-width: 0; }

/* ---------- Tribune (accroche d'accueil) ---------- */
.tribune { position: relative; overflow: hidden; background: linear-gradient(120deg, #EEF3FD 0%, #F4F6FA 42%, #E7EEFB 100%); border-bottom: 1px solid var(--bord); }
/* photo à droite, fondue dans le fond clair */
.tribune-visuel { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; background-image: var(--fond); background-size: cover; background-position: center; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%, #000 100%); mask-image: linear-gradient(to right, transparent 0%, #000 38%, #000 100%); }
/* coin bleu en bas à droite */
.tribune-corner { position: absolute; right: 0; bottom: -2px; width: 0; height: 0; border-style: solid; border-width: 0 0 110px 150px; border-color: transparent transparent var(--bleu) transparent; z-index: 1; }
.tribune-int { position: relative; z-index: 2; display: flex; align-items: center; min-height: 460px; padding-top: 56px; padding-bottom: 70px; }
.tribune-texte { max-width: 600px; }
.tribune-surtitre { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bleu-fonce); background: #fff; border: 1px solid var(--bord); padding: 6px 14px; border-radius: 100px; box-shadow: var(--ombre); }
.tribune-titre { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin: 20px 0 16px; }
.tribune-chapo { font-size: 1.15rem; color: var(--texte-doux); margin: 0 0 30px; max-width: 31em; }
.tribune-actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* cartes d'atouts (style maquette), légèrement remontées sur le hero */
.bandeau-atouts { background: transparent; margin-top: -34px; position: relative; z-index: 3; }
.bandeau-atouts-int { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 40px; }
.atout { background: #fff; border: 1px solid var(--bord); border-radius: var(--r); padding: 18px 18px; box-shadow: var(--ombre); display: flex; gap: 13px; align-items: flex-start; }

.atout-ico { flex-shrink: 0; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-petit); background: var(--bleu-pale); color: var(--bleu); font-size: 1.1rem; }
.atout h2 { font-size: 1.02rem; margin: 0 0 3px; }
.atout p { margin: 0; font-size: .9rem; color: var(--texte-doux); line-height: 1.5; }

/* ---------- Bandeaux de titre de section ---------- */
.rang-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 2px solid var(--encre); }
.rang-titre h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; }
.rang-titre--mince { border-bottom-width: 1px; border-color: var(--bord); }
.rang-titre--mince h2 { font-size: 1.3rem; padding-left: 13px; border-left: 4px solid var(--ton, var(--bleu)); }
.lien-fleche { color: var(--bleu-fonce); text-decoration: none; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.lien-fleche:hover { text-decoration: underline; }

/* ---------- À la une ---------- */
.une { padding: 56px 0; }
.une-grille { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; }
.une-vedette-visuel { display: block; border-radius: var(--r); overflow: hidden; }
.une-vedette-visuel img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s; }
.une-vedette-visuel:hover img { transform: scale(1.03); }
.une-vedette-corps { padding-top: 18px; }
.une-vedette-corps h3 { font-size: 1.62rem; font-weight: 800; margin: 12px 0 10px; line-height: 1.22; }
.une-vedette-corps h3 a { color: var(--encre); text-decoration: none; }
.une-vedette-corps h3 a:hover { color: var(--bleu); }
.une-vedette-corps p { color: var(--texte-doux); margin: 0 0 12px; }
.une-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.une-ligne { display: flex; gap: 15px; padding: 15px 0; border-top: 1px solid var(--bord); }
.une-ligne:first-child { border-top: 0; padding-top: 0; }
.une-ligne-visuel { flex-shrink: 0; width: 104px; border-radius: var(--r-petit); overflow: hidden; }
.une-ligne-visuel img { width: 104px; height: 74px; object-fit: cover; }
.une-ligne-rub { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ton, var(--bleu)); margin-bottom: 3px; }
.une-ligne-corps h4 { font-size: 1rem; line-height: 1.32; margin: 0; }
.une-ligne-corps h4 a { color: var(--encre); text-decoration: none; }
.une-ligne-corps h4 a:hover { color: var(--bleu); }

/* ---------- Étiquette de rubrique (badge) ---------- */
.etiquette-rubrique { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; color: #fff; background: var(--ton, var(--bleu)); padding: 4px 11px; border-radius: 100px; text-decoration: none; }
.etiquette-rubrique:hover { filter: brightness(.92); }

/* ---------- Accès rubriques (tuiles) ---------- */
.acces-rubriques { background: var(--blanc); padding: 56px 0; border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.grille-tuiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.tuile-rubrique { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 10px; background: #fff; border: 1px solid var(--bord); border-radius: var(--r); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tuile-rubrique:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: var(--ton, var(--bleu)); }
.tuile-rubrique-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: #EEF3FA; color: var(--ton, var(--bleu)); }
.tuile-rubrique-nom { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: .95rem; color: var(--encre); line-height: 1.25; }

/* ---------- Cartes dossier ---------- */
.grille-dossiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dossier { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--r); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.dossier:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.dossier-visuel { display: block; overflow: hidden; }
.dossier-visuel img { width: 100%; height: 200px; object-fit: cover; transition: transform .4s; }
.dossier:hover .dossier-visuel img { transform: scale(1.05); }
.dossier-corps { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.dossier-titre { font-size: 1.16rem; line-height: 1.3; margin: 0; }
.dossier-titre a { color: var(--encre); text-decoration: none; }
.dossier-titre a:hover { color: var(--bleu); }
.dossier-extrait { margin: 0; font-size: .92rem; color: var(--texte-doux); line-height: 1.55; }
.dossier-meta { margin-top: auto; font-size: .82rem; color: var(--texte-doux); display: flex; align-items: center; gap: 9px; }
.point-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--bord-fort); display: inline-block; }

.derniers { padding: 56px 0; }

/* ---------- Deux colonnes (pleins feux) ---------- */
.deux-colonnes { background: var(--blanc); padding: 56px 0; border-top: 1px solid var(--bord); }
.deux-colonnes-int { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.liste-renvois { list-style: none; margin: 0; padding: 0; }
.liste-renvois li { border-top: 1px solid var(--bord); }
.liste-renvois li:first-child { border-top: 0; }
.liste-renvois a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; text-decoration: none; }
.liste-renvois-titre { color: var(--encre); font-weight: 600; line-height: 1.4; }
.liste-renvois a:hover .liste-renvois-titre { color: var(--bleu); }
.liste-renvois time { flex-shrink: 0; font-size: .8rem; color: var(--texte-doux); }

/* ---------- Appel sombre ---------- */
.appel-sombre { background: linear-gradient(135deg, var(--encre) 0%, var(--encre-2) 100%); color: #fff; }
.appel-sombre-int { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 52px; padding-bottom: 52px; }
.appel-sombre-texte h2 { color: #fff; font-size: 1.9rem; font-weight: 800; margin: 0 0 8px; }
.appel-sombre-texte p { margin: 0; color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 38em; }
.appel-sombre-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Fil d'Ariane ---------- */
.fil-int { padding-top: 18px; padding-bottom: 4px; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: .86rem; color: var(--texte-doux); }
.fil li:not(:first-child)::before { content: "›"; margin-right: 8px; color: var(--bord-fort); }
.fil a { color: var(--texte-doux); text-decoration: none; }
.fil a:hover { color: var(--bleu); }
.fil-actuel span { color: var(--encre); font-weight: 600; }

/* ---------- En-têtes de rubrique / page ---------- */
.entete-rubrique { background: var(--blanc); border-bottom: 1px solid var(--bord); margin-bottom: 36px; }
.entete-rubrique-int { padding-top: 40px; padding-bottom: 34px; border-left: 6px solid var(--ton, var(--bleu)); padding-left: 24px; margin-left: max(24px, calc((100vw - var(--large)) / 2)); margin-right: max(24px, calc((100vw - var(--large)) / 2)); }
.entete-rubrique-tag { display: inline-block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ton, var(--bleu)); }
.entete-rubrique h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; margin: 6px 0 6px; }
.entete-rubrique-sous { margin: 0; color: var(--texte-doux); }
.entete-page { background: var(--blanc); border-bottom: 1px solid var(--bord); margin-bottom: 36px; }
.entete-page-int { padding-top: 44px; padding-bottom: 36px; }
.entete-page h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
.entete-page p { margin: 8px 0 0; color: var(--texte-doux); font-size: 1.08rem; }
.zone-liste { padding-bottom: 64px; }
.message-vide { color: var(--texte-doux); padding: 30px 0; }

/* ---------- Pavés rubriques (page rubriques) ---------- */
.grille-paves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pave-rubrique { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 24px 22px; background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--r); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.pave-rubrique:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.pave-rubrique-pastille { width: 36px; height: 36px; border-radius: var(--r-petit); background: var(--ton, var(--bleu)); margin-bottom: 8px; }
.pave-rubrique h2 { font-size: 1.3rem; margin: 0; }
.pave-rubrique-accroche { color: var(--texte-doux); font-size: .92rem; }
.pave-rubrique-nb { font-weight: 700; color: var(--ton, var(--bleu)); font-size: .86rem; }
.pave-rubrique-dernier { font-size: .82rem; color: var(--texte-doux); margin-top: 4px; }

/* ---------- Page dossier (article) ---------- */
.page-dossier { padding-top: 14px; padding-bottom: 56px; }
.dossier-entete { max-width: none; margin: 10px 0 20px; }
.dossier-entete h1 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 12px; }
.dossier-meta--entete { font-size: .92rem; }
.dossier-grand-visuel { margin: 0 0 34px; border-radius: var(--r-grand); overflow: hidden; box-shadow: var(--ombre); }
.dossier-grand-visuel img { width: 100%; max-height: 460px; object-fit: cover; }
.dossier-mise-en-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.dossier-texte { font-size: 1.075rem; line-height: 1.85; }
.dossier-texte h2 { font-size: 1.62rem; font-weight: 800; margin: 1.7em 0 .5em; }
.dossier-texte h3 { font-size: 1.3rem; font-weight: 700; margin: 1.4em 0 .4em; }
.dossier-texte p { margin: 0 0 1.2em; }
.dossier-texte ul, .dossier-texte ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.dossier-texte li { margin-bottom: .5em; }
.dossier-texte a { color: var(--bleu-fonce); text-decoration: underline; text-decoration-color: rgba(43,95,217,.35); text-underline-offset: 2px; }
.dossier-texte a:hover { text-decoration-color: var(--bleu); }
.dossier-texte img { border-radius: var(--r); margin: 1.4em 0; }
.dossier-texte figure { margin: 1.5em 0; }
.dossier-texte figure img { margin: 0; }
.dossier-texte blockquote { margin: 1.5em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--bleu); color: var(--encre); font-size: 1.15rem; font-style: italic; }
.dossier-texte h2:first-child, .dossier-texte h3:first-child, .dossier-texte p:first-child { margin-top: 0; }
.cadre-video { position: relative; padding-bottom: 56.25%; height: 0; margin: 1.5em 0; border-radius: var(--r); overflow: hidden; }
.cadre-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tableau-defile { overflow-x: auto; margin: 1.5em 0; }
.dossier-texte table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.dossier-texte th, .dossier-texte td { border: 1px solid var(--bord); padding: 10px 13px; text-align: left; }
.dossier-texte th { background: var(--bleu-pale); font-family: 'Schibsted Grotesk', sans-serif; }

/* aside */
.colonne-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 26px; }
.bloc-aside { background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--r); padding: 20px; }
.bloc-aside-titre { font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--encre); }
.bloc-aside-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.bloc-aside-liste a { display: flex; gap: 11px; align-items: center; text-decoration: none; }
.bloc-aside-liste img { width: 68px; height: 50px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.bloc-aside-liste span { font-size: .9rem; font-weight: 600; color: var(--encre); line-height: 1.32; }
.bloc-aside-liste a:hover span { color: var(--bleu); }
.bloc-aside-rubriques { list-style: none; margin: 0; padding: 0; }
.bloc-aside-rubriques li { border-top: 1px solid var(--bord); }
.bloc-aside-rubriques li:first-child { border-top: 0; }
.bloc-aside-rubriques a { display: flex; align-items: center; gap: 9px; padding: 9px 0; text-decoration: none; color: var(--encre); font-weight: 600; font-size: .92rem; }
.bloc-aside-rubriques a:hover { color: var(--bleu); }
.bloc-aside-rubriques .puce { width: 9px; height: 9px; border-radius: 50%; background: var(--ton, var(--bleu)); flex-shrink: 0; }
.bloc-aside-rubriques em { margin-left: auto; font-style: normal; color: var(--texte-doux); font-size: .82rem; }

/* ---------- Page éditoriale (légales, contact) ---------- */
.page-editoriale { padding-top: 14px; padding-bottom: 64px; max-width: 800px; }
.page-editoriale-entete h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.page-editoriale-entete p { color: var(--texte-doux); font-size: 1.08rem; }
.page-editoriale-corps { font-size: 1.05rem; line-height: 1.8; }
.page-editoriale-corps h2 { font-size: 1.45rem; margin: 1.5em 0 .4em; }
.page-editoriale-corps p { margin: 0 0 1.1em; }
.page-editoriale-corps a { color: var(--bleu-fonce); }

/* ---------- Formulaire contact ---------- */
.formulaire-contact { display: flex; flex-direction: column; gap: 16px; max-width: 540px; }
.formulaire-contact label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--encre); }
.formulaire-contact input, .formulaire-contact textarea { padding: 12px 14px; border: 1px solid var(--bord-fort); border-radius: var(--r-petit); font-size: 1rem; font-family: inherit; }
.formulaire-contact input:focus, .formulaire-contact textarea:focus { border-color: var(--bleu); outline: none; }
.champ-piege { position: absolute; left: -9999px; }
.message-ok { background: #E7F7F0; border: 1px solid #9DD9C2; color: #0B6B4F; padding: 16px 18px; border-radius: var(--r-petit); }
.message-erreur { background: #FCEBEB; border: 1px solid #E7B4B4; color: #A12626; padding: 14px 16px; border-radius: var(--r-petit); }
.recherche-bloc { display: flex; gap: 10px; margin: 12px 0; max-width: 600px; }
.recherche-bloc input { flex: 1; padding: 13px 16px; border: 1px solid var(--bord-fort); border-radius: var(--r-petit); font-size: 1rem; font-family: inherit; }
.recherche-compte { color: var(--texte-doux); }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 44px; }
.page-lien { display: inline-flex; align-items: center; padding: 9px 15px; border: 1px solid var(--bord); border-radius: var(--r-petit); text-decoration: none; color: var(--encre); font-weight: 600; background: var(--blanc); }
.page-lien:hover { border-color: var(--bleu); color: var(--bleu); }
.page-actuelle { background: var(--bleu); color: #fff; border-color: var(--bleu); }
.page-actuelle:hover { color: #fff; }
.page-ellipse { padding: 9px 4px; color: var(--texte-doux); }

/* ---------- Composants éditoriaux (corps d'article) ---------- */
.encadre { position: relative; margin: 1.9em 0; padding: 18px 22px; border-radius: var(--r); border: 1px solid var(--bord); border-left: 5px solid var(--bleu); background: var(--bleu-pale); }
.encadre p:last-child { margin-bottom: 0; }
.encadre-titre { display: inline-flex; align-items: center; gap: 9px; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 9px; color: var(--bleu-fonce); }
.encadre-titre::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: currentColor; flex-shrink: 0; }
.encadre-retenir { border-left-color: var(--emeraude); background: #E7F7F0; }
.encadre-retenir .encadre-titre { color: #0B6B4F; }
.encadre-savoir { border-left-color: var(--bleu); background: var(--bleu-pale); }
.encadre-savoir .encadre-titre { color: var(--bleu-fonce); }
.encadre-attention { border-left-color: #C9821E; background: #FBF1DF; }
.encadre-attention .encadre-titre { color: #9A6B00; }

.etapes { list-style: none; counter-reset: et; padding-left: 0; margin: 1.6em 0; }
.etapes > li { counter-increment: et; position: relative; padding-left: 52px; margin-bottom: 1.1em; }
.etapes > li::before { content: counter(et); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bleu); color: #fff; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; border-radius: 50%; }

.eval-bon { background: rgba(15,157,119,.14); color: #0B6B4F; font-weight: 600; }
.eval-moyen { background: rgba(201,130,30,.16); color: #9A6B00; font-weight: 600; }
.eval-faible { background: rgba(214,71,71,.13); color: #A12626; font-weight: 600; }

/* FAQ native (sans JS) */
.faq { margin: 1.8em 0; }
.faq-item { border: 1px solid var(--bord); border-radius: var(--r-petit); margin-bottom: 10px; background: var(--blanc); overflow: hidden; }
.faq-item > summary { cursor: pointer; padding: 14px 18px; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; color: var(--encre); list-style: none; position: relative; padding-right: 44px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--bleu); line-height: 1; }
.faq-item[open] > summary::after { content: "−"; }
.faq-item > summary:hover { color: var(--bleu); }
.faq-item-rep { padding: 0 18px 16px; color: var(--texte); }

/* Interactif : checklist à progression */
.interactif { margin: 2em 0; padding: 22px 24px; border: 1px solid var(--bord); border-radius: var(--r-grand); background: linear-gradient(160deg, var(--bleu-pale), var(--blanc)); }
.interactif-titre { font-size: 1.2rem; font-weight: 800; margin: 0 0 4px; }
.interactif-intro { margin: 0 0 16px; color: var(--texte-doux); font-size: .95rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.checklist li { margin: 0; border-top: 1px solid var(--bord); }
.checklist li:first-child { border-top: 0; }
.checklist label { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; cursor: pointer; }
.checklist input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bleu); flex-shrink: 0; cursor: pointer; }
.checklist label:has(input:checked) { color: var(--texte-doux); text-decoration: line-through; text-decoration-color: var(--emeraude); }
.checklist-barre { height: 10px; border-radius: 100px; background: rgba(22,36,61,.1); overflow: hidden; }
.checklist-barre > span { display: block; height: 100%; width: 0; background: var(--emeraude); border-radius: 100px; transition: width .3s ease; }
.checklist-etat { margin: 8px 0 0; font-weight: 700; font-family: 'Schibsted Grotesk', sans-serif; color: var(--bleu-fonce); font-size: .92rem; }

/* Email protégé : affiché à l'endroit, copié à l'envers (anti-scraping) */
.courriel-protege { unicode-bidi: bidi-override; direction: rtl; white-space: nowrap; font-weight: 600; color: var(--bleu-fonce); }

/* ---------- Pied ---------- */
.pied { background: #111C30; color: #C7D0DE; padding: 54px 0 0; margin-top: 0; }
.pied-int { max-width: var(--large); margin: 0 auto; padding: 0 24px 40px; display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; }
.pied-logo { height: 30px; width: auto; margin-bottom: 18px; }
.pied-resume { margin: 0 0 12px; font-size: .95rem; line-height: 1.6; color: #9FACBF; max-width: 32em; }
.pied-edite { margin: 0; font-size: .85rem; color: #74829A; }
.pied-colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pied-titre { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin: 0 0 14px; }
.pied-bloc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pied-bloc a { color: #B6C1D2; text-decoration: none; font-size: .92rem; }
.pied-bloc a:hover { color: #fff; }
.pied-bas { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 24px; max-width: var(--large); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; color: #74829A; }
.pied-bas a { color: #9FACBF; text-decoration: none; }
.pied-bas a:hover { color: #fff; }

/* ---------- 404 ---------- */
.zone-404 { text-align: center; padding: 80px 24px; }
.zone-404-int { max-width: 560px; margin: 0 auto; }
.code-404 { display: block; font-family: 'Schibsted Grotesk', sans-serif; font-size: 6rem; font-weight: 800; color: var(--bleu); line-height: 1; }
.zone-404 h1 { font-size: 1.9rem; margin: 8px 0 12px; }
.zone-404 p { color: var(--texte-doux); margin-bottom: 28px; }
.zone-404-suggestions { margin-top: 44px; text-align: left; }
.zone-404-suggestions h2 { font-size: 1rem; color: var(--texte-doux); margin-bottom: 12px; }
.zone-404-suggestions ul { list-style: none; padding: 0; }
.zone-404-suggestions li { margin-bottom: 8px; }
.zone-404-suggestions a { color: var(--bleu-fonce); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1000px) {
  .nav-pilotage { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #111C30; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 16px 14px; border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 12px 24px rgba(0,0,0,.3); }
  .nav-pilotage.ouvert { display: flex; }
  .nav-pilotage a { padding: 13px 10px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-pilotage a::after { display: none; }
  .declic { display: inline-flex; }
  .entete-actions .btn-entete { display: none; }
  .tribune-visuel { width: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 80%); mask-image: linear-gradient(to bottom, transparent, #000 80%); opacity: .22; }
  .tribune-texte { max-width: none; }
  .une-grille { grid-template-columns: 1fr; gap: 32px; }
  .bandeau-atouts-int { grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
  .grille-tuiles { grid-template-columns: repeat(4, 1fr); }
  .grille-dossiers { grid-template-columns: repeat(2, 1fr); }
  .grille-paves { grid-template-columns: repeat(2, 1fr); }
  .dossier-mise-en-page { grid-template-columns: 1fr; gap: 40px; }
  .colonne-aside { position: static; }
  .deux-colonnes-int { grid-template-columns: 1fr; gap: 34px; }
  .pied-int { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .entete-int { padding: 10px 16px; gap: 12px; }
  .logo-guide-base { display: none; }
  .tribune-int, .une, .derniers, .acces-rubriques, .deux-colonnes { padding-top: 38px; padding-bottom: 38px; }
  .tribune-int { padding-top: 38px; }
  .bandeau-atouts-int { grid-template-columns: 1fr; }
  .grille-tuiles { grid-template-columns: repeat(2, 1fr); }
  .grille-dossiers, .grille-paves { grid-template-columns: 1fr; }
  .rang-titre { flex-direction: column; align-items: flex-start; gap: 6px; }
  .rang-titre h2 { font-size: 1.4rem; }
  .tribune-titre { font-size: 1.95rem; }
  .appel-sombre-int { flex-direction: column; align-items: flex-start; }
  .tribune-int, .bandeau-atouts-int, .une-int, .acces-rubriques-int, .derniers-int,
  .deux-colonnes-int, .appel-sombre-int, .zone-liste, .entete-page-int, .fil-int,
  .page-dossier, .page-editoriale { padding-left: 16px; padding-right: 16px; }
  .entete-rubrique-int { margin-left: 16px; margin-right: 16px; padding-left: 18px; }
  .dossier-grand-visuel { border-radius: var(--r); }
}
