/* ════════════════════════════════════════════════════════════
   NURY CORPORATION — v2 — surcouche visuelle
   Densifie en visuels (diagrammes, monogramme, carte, glyphes)
   et allège les textes. S'appuie sur site-styles.css (tokens).
   ════════════════════════════════════════════════════════════ */

/* ── crosses de cadrage éditoriales ── */
.cross {
  position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 4;
  color: var(--bordeaux); opacity: .55;
}
.cross::before, .cross::after {
  content: ""; position: absolute; background: currentColor;
}
.cross::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.cross::after  { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.cross--tl { top: 20px; left: 20px; }
.cross--tr { top: 20px; right: 20px; }
.cross--bl { bottom: 20px; left: 20px; }
.cross--br { bottom: 20px; right: 20px; }
.cross--gold { color: var(--gold); opacity: .75; }

/* ════════════════════════════════════════════════════════════
   HERO v2 — monogramme massif, sceau, foot slim
   ════════════════════════════════════════════════════════════ */
.hero--v2 { padding-top: 120px; padding-bottom: 60px; }

.hero__monogram {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none; z-index: 0;
  color: var(--gold);
}
.hero__mono-letter {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(380px, 56vw, 880px);
  line-height: 0.78;
  color: var(--bordeaux);
  opacity: 0.045;
  letter-spacing: -0.04em;
  user-select: none;
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -42%);
  will-change: transform;
}
.hero__mono-rings {
  position: absolute;
  width: min(78vmin, 820px); height: min(78vmin, 820px);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: var(--gold); opacity: .55;
  pointer-events: none;
}
.hero--v2 .wrap { position: relative; z-index: 2; }
.hero--v2 .hero__title { mix-blend-mode: normal; }
.hero--v2 .hero__title em { color: var(--gold); }

.hero__foot--slim {
  margin-top: 64px;
  display: grid; grid-template-columns: 1fr auto auto; gap: 40px;
  align-items: end;
}
.hero__foot--slim p {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  line-height: 1.3; color: var(--bordeaux); opacity: .85;
  max-width: 28ch;
}
.hero__foot--slim p strong {
  display: block; font-family: var(--mono); font-style: normal;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 10px; opacity: .65; font-weight: 400;
}
.hero__seal { width: 96px; height: 96px; color: var(--bordeaux); }
.hero__seal svg { width: 100%; height: 100%; display: block; }
.hero__seal-text {
  font-family: var(--mono); font-size: 7.5px; fill: var(--bordeaux);
  letter-spacing: 0.16em; opacity: .75;
}
.hero__seal-alpha {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 44px; fill: var(--gold);
}
.hero__seal { animation: sealspin 60s linear infinite; transform-origin: 50% 50%; }
.hero__seal-alpha-wrap { animation: none; }
@keyframes sealspin { to { transform: rotate(360deg); } }

/* ticker — ramené au-dessus du titre */
.hero--v2 .ticker { top: 92px; transform: none; opacity: .5; }

/* ════════════════════════════════════════════════════════════
   MANIFESTE v2 — diagramme constellation
   ════════════════════════════════════════════════════════════ */
.manifeste--v2 { position: relative; }
.manifeste--v2 .wrap { display: block; }
.manifeste--v2 .manifeste__label { margin-bottom: 60px; }
.manifeste__pair {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px;
  align-items: center;
}
.manifeste--v2 .manifeste__body p {
  font-size: clamp(40px, 5vw, 78px);
  line-height: 1.05; margin-bottom: 0.4em;
}
.manifeste--v2 .manifeste__body p:first-child em { color: var(--gold); }

.constellation { display: block; width: 100%; max-width: 560px; margin: 0 auto; position: relative; }
.constellation svg { width: 100%; height: auto; display: block; }
.constellation__nodes text {
  font-family: var(--mono); fill: var(--gold);
  font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: .65;
}
.constellation__nodes .cn-name {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; letter-spacing: 0; text-transform: none;
  fill: var(--ivory); opacity: .92;
}
.constellation__alpha {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 56px; fill: var(--gold);
}
.constellation__cap {
  display: block; text-align: center; margin-top: 18px;
  color: var(--gold); opacity: .7;
}
.constellation__rays { animation: conSpin 120s linear infinite; transform-origin: 260px 260px; }
@keyframes conSpin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════════
   GROUPE v2 — cartes plus typographiques, sans descriptions
   ════════════════════════════════════════════════════════════ */
