/* === SECTION 2 COLONNES LOGO 3D À GAUCHE === */
.logo-2col-section {
  --idea-accent-blue: 73, 149, 255;
  --idea-accent-gold: 255, 201, 130;
  /* When hovering a Central highlight, JS sets these rgb vars on the section.
     Alpha is controlled by [data-central-hover] to keep default state unchanged. */
  --central-hover-rgb-1: var(--idea-accent-gold);
  --central-hover-rgb-2: var(--idea-accent-blue);
  --central-hover-a1: 0;
  --central-hover-a2: 0;
  --central-hover-a3: 0;
  /* Shared "glass" background for both faces (transparent, brand-adaptive) */
  background:
    radial-gradient(980px 620px at 18% 22%, rgba(var(--central-hover-rgb-1), var(--central-hover-a1)) 0%, rgba(var(--central-hover-rgb-1), 0) 66%),
    radial-gradient(980px 620px at 86% 68%, rgba(var(--central-hover-rgb-2), var(--central-hover-a2)) 0%, rgba(var(--central-hover-rgb-2), 0) 66%),
    conic-gradient(from 210deg at 50% 50%, rgba(var(--central-hover-rgb-1), var(--central-hover-a3)), rgba(var(--central-hover-rgb-2), var(--central-hover-a3)), rgba(255, 255, 255, var(--central-hover-a3)), rgba(var(--central-hover-rgb-1), var(--central-hover-a3))),
    radial-gradient(900px 560px at 16% 18%, rgba(var(--idea-accent-blue), 0.22) 0%, rgba(var(--idea-accent-blue), 0) 64%),
    radial-gradient(980px 620px at 86% 22%, rgba(var(--idea-accent-gold), 0.16) 0%, rgba(var(--idea-accent-gold), 0) 66%),
    radial-gradient(760px 520px at 52% 86%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 66%),
    conic-gradient(from 210deg at 50% 50%, rgba(var(--idea-accent-gold), 0.10), rgba(var(--idea-accent-blue), 0.10), rgba(255, 255, 255, 0.06), rgba(var(--idea-accent-gold), 0.10)),
    linear-gradient(120deg, #0e1020 0%, #181a2a 45%, #0e1020 100%);
  background-size: 160% 160%;
  animation: ideaSharedBackdropDrift 12.8s ease-in-out infinite;
  filter: saturate(1.05);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: filter 180ms ease;
}

/* Keep IDEA Central cards visually stable (no backdrop drift at rest) */
.logo-2col-section.is-central {
  animation: none;
  background-position: 50% 50%;
}

/* Section-wide background tint while hovering a Central highlight */
.logo-2col-section.is-central[data-central-hover] {
  /* Keep the base backdrop unchanged; spotlight is handled by ::before */
  --central-hover-a1: 0;
  --central-hover-a2: 0;
  --central-hover-a3: 0;
}

/* Extra overlay during hover (keeps the effect obvious even with the base animated backdrop) */
.logo-2col-section.is-central[data-central-hover]:not(.is-intro)::before {
  content: "";
  position: absolute;
  top: -12%;
  left: -16%;
  right: -16%;
  bottom: auto;
  height: clamp(260px, 56vh, 680px);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(860px 520px at 18% 18%, rgba(var(--central-hover-rgb-1), 0.58) 0%, rgba(var(--central-hover-rgb-1), 0) 66%),
    radial-gradient(920px 560px at 82% 32%, rgba(var(--central-hover-rgb-2), 0.52) 0%, rgba(var(--central-hover-rgb-2), 0) 68%),
    conic-gradient(from 210deg at 50% 20%, rgba(var(--central-hover-rgb-1), 0.20), rgba(var(--central-hover-rgb-2), 0.20), rgba(255,255,255,0.08), rgba(var(--central-hover-rgb-1), 0.20));
  filter: blur(18px) saturate(1.25);
  mix-blend-mode: screen;
  opacity: 1;

  /* Fade out towards the bottom: "projector" only on the top part */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%);
}

@keyframes ideaSharedBackdropDrift {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}

/* Intro overlay (brand glow) */
.logo-2col-section.is-intro::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(560px 420px at 18% 22%, rgba(255, 201, 130, 0.26) 0%, rgba(255, 201, 130, 0) 70%),
    radial-gradient(700px 460px at 84% 18%, rgba(73, 149, 255, 0.26) 0%, rgba(73, 149, 255, 0) 70%),
    conic-gradient(from 200deg at 50% 50%, rgba(255,201,130,0.12), rgba(73,149,255,0.10), rgba(255,255,255,0.06), rgba(255,201,130,0.12));
  filter: blur(20px) saturate(1.2);
  opacity: 0.0;
  transform: translate3d(0,0,0) scale(0.98);
  animation: ideaCentralIntroGlow 2.35s ease-in-out 1;
}

/* Intro starfield (subtle) */
.logo-2col-section.is-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,0.20) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 220px 220px,
    radial-gradient(circle at 72% 68%, rgba(255,255,255,0.16) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 280px 280px,
    radial-gradient(circle at 42% 78%, rgba(255,201,130,0.14) 0 1px, rgba(255,201,130,0) 2px) 0 0 / 320px 320px,
    radial-gradient(circle at 86% 38%, rgba(73,149,255,0.14) 0 1px, rgba(73,149,255,0) 2px) 0 0 / 340px 340px;
  opacity: 0;
  animation: ideaCentralStars 2.35s ease-in-out 1;
}

@keyframes ideaCentralIntroGlow {
  0% { opacity: 0; transform: translate3d(0,0,0) scale(0.98) rotate(-1deg); }
  22% { opacity: 0.95; }
  55% { opacity: 0.62; transform: translate3d(0,0,0) scale(1.03) rotate(1deg); }
  100% { opacity: 0; transform: translate3d(0,0,0) scale(1.04) rotate(2deg); }
}

@keyframes ideaCentralStars {
  0% { opacity: 0; transform: translate3d(0,0,0) scale(1); }
  25% { opacity: 0.32; }
  60% { opacity: 0.18; transform: translate3d(0,0,0) scale(1.02); }
  100% { opacity: 0; transform: translate3d(0,0,0) scale(1.03); }
}

/* --- IDEA <-> IDEA Central flip (secret door) --- */
.logo-2col-section .logo-2col-toggle {
  position: absolute;
  top: 50%;
  /* Default (IDEA): arrow on the left */
  left: 0;
  right: auto;
  --toggle-x: 0%;
  transform: translateY(-50%) translateX(var(--toggle-x));
  z-index: 12;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: absolute;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

/* IDEA Central: arrow on the right */
.logo-2col-section.is-central .logo-2col-toggle {
  right: 0;
  left: auto;
  --toggle-x: 0%;
}

/* Destination-specific styling still uses data-target (colors/FX), but not position */
.logo-2col-section .logo-2col-toggle[data-target="central"] {
  --toggle-x: 0%;
}

.logo-2col-section .logo-2col-toggle[data-target="idea"] {
  --toggle-x: 0%;
}

.logo-2col-section .logo-2col-toggle::before {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(0,0,0) rotate(0deg) scale(1);
  filter: blur(16px) saturate(1.2);
}

.logo-2col-section .logo-2col-toggle > * {
  position: relative;
  z-index: 1;
}



.logo-2col-section .logo-2col-toggle .logo-2col-toggle-icon {
  font-size: 26px;
  line-height: 1;
  opacity: 0.85;
  transition: opacity 160ms ease, transform 160ms ease;
}

.logo-2col-section .logo-2col-toggle:hover .logo-2col-toggle-icon,
.logo-2col-section .logo-2col-toggle:focus-visible .logo-2col-toggle-icon {
  opacity: 1;
}

/* Different "signal" blink depending on where the arrow will take you */
.logo-2col-section .logo-2col-toggle[data-target="central"] {
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.10);
}

.logo-2col-section .logo-2col-toggle[data-target="central"] .logo-2col-toggle-icon {
  color: rgba(255, 201, 130, 0.98);
}

.logo-2col-section .logo-2col-toggle[data-target="central"]::before {
  opacity: 0;
  background: none;
}

@keyframes ideaToggleSignalCentral {
  0% { transform: translateY(-50%) translateX(var(--toggle-x)) scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.10); }
  45% { transform: translateY(-50%) translateX(var(--toggle-x)) translateY(-1px) scale(1.02); box-shadow: 0 16px 46px rgba(0,0,0,0.25), 0 0 0 8px rgba(255,201,130,0.14), 0 0 0 18px rgba(73,149,255,0.10); }
  100% { transform: translateY(-50%) translateX(var(--toggle-x)) scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.10); }
}

@keyframes ideaToggleSheenCentral {
  0% { transform: translate3d(-6%,0,0) rotate(-8deg) scale(1); opacity: 0.0; }
  35% { opacity: 0.95; }
  60% { transform: translate3d(6%,0,0) rotate(8deg) scale(1.04); opacity: 0.55; }
  100% { transform: translate3d(10%,0,0) rotate(14deg) scale(1.06); opacity: 0.0; }
}

.logo-2col-section .logo-2col-toggle[data-target="idea"] {
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.10);
}

.logo-2col-section .logo-2col-toggle[data-target="idea"] .logo-2col-toggle-icon {
  color: rgba(73, 149, 255, 0.98);
}

.logo-2col-section .logo-2col-toggle[data-target="idea"]::before {
  opacity: 0;
  background: none;
}

/* Blink only during the turn window */
.logo-2col-section.turn-central .logo-2col-toggle {
  animation: ideaToggleSignalCentral 1.15s ease-in-out 1;
}

.logo-2col-section.turn-central .logo-2col-toggle::before {
  opacity: 0.9;
  background:
    radial-gradient(420px 240px at 18% 40%, rgba(255,201,130,0.55) 0%, rgba(255,201,130,0) 60%),
    radial-gradient(520px 260px at 82% 60%, rgba(73,149,255,0.42) 0%, rgba(73,149,255,0) 62%),
    conic-gradient(from 200deg at 50% 50%, rgba(255,201,130,0.20), rgba(73,149,255,0.18), rgba(255,255,255,0.08), rgba(255,201,130,0.20));
  animation: ideaToggleSheenCentral 1.15s ease-in-out 1;
}

.logo-2col-section.turn-idea .logo-2col-toggle {
  animation: ideaToggleSignalIdea 1.25s ease-in-out 1;
}

.logo-2col-section.turn-idea .logo-2col-toggle::before {
  opacity: 0.85;
  background:
    radial-gradient(520px 260px at 22% 40%, rgba(73,149,255,0.55) 0%, rgba(73,149,255,0) 60%),
    radial-gradient(420px 240px at 78% 60%, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 62%),
    conic-gradient(from 20deg at 50% 50%, rgba(73,149,255,0.22), rgba(255,255,255,0.10), rgba(255,201,130,0.12), rgba(73,149,255,0.22));
  animation: ideaToggleSheenIdea 1.25s ease-in-out 1;
}

@keyframes ideaToggleSignalIdea {
  0% { transform: translateY(-50%) translateX(var(--toggle-x)) scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.10); }
  50% { transform: translateY(-50%) translateX(var(--toggle-x)) translateY(-1px) scale(1.015); box-shadow: 0 16px 46px rgba(0,0,0,0.24), 0 0 0 10px rgba(73,149,255,0.14), 0 0 0 22px rgba(255,255,255,0.07); }
  100% { transform: translateY(-50%) translateX(var(--toggle-x)) scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.10); }
}

