/* ============================================================
   en-Stage.com — feuille de style éditoriale
   ============================================================ */

:root {
  --rouge: #D62828;
  --rouge-700: #b51f1f;
  --orange: #F77F00;
  --orange-2: #FCA311;
  --encre: #15161D;
  --encre-2: #2c2e3a;
  --creme: #FFF7EF;
  --creme-2: #fdeede;
  --blanc: #ffffff;

  --teal: #2A9D8F;
  --indigo: #4361EE;
  --framboise: #E63976;

  --gris: #6b6f7d;
  --gris-line: #e9e2d8;

  --grad-arrow: linear-gradient(90deg, #F77F00 0%, #FCA311 100%);
  --grad-arrow-v: linear-gradient(180deg, #FCA311 0%, #F77F00 100%);

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;

  --shadow-card: 0 24px 60px -28px rgba(21, 22, 29, 0.35);
  --shadow-soft: 0 12px 30px -16px rgba(21, 22, 29, 0.28);
  --shadow-sticker: 0 8px 18px -8px rgba(21, 22, 29, 0.45);

  --maxw: 1200px;
  --pad-x: clamp(20px, 5vw, 64px);

  /* réglés par les Tweaks */
  --grain-opacity: 0.05;
  --warm-boost: 1;
  --title-scale: 1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--encre);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* grain global */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---- éléments de marque réutilisables ---- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rouge);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-arrow);
}

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--encre);
  color: var(--creme);
  box-shadow: var(--shadow-sticker);
  transform: rotate(-3deg);
  white-space: nowrap;
}
.sticker--orange { background: var(--grad-arrow); color: var(--encre); }
.sticker--rouge  { background: var(--rouge); color: #fff; }
.sticker--cream  { background: var(--creme); color: var(--encre); border: 1.5px solid var(--encre); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--rouge { background: var(--rouge); color: #fff; box-shadow: 0 12px 24px -12px rgba(214,40,40,.7); }
.btn--rouge:hover { background: var(--rouge-700); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(214,40,40,.8); }
.btn--ink { background: var(--encre); color: var(--creme); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--ghost { background: transparent; color: var(--encre); border: 1.5px solid var(--encre); }
.btn--ghost:hover { background: var(--encre); color: var(--creme); }

/* flèche dessinée à la main */
.hand-arrow { display: block; overflow: visible; }
.hand-arrow path { stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* placeholders photo */
image-slot {
  --is-bg: repeating-linear-gradient(135deg, #efe6d9 0 14px, #f6efe5 14px 28px);
  display: block;
  background: var(--is-bg);
}
.slot-note {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--encre);
  background: rgba(255,247,239,.82);
  padding: 5px 9px;
  border-radius: 7px;
  pointer-events: none;
  z-index: 2;
  max-width: 80%;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,247,239,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gris-line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; display: block; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--encre-2);
  padding: 8px 13px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--creme-2); color: var(--encre); }
.header-cta { flex-shrink: 0; }
.burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(36px, 6vw, 70px);
  padding-bottom: clamp(50px, 7vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.hero-lede { padding-top: 18px; }
.hero h1 {
  font-size: calc(clamp(40px, 6.4vw, 76px) * var(--title-scale));
  margin-bottom: 22px;
}
.hero h1 .hl {
  position: relative;
  color: var(--rouge);
  white-space: nowrap;
}
.hero h1 .underline {
  position: absolute;
  left: -2%; right: -2%; bottom: -6px;
  width: 104%; height: .42em;
  z-index: -1;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--encre-2);
  max-width: 33ch;
  margin-bottom: 26px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.proof-item { display: flex; flex-direction: column; }
.proof-num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  background: var(--grad-arrow);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proof-lbl { font-size: 12.5px; color: var(--gris); }
.proof-div { width: 1px; height: 34px; background: var(--gris-line); }

/* explorateur */
.explorer {
  position: relative;
}
.explorer-stage {
  margin-top: 86px;
  position: relative;
  z-index: 2;
  background: var(--blanc);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gris-line);
  overflow: hidden;
}
.explorer-head {
  padding: 20px 22px 0;
}
.search-wrap { position: relative; }
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--encre);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--creme);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.search-field:focus-within {
  box-shadow: 0 0 0 4px rgba(247,127,0,.18);
  background: #fff;
}
.search-field svg { flex-shrink: 0; color: var(--rouge); }
.search-field input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--encre);
  min-width: 0;
}
.search-field input::placeholder { color: #b7b1a7; }

.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--gris-line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  z-index: 30;
  overflow: hidden;
  padding: 6px;
}
.suggest button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  transition: background .12s ease;
}
.suggest button:hover, .suggest button.active { background: var(--creme-2); }
.suggest .s-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.suggest .s-nom { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 15px; }
.suggest .s-cat { font-size: 12.5px; color: var(--gris); margin-left: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px 0; }
.chips-label { width: 100%; font-size: 12px; color: var(--gris); margin-bottom: 2px; }
.chip {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--creme-2);
  color: var(--encre-2);
  border: 1.5px solid transparent;
  transition: all .14s ease;
}
.chip:hover { border-color: var(--encre); transform: translateY(-1px); }
.chip.active { background: var(--encre); color: var(--creme); }