.groupe__head h2 { font-size: clamp(72px, 11vw, 168px); line-height: 0.88; max-width: 5ch; }
.groupe__head h2 em { font-family: var(--serif); font-style: italic; }
.entities--v2 { grid-template-columns: repeat(4, 1fr); }
.entity--v2 {
  min-height: 240px; padding: 22px 22px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.entity__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.entity__index {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 38px; line-height: 1; color: var(--gold);
}
.entity__sector { color: var(--bordeaux); opacity: .55; }
.entity--v2 .entity__name {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.98; margin-top: 0;
  letter-spacing: -0.02em;
}
.entity--v2 .entity__alpha {
  position: absolute; right: -10px; bottom: -34px;
  font-size: 200px;
  opacity: 0; transform: translate(20px, 20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.entity--v2:hover .entity__alpha { opacity: .18; transform: none; }
.entity--v2:hover { background: var(--ivory-2); }

/* ════════════════════════════════════════════════════════════
   CARTE — Afrique + 40 marchés
   ════════════════════════════════════════════════════════════ */
.carte {
  background: var(--bordeaux);
  color: var(--ivory);
  padding-top: clamp(140px, 20vh, 220px);
  padding-bottom: clamp(120px, 18vh, 200px);
  position: relative;
  overflow: hidden;
}
.carte .wrap {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
  align-items: start;
}
.carte__head { position: sticky; top: 120px; }
.carte__head .mono { color: var(--gold); display: flex; align-items: center; gap: 14px; }
.carte__head .mono::before { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; }
.carte__title {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(72px, 11vw, 168px); line-height: 0.88; letter-spacing: -0.025em;
  color: var(--ivory); margin-top: 28px;
  max-width: 5ch;
}
.carte__title em { color: var(--gold); font-family: var(--serif); }
.carte__sub {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  line-height: 1.35; margin-top: 24px; max-width: 24ch;
  color: var(--ivory); opacity: .8;
}
.africa__cap {
  display: block; text-align: right; margin-top: 18px;
  color: var(--gold); opacity: .7;
}

/* ── Globe orthographique rotatif ── */
.globe {
  display: block;
  width: 100%;
  max-width: 620px;
  position: relative;
  margin-left: auto;
}
.globe svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.globe__halo {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,
    rgba(184,150,90,0.10) 0%,
    rgba(184,150,90,0.04) 35%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.globe svg { position: relative; z-index: 1; }
.globe__country { transition: fill 0.4s var(--ease-out); }
.globe__marker {
  filter: drop-shadow(0 0 4px rgba(184,150,90,0.55));
  transition: opacity 0.3s var(--ease-out), r 0.2s var(--ease-out);
  cursor: pointer;
  pointer-events: auto;
}
.globe__marker:hover { r: 5; }
#globe-svg { cursor: grab; }
#globe-svg.is-grabbing { cursor: grabbing; }

/* Tooltip */
.globe__tip {
  position: absolute;
  transform: translate(-50%, -100%);
  padding: 8px 14px;
  background: var(--bordeaux-deep);
  border: 1px solid var(--gold);
  color: var(--ivory);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s var(--ease-out);
  z-index: 4;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.globe__tip::after {
  content: "";
  position: absolute;
  bottom: -5px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: var(--bordeaux-deep);
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.globe__tip.is-visible { opacity: 1; }
/* Repères cardinaux */
.globe__ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.globe__tick {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.65;
}
.globe__tick--n { top: 1%; left: 50%; transform: translateX(-50%); }
.globe__tick--s { bottom: 6%; left: 50%; transform: translateX(-50%); }
.globe__tick--e { top: 50%; right: 1%; transform: translateY(-50%); }
.globe__tick--o { top: 50%; left: 1%; transform: translateY(-50%); }

.carte__legend {
  list-style: none;
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--hair-gold);
  margin-top: 60px;
}
.carte__legend li {
  padding: 22px 16px 22px 0;
  border-right: 1px solid var(--hair-gold);
  display: flex; flex-direction: column; gap: 8px;
}
.carte__legend li:last-child { border-right: none; }
.carte__legend li > span:first-child { color: var(--gold); opacity: .8; }
.carte__legend li > span:nth-child(2) {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  color: var(--ivory); letter-spacing: -0.01em;
}
.carte__legend li > span:last-child { color: var(--ivory); opacity: .55; font-size: 13px; }

/* ════════════════════════════════════════════════════════════
   DOCTRINE v2 — 4 cartes en grille, glyphes géométriques
   ════════════════════════════════════════════════════════════ */
.doctrine--v2 .doctrine__head h2 {
  font-size: clamp(72px, 11vw, 168px); line-height: 0.88; max-width: 5ch;
}
.principles--v2 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--hair-gold);
  border-bottom: 1px solid var(--hair-gold);
}
.principle-v {
  padding: 48px 28px 40px;
  border-right: 1px solid var(--hair-gold);
  display: flex; flex-direction: column; gap: 32px;
  min-height: 360px;
  position: relative;
  transition: background .4s var(--ease-out);
}
.principle-v:last-child { border-right: none; }
.principle-v:hover { background: rgba(184,150,90,0.05); }
.principle-v__glyph {
  width: 64px; height: 64px;
  color: var(--gold);
  opacity: .85;
}
.principle-v__glyph svg { width: 100%; height: 100%; display: block; }
.principle-v__num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--bordeaux); opacity: .5;
}
.principle-v__title {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 2.6vw, 38px); line-height: 1.0;
  letter-spacing: -0.015em; color: var(--bordeaux);
  margin-top: auto;
}
.principle-v__title em { color: var(--gold); }