@keyframes ideaToggleSheenIdea {
  0% { transform: translate3d(7%,0,0) rotate(10deg) scale(1); opacity: 0.0; }
  35% { opacity: 0.90; }
  60% { transform: translate3d(-7%,0,0) rotate(-10deg) scale(1.045); opacity: 0.55; }
  100% { transform: translate3d(-10%,0,0) rotate(-14deg) scale(1.07); opacity: 0.0; }
}

.logo-2col-section .logo-2col-toggle.is-disabled {
  opacity: 0.65;
  cursor: default;
  transform: translateY(-50%) translateX(var(--toggle-x)) !important;
}

.logo-2col-section .logo-2col-toggle:hover {
  transform: translateY(-50%) translateX(var(--toggle-x)) translateY(-1px) scale(1.02);
  background: rgba(255, 255, 255, 0.20);
  box-shadow: 0 16px 38px rgba(0,0,0,0.22);
}

.logo-2col-section .logo-2col-toggle:focus-visible {
  outline: 3px solid rgba(255, 201, 130, 0.70);
  outline-offset: 3px;
}

.logo-2col-section .logo-2col-toggle .material-icons {
  transition: transform 220ms ease, color 220ms ease;
}

/* The icon switches between arrow_forward/arrow_back in JS */

.logo-2col-section .logo-2col-flip {
  width: 100%;
  perspective: 1200px;
  position: relative;
  z-index: 2;
}

/* Direction-specific "color distribution" burst while turning */
.logo-2col-section .logo-2col-flip::before {
  content: "";
  position: absolute;
  inset: -22%;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transform: translate3d(0,0,0) scale(0.98);
  filter: blur(18px) saturate(1.25);
  mix-blend-mode: screen;
}

.logo-2col-section .logo-2col-flip.turn-central::before {
  background:
    radial-gradient(780px 520px at 18% 26%, rgba(255,201,130,0.40) 0%, rgba(255,201,130,0) 62%),
    radial-gradient(860px 560px at 82% 32%, rgba(73,149,255,0.42) 0%, rgba(73,149,255,0) 64%),
    conic-gradient(from 200deg at 50% 50%, rgba(255,201,130,0.18), rgba(73,149,255,0.18), rgba(255,255,255,0.08), rgba(255,201,130,0.18));
  animation: ideaTurnCentralBurst 940ms cubic-bezier(.2,.9,.2,1) 1;
}

.logo-2col-section .logo-2col-flip.turn-idea::before {
  background:
    radial-gradient(900px 600px at 24% 34%, rgba(73,149,255,0.50) 0%, rgba(73,149,255,0) 64%),
    radial-gradient(720px 480px at 78% 56%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 66%),
    conic-gradient(from 20deg at 50% 50%, rgba(73,149,255,0.20), rgba(255,255,255,0.10), rgba(255,201,130,0.10), rgba(73,149,255,0.20));
  animation: ideaTurnIdeaBurst 960ms cubic-bezier(.2,.9,.2,1) 1;
}

@keyframes ideaTurnCentralBurst {
  0% { opacity: 0; transform: scale(0.94) rotate(-3deg); }
  25% { opacity: 0.95; }
  60% { opacity: 0.55; transform: scale(1.02) rotate(4deg); }
  100% { opacity: 0; transform: scale(1.06) rotate(7deg); }
}

@keyframes ideaTurnIdeaBurst {
  0% { opacity: 0; transform: scale(0.95) rotate(4deg); }
  25% { opacity: 0.92; }
  62% { opacity: 0.50; transform: scale(1.02) rotate(-4deg); }
  100% { opacity: 0; transform: scale(1.07) rotate(-8deg); }
}

/* Intro zoom (adds that "star platform" punch) */
.logo-2col-section.is-intro .logo-2col-flip {
  animation: ideaCentralIntroZoom 2.35s cubic-bezier(.2,.9,.2,1) 1;
}

@keyframes ideaCentralIntroZoom {
  0% { transform: translate3d(0, 10px, 0) scale(0.985); filter: saturate(1.05) brightness(1.02); }
  30% { transform: translate3d(0, 0, 0) scale(1.01); filter: saturate(1.15) brightness(1.03); }
  70% { transform: translate3d(0, 0, 0) scale(1.006); }
  100% { transform: translate3d(0, 0, 0) scale(1); filter: none; }
}

.logo-2col-section .logo-2col-flip-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 740ms cubic-bezier(.2,.9,.2,1);
}

.logo-2col-section .logo-2col-flip.no-transition .logo-2col-flip-inner {
  transition: none !important;
}

/* Intro animation (first visit): subtle glow + a bit more "depth" */
.logo-2col-section .logo-2col-flip.is-intro .logo-2col-flip-inner {
  transition-timing-function: cubic-bezier(.15, .95, .2, 1);
}

.logo-2col-section.is-intro .logo-2col-toggle {
  animation: ideaCentralTogglePulse 1.2s ease-in-out 1;
}

.logo-2col-section.is-intro .logo-2col-toggle::before {
  animation: none !important;
  opacity: 0 !important;
}

.logo-2col-section.is-intro .logo-2col-toggle .material-icons {
  animation: ideaCentralArrowWiggle 1.2s ease-in-out 1;
}

@keyframes ideaCentralTogglePulse {
  0% {
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    transform: translateY(-50%) translateX(var(--toggle-x)) scale(1);
    background: rgba(255, 255, 255, 0.14);
  }
  45% {
    box-shadow:
      0 18px 46px rgba(0,0,0,0.26),
      0 0 0 10px rgba(255, 201, 130, 0.14),
      0 0 0 20px rgba(73, 149, 255, 0.10);
    transform: translateY(-50%) translateX(var(--toggle-x)) translateY(-2px) scale(1.03);
    background: rgba(255, 255, 255, 0.20);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    transform: translateY(-50%) translateX(var(--toggle-x)) scale(1);
    background: rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 900px) {
  .logo-2col-section .logo-2col-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .logo-2col-section .logo-2col-toggle[data-target="central"] {
    right: 0;
  }

  .logo-2col-section .logo-2col-toggle[data-target="idea"] {
    left: 0;
  }
}

@keyframes ideaCentralArrowWiggle {
  0% { transform: rotate(0deg); }
  30% { transform: rotate(0deg) translateX(1px); }
  55% { transform: rotate(0deg) translateX(-1px); }
  100% { transform: rotate(0deg); }
}

.logo-2col-section .logo-2col-flip.is-flipped .logo-2col-flip-inner {
  transform: rotateY(180deg);
}

.logo-2col-section .logo-2col-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-2col-section .logo-2col-face--front {
  transform: rotateY(0deg);
  background: transparent;
}

.logo-2col-section .logo-2col-face--back {
  transform: rotateY(180deg);
  background: transparent;
  flex-direction: column;
  justify-content: flex-start;
}

/* Back face layout: description left, logo right */
.logo-2col-section .logo-2col-face--back .logo-2col-container {
  flex-direction: row-reverse;
}

/* Both faces share the same backdrop via .logo-2col-section */

/* Ensure the flip has height based on content */
.logo-2col-section .logo-2col-flip {
  min-height: 80vh;
}

.logo-2col-section .logo-2col-flip-inner {
  min-height: 80vh;
}

.logo-2col-section .idea-central-logo {
  width: clamp(320px, 44vmin, 740px);
  height: auto;
  max-width: 90vw;
  max-height: 70vh;
  filter: drop-shadow(0 22px 44px rgba(0,0,0,0.22));
}

.logo-2col-section .project-card.project-card--central {
  text-align: left;
}

.logo-2col-section .project-card.project-card--central h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.2rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.98);
}

.logo-2col-section .project-card.project-card--central .idea-central-subtitle {
  margin: 0.35em 0 0.35em;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  color: inherit;
}

/* IDEA Central subtitle: match the exact gradient color style of `.frameworks-subtitle` */
.logo-2col-section .project-card.project-card--central .idea-central-subtitle.frameworks-subtitle {
  color: #FFC982;
  background: linear-gradient(90deg, #FFC982 0%, #ffffff 45%, #4995FF 70%, #FFC982 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(255, 201, 130, 0.18));

  /* Keep the style, but no animation for this specific subtitle */
  animation: none !important;
  transition: none !important;
}

.logo-2col-section .project-card.project-card--central .idea-central-subtitle.frameworks-subtitle.in-view {
  animation: none !important;
}

.logo-2col-section .project-card.project-card--central .idea-central-desc {
  margin: 0 0 0.9em;
  color: rgba(255,255,255,0.80);
  line-height: 1.45;
  max-width: 62ch;
}

.logo-2col-section .project-card.project-card--central .idea-central-points {
  margin: 0.2em 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55em;
}

/* IDEA Central includes the Integrations section right under the cards */
.logo-2col-section.is-central #scrollToIntegrations {
  display: none !important;
}

.logo-2col-section.is-central #centralIntegrationsMount {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(6px, 1.2vh, 14px);
  transform: translateY(clamp(-118px, -10.8vh, -52px));
}

.logo-2col-section.is-central #centralIntegrationsMount > .frameworks-subtitle {
  text-align: center;
  justify-self: center;
  align-self: center;
  max-width: 80ch;
}

