:root {
  --bg: #0a0424;
  --bg2: #16083f;
  --purple: #7837d8;
  --purple2: #a460ee;
  --pink: #ef9eff;
  --cyan: #2be4d0;
  --cyan2: #6ff9e9;
  --white: #fff;
  --text: #d3cce8;
  --muted: #9189ad;
  --border: rgba(255,255,255,.11);
  --glass: rgba(24,11,63,.74);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  font-family: "Figtree", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 15%, rgba(116,49,216,.30), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(43,228,208,.16), transparent 26%),
    radial-gradient(circle at 52% 88%, rgba(239,158,255,.10), transparent 30%),
    linear-gradient(135deg, #090320 0%, #120736 48%, #080629 100%);
}

button, a { font: inherit; }
a { text-decoration: none; color: inherit; }

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -10;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(#000 0%, rgba(0,0,0,.7) 65%, transparent 100%);
}

.glow {
  position: fixed;
  z-index: -8;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .2;
}
.glow-1 { width: 400px; height: 400px; left: -180px; top: 24%; background: var(--purple2); }
.glow-2 { width: 330px; height: 330px; right: -140px; top: 4%; background: var(--cyan); }
.glow-3 { width: 360px; height: 360px; right: 25%; bottom: -190px; background: var(--pink); }

.topbar {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(0,0,0,.35);
}
.brand div { display: flex; flex-direction: column; gap: 1px; }
.brand strong { font-size: 20px; letter-spacing: .05em; }
.brand span { color: var(--muted); font-size: 11px; }

.top-actions { display: flex; align-items: center; gap: 12px; }

.status-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 700;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(43,228,208,.11), 0 0 18px rgba(43,228,208,.8);
  animation: pulse 2s ease-in-out infinite;
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(16px);
}
.lang {
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  background: transparent;
  opacity: .55;
  filter: saturate(.75);
  transition: .2s ease;
}
.lang:hover { opacity: .9; transform: translateY(-1px); }
.lang.active {
  opacity: 1;
  background: rgba(255,255,255,.11);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.hero {
  width: min(1280px, calc(100% - 40px));
  min-height: calc(100vh - 140px);
  margin: 0 auto;
  padding: 45px 0 90px;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: center;
  gap: 55px;
}

.content { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  margin-bottom: 20px;
  border: 1px solid rgba(239,158,255,.16);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(120,55,216,.14), rgba(43,228,208,.06));
  color: #e9ddff;
  font-size: 12px;
  font-weight: 700;
}
.eyebrow > span:first-child { color: var(--pink); }

h1 {
  margin: 0;
  font-size: clamp(50px, 5.4vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}
.gradient-title {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #f3abff 0%, #a35fed 48%, #33e7d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding-bottom: 7px;
}

.intro {
  max-width: 620px;
  margin: 25px 0 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

.satellite-summary {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
}
.summary-item { display: flex; align-items: center; gap: 11px; }
.summary-number {
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  color: var(--cyan2);
}
.summary-item div { display: flex; flex-direction: column; gap: 2px; }
.summary-item strong { font-size: 12px; }
.summary-item small { font-size: 10px; color: var(--muted); }
.summary-divider { width: 1px; height: 36px; background: var(--border); }

.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.btn {
  min-height: 49px;
  border-radius: 14px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #11082c;
  background: linear-gradient(90deg, #f4b0ff, #39e8d5);
  box-shadow: 0 14px 32px rgba(43,228,208,.13);
}
.btn-secondary {
  color: #f4efff;
  background: rgba(255,255,255,.05);
  border-color: var(--border);
}

.signature {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 25px;
  color: #837ba3;
  font-size: 11px;
}
.signature > span:first-child {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink));
}

.visual {
  position: relative;
  width: min(640px, 52vw);
  aspect-ratio: 1.04;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.visual::before {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(239,158,255,.20), transparent 28%),
    radial-gradient(circle at 70% 70%, rgba(43,228,208,.12), transparent 30%);
  filter: blur(20px);
}

.orbit {
  position: absolute;
  border-radius: 50%;
}
.orbit-outer { inset: 2%; border: 1px solid rgba(43,228,208,.08); }
.orbit-mid { inset: 11%; border: 1px dashed rgba(163,95,237,.18); animation: spinReverse 30s linear infinite; }
.orbit-inner { inset: 22%; border: 1px solid rgba(255,255,255,.10); animation: spin 20s linear infinite; }
.orbit-inner::before,
.orbit-mid::before {
  content:"";
  position:absolute;
  top:50%;
  left:-5px;
  width:10px;
  height:10px;
  border-radius:50%;
}
.orbit-inner::before { background: var(--cyan); box-shadow: 0 0 22px rgba(43,228,208,.85); }
.orbit-mid::before { background: var(--pink); box-shadow: 0 0 22px rgba(239,158,255,.85); }

.logo-card {
  position: relative;
  z-index: 5;
  width: 42%;
  aspect-ratio: 1;
  animation: float 5s ease-in-out infinite;
}
.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 27%;
  position: relative;
  z-index: 2;
  box-shadow: 0 35px 85px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.08);
}
.logo-halo {
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(163,95,237,.85), rgba(43,228,208,.6));
  filter: blur(42px);
  opacity: .5;
}

