/* Pages GEO, AEO et ChatGPT Ads : visuels propres au référencement IA (planètes, orbites d'assistants, maquettes).
   Chargé uniquement sur ces pages, après site.css et aube.css. Tous les visuels sont décoratifs (aria-hidden). */

/* ---------- 1. Scène d'en-tête : la planète du marché, l'orbite des assistants IA, une réponse en direct ---------- */
.gx-stage { position: relative; display: grid; align-self: center; width: 100%; max-width: 600px; margin-inline: auto; }
.gx-orbit { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin: 0 0 0 auto; }
.gx-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gx-rings .r { fill: none; stroke: url(#gxg); stroke-width: 1.4; opacity: .55; }
.gx-rings .r2 { stroke-dasharray: 2 9; stroke-width: 1.6; opacity: .7; animation: gx-flow 3s linear infinite; }
.gx-rings .glow { fill: none; stroke: url(#gxg); stroke-width: 9; opacity: .18; filter: url(#gxb); }
.gx-rings .d { fill: #fff; filter: drop-shadow(0 0 6px #f6c35b); }
@keyframes gx-flow { to { stroke-dashoffset: -22; } }
.gx-core { position: absolute; left: 50%; top: 50%; width: 44%; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; }
.gx-core::before { content: ""; position: absolute; inset: -38%; border-radius: 50%; background: radial-gradient(closest-side, rgba(109, 95, 240, .45), rgba(232, 87, 122, .14) 55%, transparent 75%); filter: blur(6px); z-index: -1; animation: gx-pulse 6s ease-in-out infinite; }
.gx-core .p3d, .gx-core .p3d-still { width: 100%; height: auto; }
.gx-core .p3d { display: block; width: 100%; aspect-ratio: 1; }
@keyframes gx-pulse { 50% { opacity: .65; scale: 1.06; } }
/* orbite des assistants : le cercle tourne, chaque étiquette reste droite */
/* calque fixe autour de l'orbite : les étiquettes et les drapeaux s'effacent avant de passer sous la carte de réponse */
/* le calque est deux fois plus large que l'orbite : un masque coupe tout ce qui dépasse de sa boîte, les étiquettes des bords doivent y tenir */
.gx-labs { position: absolute; top: 0; bottom: 0; left: -50%; right: -50%; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 var(--gx-f0, 56%), transparent var(--gx-f1, 73%)); mask-image: linear-gradient(#000 var(--gx-f0, 56%), transparent var(--gx-f1, 73%)); }
.gx-track { position: absolute; inset: 7%; animation: gx-spin 64s linear infinite; }
.gx-labs > .gx-track { inset: 7% 28.5%; } /* 7 % de l'orbite de chaque côté : (50 + 7) / 200 */
.gx-labs > .gx-sys { inset: 0 25%; }
.gx-moon { position: absolute; inset: 0; rotate: var(--a); pointer-events: none; }
.gx-moon > b { position: absolute; left: 50%; top: 0; translate: -50% -50%; rotate: calc(-1 * var(--a)); display: block; }
.gx-moon > b > span { display: inline-flex; align-items: center; gap: .45em; padding: .5em .9em; border-radius: 999px; white-space: nowrap;
  font: 700 .74rem/1 var(--body); color: #fff; letter-spacing: .01em;
  background: linear-gradient(160deg, rgba(40, 30, 92, .94), rgba(14, 11, 36, .94)); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9), 0 0 18px -6px var(--c, rgba(246, 195, 91, .6));
  animation: gx-spin 64s linear infinite reverse; }
.gx-moon > b > span::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--c, #f6c35b); box-shadow: 0 0 8px var(--c, #f6c35b); }
.gx-moon.loc > b > span { border-color: rgba(246, 195, 91, .6); }
@keyframes gx-spin { to { rotate: 360deg; } }
/* réponse d'assistant en verre */
.gx-chat { position: relative; z-index: 2; width: min(100%, 400px); margin: -24% 0 0 0; padding: 14px 16px 16px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(32, 24, 76, .92), rgba(11, 9, 30, .95)); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 60px -30px rgba(232, 87, 122, .5); font-family: var(--body); color: #fff;
  transform: perspective(1200px) rotateY(var(--ry, 7deg)) rotateX(var(--rx, 3deg)); transition: transform .4s ease-out; }
.gx-chat::before, .gx-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(246, 195, 91, .6), rgba(232, 87, 122, .25) 40%, rgba(109, 95, 240, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.gx-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.gx-top .dots { display: flex; gap: 5px; }
.gx-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.gx-top .dots i:first-child { background: #e8577a; }
.gx-top .dots i:nth-child(2) { background: #f6c35b; }
.gx-top .pill { margin-left: auto; padding: 4px 8px; border-radius: 999px; font-size: .6rem; letter-spacing: .12em; color: #0b0720; background: var(--grad); }
.gx-q { margin: 0 0 10px auto; width: fit-content; max-width: 88%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; font-size: .8rem; line-height: 1.45; color: #fff; background: rgba(255, 255, 255, .08); }
.gx-a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 9px; align-items: start; }
.gx-a > i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .8rem; color: #0b0720; background: var(--grad); box-shadow: 0 0 16px rgba(232, 87, 122, .5); }
.gx-a p { margin: 0; min-height: 4.4em; font-size: .82rem; line-height: 1.55; color: rgba(255, 255, 255, .92); max-width: none; }
.gx-a mark, .gx-card mark { color: #fff; font-weight: 700; border-radius: 4px; padding: 0 3px; background: linear-gradient(transparent 52%, rgba(232, 87, 122, .6) 52%); }
.gx-a p .car { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: #f6c35b; animation: gx-car .8s steps(1) infinite; }
@keyframes gx-car { 50% { opacity: 0; } }
.gx-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
.gx-src .lab { font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-right: 2px; }
.gx-src span:not(.lab) { padding: 4px 9px; border-radius: 999px; font-size: .64rem; font-weight: 700; color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .07); opacity: 0; translate: 0 6px; transition: opacity .5s, translate .5s; }
.gx-src span.you { color: #0b0720; background: var(--grad); }
.gx-done .gx-src span:not(.lab) { opacity: 1; translate: none; }
.gx-done .gx-src span:nth-child(3) { transition-delay: .15s; }
.gx-done .gx-src span:nth-child(4) { transition-delay: .3s; }
.gx-done .gx-src span:nth-child(5) { transition-delay: .45s; }
/* plusieurs planètes (international) */
.gx-orbit.multi .gx-core { width: 30%; }
.gx-sys { position: absolute; inset: 0; animation: gx-spin 90s linear infinite; }
.gx-sys > span { position: absolute; inset: 0; rotate: var(--a); }
.gx-sys > span > span { position: absolute; left: 50%; top: 3%; width: 17%; aspect-ratio: 1; translate: -50% 0; rotate: calc(-1 * var(--a)); }
.gx-sys > span > span > span { position: relative; display: block; width: 100%; height: 100%; animation: gx-spin 90s linear infinite reverse; }
.gx-sys .p3d, .gx-sys img { display: block; width: 100%; height: 100%; }
.gx-sys b { position: absolute; left: 50%; top: 104%; translate: -50% 0; padding: 3px 8px; border-radius: 999px; font: 800 .6rem/1 var(--body); letter-spacing: .12em; color: #0b0720; background: var(--grad); white-space: nowrap; }

/* ---------- 2. Frise des dates clés ---------- */
.gx-tl { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }
.gx-tl ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.gx-tl ol::before, .gx-tl ol::after { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; border-radius: 2px; background: var(--line-2); }
.gx-tl ol::after { background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); transition: transform 2.2s cubic-bezier(.2, .8, .2, 1) .2s; box-shadow: 0 0 14px rgba(232, 87, 122, .45); }
.gx-tl.in ol::after { transform: scaleX(1); }
.gx-tl li { position: relative; padding-top: 2.6rem; opacity: .35; transition: opacity .7s ease calc(var(--i) * .35s + .3s); }
.gx-tl.in li { opacity: 1; }
.gx-tl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #f6c35b 45%, #e8577a); box-shadow: 0 0 0 5px rgba(246, 195, 91, .14), 0 0 22px rgba(246, 195, 91, .7); scale: .4; transition: scale .6s cubic-bezier(.34, 1.56, .64, 1) calc(var(--i) * .35s + .3s); }
.gx-tl.in li::before { scale: 1; }
.gx-tl time { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 850; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-tl b { display: block; margin: .55rem 0 .35rem; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.gx-tl li > span { display: block; color: var(--muted); font-size: var(--t-small); line-height: 1.55; }
.gx-tl .gx-from { display: inline-block; margin-top: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.gx-tl .gx-from:hover { color: var(--ink); border-color: var(--sun); }
.gx-tl[style*="--n:5"] time, .gx-tl[style*="--n:6"] time { font-size: clamp(1rem, 1.45vw, 1.3rem); }
.gx-tl li.now::before { background: radial-gradient(circle at 35% 30%, #fff, #5fd3ee 45%, #6d5ff0); box-shadow: 0 0 0 5px rgba(95, 211, 238, .16), 0 0 22px rgba(95, 211, 238, .8); }

/* ---------- 3. Constellation des sources qui comptent pour les IA ---------- */
.gx-const { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.gx-const-core { grid-column: 2; grid-row: 1 / span 2; position: relative; display: grid; place-items: center; min-height: 420px; }
.gx-const-core .ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .22); animation: gx-spin 80s linear infinite; }
.gx-const-core .ring.r2 { inset: 20%; border-style: solid; border-color: rgba(246, 195, 91, .25); animation-duration: 50s; animation-direction: reverse; }
.gx-const-core .ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #5fd3ee 60%, #6d5ff0); box-shadow: 0 0 12px rgba(95, 211, 238, .8); }
.gx-const-core .pl { position: relative; width: min(62%, 240px); aspect-ratio: 1; }
.gx-const-core .pl .p3d, .gx-const-core .pl img { display: block; width: 100%; height: 100%; }
.gx-const-core .pl::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(95, 211, 238, .35), rgba(109, 95, 240, .12) 60%, transparent 75%); z-index: -1; }
.gx-const-core p { position: absolute; bottom: 4%; left: 0; right: 0; margin: 0; text-align: center; font: 800 .66rem/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gx-sat { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .9rem; align-items: start; padding: 1.2rem 1.25rem; border-radius: var(--r-md, 18px); border: 1px solid var(--line); background: radial-gradient(circle at 0% 0%, rgba(109, 95, 240, .16), transparent 60%), rgba(255, 255, 255, .03); }
.gx-sat img { width: 64px; height: 64px; margin: -6px 0 0 -6px; filter: drop-shadow(0 10px 14px rgba(40, 18, 96, .35)); }
.gx-sat h3 { margin: 0 0 .35rem; font-family: var(--body); font-stretch: 100%; text-transform: none; letter-spacing: 0; font-weight: 700; --fs: 1.02rem; font-size: 1.02rem; line-height: 1.3; }
.gx-sat p { margin: 0; color: var(--muted); font-size: var(--t-small); line-height: 1.55; }
.gx-const > .gx-sat:nth-child(3) { grid-column: 1; grid-row: 1; }
.gx-const > .gx-sat:nth-child(4) { grid-column: 3; grid-row: 1; }
.gx-const > .gx-sat:nth-child(5) { grid-column: 1; grid-row: 2; }
.gx-const > .gx-sat:nth-child(6) { grid-column: 3; grid-row: 2; }
.gx-const .gx-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.gx-const .gx-wires path { fill: none; stroke: url(#gxw); stroke-width: 1.4; stroke-dasharray: 3 8; animation: gx-flow 2.4s linear infinite; opacity: .7; }
.gx-sat, .gx-const-core { z-index: 1; }

/* ---------- 4. Cartes maquettes (aperçu IA, tableau de suivi, annonce, matrice des langues) ---------- */
.gx-card { position: relative; padding: 16px 18px 18px; border-radius: 22px; color: #fff; font-family: var(--body);
  background: linear-gradient(160deg, rgba(32, 24, 76, .92), rgba(11, 9, 30, .95)); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 60px -30px rgba(109, 95, 240, .55); }
.gx-mock { position: relative; margin-top: clamp(2rem, 4vw, 3rem); max-width: 540px; }
.gx-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: rgba(255, 255, 255, .9); }
.gx-bar svg { width: 16px; height: 16px; fill: none; stroke: #f6c35b; stroke-width: 2; flex: none; }
.gx-aio-h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; color: #fff; }
.gx-aio-h i { font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; color: #0b0720; background: var(--grad); }
.gx-aio-t { margin: 0 0 12px; font-size: .82rem; line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: none; }
.gx-aio-src { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gx-aio-src li { padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: .64rem; line-height: 1.35; color: rgba(255, 255, 255, .7); overflow: hidden; }
.gx-aio-src li b { display: block; margin-bottom: 3px; font-size: .66rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-aio-src li.you { background: linear-gradient(160deg, rgba(246, 195, 91, .22), rgba(232, 87, 122, .14)); box-shadow: 0 0 0 1px rgba(246, 195, 91, .55) inset; }
.gx-aio-src li.you b { color: #f6c35b; }
.gx-rows { margin-top: 12px; display: grid; gap: 7px; }
.gx-rows i { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .07); }
.gx-rows i:nth-child(2) { width: 82%; } .gx-rows i:nth-child(3) { width: 64%; }
.gx-chip { position: absolute; padding: 8px 14px; border-radius: 999px; font: 700 .72rem/1 var(--body); color: #fff; white-space: nowrap;
  background: linear-gradient(160deg, rgba(40, 30, 90, .96), rgba(14, 11, 36, .96)); border: 1px solid rgba(246, 195, 91, .55);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .9); animation: hcFloat 6s ease-in-out infinite; }
.gx-chip.c1 { right: -12px; top: -16px; }
.gx-chip.c2 { left: -10px; bottom: -16px; animation-delay: -3s; border-color: rgba(95, 211, 238, .55); }
/* tableau de suivi */
.gx-dash-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.gx-dash-h p { margin: 0; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.gx-dash-h strong { white-space: nowrap; font: 850 2.4rem/1 var(--display); font-stretch: 125%; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-dash-h em { display: block; font-style: normal; font-size: .66rem; color: #8fe3c2; font-weight: 700; margin-top: 4px; }
.gx-bars { display: grid; gap: 10px; }
.gx-bars > div { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr) 2.8rem; gap: 10px; align-items: center; font-size: .72rem; color: rgba(255, 255, 255, .85); }
.gx-bars u { text-decoration: none; position: relative; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.gx-bars u::before, .gx-bars u::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; width: 0; transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.gx-bars u::before { background: rgba(255, 255, 255, .22); transition-delay: .2s; }
.gx-bars u::after { background: var(--grad); box-shadow: 0 0 12px rgba(232, 87, 122, .45); transition-delay: .7s; }
.gx-play .gx-bars u::before { width: calc(var(--a) * 1%); }
.gx-play .gx-bars u::after { width: calc(var(--b) * 1%); }
.gx-bars span:last-child { text-align: right; font-weight: 800; color: #fff; }
.gx-leg { display: flex; gap: 14px; margin-top: 12px; font-size: .62rem; color: rgba(255, 255, 255, .6); }
.gx-leg span { display: inline-flex; align-items: center; gap: 6px; }
.gx-leg span::before { content: ""; width: 14px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.gx-leg span.b::before { background: var(--grad); }
/* annonce dans une réponse (ChatGPT Ads) */
.gx-ad { margin-top: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; opacity: 0; translate: 0 10px; transition: opacity .7s, translate .7s; }
.gx-done .gx-ad { opacity: 1; translate: none; }
.gx-ad .sp { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.gx-ad .sp i { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); box-shadow: 0 0 10px rgba(232, 87, 122, .45); }
.gx-ad .sp b { color: #fff; letter-spacing: .02em; text-transform: none; font-size: .72rem; }
.gx-ad h4 { margin: 0 0 4px; font: 700 .86rem/1.3 var(--body); color: #fff; }
.gx-ad p { margin: 0 0 8px; font-size: .72rem; line-height: 1.5; color: rgba(255, 255, 255, .72); max-width: none; }
.gx-ad .go { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .66rem; font-weight: 800; color: #0b0720; background: var(--grad); }
.gx-ad .img { border-radius: 12px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), transparent 30%), linear-gradient(140deg, #f6c35b, #e8577a 45%, #6d5ff0); min-height: 84px; }
/* matrice langues × assistants (international) */
.gx-heat { display: grid; grid-template-columns: 6.6rem repeat(5, minmax(0, 1fr)); gap: 6px; font-size: .64rem; }
.gx-heat > span { display: grid; place-items: center; min-height: 34px; border-radius: 8px; color: rgba(255, 255, 255, .6); font-weight: 700; }
.gx-heat > span.h { min-height: 0; padding-bottom: 4px; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.gx-heat > span.l { justify-content: start; gap: 6px; grid-auto-flow: column; color: #fff; }
.gx-heat > span.l img { width: 20px; height: 20px; }
.gx-heat > span.v { color: #fff; background: rgba(255, 255, 255, .05); position: relative; overflow: hidden; }
.gx-heat > span.v::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, #f6c35b, #e8577a 50%, #6d5ff0); opacity: 0; transition: opacity 1s ease calc(var(--i, 0) * .06s); }
.gx-play .gx-heat > span.v::before { opacity: min(1, calc(var(--v) / 55)); }
.gx-heat > span.v b { position: relative; }

/* conversation qui change de langue (international) */
.gx-chat .gx-q, .gx-chat .gx-a p { transition: opacity .4s ease; }
.gx-swap .gx-q, .gx-swap .gx-a p, .gx-swap .gx-src span:not(.lab) { opacity: 0 !important; }
.gx-sys > span > span > span { transition: filter .6s ease, scale .6s ease; }
.gx-sys > span.on > span > span { filter: drop-shadow(0 0 18px rgba(246, 195, 91, .75)); scale: 1.12; }
.gx-sys > span.on b { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 0 18px rgba(246, 195, 91, .8); }
/* maquette de campagne (ChatGPT Ads) */
.gx-camp-w { max-width: 420px; }
.gx-camp-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.gx-camp-h .lg { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); box-shadow: 0 0 14px rgba(232, 87, 122, .5); flex: none; }
.gx-camp-h p { margin: 0; flex: 1; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.gx-camp-h .st { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .62rem; font-weight: 800; color: #8fe3c2; background: rgba(143, 227, 194, .1); border: 1px solid rgba(143, 227, 194, .35); }
.gx-camp-h .st i { width: 7px; height: 7px; border-radius: 50%; background: #8fe3c2; box-shadow: 0 0 8px #8fe3c2; animation: gx-blink 1.6s ease-in-out infinite; }
@keyframes gx-blink { 50% { opacity: .3; } }
.gx-camp dl { margin: 0; display: grid; gap: 10px; }
.gx-camp dl > div { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); }
.gx-camp dt { margin-bottom: 7px; font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.gx-camp dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .74rem; font-weight: 700; color: #fff; }
.gx-camp .tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font-size: .66rem; font-weight: 700; background: rgba(255, 255, 255, .08); }
.gx-camp .tag img { width: 16px; height: 16px; }
.gx-camp .tag.h { background: linear-gradient(160deg, rgba(246, 195, 91, .2), rgba(232, 87, 122, .16)); box-shadow: 0 0 0 1px rgba(246, 195, 91, .45) inset; opacity: 0; translate: 0 6px; transition: opacity .6s ease calc(var(--i) * .25s + .3s), translate .6s ease calc(var(--i) * .25s + .3s); }
.gx-camp.gx-play .tag.h { opacity: 1; translate: none; }
.gx-camp-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.gx-camp-k > div { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.gx-camp-k span { display: block; font-size: .56rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.gx-camp-k strong { display: block; margin-top: 4px; font: 850 1.15rem/1 var(--display); font-stretch: 125%; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }

/* ---------- 5. Monument du marché (rendu 3D) dans la colonne fixe ---------- */
.gx-mon { position: relative; margin-top: clamp(2rem, 4vw, 3rem); max-width: 340px; }
.gx-mon img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(20, 10, 60, .45)); }
.gx-mon::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: -4%; height: 26%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 170, 80, .35), rgba(232, 87, 122, .12) 60%, transparent 80%); z-index: -1; }
.aube-jour .gx-mon { padding: 18px; border-radius: 26px; overflow: hidden; background: radial-gradient(70% 60% at 50% 100%, rgba(109, 95, 240, .35), transparent 70%), linear-gradient(180deg, #07051a, #15103a 70%, #1d1546); box-shadow: 0 24px 50px -24px rgba(40, 20, 100, .55); }
.aube-jour .gx-mon::before { bottom: 2%; }

.gx-mons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 400px; margin-top: clamp(2rem, 4vw, 3rem); }
.gx-mons .gx-mon { margin: 0; max-width: none; aspect-ratio: 1; display: grid; place-items: end center; padding: 14px 12px 10px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 100%, rgba(109, 95, 240, .35), transparent 70%), linear-gradient(180deg, #07051a, #15103a 70%, #1d1546); box-shadow: 0 24px 50px -24px rgba(40, 20, 100, .55); border: 1px solid rgba(255, 255, 255, .08); }
.gx-mons .gx-mon img { width: auto; height: auto; max-width: 100%; max-height: 100%; filter: drop-shadow(0 16px 22px rgba(20, 10, 60, .5)); }
.gx-mons .gx-mon::before { bottom: 2%; }
/* ---------- 6. Pays du GEO (cartes vers les pages marché) ---------- */
.gx-mk { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--s3, 1rem); list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; }
.gx-mk li { display: flex; }
.gx-mk a { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: .5rem; width: 100%; padding: 1.4rem 1.3rem 1.2rem; border-radius: var(--r-md, 18px); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  background: radial-gradient(circle at 85% 0%, rgba(109, 95, 240, .2), transparent 60%), rgba(255, 255, 255, .03); transition: border-color .3s, transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.gx-mk a:hover, .gx-mk a:focus-visible { border-color: var(--sun); transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(246, 195, 91, .35); }
.gx-mk .pl { width: 72px; height: 72px; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.gx-mk .pl .p3d, .gx-mk .pl img { display: block; width: 100%; height: 100%; }
.gx-mk a:hover .pl { transform: scale(1.1) rotate(-8deg); }
.gx-mk .k { font-size: var(--t-label, .72rem); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.gx-mk .t { font: 700 1.08rem/1.3 var(--body); }
.gx-mk .d { color: var(--muted); font-size: var(--t-small); line-height: 1.55; }
.gx-mk .go { justify-self: start; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, color .3s; }
.gx-mk .go svg { width: 16px; height: 16px; }
.gx-mk a:hover .go { background: var(--grad); color: #120c2e; border-color: transparent; }

/* bande ChatGPT Ads (pages GEO existantes et pages marché) */
.gx-band { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.4rem; margin-top: var(--s3, 1rem); padding: 1.15rem 1.5rem; border-radius: var(--r-md, 18px);
  border: 1px solid rgba(246, 195, 91, .4); background: linear-gradient(110deg, rgba(246, 195, 91, .14), rgba(232, 87, 122, .1) 45%, rgba(109, 95, 240, .14)); }
.gx-band .pl { width: 74px; height: 74px; }
.gx-band .pl .p3d, .gx-band .pl img { display: block; width: 100%; height: 100%; }
.gx-band .k { margin: 0 0 .3rem; font-size: var(--t-label, .72rem); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.gx-band .t { margin: 0; font: 700 1.12rem/1.35 var(--body); color: var(--ink); max-width: none; }
.gx-band .d { margin: .3rem 0 0; color: var(--muted); font-size: var(--t-small); max-width: none; }
.aube-jour .gx-band { background-color: #fff; }

/* ---------- 7. Mises en page ---------- */
.gx-hero h1.gx-long { --fs: clamp(2.2rem, 4.1vw, 4.2rem); }
.gx-hero h1 { --fs: clamp(2.4rem, 4.7vw, 4.9rem); }
.gx-txt h2 { --fs: clamp(2.1rem, 3.7vw, 3.6rem); margin-bottom: var(--s5, 2rem); }
.gx-txt .btn { margin-top: var(--s4, 1.5rem); }
.gx-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.gx-split .gx-txt > p { color: var(--ink-2); font-size: var(--t-lead); line-height: 1.6; }
.gx-split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.gx-split.rev .gx-vis { order: -1; }
.gx-intro { max-width: 62ch; color: var(--ink-2); font-size: var(--t-lead); line-height: 1.6; margin: 0; }
.gx-note { margin-top: 1rem; font-size: .78rem; color: var(--muted); }
.gx-note a { color: inherit; }
.gx-cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3, 1rem); margin-top: clamp(2rem, 4vw, 3rem); }
.gx-cards4 > div { position: relative; padding: 1.4rem 1.3rem; border-radius: var(--r-md, 18px); border: 1px solid var(--line); background: radial-gradient(circle at 0% 0%, rgba(232, 87, 122, .12), transparent 60%), rgba(255, 255, 255, .03); }
.gx-cards4 img { width: 72px; height: 72px; margin: -8px 0 .4rem -8px; filter: drop-shadow(0 10px 14px rgba(40, 18, 96, .35)); }
.gx-cards4 h3 { margin: 0 0 .4rem; font-family: var(--body); font-stretch: 100%; text-transform: none; letter-spacing: 0; font-weight: 700; --fs: 1.05rem; font-size: 1.05rem; }
.gx-cards4 p { margin: 0; color: var(--muted); font-size: var(--t-small); line-height: 1.55; }
.aube-jour :is(.gx-sat, .gx-cards4 > div, .gx-mk a) { background-color: #fff; }

/* ---------- 8. Déploiement des IA dans la recherche, pays par pays (vrai tableau, lisible par les IA) ---------- */
.gx-roll { margin-top: clamp(2rem, 4vw, 3rem); overflow-x: auto; }
.gx-roll table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0 .75rem; }
.gx-roll thead th { padding: 0 1.2rem .2rem; text-align: left; font-size: var(--t-label, .72rem); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gx-roll tbody th, .gx-roll tbody td { padding: 1.15rem 1.2rem; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background-color: rgba(255, 255, 255, .04); transition: background-color .3s; }
.gx-roll tbody th { background-image: linear-gradient(90deg, rgba(109, 95, 240, .18), transparent); }
.gx-roll tbody th { border-left: 1px solid var(--line); border-radius: var(--r-md, 18px) 0 0 var(--r-md, 18px); font: 700 1.02rem/1.3 var(--body); color: var(--ink); }
.gx-roll tbody th img { display: inline-block; width: 34px; height: 34px; margin-right: .75rem; vertical-align: middle; filter: drop-shadow(0 6px 10px rgba(20, 10, 60, .45)); }
.gx-roll tbody td:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--r-md, 18px) var(--r-md, 18px) 0; }
.gx-roll tbody tr:hover > * { background-color: rgba(255, 255, 255, .03); }
.gx-roll time { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 850; font-size: clamp(1.02rem, 1.5vw, 1.25rem); line-height: 1.15; white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-roll td.soon time { background: none; color: var(--muted); }
.gx-roll td.na span { color: var(--muted); font-size: var(--t-small); }
.gx-roll .gx-from { display: inline-block; margin-top: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.gx-roll .gx-from:hover { color: var(--ink); border-color: var(--sun); }
.gx-sat img.flag { border-radius: 50%; }

@media (max-width: 1100px) {
  .sd-hero-grid > .gx-stage { order: 2; }
  .gx-labs { --gx-f0: 62%; --gx-f1: 79%; }
  .gx-mon { max-width: 300px; }
  .gx-mon img { width: auto; max-width: 100%; max-height: 340px; margin-inline: auto; }
  .gx-stage { max-width: 560px; }
  .gx-chat { margin-top: -18%; }
  .gx-split, .gx-split.rev { grid-template-columns: minmax(0, 1fr); }
  .gx-split.rev .gx-vis { order: 0; }
  .gx-const { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* pleine largeur : l'anneau qui tourne et la toile de la planète ne doivent pas élargir la page sur mobile */
  .gx-const-core { grid-column: 1 / -1; grid-row: auto; min-height: 300px; order: -1; overflow: hidden; }
  .gx-const > .gx-sat:nth-child(n) { grid-column: auto; grid-row: auto; }
  .gx-const .gx-wires { display: none; }
  .gx-cards4, .gx-mk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-tl ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .gx-tl ol::before, .gx-tl ol::after { display: none; }
}
@media (max-width: 640px) {
  .gx-orbit { width: 100%; }
  .gx-labs { --gx-f0: 64%; --gx-f1: 82%; }
  .gx-orbit.multi .gx-labs { --gx-f0: 60%; --gx-f1: 78%; }
  .gx-labs > .gx-track { inset: 12% 31%; } /* (50 + 12) / 200 */
  /* la toile de la planète centrale fait 2,2 fois sa largeur : plus petite sur mobile, elle reste dans l'écran */
  .gx-const-core .pl { width: min(50%, 200px); }
  .gx-moon > b > span { font-size: .62rem; padding: .45em .7em; }
  .gx-chat { width: 100%; margin-top: -14%; transform: none; }
  .gx-const, .gx-cards4, .gx-mk, .gx-tl ol { grid-template-columns: minmax(0, 1fr); }
  .gx-aio-src { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-aio-src li:nth-child(3) { display: none; }
  .gx-bars > div { grid-template-columns: 5.6rem minmax(0, 1fr) 2.4rem; }
  .gx-dash-h strong { font-size: 1.8rem; }
  .gx-heat { grid-template-columns: 1.6rem repeat(5, minmax(0, 1fr)); gap: 5px; font-size: .56rem; }
  .gx-heat > span.l { font-size: 0; }
  .gx-heat > span.h { font-size: .46rem; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gx-band { grid-template-columns: auto minmax(0, 1fr); padding: 1.1rem; }
  .gx-band .btn { grid-column: 1 / -1; justify-self: start; }
  .gx-roll { overflow: visible; }
  .gx-roll table, .gx-roll tbody, .gx-roll tr, .gx-roll th, .gx-roll td { display: block; min-width: 0; }
  .gx-roll thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gx-roll tbody tr { margin-bottom: 1rem; border: 1px solid var(--line); border-radius: var(--r-md, 18px); overflow: hidden;
    background: radial-gradient(circle at 0% 0%, rgba(109, 95, 240, .14), transparent 70%), rgba(255, 255, 255, .03); }
  .gx-roll tbody th, .gx-roll tbody td { border: 0; border-radius: 0; background: none; padding: .8rem 1.1rem; }
  .gx-roll tbody th { padding-top: 1.1rem; }
  .gx-roll tbody td { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); align-items: baseline; gap: .2rem .8rem; border-top: 1px solid var(--line); }
  .gx-roll tbody td::before { content: attr(data-th); grid-row: span 2; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .gx-roll tbody td:last-child { border-right: 0; border-radius: 0; }
  .gx-roll .gx-from { margin-top: 0; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .gx-track, .gx-moon > b > span, .gx-sys, .gx-sys > span > span > span, .gx-const-core .ring, .gx-rings .r2, .gx-const .gx-wires path, .gx-core::before { animation: none !important; }
  .gx-tl ol::after { transition: none; transform: scaleX(1); }
  .gx-tl li, .gx-tl li::before { transition: none; opacity: 1; scale: 1; }
}