/* Compact the included Integrations section so it fits in the first screen */
.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used {
  width: 100%;
  background: transparent !important;
  padding: 0 !important;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .frameworks-heading {
  display: none !important;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-1wxwiro-multigrid {
  /* Match the normal Integrations carousel: keep side gutters for the edge "cloud" masks */
  padding: 0.25em 50px !important;
  /* Ensure the cloud masks look identical to the normal Integrations section */
  background: #0e1020 !important;
  border-radius: 32px;
}

/* IDEA Central: make the edge "cloud" masks fully hide items at the far left/right */
.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-carousel-blur {
  /* Same behavior as the normal Integrations carousel */
  width: 25% !important;
  z-index: 20 !important;
  opacity: 1 !important;
  pointer-events: none;
  /* Fully hide anything underneath at the edges */
  background: #0e1020 !important;
  overflow: hidden;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-carousel-blur::before {
  /* Cloud layer (blurred) rendered above the opaque base */
  content: "";
  position: absolute;
  inset: -22%;
  pointer-events: none;
  background: var(--central-cloud-bg);
  filter: blur(18px) saturate(1.2);
  opacity: 1;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-carousel-blur.left {
  --central-cloud-bg:
    radial-gradient(ellipse at 0% 50%, rgba(14,16,32,0.95) 0%, rgba(14,16,32,0.85) 40%, rgba(14,16,32,0.7) 60%, rgba(14,16,32,0.01) 100%),
    linear-gradient(90deg, #0e1020 60%, rgba(14,16,32,0.7) 85%, rgba(14,16,32,0.01) 100%);

  /* Fade out towards the inside so items "enter the cloud" gradually */
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-carousel-blur.right {
  --central-cloud-bg:
    radial-gradient(ellipse at 100% 50%, rgba(14,16,32,0.95) 0%, rgba(14,16,32,0.85) 40%, rgba(14,16,32,0.7) 60%, rgba(14,16,32,0.01) 100%),
    linear-gradient(270deg, #0e1020 60%, rgba(14,16,32,0.7) 85%, rgba(14,16,32,0.01) 100%);

  /* Fade out towards the inside so items "enter the cloud" gradually */
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-slider {
  height: 220px !important;
  gap: 1.1em !important;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-row {
  height: 110px !important;
  gap: 1.1em !important;
}

/* <1400px: keep the same layout as large screens (like 1800px), but scale down text/cards/carousel */
@media (max-width: 1399px) {
  .logo-2col-section.is-central .logo-2col-face--back .logo-2col-container {
    margin-top: clamp(-58px, -4.6vh, -36px);
  }

  .logo-2col-section.is-central .logo-2col-right {
    font-size: 1.12em;
  }

  .logo-2col-section.is-central .project-card.project-card--central h2 {
    font-size: clamp(1.75rem, 3.25vw, 3.05rem);
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-subtitle {
    margin: 0.26em 0 0.26em;
    font-size: 0.88rem;
    letter-spacing: 0.10em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-desc {
    font-size: 0.95em;
    line-height: 1.35;
    margin-bottom: 0.60em;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points {
    gap: 0.45em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points li {
    font-size: 0.95em;
    padding: 0.62em 0.75em;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-slider {
    height: clamp(165px, 22vh, 200px) !important;
    gap: 0.95em !important;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-row {
    height: clamp(78px, 10.5vh, 96px) !important;
    gap: 0.95em !important;
  }
}

/* 1400–1599px: keep a lighter upward nudge (helps when browser zoom is ~90%) */
@media (min-width: 1400px) and (max-width: 1599px) {
  .logo-2col-section.is-central .logo-2col-face--back .logo-2col-container {
    margin-top: clamp(-30px, -2.6vh, -18px);
  }
}

/* <=1280px: tighter Central layout so the top title isn't clipped */
@media (max-width: 1280px) {
  .logo-2col-section.is-central .logo-2col-face--back .logo-2col-container {
    justify-content: flex-start;
    padding-top: clamp(10px, 2vh, 18px);
  }

  .logo-2col-section.is-central .logo-2col-right {
    font-size: 1.08em;
  }

  .logo-2col-section.is-central .project-card.project-card--central h2 {
    font-size: clamp(1.65rem, 3.05vw, 2.95rem);
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-subtitle {
    font-size: 0.84rem;
    margin: 0.22em 0 0.22em;
    letter-spacing: 0.09em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-desc {
    font-size: 0.93em;
    margin-bottom: 0.50em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points {
    gap: 0.40em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points li {
    font-size: 0.93em;
    padding: 0.56em 0.68em;
  }

  .logo-2col-section.is-central #centralIntegrationsMount > .frameworks-subtitle {
    margin-bottom: 0.42em !important;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-slider {
    height: clamp(150px, 21vh, 185px) !important;
    gap: 0.85em !important;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-row {
    height: clamp(72px, 10vh, 88px) !important;
    gap: 0.85em !important;
  }
}

/* Mobile profile ~360×740 (and similar) */
@media (max-width: 420px) and (max-height: 820px) {
  .logo-2col-section.is-central .logo-2col-right {
    font-size: 1.08em;
  }

  .logo-2col-section.is-central .project-card.project-card--central h2 {
    font-size: clamp(1.85rem, 6.1vw, 2.45rem);
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-subtitle {
    margin: 0.28em 0 0.28em;
    font-size: 0.80rem;
    letter-spacing: 0.10em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-desc {
    font-size: 0.96em;
    line-height: 1.35;
    margin-bottom: 0.65em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points {
    gap: 0.45em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points li {
    font-size: 0.95em;
    padding: 0.62em 0.75em;
  }

  .logo-2col-section.is-central .logo-2col-flip,
  .logo-2col-section.is-central .logo-2col-flip-inner {
    height: 100vh;
    min-height: 100vh;
    height: 100svh;
    min-height: 100svh;
  }

  .logo-2col-section.is-central .logo-2col-face--back .logo-2col-container {
    flex-direction: column;
    min-height: 0;
    justify-content: flex-start;
    padding-top: clamp(8px, 1.5vh, 14px);
  }

  .logo-2col-section.is-central #centralIntegrationsMount {
    margin-top: 0;
    justify-content: flex-start;
    transform: none;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-slider {
    height: 190px !important;
    gap: 0.95em !important;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-row {
    height: 92px !important;
    gap: 0.95em !important;
  }
}

.logo-2col-section .project-card.project-card--central .idea-central-points li {
  --accent-rgb-1: var(--idea-accent-gold);
  --accent-rgb-2: var(--idea-accent-blue);

  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.55em;
  align-items: start;
  color: rgba(255,255,255,0.90);
  line-height: 1.35;

  /* Glass card look (Windows/Apple-ish) */
  padding: 0.75em 0.85em;
  border-radius: 16px;
  background: rgba(14,16,32,0.62);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 18px 44px rgba(0,0,0,0.20);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg,
    rgba(var(--accent-rgb-1), 0.26),
    rgba(var(--accent-rgb-2), 0.20),
    rgba(255, 255, 255, 0.10)
  );
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li::after {
  /* Disabled: the animated "shine" overlay looks like a background flow */
  content: none;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:hover {
  transform: translateY(-2px);
  background:
    radial-gradient(420px 200px at 18% 18%, rgba(var(--accent-rgb-1), 0.16) 0%, rgba(var(--accent-rgb-1), 0) 65%),
    radial-gradient(520px 240px at 86% 86%, rgba(var(--accent-rgb-2), 0.12) 0%, rgba(var(--accent-rgb-2), 0) 66%),
    rgba(14,16,32,0.70);
  border-color: rgba(var(--accent-rgb-1), 0.22);
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:hover::before {
  opacity: 1;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:hover::after {
  opacity: 0;
  animation: none;
}

@keyframes ideaCentralCardShine {
  0% { transform: translateX(0) rotate(18deg); opacity: 0; }
  20% { opacity: 0.85; }
  100% { transform: translateX(260%) rotate(18deg); opacity: 0; }
}

.logo-2col-section .project-card.project-card--central .idea-central-points .material-icons {
  font-size: 20px;
  line-height: 1.2;
  color: rgba(var(--accent-rgb-1), 0.98);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.18));
}

/* Per-item brand accents (icon + hover background) */
.logo-2col-section .project-card.project-card--central .idea-central-points li:nth-child(1) {
  /* red */
  --accent-rgb-1: 209, 70, 0;
  --accent-rgb-2: 209, 70, 0;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:nth-child(2) {
  /* blue */
  --accent-rgb-1: 73, 149, 255;
  --accent-rgb-2: 73, 149, 255;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:nth-child(3) {
  /* yellow */
  --accent-rgb-1: 255, 174, 65;
  --accent-rgb-2: 255, 174, 65;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:nth-child(4) {
  /* blue */
    --accent-rgb-1: 73, 149, 255;
    --accent-rgb-2: 73, 149, 255;
}

/* Staggered reveal when switching to IDEA Central */
.logo-2col-section .project-card.project-card--central .idea-central-subtitle,
.logo-2col-section .project-card.project-card--central .idea-central-desc,
.logo-2col-section .project-card.project-card--central .idea-central-points li {
  opacity: 1;
}

.logo-2col-section.is-central .project-card.project-card--central .idea-central-subtitle:not(.frameworks-subtitle),
.logo-2col-section.is-central .project-card.project-card--central .idea-central-desc {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  animation: ideaCentralTextIn 520ms cubic-bezier(.2,.9,.2,1) forwards;
}

.logo-2col-section.is-central .project-card.project-card--central .idea-central-desc {
  animation-delay: 90ms;
}

@keyframes ideaCentralTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.logo-2col-section.is-central .project-card.project-card--central .idea-central-points li {
  opacity: 0;
  transform: translateY(14px) scale(0.995);
  filter: blur(8px);
  animation: ideaCentralItemIn 620ms cubic-bezier(.2,.9,.2,1) forwards;
}

.logo-2col-section.is-central .project-card.project-card--central .idea-central-points li:nth-child(1) { animation-delay: 140ms; }
.logo-2col-section.is-central .project-card.project-card--central .idea-central-points li:nth-child(2) { animation-delay: 220ms; }
.logo-2col-section.is-central .project-card.project-card--central .idea-central-points li:nth-child(3) { animation-delay: 300ms; }
.logo-2col-section.is-central .project-card.project-card--central .idea-central-points li:nth-child(4) { animation-delay: 380ms; }

@keyframes ideaCentralItemIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-2col-section {
    animation: none !important;
  }

  .logo-2col-section .logo-2col-flip-inner {
    transition: none;
  }

  .logo-2col-section .logo-2col-toggle,
  .logo-2col-section .logo-2col-toggle .material-icons {
    animation: none !important;
    transition: none !important;
  }

  .logo-2col-section .logo-2col-toggle::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .logo-2col-section .logo-2col-flip::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-subtitle,
  .logo-2col-section.is-central .project-card.project-card--central .idea-central-desc,
  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .logo-2col-section .project-card.project-card--central .idea-central-points li::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .logo-2col-section.is-intro::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .logo-2col-section.is-intro::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .logo-2col-section.is-intro .logo-2col-flip {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }

  .logo-2col-section .logo-2col-face--back {
    animation: none !important;
  }

  .logo-2col-section .logo-2col-face--front {
    animation: none !important;
  }
}
.logo-2col-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 1400px;
  min-height: 80vh;
  gap: 3vw;
}
.logo-2col-left {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 320px;
}
.logo-2col-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 220px;
  color: #fff;
  font-size: 1.3em;
}
.logo-2col-section #ideaLogo3D {
  width: clamp(340px, 58vmin, 820px) !important;
  height: clamp(340px, 58vmin, 820px) !important;
  max-width: 90vw;
  max-height: 70vh;
  margin: 0 auto;
  display: block;
  background: transparent;
  box-shadow: none;
  animation: none;
}
/* Idea Logo Adaptable */
@media (min-width: 1400px) and (min-height: 800px) {
  .logo-2col-section #ideaLogo3D {
    width: clamp(320px, 42vmin, 560px) !important;
    height: clamp(320px, 42vmin, 560px) !important;
    max-height: 75vh;
  }
}
@media (max-width: 900px) {
  .logo-2col-container { flex-direction: column; gap: 2vw; }
  .logo-2col-left, .logo-2col-right { justify-content: center; min-width: 0; }
  .logo-2col-section #ideaLogo3D { width: clamp(180px, 30vmin, 260px) !important; height: clamp(180px, 30vmin, 260px) !important; }

  /* On small screens, keep IDEA Central in a vertical stack (override row-reverse). */
  .logo-2col-section .logo-2col-face--back .logo-2col-container {
    flex-direction: column;
  }

  .logo-2col-section .idea-central-logo {
    width: clamp(220px, 38vmin, 360px);
    max-height: 52vh;
  }

  .logo-2col-section .project-card.project-card--central {
    text-align: center;
  }
}

@media (max-height: 820px) {
  .logo-2col-right { font-size: 1.15em; }
  .logo-2col-section #ideaLogo3D { max-height: 58vh; }
}
@media (max-height: 700px) {
  .logo-2col-container { gap: 2vw; }
  .logo-2col-right { font-size: 1.05em; }
  .logo-2col-section #ideaLogo3D { max-height: 52vh; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .logo-2col-section {
    min-height: 100vh;
  }
  .logo-2col-container {
    flex-direction: row;
    min-height: 0;
    gap: 2vw;
    padding: 2vh 3vw;
  }
  .logo-2col-left,
  .logo-2col-right {
    min-width: 0;
  }
  .logo-2col-right {
    font-size: 0.95em;
  }
  .logo-2col-section #ideaLogo3D {
    width: clamp(160px, 28vmin, 260px) !important;
    height: clamp(160px, 28vmin, 260px) !important;
    max-height: 48vh;
  }
  .logo-2col-section .project-card {
    padding: 1.2em 1.3em;
  }
  .logo-2col-section .project-card p {
    margin: 0.55em 0;
    line-height: 1.25;
  }
  .logo-2col-section .project-card h3 {
    margin: 0 0 0.35em 0;
  }
  .logo-2col-section .project-card h4 {
    margin: 0.55em 0 0.25em 0;
  }
}
.news-panel.news-drawer {
  transition: right 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s, visibility 0.25s;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.news-panel.news-drawer.closed {
  right: -70vw !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* === IDEA TEAM (home) === */
.idea-team-section {
  background: radial-gradient(1200px 420px at 20% 0%, rgba(255, 201, 130, 0.12) 0%, transparent 62%),
              radial-gradient(900px 380px at 90% 20%, rgba(73, 149, 255, 0.12) 0%, transparent 60%),
              #0e1020;
  padding: clamp(46px, 6vw, 84px) 0;
}

.idea-team-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.idea-team-title {
  margin-bottom: 0.2em;
}

.idea-team-subtitle {
  margin: 0 auto 22px;
  max-width: 72ch;
  color: rgba(255,255,255,0.74);
  line-height: 1.45;
}

.idea-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  --idea-team-card-closed-height: 270px;
  align-items: start;
}

.idea-team-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px 14px 14px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  min-height: 270px;
}

.idea-team-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(600px 160px at 50% 0%, rgba(255, 201, 130, 0.14) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.idea-team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 201, 130, 0.22);
  background: rgba(255,255,255,0.075);
}

.idea-team-card:hover::before {
  opacity: 1;
}

.idea-team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
}

.idea-team-name {
  margin: 0;
  font-weight: 850;
  color: rgba(255,255,255,0.94);
  letter-spacing: 0.2px;
  line-height: 1.15;
}

.idea-team-role {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
  line-height: 1.2;
  margin-top: 15px;
}

.idea-team-desc {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.42;
  white-space: pre-wrap; /* show full text incl. newlines */
  width: 100%;
}

.idea-team-desc.is-collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 260ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease, margin-top 220ms ease;
}

.idea-team-card.is-desc-open .idea-team-desc {
  max-height: 360px;
  opacity: 1;
  overflow: hidden;
  margin-top: 10px;
  transition: max-height 320ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease, margin-top 220ms ease;
}

.idea-team-card {
  height: var(--idea-team-card-closed-height);
}

.idea-team-card.is-desc-open {
  height: auto;
}

.idea-team-grid.is-measuring .idea-team-card {
  height: auto !important;
}

.idea-team-desc-toggle {
  margin: auto auto 0;
  width: 44px;
  height: 34px;
  border: none;
  background: transparent;
  color: #ffc982;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  padding: 19px;
  transition: transform 160ms ease, opacity 160ms ease, filter 160ms ease;
}

.idea-team-desc-toggle:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  filter: drop-shadow(0 10px 18px rgba(73,149,255,0.20));
}

.idea-team-desc-toggle:focus-visible {
  outline: 3px solid rgba(73,149,255,0.50);
  outline-offset: 3px;
}

.idea-team-desc-toggle .material-icons {
  font-size: 26px;
  line-height: 1;
}

.idea-team-card.is-skeleton {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

/* Cacher toutes les barres de scroll (x et y) visuellement, mais permettre le scroll */
html, body, * {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar {
  display: none;
}

body, html {
  overflow: auto !important;
}

/* Animation de scroll (effet de fond lors du scroll) */
body.scrolling {
  background: linear-gradient(120deg, #0E1020 0%, #4995FF 100%) fixed;
  transition: background 0.5s;
}

/* === IDEA CATEGORIES CONSTELLATION (logo + connected bubbles) === */
.idea-constellation-section {
  --idea-section-fade: clamp(120px, 9vw, 220px);
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(73,149,255,0.18) 0%, rgba(73,149,255,0.06) 42%, rgba(14,16,32,0) 70%),
    radial-gradient(820px 540px at 84% 24%, rgba(255,201,130,0.18) 0%, rgba(255,201,130,0.07) 38%, rgba(14,16,32,0) 70%),
    radial-gradient(780px 620px at 55% 92%, rgba(124,92,255,0.14) 0%, rgba(124,92,255,0.05) 44%, rgba(14,16,32,0) 74%),
    linear-gradient(180deg, #0E1020 0%, #0B0D1C 55%, #0E1020 100%);
  padding: 4vw 0 4vw 0;
  text-align: center;
  position: relative;
  overflow: visible;
  isolation: isolate;
  /* Smooth handoff to the KPI section */
  box-shadow: inset 0 calc(-1 * var(--idea-section-fade)) var(--idea-section-fade) calc(-1 * var(--idea-section-fade)) rgba(14,16,32,0.92);
}

.idea-constellation-section::before,
.idea-constellation-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Aurora-like glow ribbons */
.idea-constellation-section::before {
  background:
    radial-gradient(420px 320px at 22% 28%, rgba(73,149,255,0.28) 0%, rgba(73,149,255,0) 70%),
    radial-gradient(520px 380px at 76% 30%, rgba(255,201,130,0.26) 0%, rgba(255,201,130,0) 72%),
    radial-gradient(560px 420px at 56% 86%, rgba(124,92,255,0.22) 0%, rgba(124,92,255,0) 72%),
    conic-gradient(from 210deg at 50% 50%, rgba(73,149,255,0.08), rgba(255,201,130,0.08), rgba(124,92,255,0.06), rgba(73,149,255,0.08)),
    /* Fade overlays near bottom to avoid a hard cut */
    linear-gradient(to bottom, rgba(14,16,32,0) 0%, rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  filter: blur(18px) saturate(1.18);
  opacity: 0.9;
  transform: translate3d(0,0,0);
  animation: ideaFrameworkAurora 10.5s ease-in-out infinite;
}

/* Subtle grid + stardust drift */
.idea-constellation-section::after {
  background:
    radial-gradient(circle at 10% 22%, rgba(255,255,255,0.10) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 240px 240px,
    radial-gradient(circle at 72% 68%, rgba(255,255,255,0.08) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 280px 280px,
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, rgba(255,255,255,0) 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, rgba(255,255,255,0) 1px) 0 0 / 72px 72px,
    /* Fade overlays near bottom to avoid a hard cut */
    linear-gradient(to bottom, rgba(14,16,32,0) 0%, rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  opacity: 0.18;
  mask-image: radial-gradient(closest-side at 50% 35%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0) 100%);
  animation: ideaFrameworkGridDrift 14s linear infinite;
}

@keyframes ideaFrameworkAurora {
  0% { transform: translate3d(-1.5%, -1%, 0) rotate(-0.4deg); opacity: 0.82; }
  50% { transform: translate3d(1.5%, 1.2%, 0) rotate(0.55deg); opacity: 0.98; }
  100% { transform: translate3d(-1.5%, -1%, 0) rotate(-0.4deg); opacity: 0.82; }
}

@keyframes ideaFrameworkGridDrift {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-72px, 48px, 0); }
}

/* Keep section content above the overlays */
.idea-constellation-section > * {
  position: relative;
  z-index: 1;
}

/* Override .section-scroll defaults (defined later) so this section never clips KPIs/nodes */
.idea-constellation-section.section-scroll {
  overflow: visible !important;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 70px);
}

/* <=1600px (non-mobile): keep same top & bottom spacing */
@media (max-width: 1600px) and (min-width: 820px) {
  .idea-constellation-section.section-scroll {
    padding-top: clamp(46px, 5vw, 78px);
    padding-bottom: clamp(46px, 5vw, 78px);
  }

  /* Give more left/right room for bigger separation */
  .idea-constellation {
    width: min(1500px, 98vw);
  }
}

.idea-constellation {
  position: relative;
  width: min(1200px, 96vw);
  height: var(--idea-constellation-height, clamp(520px, 74vh, 760px));
  margin: 0 auto 20px auto;
  overflow: visible;
  z-index: 2;

  /* Responsive sizing knobs (can be overridden by JS) */
  --idea-center-size: clamp(240px, 28vw, 420px);
  --idea-center-img: clamp(200px, 24vw, 360px);
  /* Default node size stays compact; JS may widen per long names */
  --idea-node-width: clamp(160px, 28vw, 240px);
  --idea-icon-size: clamp(22px, 3vw, 30px);
  --idea-title-size: clamp(16px, 1.55vw, 20px);
  --idea-link-size: clamp(12px, 1.35vw, 14.5px);
}

@media (min-width: 2400px) {
  .idea-constellation {
    width: min(1700px, 98vw);

    --idea-center-size: clamp(320px, 20vw, 560px);
    --idea-center-img: clamp(260px, 16vw, 480px);
    --idea-node-width: clamp(240px, 16vw, 340px);
    --idea-icon-size: clamp(30px, 2vw, 42px);
    --idea-title-size: clamp(22px, 1.2vw, 28px);
    --idea-link-size: clamp(15px, 0.95vw, 19px);
  }

  .idea-node {
    padding: 20px 22px 18px 22px;
    border-radius: 22px;
  }

  .idea-node-title {
    font-size: var(--idea-title-size);
  }

  #idea-constellation-section .idea-node-responsible {
    font-size: 10px;
  }
}

@media (min-width: 2500px) {
  .idea-constellation {
    --idea-constellation-height: clamp(760px, 84vh, 1120px);
  }
}

.idea-constellation.is-compact {
  width: min(980px, 96vw);
}

.idea-constellation.is-linked-list-h {
  width: min(1500px, 98vw);
}

.idea-constellation.is-linked-list-h .idea-node {
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.26);
  box-shadow: 0 14px 46px rgba(0,0,0,0.30), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.idea-constellation.is-compact .idea-constellation-center {
  top: clamp(120px, 18vw, 170px);
}

.idea-constellation.is-compact .idea-node {
  max-width: none;
}

.idea-constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.idea-constellation-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--idea-center-size);
  height: var(--idea-center-size);
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.idea-constellation-center img {
  width: var(--idea-center-img);
  height: var(--idea-center-img);
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.32));
}

.idea-constellation-nodes {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.idea-node {
  position: absolute;
  width: var(--idea-node-width);
  /* Allow widening when JS adjusts width for long inline responsible names */
  max-width: 60vw;
  padding: 16px 18px 14px 18px;
  box-sizing: border-box;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 10px 40px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  transform: translateZ(0);
  transform-origin: center;
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms cubic-bezier(.2,.9,.2,1), background 220ms ease, border-color 220ms ease;
}

.idea-node-header {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 0 8px 0;
}

.idea-node-icon-wrap {
  width: calc(var(--idea-icon-size) + 14px);
  height: calc(var(--idea-icon-size) + 14px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.idea-node-icon {
  width: var(--idea-icon-size);
  height: var(--idea-icon-size);
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.28));
}

.idea-node-title {
  color: #ffffff;
  font-weight: 800;
  font-size: var(--idea-title-size);
  letter-spacing: 0.01em;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  padding: 1px 0;
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.idea-node-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 100%;
  overflow: hidden;
}

#idea-constellation-section .idea-node-responsible {
  /*font-size: calc(var(--idea-title-size) * 0.78);*/
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0.95;
  display: block;
  width: 100%;
  max-width: 100%;
  /* Always keep on one line; card width will expand if needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  #idea-constellation-section .idea-node-responsible {
    /* Same animated gradient text style as the frameworks subtitle */
    color: transparent;
    background: linear-gradient(90deg, #FFC982 0%, #ffffff 45%, #4995FF 70%, #FFC982 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    will-change: background-position;
    animation: ideaResponsibleShimmer 2.8s linear infinite;
    filter: drop-shadow(0 6px 18px rgba(255, 201, 130, 0.10));
  }
}

@keyframes ideaResponsibleShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  #idea-constellation-section .idea-node-responsible {
    animation: none !important;
  }

  .idea-team-section .idea-team-name {
    animation: none !important;
  }
}

.idea-node-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: none;
  overflow: visible;
  transition: max-height 240ms cubic-bezier(.2,.9,.2,1);
}

.idea-node-desc {
  margin-top: 6px;
  font-size: var(--idea-link-size);
  font-weight: 600;
  line-height: 1.25;
  color: #FFC982;
  /* Always show full description (no "...") */
  overflow: visible;
  display: block;
  max-height: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
}

.idea-node-desc.is-empty {
  opacity: 0.70;
  font-style: italic;
}

.idea-node-links a {
  color: #FFC982;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--idea-link-size);
  line-height: 1.15;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* === IDEA TEAM SECTION (home) === */
.idea-team-section {
  --idea-section-fade: clamp(120px, 9vw, 220px);
  --idea-team-edge-darkness: 0.78;
  position: relative;
  padding: clamp(44px, 6vw, 82px) 0;
  /* Same background as IDEA Framework */
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(73,149,255,0.18) 0%, rgba(73,149,255,0.06) 42%, rgba(14,16,32,0) 70%),
    radial-gradient(820px 540px at 84% 24%, rgba(255,201,130,0.18) 0%, rgba(255,201,130,0.07) 38%, rgba(14,16,32,0) 70%),
    radial-gradient(780px 620px at 55% 92%, rgba(124,92,255,0.14) 0%, rgba(124,92,255,0.05) 44%, rgba(14,16,32,0) 74%),
    linear-gradient(180deg, #0E1020 0%, #0B0D1C 55%, #0E1020 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  /* Stronger top+bottom black edge blur (Team only) */
  box-shadow:
    inset 0 var(--idea-section-fade) var(--idea-section-fade) calc(-1 * var(--idea-section-fade)) rgba(0,0,0,calc(var(--idea-team-edge-darkness) * 0.72)),
    inset 0 calc(-1 * var(--idea-section-fade)) var(--idea-section-fade) calc(-1 * var(--idea-section-fade)) rgba(0,0,0,var(--idea-team-edge-darkness));
}

.idea-team-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 320px at 22% 28%, rgba(73,149,255,0.28) 0%, rgba(73,149,255,0) 70%),
    radial-gradient(520px 380px at 76% 30%, rgba(255,201,130,0.26) 0%, rgba(255,201,130,0) 72%),
    radial-gradient(560px 420px at 56% 86%, rgba(124,92,255,0.22) 0%, rgba(124,92,255,0) 72%),
    conic-gradient(from 210deg at 50% 50%, rgba(73,149,255,0.08), rgba(255,201,130,0.08), rgba(124,92,255,0.06), rgba(73,149,255,0.08)),
    /* Fade overlays near bottom to avoid a hard cut (same as Framework) */
    linear-gradient(to bottom, rgba(14,16,32,0) 0%, rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  filter: blur(18px) saturate(1.18);
  opacity: 0.9;
  transform: translate3d(0,0,0);
  animation: ideaFrameworkAurora 10.5s ease-in-out infinite;
}

.idea-team-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 10% 22%, rgba(255,255,255,0.10) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 240px 240px,
    radial-gradient(circle at 72% 68%, rgba(255,255,255,0.08) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 280px 280px,
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, rgba(255,255,255,0) 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, rgba(255,255,255,0) 1px) 0 0 / 72px 72px,
    /* Fade overlays near bottom to avoid a hard cut (same as Framework) */
    linear-gradient(to bottom, rgba(14,16,32,0) 0%, rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  mask-image: radial-gradient(closest-side at 50% 35%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0) 100%);
  animation: ideaFrameworkGridDrift 14s linear infinite;
}

.idea-team-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@keyframes ideaTeamBgFloat {
  0% { transform: translate3d(-1.6%, -0.8%, 0) scale(1.03) rotate(-1.2deg); }
  100% { transform: translate3d(1.4%, 1.0%, 0) scale(1.05) rotate(1.0deg); }
}

@keyframes ideaTeamGridDrift {
  0% { background-position: 0 0, 0 0, 50% 0, 0 0; }
  100% { background-position: 72px 72px, -72px 72px, 50% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .idea-team-section::before,
  .idea-team-section::after {
    animation: none !important;
  }
}

.idea-team-title {
  margin-bottom: 8px;
}

.idea-team-subtitle {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-weight: 650;
  max-width: 68ch;
}

.idea-team-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
}

.idea-team-card {
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 44px rgba(0,0,0,0.30), inset 0 0 0 1px rgba(255,255,255,0.05);
  padding: 18px 16px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  align-self: start;
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms cubic-bezier(.2,.9,.2,1), border-color 220ms ease;
}

.idea-team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.40);
  box-shadow: 0 16px 64px rgba(0,0,0,0.36), 0 0 0 1px rgba(179, 136, 255, 0.18), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.idea-team-photo {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 2px auto 12px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 14px 44px rgba(0,0,0,0.34);
  background: rgba(0,0,0,0.22);
}

.idea-team-name {
  font-weight: 850;
  letter-spacing: 0.01em;
  margin: 0;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.15;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .idea-team-section .idea-team-name {
    color: transparent;
    background: linear-gradient(90deg, #FFC982 0%, #ffffff 45%, #ffffff 70%, #FFC982 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    will-change: background-position;
    animation: ideaResponsibleShimmer 2.8s linear infinite;
    filter: drop-shadow(0 6px 18px rgba(255, 201, 130, 0.10));
  }
}

.idea-team-card.is-skeleton {
  position: relative;
  overflow: hidden;
}

.idea-team-card.is-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.10) 45%, transparent 100%);
  transform: translateX(-60%);
  animation: ideaTeamShimmer 1.2s ease-in-out infinite;
}

@keyframes ideaTeamShimmer {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}


.idea-node-links a:hover {
  color: #4995FF;
  text-decoration: underline;
}

@media (min-width: 1601px) {
  .idea-node:hover,
  .idea-node:focus-within {
    z-index: 50;
    transform: scale(1.10);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,201,130,0.55);
    box-shadow: 0 16px 64px rgba(0,0,0,0.34), 0 0 0 1px rgba(73,149,255,0.25), 0 0 42px rgba(73,149,255,0.18);
  }
}

@media (min-width: 2500px) {
  #idea-constellation-section .idea-node:hover,
  #idea-constellation-section .idea-node:focus-within {
    z-index: 80;
    transform: scale(1.18);
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,201,130,0.78);
    box-shadow:
      0 26px 110px rgba(0,0,0,0.45),
      0 0 0 2px rgba(255,201,130,0.28),
      0 0 90px rgba(73,149,255,0.30),
      0 0 130px rgba(255,201,130,0.14);
  }

  #idea-constellation-section .idea-node:hover .idea-node-title,
  #idea-constellation-section .idea-node:focus-within .idea-node-title {
    text-shadow: 0 10px 28px rgba(0,0,0,0.35);
  }
}

/* <=1600px (non-mobile): show categories as simple rectangles (logo + title only) */
@media (max-width: 1600px) and (min-width: 820px) {
  .idea-constellation:not(.is-compact) .idea-node {
    padding: 14px 16px;
    text-align: center;
  }

  .idea-constellation:not(.is-compact) .idea-node-header {
    margin: 0;
    justify-content: center;
  }

  .idea-constellation:not(.is-compact) .idea-node-links {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    max-height: 128px;
  }

  .idea-constellation:not(.is-compact) .idea-node-links a {
    text-align: center;
  }
}

/* === IDEA KPI GRID (9 squares, 3 per row) === */
.idea-kpi-section {
  --idea-section-fade: clamp(120px, 9vw, 220px);
  /* Solid black background (no animated background) */
  background: #000;
  text-align: center;
  position: relative;
  overflow: visible;
  isolation: isolate;
  /* Smooth handoff to/from adjacent sections */
  box-shadow:
    inset 0 var(--idea-section-fade) var(--idea-section-fade) calc(-1 * var(--idea-section-fade)) rgba(14,16,32,0.92),
    inset 0 calc(-1 * var(--idea-section-fade)) var(--idea-section-fade) calc(-1 * var(--idea-section-fade)) rgba(14,16,32,0.92);
}

.idea-kpi-section::before {
  content: '';
  position: absolute;
  inset: -18% -14% -24% -14%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  background:
    radial-gradient(860px 520px at 22% 14%, rgba(255,255,255,0.18) 0%, transparent 60%),
    radial-gradient(920px 560px at 78% 22%, rgba(73,149,255,0.55) 0%, transparent 62%),
    radial-gradient(980px 620px at 55% 88%, rgba(0, 191, 255, 0.24) 0%, transparent 68%),
    /* Fade overlays in/out at top/bottom for seamless transitions */
    linear-gradient(to bottom, rgba(14,16,32,1) 0%, rgba(14,16,32,0) var(--idea-section-fade), rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  filter: blur(34px) saturate(1.18);
  transform: translate3d(0, 0, 0) scale(1.02);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, rgba(0,0,0,0.82) 56%, transparent 80%);
  animation: ideaKpiAurora 14s ease-in-out infinite alternate;
}

.idea-kpi-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background:
    radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1.2px),
    /* Fade overlays in/out at top/bottom for seamless transitions */
    linear-gradient(to bottom, rgba(14,16,32,1) 0%, rgba(14,16,32,0) var(--idea-section-fade), rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  background-size: 26px 26px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, rgba(0,0,0,0.75) 52%, transparent 78%);
  animation: ideaKpiDotsDrift 18s linear infinite;
}

/* KPI section: disable animated background overlays (keep cards as-is) */
.idea-kpi-section::before,
.idea-kpi-section::after {
  display: none;
  animation: none !important;
}

.idea-kpi-section.section-scroll {
  overflow: visible !important;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(40px, 5vw, 70px);
}

.idea-team-section.section-scroll {
  justify-content: flex-start;
  min-height: 100vh;
}

.idea-kpi-title {
  margin: 0 auto clamp(18px, 3vh, 28px) auto;
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: -0.8px;
  color: white;
  text-shadow: 0 8px 22px rgba(0,0,0,0.55);
  position: relative;
  z-index: 1;
}

.idea-kpi-section .idea-kpi-grid {
  margin-top: 0;
}

/* Hero KPI (only this card gets the amazing color + animation) */
.idea-kpi-card--hero {
  text-align: center;
  border: 1px solid rgba(73,149,255,0.48);
  background:
    radial-gradient(860px 260px at 18% 0%, rgba(73,149,255,0.48), transparent 60%),
    radial-gradient(820px 260px at 86% 100%, rgba(140, 220, 255, 0.38), transparent 60%),
    rgba(255,255,255,0.06);
  box-shadow: 0 22px 90px rgba(0,0,0,0.44), 0 0 84px rgba(73,149,255,0.22);
  transform: translateZ(0);
}

.idea-kpi-card--hero::before {
  background: conic-gradient(from 0deg, rgba(73,149,255,0.42), rgba(140, 220, 255, 0.34), rgba(0, 191, 255, 0.26), rgba(73,149,255,0.42));
  opacity: 0.55;
  filter: blur(10px) saturate(1.22);
  animation: ideaHeroKpiGlow 6.5s linear infinite;
}

.idea-kpi-card--hero::after {
  opacity: 0.10;
}

.idea-kpi-card--hero:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255,201,130,0.78);
  box-shadow: 0 30px 110px rgba(0,0,0,0.50), 0 0 110px rgba(73,149,255,0.26);
}

.idea-kpi-card--hero .idea-kpi-value {
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #ffffff, #edcca1, rgba(255,201,130,0.78));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.idea-kpi-card--hero .idea-kpi-label {
  color: rgba(255,255,255,0.88);
}

/* Invisible placeholders to keep IDEA Family centered on the first row (desktop grid) */
.idea-kpi-card--ghost {
  visibility: hidden;
  pointer-events: none;
}

@keyframes ideaHeroKpiGlow {
  0% { transform: translate3d(-12px, -8px, 0) rotate(0deg); }
  50% { transform: translate3d(10px, 8px, 0) rotate(180deg); }
  100% { transform: translate3d(-12px, -8px, 0) rotate(360deg); }
}

.idea-kpi-grid {
  width: min(1200px, 94vw);
  margin: clamp(26px, 6vh, 64px) auto 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  --idea-kpi-gap: clamp(12px, 2.2vw, 18px);
  gap: var(--idea-kpi-gap);
  padding: 0 6px;
  position: relative;
  z-index: 1;
}

.idea-kpi-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: clamp(14px, 1.8vw, 18px);
  text-align: left;
  min-height: clamp(96px, 10vh, 112px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.28);
  z-index: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms cubic-bezier(.2,.9,.2,1), border-color 220ms ease, background 220ms ease;
}