.node {
  position: absolute;
  z-index: 8;
  min-width: 170px;
  max-width: 205px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  color: white;
  background: rgba(24,11,63,.78);
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: .22s ease;
}
.node:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(43,228,208,.28);
}
.node .icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(163,95,237,.85), rgba(43,228,208,.7));
  font-size: 13px;
  font-weight: 800;
}
.node-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.node strong { font-size: 12px; }
.node small {
  display: block;
  color: #aaa2c1;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-family { top: 8%; left: 4%; }
.node-community { top: 10%; right: 1%; }
.node-research { bottom: 14%; left: 2%; }
.node-associations { bottom: 10%; right: 0; }

.satellite-node {
  border-color: rgba(239,158,255,.17);
  background: linear-gradient(145deg, rgba(37,15,85,.9), rgba(18,10,55,.82));
}
.node-memory { top: 44%; left: -7%; }
.node-living { top: 45%; right: -8%; }
.node-deals { bottom: -2%; left: 50%; transform: translateX(-50%); }
.node-deals:hover { transform: translateX(-50%) translateY(-3px) scale(1.015); }

.spark {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 15px rgba(255,255,255,.8);
  animation: twinkle 2.5s ease-in-out infinite;
}
.s1 { top: 4%; left: 38%; }
.s2 { top: 38%; right: 3%; animation-delay: .5s; background: var(--cyan); }
.s3 { bottom: 8%; left: 32%; animation-delay: 1s; }
.s4 { top: 47%; left: 5%; animation-delay: 1.4s; background: var(--pink); }

.satellite-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.strip-head {
  max-width: 700px;
  margin-bottom: 25px;
}
.strip-kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 800;
}
.strip-head h2 {
  margin: 9px 0 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.satellite-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.sat-card {
  position: relative;
  min-height: 270px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  backdrop-filter: blur(16px);
}
.sat-card::after {
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  right:-80px;
  bottom:-90px;
  border-radius:50%;
  filter: blur(30px);
  opacity:.16;
}
.memory-card::after { background: var(--pink); }
.living-card::after { background: var(--purple2); }
.deals-card::after { background: var(--cyan); }

.sat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(163,95,237,.9), rgba(43,228,208,.7));
  font-weight: 800;
}
.sat-label {
  display: block;
  margin-top: 16px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.sat-card h3 { margin: 7px 0 9px; font-size: 22px; }
.sat-card p { margin: 0; color: #b7afcc; font-size: 13px; line-height: 1.55; }
.sat-card button {
  position: absolute;
  left: 22px;
  bottom: 20px;
  border: 0;
  padding: 0;
  color: #efeaff;
  background: none;
  font-weight: 800;
  cursor: pointer;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  color: #746c91;
  font-size: 11px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,2,24,.8);
  backdrop-filter: blur(12px);
}
.modal-card {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(38,17,88,.97), rgba(14,8,47,.98));
  box-shadow: 0 35px 90px rgba(0,0,0,.5);
  transform: translateY(16px) scale(.98);
  transition: .22s ease;
}
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: white;
  font-size: 22px;
  cursor: pointer;
}
.modal-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(163,95,237,.9), rgba(43,228,208,.75));
}
.modal-kicker {
  display: block;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 800;
}
.modal-card h2 {
  margin: 7px 0 10px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.modal-card p { color: var(--text); line-height: 1.65; }
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(43,228,208,.17);
  border-radius: 999px;
  color: #a7fff4;
  background: rgba(43,228,208,.07);
  font-size: 11px;
  font-weight: 800;
}
.coming-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(43,228,208,.9);
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.45; } }
@keyframes twinkle {
  0%,100% { opacity:.25; transform:scale(.8); }
  50% { opacity:.9; transform:scale(1.5); }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .content { margin: 0 auto; }
  .intro { margin-left: auto; margin-right: auto; }
  .satellite-summary, .actions, .signature { justify-content: center; }
  .visual { width: min(680px, 92vw); margin-top: 15px; }
}