/* carte de score (réutilisée hero + classement focus) */
.score-card { padding: 20px 22px 22px; }
.score-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}
.gauge-box { position: relative; width: 168px; flex-shrink: 0; }
.gauge-score {
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  text-align: center;
}
.gauge-score .num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: .9;
}
.gauge-score .den { font-size: 14px; color: var(--gris); font-weight: 600; }

.score-meta { min-width: 0; }
.score-cat {
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gris);
}
.score-nom { font-size: clamp(22px, 2.4vw, 30px); margin: 4px 0 10px; }
.verdict-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
}
.verdict-pill .v-arrow { display: flex; }

.factor-block { margin-top: 20px; }
.factor-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 26px;
}
.factor-group-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fgt-dot { width: 9px; height: 9px; border-radius: 2px; }
.factor { margin-bottom: 12px; }
.factor:last-child { margin-bottom: 0; }
.factor-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}
.factor-name { font-size: 13px; font-weight: 500; color: var(--encre-2); }
.factor-val { font-family: "Roboto Mono", monospace; font-size: 12px; color: var(--gris); }
.bar-track {
  height: 9px;
  border-radius: 999px;
  background: #efe7db;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  transition: width .9s cubic-bezier(.22,1,.36,1);
}
.bar-fill.expo { background: linear-gradient(90deg,#f87171,#dc2626); }
.bar-fill.prot { background: linear-gradient(90deg,#34d399,#0f9d6e); }

/* mot de la mascotte */
.mascot-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--creme);
  border: 1.5px dashed var(--gris-line);
  border-radius: 14px;
}
.mascot-note img { width: 46px; height: auto; flex-shrink: 0; }
.mascot-note .mn-txt { font-size: 13.5px; color: var(--encre-2); }
.mascot-note .mn-txt b { font-family: "Poppins", sans-serif; }

/* mascotte flottante du hero */
.no-hero-mascot .hero-mascot { display: none; }
.hero-mascot {
  position: absolute;
  z-index: 3;
  width: clamp(140px, 15vw, 192px);
  right: -62px;
  top: -92px;
  transform: rotate(5deg);
  filter: drop-shadow(0 18px 22px rgba(21,22,29,.22));
  pointer-events: none;
}

/* ============================================================
   sections génériques
   ============================================================ */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--ink { background: var(--encre); color: var(--creme); }
.section--cream { background: var(--creme-2); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: calc(clamp(30px, 4vw, 50px) * var(--title-scale));
  margin: 14px 0 14px;
}
.section-head p { font-size: clamp(15px, 1.4vw, 18px); color: var(--gris); }
.section--ink .section-head p { color: #b8bac6; }
.section--ink .kicker { color: var(--orange-2); }

/* ============================================================
   ROUTEUR PAR PROFIL
   ============================================================ */
.router-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.profil-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
  isolation: isolate;
}
.profil-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.profil-card image-slot { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.profil-card .pc-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(21,22,29,0) 30%, rgba(21,22,29,.86) 100%);
}
.profil-card .pc-tag {
  position: absolute; top: 14px; left: 14px;
}
.profil-card .pc-body { padding: 18px; }
.profil-card .pc-step {
  font-family: "Roboto Mono", monospace;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  opacity: .85;
}
.profil-card h3 { font-size: 24px; margin: 4px 0 6px; }
.profil-card .pc-desc { font-size: 13.5px; opacity: .9; line-height: 1.4; }
.profil-card .pc-go {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 12px; font-family: "Poppins",sans-serif; font-weight: 700; font-size: 13.5px;
}
.profil-card:hover .pc-go svg { transform: translateX(4px); }
.profil-card .pc-go svg { transition: transform .18s ease; }

/* ============================================================
   BOÎTE À OUTILS
   ============================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.tool-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gris-line);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.tool-card.span7 { grid-column: span 7; }
.tool-card.span5 { grid-column: span 5; }
.tool-card.span6 { grid-column: span 6; }
.tool-card .tool-glyph {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  color: #fff;
}
.tool-card .tool-icon {
  width: 92px;
  height: 92px;
  object-fit: contain;
  object-position: left center;
  margin: -4px 0 -2px -4px;
  filter: drop-shadow(0 10px 14px rgba(21,22,29,.16));
}
.tool-card h3 { font-size: 21px; }
.tool-card .tool-desc { font-size: 14px; color: var(--gris); }
.tool-card .tool-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.tool-state {
  font-family: "Poppins",sans-serif; font-weight: 700; font-size: 12px;
  padding: 5px 11px; border-radius: 999px;
}
.tool-state.dispo { background: rgba(15,157,110,.14); color: #0f8a60; }
.tool-state.bientot { background: var(--creme-2); color: var(--gris); }
.tool-card .tool-link {
  font-family: "Poppins",sans-serif; font-weight: 700; font-size: 14px; color: var(--rouge);
  display: inline-flex; align-items: center; gap: 6px;
}
.tool-deco {
  position: absolute; right: -30px; top: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  opacity: .07;
}

/* ============================================================
   CLASSEMENT
   ============================================================ */
.rank-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.rank-col {
  background: rgba(255,247,239,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 24px;
}
.rank-col.exposed { background: rgba(220,38,38,.07); border-color: rgba(220,38,38,.25); }
.rank-col.resilient { background: rgba(15,157,110,.08); border-color: rgba(15,157,110,.28); }
.rank-col-title {
  display: flex; align-items: center; gap: 10px;
  font-family: "Poppins",sans-serif; font-weight: 800; font-size: 19px; margin-bottom: 18px;
}
.rank-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rank-row:last-child { border-bottom: none; }
.rank-pos { font-family: "Roboto Mono",monospace; font-size: 13px; color: #9a9cab; }
.rank-mid { min-width: 0; }
.rank-nom { font-family: "Poppins",sans-serif; font-weight: 600; font-size: 15px; }
.rank-bar-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,.1); margin-top: 6px; overflow: hidden; }
.rank-bar-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1s cubic-bezier(.22,1,.36,1); }
.rank-score {
  font-family: "Poppins",sans-serif; font-weight: 800; font-size: 20px;
  min-width: 44px; text-align: right;
}
.rank-cta { text-align: center; margin-top: 36px; }