@keyframes ideaKpiAurora {
  0% { transform: translate3d(-1.4%, -0.6%, 0) scale(1.03) rotate(-1.0deg); }
  100% { transform: translate3d(1.2%, 0.9%, 0) scale(1.05) rotate(1.0deg); }
}

@keyframes ideaKpiDotsDrift {
  0% { background-position: 0 0; }
  100% { background-position: 78px 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .idea-kpi-section::before,
  .idea-kpi-section::after {
    animation: none !important;
  }
}

.idea-kpi-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 180px at 20% 0%, rgba(73,149,255,0.26), transparent 60%),
              radial-gradient(600px 180px at 80% 100%, rgba(255,201,130,0.20), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}

.idea-kpi-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(73,149,255,0.26), rgba(170, 230, 255, 0.16));
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.idea-kpi-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(140, 220, 255, 0.42);
  box-shadow: 0 18px 70px rgba(0,0,0,0.34), 0 0 50px rgba(73,149,255,0.10);
}

.idea-kpi-card:hover::after {
  opacity: 0.18;
}

.idea-kpi-value {
  position: relative;
  z-index: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(73,149,255,0.18);
}

.idea-kpi-label {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 14px);
  color: rgba(255,255,255,0.84);
  letter-spacing: 0.01em;
}

