/* BizNC public satellites — canonical bento direction, 2026. */
.satellite-modern {
  --bg-app: var(--bg, #0a0a0a);
  --bg-surface: var(--card, var(--surface, #111));
  --bg-elevated: var(--card-2, var(--surface-2, #181818));
  --text-strong: var(--ink, #f4f7f5);
  --text-secondary: var(--muted, #aeb8b4);
  --color-gold: var(--gold, #d4a017);
  /* Préfixe --sat- et pas --modern- : public-modern.css définit sur :root un
     --modern-soft qui est une COULEUR DE TEXTE (#aaaab0), alors qu'ici c'est une
     teinte de surface à 5 %. Sur les pages qui chargent les deux (radar.html),
     la collision faisait résoudre .hero-lead / .section-copy / .card p en blanc
     à 5 % d'opacité, donc en texte invisible. */
  --sat-max: 1180px;
  --sat-line: color-mix(in srgb, var(--text-strong) 13%, transparent);
  --sat-tint: color-mix(in srgb, var(--text-strong) 5%, transparent);
  --sat-card: color-mix(in srgb, var(--bg-surface) 92%, var(--text-strong) 8%);
  background:
    radial-gradient(circle at 88% 7%, color-mix(in srgb, var(--color-gold) 12%, transparent), transparent 26rem),
    var(--bg-app);
}

.satellite-modern main {
  width: min(100% - 32px, var(--sat-max));
  margin-inline: auto;
}

.satellite-modern :is(.hero, .projet-hero) {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 360px;
  margin: 24px 0 18px;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  border: 1px solid var(--sat-line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--bg-elevated) 96%, transparent), color-mix(in srgb, var(--bg-surface) 88%, transparent));
}

.satellite-modern :is(.hero, .projet-hero)::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  aspect-ratio: 1;
  right: -100px;
  top: -120px;
  border: 1px solid color-mix(in srgb, var(--color-gold) 36%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 54px color-mix(in srgb, var(--color-gold) 4%, transparent), 0 0 0 108px color-mix(in srgb, var(--color-gold) 3%, transparent);
}
.satellite-modern .hero-solo { grid-template-columns: minmax(0, 1fr); }
.satellite-modern .projet-hero:not(:has(.projet-hero-copy)) {
  display: block;
  min-height: 440px;
}
.satellite-modern .projet-hero:not(:has(.projet-hero-copy)):has(.project-detail-graph) {
  padding-right: min(50%, 570px);
}
.satellite-modern .projet-hero:not(:has(.projet-hero-copy)) > :not(.project-detail-graph) {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.satellite-modern .projet-hero:not(:has(.projet-hero-copy)) > .project-detail-graph {
  position: absolute;
  top: 50%;
  right: clamp(24px, 4vw, 54px);
  width: min(43%, 480px);
  transform: translateY(-50%);
}

.satellite-modern :is(.hero-copy, .projet-hero-copy) { max-width: 720px; }
.satellite-modern :is(.hero h1, .projet-hero h1) {
  max-width: 16ch;
  margin: .18em 0 .38em;
  font-size: clamp(2.25rem, 5.4vw, 5rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.satellite-modern :is(.hero-lead, .projet-hero p) {
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-secondary);
}
.satellite-modern :is(.eyebrow, .kicker) {
  color: var(--color-gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.satellite-modern :is(.fiche, .content-grid, .post-grid, .project-grid, .hub-grid, .sector-grid) {
  width: 100%;
}
.satellite-modern :is(.panel, .info-card, .geo-block, .faq, .signup-block, .editorial,
  .post-card, .project-card, .sector-card, .tool-card, .stat-card, .sat-card, .results-panel,
  .projet-answer, .projet-panel, .projet-tools) {
  border: 1px solid var(--sat-line);
  border-radius: 20px;
  background: var(--sat-card);
  color: var(--text-strong);
  box-shadow: none;
}
.satellite-modern :is(.panel, .info-card, .geo-block, .faq, .signup-block, .editorial, .results-panel) {
  padding: clamp(20px, 3.2vw, 36px);
  margin-block: 16px;
}
.satellite-modern :is(.projet-answer, .projet-panel, .projet-tools) {
  background: var(--bg-elevated);
  color: var(--text-strong);
}
.satellite-modern :is(.projet-answer, .projet-panel, .projet-tools) :is(p, li, label) {
  color: var(--text-secondary);
}
.satellite-modern :is(.post-card, .project-card, .sector-card, .tool-card, .sat-card) {
  padding: 22px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.satellite-modern :is(.post-card, .project-card, .sector-card, .tool-card, .sat-card):hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--color-gold) 60%, var(--sat-line));
  background: var(--bg-elevated);
}

/* Cartes de flux (.sat-list, .sat-av, .sat-hd, .sat-pill, .sat-title, .sat-sum) :
   la definition canonique vit desormais dans satellite.css (bloc CARTE DE FLUX),
   alignee sur la carte du flux de l'app. Ne pas la redefinir ici. */
.satellite-modern .meta {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.satellite-modern .meta a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.satellite-modern .meta a:hover {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.satellite-modern .company-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.satellite-modern .company-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--sat-line);
  background: var(--sat-tint);
  color: var(--text-strong);
  transition: all 0.18s ease;
}
.satellite-modern .company-chip:hover {
  border-color: color-mix(in srgb, var(--color-gold) 60%, transparent);
  background: color-mix(in srgb, var(--color-gold) 16%, transparent);
  color: #fff;
}

html[data-theme="light"] .satellite-modern .company-chip {
  background: #f0f2ea;
  color: #181a16;
  border-color: rgba(24, 26, 22, 0.14);
}

.satellite-modern .signup-inline .form-card {
  max-width: 580px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--sat-line);
  border-radius: 18px;
  background: var(--sat-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.satellite-modern .signup-inline label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-strong);
}
.satellite-modern .signup-inline input,
.satellite-modern .signup-inline textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sat-line);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text-strong);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.satellite-modern .signup-inline input:focus,
.satellite-modern .signup-inline textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-gold) 24%, transparent);
}
.satellite-modern .signup-inline .btn {
  width: 100%;
  margin-top: 12px;
  border-radius: 999px;
  font-weight: 750;
}
.satellite-modern .signup-inline .reassurance {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Bloc d'inscription : la variante CLAIRE ne s'applique qu'en thème clair.
   Sans ce garde, ces règles (!important) repeignaient une île blanche au milieu
   d'une page sombre sur les 5 pages veille-*.html. La variante sombre est
   définie plus haut et reprend le doré et les surfaces du système. */
html[data-theme="light"] .satellite-modern .section-light.signup-inline {
  background: #fafbf4 !important;
  color: #181a16 !important;
  border-top: 1px solid rgba(24, 26, 22, 0.1) !important;
  border-bottom: 1px solid rgba(24, 26, 22, 0.1) !important;
  padding: clamp(60px, 8vw, 96px) 0 !important;
}
html[data-theme="light"] .satellite-modern .section-light.signup-inline .section-heading {
  color: #181a16 !important;
}
html[data-theme="light"] .satellite-modern .section-light.signup-inline .section-kicker {
  color: var(--gold-ink, #8D7B22) !important;
}
html[data-theme="light"] .satellite-modern .section-light.signup-inline .signup-inline-lead {
  color: #4b524d !important;
}
html[data-theme="light"] .satellite-modern .section-light.signup-inline .form-card {
  background: #ffffff !important;
  border-color: rgba(24, 26, 22, 0.12) !important;
  box-shadow: 0 12px 36px rgba(24, 26, 22, 0.08) !important;
}
html[data-theme="light"] .satellite-modern .section-light.signup-inline label {
  color: #181a16 !important;
}
html[data-theme="light"] .satellite-modern .section-light.signup-inline input,
html[data-theme="light"] .satellite-modern .section-light.signup-inline textarea {
  background: #fdfdfc !important;
  border-color: rgba(24, 26, 22, 0.18) !important;
  color: #181a16 !important;
}
html[data-theme="light"] .satellite-modern .section-light.signup-inline input:focus,
html[data-theme="light"] .satellite-modern .section-light.signup-inline textarea:focus {
  background: #ffffff !important;
  border-color: var(--gold-ink, #8D7B22) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-ink, #8D7B22) 22%, transparent) !important;
}
html[data-theme="light"] .satellite-modern .section-light.signup-inline .btn {
  background: #181a16 !important;
  color: #ffffff !important;
  border: 1px solid #181a16 !important;
}
html[data-theme="light"] .satellite-modern .section-light.signup-inline .btn:hover {
  background: #000000 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}
html[data-theme="light"] .satellite-modern .section-light.signup-inline .reassurance {
  color: #65706b !important;
}

/* Variante sombre (par défaut) : la section se fond dans la page. */
.satellite-modern .section-light.signup-inline {
  background: transparent;
  color: var(--text-strong);
  border-top: 1px solid var(--sat-line);
  border-bottom: 1px solid var(--sat-line);
  padding: clamp(60px, 8vw, 96px) 0;
}
.satellite-modern .section-light.signup-inline .section-heading { color: var(--text-strong); }
.satellite-modern .section-light.signup-inline .section-kicker { color: var(--color-gold); }
.satellite-modern .section-light.signup-inline .signup-inline-lead,
.satellite-modern .section-light.signup-inline .reassurance { color: var(--text-secondary); }
.satellite-modern .section-light.signup-inline .btn {
  background: var(--text-strong);
  color: var(--bg-app);
  border: 1px solid var(--text-strong);
}

/* Cartes FAQ : satellite.css décrit `details` comme une carte CLAIRE (#fff,
   encre #101418/#4a4d45). Sur les satellites sombres, ça posait des cartes
   blanches au milieu du flux. On les ramène sur la surface de carte du système. */
.satellite-modern details {
  border: 1px solid var(--sat-line);
  border-radius: 14px;
  background: var(--sat-card);
}
.satellite-modern details > summary { color: var(--text-strong); }
.satellite-modern details p,
.satellite-modern details li { color: var(--text-secondary); }
html[data-theme="light"] .satellite-modern details {
  border-color: rgba(24, 26, 22, 0.12);
  background: #fff;
}
html[data-theme="light"] .satellite-modern details > summary { color: #101418; }
html[data-theme="light"] .satellite-modern details p,
html[data-theme="light"] .satellite-modern details li { color: #4a4d45; }

.satellite-modern :is(.post-card, .project-card, .sector-card, .tool-card, .stat-card,
  .sat-card, .results-panel, .article-shell > article)
  :is(h2, h3, h4, summary, dt, .post-title, .sat-title, .sat-cat-title, .publeg-title-text) {
  color: var(--text-strong);
}
.satellite-modern :is(.post-card, .project-card, .sector-card, .tool-card, .stat-card,
  .sat-card, .results-panel, .article-shell > article)
  :is(dd, .post-excerpt, .meta, .sat-sum, .projet-why) {
  color: var(--text-secondary);
}
.satellite-modern main :is(h2, h3) { letter-spacing: -.025em; text-wrap: balance; }
.satellite-modern main h2 { font-size: clamp(1.55rem, 3vw, 2.6rem); }
.satellite-modern main section { scroll-margin-top: 76px; }
.satellite-modern :is(.btn, .projet-hero-cta, .cta-primary) { border-radius: 999px; }

.satellite-modern .project-detail-graph {
  min-width: 0;
  border: 1px solid var(--sat-line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-app) 72%, transparent);
}
.satellite-modern .project-detail-graph svg { display: block; width: 100%; height: auto; }
.satellite-modern .project-graph-decor { fill: none; stroke: var(--sat-line); stroke-width: 1; }
.satellite-modern .project-graph-base { fill: none; stroke: color-mix(in srgb, var(--text-strong) 20%, transparent); stroke-width: 2; }
.satellite-modern .project-graph-progress { fill: none; stroke: var(--color-gold); stroke-width: 2.5; stroke-linecap: round; }
.satellite-modern .project-graph-ring { fill: var(--bg-elevated); stroke: color-mix(in srgb, var(--color-gold) 64%, transparent); stroke-width: 2; }
.satellite-modern .project-graph-core { fill: var(--color-gold); }
.satellite-modern .project-graph-number { fill: var(--color-gold); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.satellite-modern .project-graph-step { fill: var(--text-secondary); font-size: 10px; }
.satellite-modern .article-shell { max-width: 860px; margin-inline: auto; }
.satellite-modern .article-shell > article {
  border: 1px solid var(--sat-line);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 56px);
  background: var(--sat-card);
}

@media (max-width: 760px) {
  .satellite-modern main { width: min(100% - 20px, var(--sat-max)); }
  .satellite-modern :is(.hero, .projet-hero) {
    min-height: 0;
    margin-top: 12px;
    padding: 28px 22px;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .satellite-modern :is(.hero h1, .projet-hero h1) { font-size: clamp(2rem, 11vw, 3.2rem); }
  .satellite-modern .projet-hero:not(:has(.projet-hero-copy)) { min-height: 0; padding-right: 22px; }
  .satellite-modern .projet-hero:not(:has(.projet-hero-copy)) > .project-detail-graph {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 24px;
    transform: none;
  }
  .satellite-modern :is(.hero-art, .sat-hero-visual, .project-detail-graph) { max-height: 270px; }
}

/* Sources de veille: composition éditoriale canonique, sans ancien habillage bento. */
.sources-modern {
  background: var(--bg-app);
}
.sources-modern main {
  width: min(100% - 64px, 1060px);
}
.sources-modern .hero-satellite {
  min-height: 0;
  margin: 0;
  padding: clamp(72px, 10vw, 120px) 0;
  grid-template-columns: minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  background: transparent;
}
.sources-modern .hero-satellite::after,
.sources-modern .sat-hero-visual {
  display: none;
}
.sources-modern .hero-satellite > div:first-child {
  max-width: 880px;
}
.sources-modern .hero-satellite h1 {
  max-width: 14ch;
}
.sources-modern main > .section,
.sources-modern .seo-cluster {
  padding: clamp(64px, 8vw, 96px) 0;
  border-top: 1px solid var(--sat-line);
  background: transparent;
}
.sources-modern main > .section > :is(.container, .editorial),
.sources-modern .seo-cluster-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}
.sources-modern :is(.editorial, .faq, .form-card) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.sources-modern .editorial {
  padding: 0;
}
.sources-modern .sat-list {
  gap: 0;
  border-top: 1px solid var(--sat-line);
}
.sources-modern .sat-list > li {
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--sat-line);
  border-radius: 0;
  background: transparent;
}
@media (max-width: 760px) {
  .sources-modern main { width: calc(100% - 24px); }
  .sources-modern .hero-satellite { padding: 64px 0 72px; }
}

/* Blog / Related posts / General section styling adhering to BizNC DA */
.satellite-modern :is(.section, .section-posts, .section-related, .section-light) {
  background: transparent !important;
  color: var(--text-strong) !important;
  border-top: 1px solid var(--sat-line) !important;
  padding: clamp(48px, 6vw, 80px) 0 !important;
}
.satellite-modern :is(.section, .section-posts, .section-related, .section-light) .container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.satellite-modern :is(.section, .section-posts, .section-related, .section-light) .section-kicker {
  color: var(--color-gold) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}
.satellite-modern :is(.section, .section-posts, .section-related, .section-light) .section-heading {
  color: var(--text-strong) !important;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 24px !important;
}
.satellite-modern .post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 700px) {
  .satellite-modern .post-grid { grid-template-columns: 1fr; }
}
.satellite-modern .post-card {
  display: block;
  background: var(--bg-elevated) !important;
  border: 1px solid var(--sat-line) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  color: var(--text-strong) !important;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.satellite-modern .post-card:hover {
  border-color: color-mix(in srgb, var(--color-gold) 60%, var(--sat-line)) !important;
  background: var(--sat-card, var(--bg-elevated)) !important;
  transform: translateY(-2px);
}
.satellite-modern .post-card .post-date {
  color: var(--color-gold) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  display: block;
  margin-bottom: 8px;
}
.satellite-modern .post-card .post-title {
  color: var(--text-strong) !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  line-height: 1.28;
  display: block;
  margin-bottom: 8px;
}
.satellite-modern .post-card .post-excerpt {
  color: var(--text-secondary) !important;
  font-size: 0.94rem !important;
  line-height: 1.55;
  display: block;
}

.satellite-modern .final-cta {
  background: transparent !important;
  color: var(--text-strong) !important;
  border-top: 1px solid var(--sat-line) !important;
  padding: clamp(60px, 8vw, 96px) 0 !important;
  text-align: center;
}
.satellite-modern .final-cta-inner {
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 auto !important;
}
.satellite-modern .final-cta h2 {
  color: var(--text-strong) !important;
  font-size: clamp(2rem, 4.5vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  margin: 0 0 16px !important;
}
.satellite-modern .final-cta p {
  color: var(--text-secondary) !important;
  font-size: clamp(1rem, 1.4vw, 1.15rem) !important;
  line-height: 1.6 !important;
  margin: 0 auto 28px !important;
}
.satellite-modern .final-cta .section-kicker {
  color: var(--color-gold) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}
.satellite-modern .final-cta .actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.satellite-modern .final-cta .btn {
  background: var(--text-strong) !important;
  color: var(--bg-app) !important;
  border: 1px solid var(--text-strong) !important;
}
.satellite-modern .final-cta .btn-secondary {
  background: transparent !important;
  color: var(--text-strong) !important;
  border: 1px solid var(--sat-line) !important;
}
.satellite-modern .final-cta .btn-secondary:hover {
  background: var(--sat-tint) !important;
  border-color: color-mix(in srgb, var(--color-gold) 60%, var(--sat-line)) !important;
}

@media (prefers-reduced-motion: reduce) {
  .satellite-modern *, .satellite-modern *::before, .satellite-modern *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