/* ════════════════════════════════════════════════════════════
   GOUVERNANCE v2 — portrait placeholder en frontispice
   ════════════════════════════════════════════════════════════ */
.gouv--v2 .gouv__wrap {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px;
  align-items: center;
}
.gouv--v2 .gouv__quote { font-size: clamp(48px, 7vw, 110px); max-width: 9ch; }
.portrait { position: relative; }
.portrait__frame {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%; max-width: 380px;
  border: 1px solid var(--hair-gold);
  padding: 12px;
  background: var(--bordeaux-deep);
  overflow: hidden;
}
.portrait__stripes {
  position: absolute; inset: 12px;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(184,150,90,0.10) 0,
    rgba(184,150,90,0.10) 1px,
    transparent 1px,
    transparent 10px
  );
  border: 1px dashed rgba(184,150,90,0.35);
}
.portrait__alpha {
  position: absolute; inset: 12px;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 240px; line-height: 1;
  color: var(--gold); opacity: .25;
  pointer-events: none;
}
.portrait__cap {
  position: absolute; bottom: 24px; left: 24px;
  color: var(--gold); opacity: .75;
}
.portrait__legend {
  margin-top: 18px;
  color: var(--gold); opacity: .65;
  text-align: right;
}

/* ════════════════════════════════════════════════════════════
   STATS v2 — chiffres plus monumentaux, sans sub
   ════════════════════════════════════════════════════════════ */
.stats--v2 .stat { padding: 64px 28px; }
.stats--v2 .stat__num {
  font-size: clamp(80px, 11vw, 180px); line-height: 0.86;
}
.stats--v2 .stat__label { margin-top: 28px; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .manifeste__pair { grid-template-columns: 1fr; gap: 48px; }
  .carte .wrap { grid-template-columns: 1fr; gap: 48px; }
  .carte__head { position: static; }
  .carte__legend { grid-template-columns: repeat(2, 1fr); }
  .carte__legend li { border-right: 1px solid var(--hair-gold); }
  .carte__legend li:nth-child(2n) { border-right: none; }
  .entities--v2 { grid-template-columns: repeat(2, 1fr); }
  .principles--v2 { grid-template-columns: repeat(2, 1fr); }
  .principle-v { border-right: 1px solid var(--hair-gold) !important; }
  .principle-v:nth-child(2n) { border-right: none !important; }
  .gouv--v2 .gouv__wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero__foot--slim { grid-template-columns: 1fr; gap: 24px; }
}