@media (max-width: 920px) {
  .idea-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .idea-kpi-card--ghost {
    display: none;
  }

  /* Keep hero centered with the same width as one column */
  .idea-kpi-card--hero {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - var(--idea-kpi-gap)) / 2);
  }
}

@media (max-width: 560px) {
  .idea-kpi-grid {
    grid-template-columns: 1fr;
  }

  .idea-kpi-card--ghost {
    display: none;
  }

  .idea-kpi-card--hero {
    grid-column: auto;
    justify-self: auto;
    width: 100%;
  }
}

/* Small screens: keep constellation design, but allow "expand on hover/focus/tap" */
@media (max-width: 1600px) {
  .idea-node {
    padding: 12px 14px 12px 14px;
  }

  .idea-node:hover,
  .idea-node:focus-within,
  .idea-node.is-expanded {
    z-index: 50;
    transform: scale(1.14);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,201,130,0.55);
    box-shadow: 0 16px 64px rgba(0,0,0,0.34), 0 0 0 1px rgba(73,149,255,0.25), 0 0 42px rgba(73,149,255,0.18);
  }

  .idea-node:hover .idea-node-links,
  .idea-node:focus-within .idea-node-links,
  .idea-node.is-expanded .idea-node-links {
    max-height: 260px;
    overflow: visible;
  }

  .idea-node:hover .idea-node-desc,
  .idea-node:focus-within .idea-node-desc,
  .idea-node.is-expanded .idea-node-desc {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: none;
    overflow: visible;
    display: block;
  }

  .idea-node:hover .idea-node-links a,
  .idea-node:focus-within .idea-node-links a,
  .idea-node.is-expanded .idea-node-links a {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

/* Bouton flottant pour remonter en haut */
#scrollToTopBtn {
  position: fixed;
  right: 2vw;
  bottom: 2vw;
  z-index: 5000;
  background: #4995FF;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  box-shadow: 0 2px 16px #4995ff55;
  font-size: 2em;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, opacity 0.2s;
  opacity: 0.92;
}
#scrollToTopBtn:hover {
  background: #FFC982;
  color: #0E1020;
  box-shadow: 0 4px 32px #ffc98255;
}
/* === CATÉGORIES SECTION (modèle dynamique, fond noir, icônes) === */
.categories-section {
  background: #111216;
  color: #fff;
  width: 100vw;
  padding: 0 0 1.5em 0;
  margin: 0;
  box-shadow: 0 2px 12px #0002;
  position: relative;
  z-index: 2;
}
.categories-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2em;
  padding: 1.2em 2vw 0.7em 2vw;
  background: #181a2a;
  border-bottom: 1px solid #222;
  font-size: 1.2em;
}
.categories-title {
  font-weight: 700;
  font-size: 1.2em;
  letter-spacing: 0.02em;
  margin-right: 1.5em;
}
.notif-icon, .options-icon {
  cursor: pointer;
  color: #FFC982;
  font-size: 1.6em;
  transition: color 0.18s;
}
.notif-icon:hover, .options-icon:hover {
  color: #4995FF;
}
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  padding: 1.2em 2vw 0 2vw;
  justify-content: flex-start;
  align-items: flex-start;
}
.category-item {
  background: #23243a;
  color: #fff;
  border-radius: 1em;
  padding: 1em 1.5em;
  font-size: 1.1em;
  font-weight: 500;
  box-shadow: 0 2px 12px #4995ff11;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.category-item:hover {
  background: #4995FF;
  color: #fff;
}
@media (max-width: 700px) {
  .categories-bar, .categories-list { font-size: 1em; gap: 0.7em; padding-left: 2vw; padding-right: 2vw; }
  .category-item { font-size: 0.98em; padding: 0.7em 1em; }
}
/* === LOGO 3D SECTION === */
.logo-3d-section {
  background: linear-gradient(120deg, #181a2a 0%, #4995FF 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.logo-3d-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  position: relative;
}
.logo-3d-section #ideaLogo3D {
  width: 320px;
  height: 320px;
  max-width: 80vw;
  max-height: 60vh;
  margin: 0 auto;
  display: block;
  background: transparent;
  box-shadow: none;
  animation: none;
}
@keyframes logoPulse {
  0% { box-shadow: 0 8px 48px #4995ff44, 0 2px 16px #ffc98233; }
  100% { box-shadow: 0 16px 64px #ffc98255, 0 4px 32px #4995ff33; }
}
@media (max-width: 600px) {
  .logo-3d-section #ideaLogo3D {
    width: 180px;
    height: 180px;
    max-width: 90vw;
    max-height: 40vh;
  }
  .logo-3d-container { height: 60vh; }
}
/* === LANDING PAGE INSPIRED BY CHAINGPT === */
.powerful-landing {
  flex-direction: column;
  gap: 0;
  padding: 0;
}


.section-scroll {
  min-height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  scroll-snap-align: start;
  padding: 0 0 0 0;
  background: #0e1020;
  color: #fff;
  overflow: hidden;
}

.hero-section {
  background: transparent;
  position: relative;
  text-align: center;
  min-height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Seamless transition + animated divider between "IDEA Single Entry" and "Our Solutions" */
.powerful-landing .hero-section {
  margin-bottom: 0;
}

.powerful-landing .hero-section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: min(860px, 78vw);
  height: 3px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 3;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(73, 149, 255, 0.95) 18%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 201, 130, 0.95) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 240% 100%;

  box-shadow:
    0 0 0.8rem rgba(73, 149, 255, 0.35),
    0 0 1.4rem rgba(255, 201, 130, 0.22);
  filter: saturate(1.15);

  animation:
    ideaDividerFlow 2.4s linear infinite,
    ideaDividerBlink 1.25s ease-in-out infinite;
}