@media (max-width: 780px) {
  .topbar { align-items: flex-start; }
  .top-actions { flex-direction: column; align-items: flex-end; }
  .status-badge { display: none; }
  .satellite-cards { grid-template-columns: 1fr; }
  .sat-card { min-height: 235px; }
}

@media (max-width: 620px) {
  .topbar, .hero, .satellite-strip, footer {
    width: min(100% - 28px, 1280px);
  }
  .brand img { width: 48px; height: 48px; }
  .brand span { display: none; }
  .language-switcher { gap: 2px; }
  .lang { width: 30px; }
  h1 { font-size: clamp(44px, 13vw, 62px); }
  .intro { font-size: 15px; }
  .satellite-summary { width: 100%; justify-content: center; gap: 12px; }
  .summary-number { font-size: 23px; }
  .summary-divider { height: 32px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }

  .visual {
    width: 100%;
    min-height: 700px;
    aspect-ratio: auto;
  }
  .logo-card { width: 52%; }
  .orbit-outer { inset: 17% 3%; }
  .orbit-mid { inset: 23% 10%; }
  .orbit-inner { inset: 29% 18%; }

  .node {
    min-width: 145px;
    max-width: 170px;
  }
  .node small { display: none; }
  .node-family { top: 3%; left: 0; }
  .node-community { top: 3%; right: 0; }
  .node-memory { top: 21%; left: -2%; }
  .node-living { top: 21%; right: -2%; }
  .node-research { bottom: 20%; left: 0; }
  .node-associations { bottom: 20%; right: 0; }
  .node-deals { bottom: 3%; }

  .satellite-strip { padding-top: 20px; }
  footer { flex-wrap: wrap; text-align: center; }
}

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


/* --- V2 : satellites étendus --- */
.family-card::after { background: #f0a4ff; }
.community-card::after { background: #8a61f3; }
.research-card::after { background: #2be4d0; }
.more-card::after { background: linear-gradient(135deg, #9e62ed, #2be4d0); }

.more-card {
  border-style: dashed;
  background:
    radial-gradient(circle at 85% 15%, rgba(43,228,208,.08), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
}

.more-badge {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a7fff4;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .satellite-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .satellite-cards { grid-template-columns: 1fr; }
}


/* ===== SEO content section ===== */
.seo-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 95px;
}

.seo-intro {
  max-width: 820px;
  margin-bottom: 28px;
}

.seo-intro h2 {
  margin: 9px 0 15px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.seo-intro p {
  margin: 0;
  color: #bdb5d1;
  font-size: 16px;
  line-height: 1.75;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.seo-grid article {
  min-height: 205px;
  padding: 21px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
}

.seo-index {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}

.seo-grid h3 {
  margin: 10px 0 9px;
  font-size: 20px;
}

.seo-grid p {
  margin: 0;
  color: #a9a1bf;
  font-size: 13px;
  line-height: 1.62;
}

.seo-more {
  border-style: dashed !important;
  background:
    radial-gradient(circle at 90% 15%, rgba(43,228,208,.08), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)) !important;
}

@media (max-width: 920px) {
  .seo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .seo-section { width: min(100% - 28px, 1180px); padding-bottom: 70px; }
  .seo-grid { grid-template-columns: 1fr; }
  .seo-grid article { min-height: auto; }
}


/* ===== V4 Flags visibility improvement ===== */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.lang {
  min-width: 54px;
  min-height: 52px;
  padding: 6px 8px;
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(255,255,255,.03);
  border: 1px solid transparent;
  opacity: 1;
  filter: none;
  transition: .18s ease;
}

.lang:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.14);
}

.lang.active {
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border-color: rgba(43,228,208,.36);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 0 1px rgba(43,228,208,.08);
}

.lang .flag {
  display: block;
  font-size: 20px;
  line-height: 1;
  filter: saturate(1.05);
}

.lang .lang-code {
  display: block;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  color: #f6f2ff;
}

@media (max-width: 620px) {
  .language-switcher {
    gap: 4px;
    padding: 5px;
  }

  .lang {
    min-width: 46px;
    min-height: 46px;
    padding: 5px 6px;
  }

  .lang .flag {
    font-size: 17px;
  }

  .lang .lang-code {
    font-size: 9px;
  }
}