/* ============================================================
   GUIDES (façon Une de magazine)
   ============================================================ */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.guide-card {
  grid-column: span 4;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--gris-line);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.guide-card.feature { grid-column: span 6; }
.guide-media { position: relative; aspect-ratio: 16/10; }
.guide-card.feature .guide-media { aspect-ratio: 16/11; }
.guide-media image-slot { width: 100%; height: 100%; }
.guide-cat {
  position: absolute; top: 14px; left: 14px; z-index: 3;
}
.guide-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide-body h3 { font-size: 20px; }
.guide-card.feature .guide-body h3 { font-size: 26px; }
.guide-body p { font-size: 14px; color: var(--gris); }
.guide-meta {
  margin-top: auto; display: flex; align-items: center; gap: 9px;
  font-family: "Roboto Mono",monospace; font-size: 12px; color: var(--gris);
}

/* ============================================================
   CAMILLE — la rédaction
   ============================================================ */
.camille {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.camille-media { position: relative; }
.camille-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
}
.camille-photo image-slot { width: 100%; height: 100%; }
.camille-badge {
  position: absolute; bottom: -18px; right: -14px; z-index: 4;
  background: var(--blanc);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 12px;
  transform: rotate(-3deg);
}
.camille-badge .cb-mascot { width: 40px; }
.camille-badge .cb-txt { font-family: "Poppins",sans-serif; font-weight: 700; font-size: 13px; line-height: 1.25; }
.camille-quote {
  font-family: "Poppins",sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  margin: 16px 0 18px;
}
.camille-quote .q-mark { color: var(--rouge); }
.camille-sign { font-size: 15px; color: var(--encre-2); }
.camille-sign b { font-family: "Poppins",sans-serif; }
.camille-stats { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.camille-stat .cs-num {
  font-family: "Poppins",sans-serif; font-weight: 800; font-size: 30px;
  background: var(--grad-arrow); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.camille-stat .cs-lbl { font-size: 12.5px; color: var(--gris); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.news {
  position: relative;
  background: var(--rouge);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(34px, 5vw, 60px);
  overflow: hidden;
}
.news-inner { position: relative; z-index: 2; max-width: 560px; }
.news h2 { font-size: calc(clamp(28px,3.4vw,42px) * var(--title-scale)); color: #fff; }
.news p { color: rgba(255,255,255,.9); font-size: 16px; margin: 12px 0 24px; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input {
  flex: 1; min-width: 220px;
  border: none; border-radius: 999px;
  padding: 15px 20px; font-size: 15px; font-family: "Inter",sans-serif;
  outline: none;
}
.news-mascot {
  position: absolute; right: clamp(-10px, 1vw, 30px); bottom: -10px; z-index: 1;
  width: clamp(120px, 16vw, 220px);
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.3));
}
.news-note { font-size: 12.5px; color: rgba(255,255,255,.78); margin-top: 14px; }
.news-ok { font-family: "Poppins",sans-serif; font-weight: 700; font-size: 17px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--encre); color: var(--creme); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand img { height: 50px; }
.footer-brand p { color: #9a9cab; font-size: 14px; margin-top: 14px; max-width: 32ch; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: var(--creme);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.social-btn:hover { background: var(--orange); color: var(--encre); transform: translateY(-3px); }
.footer-col h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 14px; }
.footer-col a { display: block; color: #c9cbd6; font-size: 14.5px; padding: 5px 0; transition: color .12s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: #9a9cab;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .tools-grid .tool-card.span7,
  .tools-grid .tool-card.span5,
  .tools-grid .tool-card.span6 { grid-column: span 6; }
  .guide-card, .guide-card.feature { grid-column: span 6; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .explorer-stage { margin-top: 46px; }
  .hero-mascot { width: 118px; top: -14px; right: -6px; }
  .camille { grid-template-columns: 1fr; }
  .rank-shell { grid-template-columns: 1fr; }
  .router-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav, .header-cta { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .router-grid { grid-template-columns: 1fr; }
  .tools-grid .tool-card { grid-column: span 12 !important; }
  .guide-card, .guide-card.feature { grid-column: span 12; }
  .score-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .factor-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 .hl { white-space: normal; }
}

/* ===== Overrides intégration WordPress (en-stage) ===== */
/* Menu WP : ul/li transparents → les <a> deviennent enfants directs du flex .main-nav (identique maquette) */
.main-nav ul, .main-nav li { display: contents; }
.main-nav a { white-space: nowrap; }
/* Puces "populaires" : le wrapper hérite du gap de .chips */
#exploChips { display: contents; }

/* Fil d'Ariane : rendu global (sinon liste numérotée hors pages article) */
.breadcrumb, .crumb { padding: 22px 0 0; font-size: 13.5px; color: var(--gris); }
.breadcrumb ol, .crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb a, .crumb a { color: var(--gris); font-weight: 500; }
.breadcrumb a:hover, .crumb a:hover { color: var(--rouge); }
.breadcrumb li[aria-current], .crumb li[aria-current] { color: var(--encre); font-weight: 600; }
.breadcrumb .sep, .crumb .sep { color: var(--gris-line); }

/* "Le conseil de Camille" (es-camnote) — rendu riche aligné sur la maquette (.camille-tip) */
.es-camnote {
  position: relative;
  margin: 34px 0;
  background: var(--creme);
  border: 2px dashed var(--orange);
  border-radius: var(--r-md);
  padding: 22px 24px 22px 92px;
  font-size: 16.5px;
  line-height: 1.62;
  color: #23242e;
}
.es-camnote::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rouge) url("../assets/camille.png") center/cover no-repeat;
  box-shadow: 0 4px 10px rgba(21, 22, 29, .14);
}
.es-camnote strong {
  display: block;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.05;
  color: var(--rouge);
  margin-bottom: 6px;
}
.es-camnote p { margin: 0 0 10px; }
.es-camnote p:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .es-camnote { padding: 20px 18px; }
  .es-camnote::before { position: static; display: block; margin-bottom: 12px; }
}

/* Encadré cross-link IA des fiches (es-iabox) */
.es-iabox { margin: 26px 0; padding: 14px 18px; background: var(--creme-2); border-radius: var(--r-sm); font-weight: 600; }

/* Carrés colorés des en-têtes de facteurs (score card) */
.fg-sq { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 7px; vertical-align: middle; }
.verdict-pill svg { margin-right: 2px; }

/* ===== Anti-débordement horizontal (mobile) ===== */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .prose { overflow-wrap: anywhere; }
  .prose img, .prose video, .prose iframe { max-width: 100%; height: auto; }
  /* composants larges : ne jamais dépasser la colonne */
  .es-grat, .tool-embed, .key-fact, .cta-box, .calc-result, .es-iabox, .es-camnote { max-width: 100%; }
  /* tableaux : scroll interne plutôt que débordement de page */
  .prose table, .data-table { display: block; width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* cartes de résultat du calculateur : une colonne */
  .es-grat__cards { grid-template-columns: 1fr !important; }
}

/* ===== Menu mobile (burger) ===== */
.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--creme-2);
  border: 1px solid var(--gris-line);
  border-radius: 12px;
  color: var(--encre);
  cursor: pointer;
}
.burger svg { display: block; }
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  /* panneau de navigation déroulant */
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px 16px 16px;
    background: var(--blanc);
    border-bottom: 1px solid var(--gris-line);
    box-shadow: var(--shadow-soft);
    z-index: 120;
  }
  .site-header.nav-open .main-nav a { padding: 12px 10px; border-radius: 10px; }
  .site-header { position: relative; }
}