.powerful-landing .hero-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 48px;
  pointer-events: none;
  z-index: 2;
  /* Soft glow to hide any 1px seam on some displays */
  background: radial-gradient(ellipse at 50% 0%, rgba(73, 149, 255, 0.10) 0%, rgba(14, 16, 32, 0) 70%);
}

@keyframes ideaDividerFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes ideaDividerBlink {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scaleX(0.96); }
  45% { opacity: 1; transform: translateX(-50%) scaleX(1); }
  55% { opacity: 0.92; transform: translateX(-50%) scaleX(1.02); }
}
.hero-title {
  font-size: 3.2em;
  font-weight: 800;
  margin-bottom: 0.3em;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 4px 32px #4995ff33;
  animation: fadeInUp 1.1s cubic-bezier(.4,0,.2,1);
}
.hero-subtitle {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 1.5em;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
}
.cta-btn {
    text-decoration: none !important;
  background: #4995FF;
  color: #fff;
  font-size: 1.2em;
  padding: 0.8em 2.2em;
  border-radius: 2em;
  border: none;
  box-shadow: 0 2px 16px #4995ff44;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.18s, box-shadow 0.18s;
  animation: fadeInUp 2s cubic-bezier(.4,0,.2,1);
}
.cta-btn:hover {
  background: #FFC982;
  color: #0E1020;
  box-shadow: 0 4px 32px #ffc98255;
}
.hero-bg-anim {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(ellipse at 60% 40%, #4995ff33 0%, transparent 70%), radial-gradient(ellipse at 30% 70%, #ffc98222 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
  animation: bgPulse 8s infinite alternate;
}
.hero-content { position: relative; z-index: 2; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bgPulse {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

.solutions-section {
  /* Start with the same tone as the hero to avoid a harsh dark seam */
  background: linear-gradient(180deg, #0e1020 0%, #14162a 22%, #181a2a 58%, #181a2a 100%);
  padding: 5vw 0 5vw 0;
}

@media (prefers-reduced-motion: reduce) {
  .powerful-landing .hero-section::after {
    animation: none !important;
    opacity: 0.95;
  }
}
.section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 1.5em;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.5px;
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5em;
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
}
.solution-card {
  background: #23243a;
  border-radius: 1.5em;
  box-shadow: 0 2px 16px #4995ff11;
  padding: 2.2em 1.5em;
  color: #fff;
  font-size: 1.1em;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
  transition: transform 0.18s, box-shadow 0.18s;
}
.solution-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px #ffc98233;
}

.ecosystem-section {
  background: #0e1020;
  padding: 5vw 0 5vw 0;
}
.ecosystem-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  align-items: center;
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
}
.ecosystem-block {
  background: #23243a;
  color: #FFC982;
  border-radius: 1.2em;
  padding: 2em 2.5em;
  font-size: 1.3em;
  font-weight: 600;
  box-shadow: 0 2px 16px #4995ff11;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
}

.roadmap-section {
  background: #181a2a;
  padding: 5vw 0 5vw 0;
}
.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
  color: #fff;
  font-size: 1.15em;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
}
.roadmap-list li strong { color: #FFC982; }

.faq-section {
  background: #0e1020;
  padding: 5vw 0 5vw 0;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  color: #fff;
  font-size: 1.1em;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
}
.faq-item {
  background: #23243a;
  border-radius: 1em;
  padding: 1.5em 1.5em;
  color: #fff;
  box-shadow: 0 2px 16px #4995ff11;
}

html, body {
  scroll-behavior: smooth;
  background: #0e1020;
}

@media (max-width: 900px) {
  .solutions-grid, .ecosystem-content { width: 98vw; }
  .solution-card, .ecosystem-block { font-size: 1em; padding: 1.2em 1em; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2em; }
  .section-title { font-size: 1.5em; }
  .solutions-grid, .ecosystem-content { grid-template-columns: 1fr; width: 100vw; }
  .solution-card, .ecosystem-block { font-size: 0.98em; padding: 1em 0.7em; }
  .faq-list, .roadmap-list { font-size: 1em; }
}
#headerOptionsIcon {
    transition: color 0.22s cubic-bezier(.4,0,.2,1), background 0.22s cubic-bezier(.4,0,.2,1);
  }
  #headerOptionsIcon:hover {
    color: #4995FF !important;
    background: rgba(73,149,255,0.10);
    border-radius: 50%;
  }

  #headerNotificationBell {
    transition: color 0.22s cubic-bezier(.4,0,.2,1), background 0.22s cubic-bezier(.4,0,.2,1);
  }
  #headerNotificationBell:hover {
    color: #FFAE41 !important;
    background: rgba(255,174,65,0.10);
    border-radius: 50%;
  }
  #menu-idea-logo {
    cursor: pointer;
    transition: filter 0.18s;
  }

  .menu-home-title {
    font-family: inherit;
    font-size: 1em;
    font-weight: 400;
    color: var(--color-bar-fg, #fff);
    margin-left: 0;
    letter-spacing: 0.01em;
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    background: none;
  }

  #menu-idea-logo.selected, #menu-idea-logo:active, #menu-idea-logo:focus {
    background: var(--color-bar-focus, #4995FF) !important;
  }
  #menu-idea-logo:hover .menu-home-title {
    background: var(--color-bar-accent, #FFC982);
    color: var(--color-primary, #0E1020);
  }
  #menu-idea-logo.selected .menu-home-title {
    background: var(--color-bar-focus, #4995FF) !important;
    color: #fff !important;
  }
  #menu-idea-logo:hover img {
    filter: brightness(1.15) drop-shadow(0 2px 8px #FFC982);
  }
/*   .news-drawer {
  position: absolute;
  top: 80px;
  right: 0;
  height: auto;
  width: var(--news-panel-width);
  min-width: var(--news-panel-min-width);
  max-width: var(--news-panel-width);
  background: #f7f7f7;
  box-shadow: 0 2px 10px 0 rgba(255,201,130,0.08);
  border-left: 4px solid #ffc982;
  border-radius: 16px 0 0 16px;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: width 0.35s cubic-bezier(.4,0,.2,1), background 0.2s;
  overflow: hidden;
} */
.news-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 1em 0.5em 1.2em;
  border-radius: 10px;
  margin-bottom: 7px;
  border-bottom: 2px solid #ffc982;
  background: #ffffff8f;
}
.news-drawer-toggle {
  background: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255,201,130,0.18);
  cursor: pointer;
  margin-left: 0.5em;
  font-size: 1.3em;
  color: #8f8f8f;
  transition: background 0.2s;
}
.news-drawer-toggle:hover {
  background: #ffc982;
  color: white;
}
.news-drawer.closed {
  border-left: 3px solid transparent;
}

.news-drawer.closed .news-drawer-toggle:hover {
  background: #ffc982;
  color: black;
}
.news-drawer.closed .news-drawer-header {
  padding: 0;
  justify-content: flex-end;
  background: transparent;
  border-bottom: none;
}
.news-drawer.closed .news-drawer-header h2,
.news-drawer.closed ul {
  display: none !important;
}
.news-drawer.closed .news-drawer-toggle {
  position: absolute;
  right: 0;
  top: 16px;
  left: auto;
  background: white;
  box-shadow: 0 2px 8px rgba(255,201,130,0.18);
  color: #8f8f8f;
  z-index: 2;
}
.category-menu {
  position: relative;
  z-index: 2;
  top: unset;
  left: unset;
  width: 100%;
  background: var(--color-bar-bg, #0E1020);
  color: var(--color-bar-fg, #fff);
  z-index: 10001;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5em;
  padding: 8px 16px;
  overflow: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 0.5em;
}

/* Scrollable area that contains Home + categories (icons are outside this area). */
.category-menu .category-menu-scroll {
  display: flex;
  flex: 1 1 auto;
  min-width: 0; /* important for flex overflow */
  align-items: center;
  gap: 0.5em;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  justify-content: center;
}
.category-menu .cat-link {
  color: var(--color-bar-fg, #fff);
  background: none;
  border: none;
  font-size: 1em;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.category-menu .cat-link.selected {
  background: var(--color-bar-focus, #4995FF) !important;
  color: #fff !important;
}
.category-menu .cat-link.active, .category-menu .cat-link:hover {
  background: var(--color-bar-accent, #FFC982);
  color: var(--color-primary, #0E1020);
}
.category-menu .cat-dropdown {
  display: none;
  position: fixed;
  left: 0;
  top: 56px;
  width: 100vw;
  background: #ffffff;
  color: #222;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 0 0 16px 16px;
  z-index: 3000;
  padding: 2em 2em 2em 2em;
  max-height: none;
  overflow: visible;
  margin-top: 0;
  flex-wrap: wrap;
  gap: 1.2em 2.5em;
  justify-content: center;
  align-items: flex-start;
}
.category-menu .cat-link:hover .cat-dropdown,
.category-menu .cat-link:focus-within .cat-dropdown {
  display: flex;
}
  .category-menu .cat-dropdown a {
    font-size: 1.15em;
    padding: 0.7em 1.5em;
    border-radius: 8px;
    display: block;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
.category-menu .cat-link {
    position: relative;
    z-index: 2010;
}
/* .category-menu {
    position: relative;
} */
.category-menu .cat-link:hover .cat-dropdown {
    display: block;
}
.category-menu .cat-dropdown a {
    display: block;
    color: #222;
    padding: 7px 18px;
    text-decoration: none;
    font-size: 0.98em;
    border: none;
    background: none;
    border-radius: 0;
    transition: background 0.13s;
}
.category-menu .cat-dropdown a:hover {
    background: var(--color-bar-accent, #FFC982);
    color: var(--color-primary, #0E1020);
}
/* Global dropdown styles for dropdowns appended to document.body */
.cat-dropdown {
  display: none;
  position: fixed;
  left: 0;
  top: 56px;
  width: auto;
  background: #ffffff;
  color: #222;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 8px;
  z-index: 100000;
  padding: 0.5em 0.7em;
  max-height: none;
  overflow: visible;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  justify-content: flex-start;
  align-items: stretch;
  min-width: 180px;
  max-width: 360px;
}
.cat-dropdown a {
  display: block;
  color: #222;
  padding: 7px 12px;
  text-decoration: none;
  font-size: 0.98em;
  border: none;
  background: none;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  white-space: normal;
  word-break: break-word;
}
.cat-dropdown a:hover {
  background: var(--color-bar-accent, #FFC982);
  color: var(--color-primary, #0E1020);
}

/* === Menu active category (green) + search hit (red) === */
.category-menu .cat-link.is-active-category {
  background: #004AAC !important;
  color: #fff !important;
}
.category-menu .cat-link.is-active-category:hover {
  background: #4995FF !important;
  color: #fff !important;
}
.category-menu .cat-link.is-search-hit {
  background: #D14600 !important;
  color: #fff !important;
}
.category-menu .cat-link.is-search-hit:hover {
  background: #FF7E51 !important;
  color: #fff !important;
}
.cat-dropdown a.is-search-hit {
  background: #D14600 !important;
  color: #fff !important;
}

/* === Constellation -> menu hover blink === */
.category-menu .cat-link.is-constellation-hover {
  box-shadow: 0 0 0 2px rgba(255,201,130,0.55), 0 0 22px rgba(73,149,255,0.22);
}

.category-menu .cat-link.is-constellation-blink {
  animation: ideaMenuConstellationBlink 1.15s ease-in-out 1;
}

@keyframes ideaMenuConstellationBlink {
  0% {
    box-shadow: 0 0 0 0 rgba(255,201,130,0.0), 0 0 0 rgba(73,149,255,0.0);
    transform: translateY(0) scale(1);
  }
  35% {
    box-shadow: 0 0 0 2px rgba(255,201,130,0.62), 0 0 28px rgba(73,149,255,0.26);
    transform: translateY(-1px) scale(1.04);
  }
  70% {
    box-shadow: 0 0 0 2px rgba(255,201,130,0.40), 0 0 18px rgba(73,149,255,0.18);
    transform: translateY(0) scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255,201,130,0.0), 0 0 0 rgba(73,149,255,0.0);
    transform: translateY(0) scale(1);
  }
}

/* === Header search results dropdown (menu search) === */
#menuSearchResults {
  display: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(73,149,255,0.18);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  overflow: hidden;
}

#menuSearchResults .menu-search-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
#menuSearchResults .menu-search-item:last-child {
  border-bottom: none;
}
#menuSearchResults .menu-search-item:hover,
#menuSearchResults .menu-search-item:focus {
  outline: none;
  background: rgba(73,149,255,0.10);
}

#menuSearchResults .menu-search-item-title {
  font-weight: 700;
  color: #0E1020;
  font-size: 0.98em;
  line-height: 1.2;
}

#menuSearchResults .menu-search-item-meta {
  margin-top: 2px;
  font-size: 0.85em;
  color: rgba(14,16,32,0.72);
}
/* Menu compact des catégories */
.category-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: var(--color-bar-bg, #0E1020);
    color: var(--color-bar-fg, #fff);
  z-index: 10001;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
    padding: 8px 16px;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.category-menu .cat-link {
    color: var(--color-bar-fg, #fff);
    background: none;
    border: none;
    font-size: 1em;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.category-menu .cat-link.active, .category-menu .cat-link:hover {
    background: var(--color-bar-accent, #FFC982);
    color: var(--color-primary, #0E1020);
}
.news-toggle {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.1em;
    cursor: pointer;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    outline: none;
    transition: color 0.2s;
}
.news-toggle:focus {
    color: var(--color-royal);
}

/* Animations collapse des notifications supprimées/commentées pour affichage simple */
/*
 * File: style.css
 * Description: Modernized and optimized CSS for "IDEA Launcher – DXC" web page.
 * Author: ChatGPT amélioré
 * Maintenabilité, accessibilité, responsive et performances améliorées.
 */

/* === VARIABLES GLOBALES === */
:root {
  /* Couleurs */
  /* DXC brand palette */
  --color-midnight: #0E1020;
  --color-peach: #FFC982;
  --color-true-blue: #4995FF;
  --color-red: #D14600;
  --color-white: #FFFFFF;
  --color-sky: #A1E6FF;
  --color-melon: #FF7E51;
  --color-canvas: #F6F3F0;
  --color-gold: #FFAE41;
  --color-royal: #004AAC;

  /* App theme mappings */
  --color-primary: var(--color-midnight);
  --color-primary-light: rgba(14, 16, 32, 0.10);

  /* Top/Bottom bar (menu bar) */
  --color-bar-bg: var(--color-midnight);
  --color-bar-fg: var(--color-white);
  --color-bar-accent: var(--color-peach);
  --color-bar-focus: var(--color-true-blue);
  --color-text-dark: #333333;
  --color-bg-light: #ffffff;
  --color-shadow-light: rgba(0, 0, 0, 0.1);
  --color-shadow-hover: rgba(0, 0, 0, 0.2);
  --color-badge-bg: #eef2ff;
  --color-badge-text: #3730a3;
  --color-border-light: #ddd;

  /* Typographie */
  --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-md: 1rem;       /* 16px */
  --font-size-lg: 1.5rem;     /* 24px */
  --font-weight-bold: 700;
  --line-height-base: 1.4;

  /* Espacements */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Bords */
  --border-radius-sm: 5px;
  --border-radius-md: 10px;

  /* Dimensions */
  --max-width-category: 280px;
  --news-panel-width: 40vw;
  --news-panel-min-width: 280px;

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
}

/* === RÉINITIALISATION DE BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  font-size: var(--font-size-md);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
  background: #0e1020;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.menu-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.menu-label {
  vertical-align: middle;
}

.icon-slot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.header {
  position: relative;
  z-index: 1;
  margin-top: 0.5em;
  background: linear-gradient(90deg, #0E1020 0%, #D14600 40%, #FFAE41 70%, #4995FF 100%);
  color: var(--color-bar-fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  box-shadow: 0 2px 6px var(--color-shadow-light);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 6px 10px;
}

/* Keep the search icon at the far left */
#searchForm {
  flex: 0 0 auto;
  margin-right: 8px;
}

#searchBtn {
  padding: 0.35em 0.55em !important;
}

#searchBtn .material-icons {
  font-size: 1.7em !important;
}

.header-sections {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 auto;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px;
  scrollbar-width: none;
}

.header-sections::-webkit-scrollbar { display: none; }

.header-section-link {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88em;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.header-section-link:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.16);
}

.header-section-link.is-active {
  background: rgba(255, 201, 130, 0.95);
  border-color: transparent;
  color: #0E1020;
  box-shadow: 0 10px 24px rgba(255, 201, 130, 0.22);
}

@media (max-width: 820px) {
  .header-inner {
    justify-content: flex-start;
    gap: 8px;
  }
  .header-sections {
    max-width: 100%;
    justify-content: flex-start;
  }
}

/* Make anchor navigation land below the top bars */
.section-scroll {
  scroll-margin-top: 96px;
}

#frameworks-used {
  scroll-margin-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  .header-section-link { transition: none; }
  .header-section-link:hover { transform: none; }
}

.header h1 {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  user-select: none;
}

#searchInput {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-md);
  border-radius: var(--border-radius-sm);
  border: none;
  max-width: 280px;
  width: 100%;
  transition: box-shadow var(--transition-fast);
  outline-offset: 2px;
}

#searchInput:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-bar-focus) 40%, transparent);
  outline: none;
}

/* === CONTENU PRINCIPAL === */
.main-content {
  flex-grow: 1;
  display: flex;
  align-items: stretch;
  gap: var(--spacing-lg);
/*   padding: var(--spacing-lg); */
  min-height: 0; /* Important for flex children with overflow */
}

/* === CONTENEUR DES CATÉGORIES === */
.site-container {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  overflow-y: auto;
  min-width: 0; /* Fix flexbox overflow */
  padding-right: var(--spacing-md);
}

/* === PANNEAU KPI === */
.kpi-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding-left: var(--spacing-md);
  min-width: 250px;
  max-width: 350px;
  overflow-y: auto;
}

/* === CARTE KPI === */
.kpi-card {
  background: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  box-shadow: 0 2px 10px var(--color-shadow-light);
  text-align: center;
  user-select: none;
  transition: box-shadow var(--transition-fast);
}

.kpi-card:hover {
  box-shadow: 0 4px 20px var(--color-shadow-hover);
}

.kpi-title {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-md);
}

.kpi-value {
  font-size: var(--font-size-lg);
  color: var(--color-text-dark);
}

/* === CATÉGORIE D'OUTILS === */
.category {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: 0 2px 10px var(--color-shadow-light);
  width: var(--max-width-category);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: default;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.category:hover,
.category:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--color-shadow-hover);
  outline: none;
}

.category h2 {
  text-align: center;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-md);
  user-select: text;
}

  .category a {
    display: block;
    color: var(--color-text-dark);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    padding: 0.4rem 0.6rem;
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-fast), color var(--transition-fast);
    user-select: text;
    font-size: var(--font-size-sm);
    word-break: break-all;
    overflow-wrap: anywhere;
    white-space: normal;
  }

.category a:last-child {
  margin-bottom: 0;
}

.category .category-empty {
  margin-top: var(--spacing-sm);
  padding: 0.45rem 0.6rem;
  border-radius: var(--border-radius-sm);
  background: rgba(14, 16, 32, 0.05);
  color: var(--color-text-dark);
  opacity: 0.75;
  font-size: var(--font-size-sm);
  text-align: center;
 }

.category a:hover,
.category a:focus {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  outline: none;
}

/* === FOOTER === */
.footer {
  /* background-color: var(--color-primary);
  color: var(--color-bg-light);
  text-align: center; */
  /* padding: var(--spacing-md); */
  font-size: var(--font-size-sm);
  margin-top: auto;
  user-select: none;
  box-shadow: 0 -2px 6px var(--color-shadow-light);
}


 .news-panel {
  flex: 0 0 var(--news-panel-width);
  max-width: var(--news-panel-width);
  min-width: var(--news-panel-min-width);
  overflow-y: auto;
  padding: var(--spacing-lg);
  border-left: 1px solid var(--color-border-light);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(8px);
  border-radius: var(--border-radius-md);
  font-family: var(--font-family-base);
  color: var(--color-primary);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-height: calc(100vh - 160px);
}


.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--spacing-sm);
}

.news-item {
  background: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  box-shadow: 0 1px 4px var(--color-shadow-light);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-text-dark);
  transition: box-shadow var(--transition-fast);
  word-break: break-word;
}

.news-item:hover,
.news-item:focus-within {
  box-shadow: 0 4px 16px var(--color-shadow-hover);
  outline: none;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-md);
}

.news-title {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}

.news-title:hover,
.news-title:focus {
  text-decoration: underline;
  outline: none;
}

.news-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  white-space: nowrap;
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.news-content {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
  font-family: var(--font-family-base);
  user-select: text;
  white-space: pre-line;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  font-weight: 600;
  user-select: none;
}

/* Hover effect for links inside news */
.news-item a:hover {
  background-color: var(--color-primary-light);
}

.options-button {
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: var(--color-bar-fg);
  border: 2px solid color-mix(in srgb, var(--color-bar-fg) 85%, transparent);
  border-radius: var(--border-radius-sm);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.options-button:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--color-bar-accent);
  color: var(--color-bar-fg);
}

#login-section, #form-section {
  max-width: 500px;
  margin: 5vh auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-md);
  font-family: var(--font-family-base);
}

#login-section h2, #form-section h2 {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

#login-section input,
#form-section input,
#form-section textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-md);
  box-sizing: border-box;
}

#form-section textarea {
  min-height: 120px;
  resize: vertical;
}

#login-section button,
#form-section button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-md);
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

#login-section button:hover,
#form-section button:hover {
  background-color: var(--color-royal);
}

#loginMessage,
#formMessage {
  text-align: center;
  font-weight: bold;
  margin-top: 1rem;
}

#formMessage {
  color: green;
}

.back-button {
  margin-top: 2rem;
  background-color: #f0f0f0;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.6rem 1.2rem;
  font-size: var(--font-size-md);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
}

.back-button:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.footer {
/*   background-color: var(--color-bar-bg);
  color: var(--color-bg-light);
  padding: var(--spacing-md); */
  box-shadow: 0 -2px 6px var(--color-shadow-light);
}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  flex: 1 1 250px;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.footer-logo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.footer-logo img {
  max-height: 40px;
  height: auto;
  width: auto;
  display: block;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
    padding: var(--spacing-md);
  }
  .news-panel {
  max-width: 100%;
  width: 100%;
  height: auto;
  position: relative;
  border-left: none;
  border-top: 1px solid var(--color-border-light);
}
}

/* Menu de navigation toujours visible en haut, responsive */
/* Always fixed navigation menu at the very top */
/* Unify .category-menu style for fixed top bar, no top/bottom space */
/*
.category-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  background: var(--color-bar-bg, #0E1020);
  color: var(--color-bar-fg, #fff);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5em;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  min-height: 48px;
  max-height: 64px;
  border-radius: 0;
} */
body {
  padding-top: 48px; /* Adjust to match menu height */
}
body {
  padding-top: 56px;
}
@media (max-width: 800px) {
  .category-menu {
    font-size: 0.98em;
    min-height: 44px;
    max-height: 56px;
  }
  body {
    padding-top: 44px;
  }
}
@media (max-width: 500px) {
  .category-menu {
    flex-wrap: wrap;
    gap: 0.2em;
    font-size: 0.93em;
    min-height: 38px;
    max-height: 48px;
  }
  body {
    padding-top: 38px;
  }
}


.news-panel.news-drawer {
  position: fixed !important;
  top: 56px !important;
  right: 0 !important;
  left: auto !important;
  width: 60vw !important;
  min-width: 620px !important;
  max-width: 800px !important;
  min-height: 88vh !important;
  height: 100% !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18) !important;
  border-left: 1px solid #ffc982 !important;
  border-radius: 16px 0 0 16px !important;
  z-index: 2001 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: width 0.35s cubic-bezier(.4,0,.2,1), background 0.2s !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
@media (max-width: 800px) {
  .news-panel.news-drawer {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    left: 0 !important;
    border-radius: 0 !important;
  }
}

/* Hide embed close buttons (navigation is handled via the top menu / ESC) */
#close-powerbi-embed,
#close-powerapps-embed {
  display: none !important;
}

.powerful-landing .hero-section.section-scroll,
.powerful-landing .solutions-section.section-scroll {
  overflow: visible;
}

.powerful-landing .hero-section {
  min-height: 100vh;
}

.powerful-landing .solutions-section {
  min-height: 100vh;
}

/* === IDEA USE CASES (Video section) === */
.idea-usecases-section.section-scroll {
  padding: clamp(38px, 5vw, 72px) 0;
  justify-content: flex-start;
  overflow: visible;
}

.idea-usecases-container {
  width: min(1280px, 94vw);
  margin: 0 auto;
  text-align: center;
}

.idea-usecases-title {
  margin-bottom: 10px;
}

.idea-usecases-subtitle {
  margin: 0 auto clamp(18px, 3vw, 26px) auto;
  max-width: 920px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.35;
}

.idea-usecases-video-shell {
  position: relative;
  border-radius: 22px;
  padding: 14px;
  background:
    radial-gradient(900px 240px at 18% 0%, rgba(73,149,255,0.35), transparent 60%),
    radial-gradient(820px 260px at 85% 100%, rgba(255,201,130,0.30), transparent 60%),
    rgba(255,255,255,0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 90px rgba(0,0,0,0.46), 0 0 62px rgba(73,149,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.idea-usecases-video-shell::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 180deg, rgba(73,149,255,0.24), rgba(255,201,130,0.22), rgba(73,149,255,0.24));
  opacity: 0.42;
  filter: blur(14px) saturate(1.15);
  animation: ideaUsecasesGlow 7.2s linear infinite;
  pointer-events: none;
}

.idea-usecases-video-ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
}

.idea-usecases-video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
  background: #0e1020;
}

@keyframes ideaUsecasesGlow {
  0% { transform: translate3d(-10px, -8px, 0) rotate(0deg); }
  50% { transform: translate3d(10px, 8px, 0) rotate(180deg); }
  100% { transform: translate3d(-10px, -8px, 0) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .idea-usecases-video-shell::before {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idea-constellation-section::before,
  .idea-constellation-section::after {
    animation: none !important;
  }
}