/* ============================================================
   SecIvoire v2 — CSS autonome (sans Angular/Antigravity)
   Tokens + typographie extraits de styles-7KLEMMT6.css
   Styles secivoire-* extraits de index.html overlay
   ============================================================ */

/* === TOKENS (extraits du CSS Angular) === */
:root {
  --palette-grey-900: #2F3034;
  --palette-grey-800: #45474D;
  --palette-grey-50: #E6EAF0;
  --palette-grey-0: #FFFFFF;
  --palette-grey-1000: #212226;
  --palette-grey-20: #EFF2F7;
  --palette-grey-1200: #121317;
  --palette-grey-1100: #18191D;
  --palette-grey-10: #F8F9FC;
  --palette-grey-100: #E1E6EC;
  --palette-grey-200: #CDD4DC;
  --palette-grey-300: #B2BBC5;
  --palette-grey-15: #F0F1F5;
  --palette-grey-0-rgb: 255, 255, 255;
  --palette-grey-1000-rgb: 33, 34, 38;
  --palette-grey-1200-rgb: 18, 19, 23;
  --palette-grey-50-rgb: 230, 234, 240;
  --palette-grey-400-rgb: 183, 191, 217;

  --theme-surface-surface: var(--palette-grey-0);
  --theme-surface-on-surface: var(--palette-grey-1200);
  --theme-surface-on-surface-variant: var(--palette-grey-800);
  --theme-surface-surface-container: var(--palette-grey-10);
  --theme-surface-surface-container-high: var(--palette-grey-20);
  --theme-surface-inverse-surface: var(--palette-grey-1200);
  --theme-surface-inverse-on-surface: var(--palette-grey-10);
  --theme-surface-inverse-on-surface-variant: var(--palette-grey-300);
  --theme-outline: rgba(var(--palette-grey-1000-rgb), .12);
  --theme-outline-variant: rgba(var(--palette-grey-1000-rgb), .06);
  --theme-outline-outline-variant: rgba(33, 34, 38, .06);

  /* Typographie */
  --9xl-size: 148px; --9xl-line-height: 145.04px; --9xl-letter-spacing: -2.96px;
  --5xl-size: 54px;  --5xl-line-height: 56.16px;  --5xl-letter-spacing: -.95px;
  --4xl-size: 42px;  --4xl-line-height: 43.68px;  --4xl-letter-spacing: -.73px;
  --3xl-size: 32px;  --3xl-line-height: 33.92px;  --3xl-letter-spacing: -.15px;
  --2xl-size: 28px;  --2xl-line-height: 30.24px;  --2xl-letter-spacing: -.1px;
  --xl-size: 24px;   --xl-line-height: 25.92px;   --xl-letter-spacing: -.07px;
  --lg-size: 22px;   --lg-line-height: 24.64px;   --lg-letter-spacing: -.08px;
  --md-size: 20px;   --md-line-height: 26px;      --md-letter-spacing: -.05px;
  --base-size: 17.5px; --base-line-height: 25.38px; --base-letter-spacing: .18px;
  --sm-size: 14.5px;   --sm-line-height: 21.02px;   --sm-letter-spacing: .16px;
  --xs-size: 12.5px;   --xs-line-height: 15.5px;    --xs-letter-spacing: .11px;
  --cta-size: 17.5px;  --cta-line-height: 25.38px;  --cta-letter-spacing: .18px;
  --cta-sm-size: 14.5px; --cta-sm-line-height: 21.02px; --cta-sm-letter-spacing: .11px;

  --page-margin: 72px;
  --nav-height: 68px;
  --breakpoint-max: 1600px;
}

@media (max-width: 1024px) {
  :root {
    --5xl-size: 28px;  --5xl-line-height: 29.6px;  --5xl-letter-spacing: -.28px;
    --4xl-size: 26px;  --4xl-line-height: 28.08px; --4xl-letter-spacing: -.26px;
    --3xl-size: 26px;  --3xl-line-height: 28.08px; --3xl-letter-spacing: -.26px;
    --2xl-size: 24px;  --2xl-line-height: 25.92px; --2xl-letter-spacing: -.14px;
    --xl-size: 22px;   --xl-line-height: 24.64px;  --xl-letter-spacing: -.13px;
    --base-size: 16px; --base-line-height: 23px;   --base-letter-spacing: .16px;
    --cta-size: 16px;  --cta-line-height: 23px;    --cta-letter-spacing: .16px;
    --cta-sm-size: 16px; --cta-sm-line-height: 23px; --cta-sm-letter-spacing: .16px;
    --page-margin: 40px;
  }
}
@media (max-width: 767px) {
  :root { --page-margin: 16px; }
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, ul, li, section, footer, nav, article {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
body {
  color: var(--theme-surface-on-surface);
  font-family: 'Google Sans Flex', 'Google Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
ul { list-style: none; }
a { text-decoration: none; color: var(--theme-surface-on-surface-variant); }
img, video { max-width: 100%; display: block; }
p { margin: 0; }

/* === TYPOGRAPHIE === */
.heading-3 { font-size: var(--5xl-size); line-height: var(--5xl-line-height); letter-spacing: var(--5xl-letter-spacing); font-weight: 450; }
.heading-4 { font-size: var(--4xl-size); line-height: var(--4xl-line-height); letter-spacing: var(--4xl-letter-spacing); font-weight: 450; }
.heading-5 { font-size: var(--3xl-size); line-height: var(--3xl-line-height); letter-spacing: var(--3xl-letter-spacing); font-weight: 450; }
.heading-6 { font-size: var(--2xl-size); line-height: var(--2xl-line-height); letter-spacing: var(--2xl-letter-spacing); font-weight: 450; }
.heading-7 { font-size: var(--xl-size);  line-height: var(--xl-line-height);  letter-spacing: var(--xl-letter-spacing);  font-weight: 450; }
.heading-8 { font-size: var(--lg-size);  line-height: var(--lg-line-height);  letter-spacing: var(--lg-letter-spacing);  font-weight: 450; }
.body    { font-size: var(--base-size); line-height: var(--base-line-height); letter-spacing: var(--base-letter-spacing); font-weight: 400; }
.caption { font-size: var(--sm-size);  line-height: var(--sm-line-height);  letter-spacing: var(--sm-letter-spacing);  font-weight: 400; }
.small   { font-size: var(--xs-size);  line-height: var(--xs-line-height);  letter-spacing: var(--xs-letter-spacing);  font-weight: 450; }
.call-to-action     { font-size: var(--cta-size);    line-height: var(--cta-line-height);    letter-spacing: var(--cta-letter-spacing);    font-weight: 450; }
.call-to-action--nav{ font-size: var(--cta-sm-size); line-height: var(--cta-sm-line-height); letter-spacing: var(--cta-sm-letter-spacing); font-weight: 450; cursor: pointer; }

/* === GRID === */
.grid-container {
  width: 100%;
  max-width: calc(var(--breakpoint-max) + var(--page-margin) * 2);
  margin: 0 auto;
  padding: 0 var(--page-margin);
}

/* === NAV === */
.si-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(18,19,23,0.06);
  will-change: transform;
  transform: translateZ(0);
}
.si-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.si-logo-link { display: flex; align-items: center; }
.secivoire-brand-logo {
  display: block;
  width: clamp(154px, 15vw, 228px);
  height: auto;
}
.secivoire-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.secivoire-nav-link {
  color: var(--theme-surface-on-surface-variant);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.secivoire-nav-link:hover,
.secivoire-nav-link:focus-visible {
  background: rgba(18,19,23,0.05);
  color: var(--theme-surface-on-surface);
  outline: none;
}
.si-mobile-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.si-mobile-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--palette-grey-1200);
  border-radius: 2px;
}
.si-mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  padding: 16px var(--page-margin);
  flex-direction: column;
  z-index: 99;
  border-bottom: 1px solid rgba(18,19,23,0.08);
  transform: translateZ(0);
}
.si-mobile-nav.open { display: flex; }
.si-mobile-nav .secivoire-nav-link {
  padding: 14px 8px;
  border-radius: 0;
  border-bottom: 1px solid rgba(18,19,23,0.06);
}

/* === HERO === */
.si-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: #f8f9fc;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}
.si-hero .grid-container {
  position: relative;
  z-index: 3;
  padding-top: 80px;
  padding-bottom: 100px;
}
.header-container {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

/* Particles canvas */
#si-particles {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  width: 100%; height: 100%;
}

/* Noise overlay — feTurbulence supprimé (trop coûteux au repaint) */
.si-noise { display: none; }

/* Spotlight souris */
.si-spotlight {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0;
}
.si-spotlight.is-active { opacity: 1; }

/* Glitch effect */
.si-glitch { position: relative; display: inline-block; }
.si-glitch::before, .si-glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
}
.si-glitch::before {
  color: #346bf1; -webkit-text-fill-color: #346bf1;
  clip-path: polygon(0 15%, 100% 15%, 100% 30%, 0 30%);
  transform: translateX(-2px);
  animation: si-glitch-a 5s steps(1) infinite;
  opacity: 0;
}
.si-glitch::after {
  color: #ff5a0a; -webkit-text-fill-color: #ff5a0a;
  clip-path: polygon(0 65%, 100% 65%, 100% 82%, 0 82%);
  transform: translateX(2px);
  animation: si-glitch-b 5s steps(1) infinite;
  opacity: 0;
}
@keyframes si-glitch-a {
  0%, 82%, 84%, 100% { opacity: 0; transform: translateX(-2px); clip-path: polygon(0 15%, 100% 15%, 100% 30%, 0 30%); }
  83% { opacity: .7; transform: translateX(3px); clip-path: polygon(0 22%, 100% 22%, 100% 44%, 0 44%); }
}
@keyframes si-glitch-b {
  0%, 87%, 89%, 100% { opacity: 0; transform: translateX(2px); clip-path: polygon(0 65%, 100% 65%, 100% 82%, 0 82%); }
  88% { opacity: .6; transform: translateX(-3px); clip-path: polygon(0 48%, 100% 48%, 100% 70%, 0 70%); }
}

/* Terminal cursor */
.si-term-cursor {
  display: inline-block; width: 3px; height: .85em;
  background: rgba(52,107,241,.7); margin-left: 4px;
  vertical-align: baseline;
  animation: si-blink .9s step-end infinite; border-radius: 2px;
}
@keyframes si-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* Pulse dot */
.si-pulse-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: #346bf1;
  margin-right: 10px; vertical-align: middle; flex-shrink: 0;
}

/* === STYLES SECIVOIRE (extraits verbatim de l'overlay) === */

.secivoire-hero-title {
  font-size: clamp(36px, 5.2vw, 74px);
  line-height: 1.07;
  font-weight: 500;
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
  color: #121317;
  letter-spacing: -0.02em;
}
.secivoire-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.secivoire-hero-copy {
  color: var(--theme-surface-on-surface-variant);
  font-size: var(--base-size);
  line-height: var(--base-line-height);
  letter-spacing: var(--base-letter-spacing);
  margin: 24px auto 0;
  max-width: 720px;
}
.secivoire-button--primary {
  background: #121317;
  color: #f8f9fc !important;
  border-color: transparent;
}
.secivoire-button--primary:hover { background: #2a2b30; }

.secivoire-section-header { max-width: 760px; margin: 0 0 36px; }
.secivoire-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--palette-grey-800);
  margin-bottom: 14px;
}
.secivoire-section-eyebrow::before {
  content: "";
  width: 40px; height: 1px;
  background: linear-gradient(90deg, rgba(52,107,241,0.9), rgba(255,90,10,0.9));
}
.secivoire-section-header .body { color: var(--theme-surface-on-surface-variant); margin-top: 16px; max-width: 60ch; }

.secivoire-services-section,
.secivoire-contact-section { padding: clamp(72px, 8vw, 116px) 0; }

.secivoire-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(18,19,23,0.08);
  background: rgba(248,249,252,0.9);
  color: var(--theme-surface-on-surface);
}
.secivoire-chip::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: linear-gradient(135deg, #346bf1 0%, #ff5a0a 100%);
}

/* Red Team Section */
.secivoire-redteam-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: #0a0c12;
  position: relative;
  overflow: hidden;
}
.secivoire-redteam-section::before { display: none; }
.secivoire-redteam-section::after {
  content: ''; position: absolute;
  top: -180px; left: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,107,241,.18) 0%, transparent 70%);
  pointer-events: none;
}
.secivoire-redteam-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 860px) {
  .secivoire-redteam-inner { grid-template-columns: 1fr; }
  .secivoire-redteam-visual { order: -1; }
}
.secivoire-redteam-section .secivoire-section-eyebrow { color: #346bf1; }
.secivoire-redteam-title { color: #fff; margin: 14px 0 20px; line-height: 1.15; }
.secivoire-redteam-desc { color: rgba(255,255,255,.62); margin-bottom: 32px; max-width: 480px; }
.secivoire-redteam-features { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.secivoire-redteam-features li {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.5;
}
.secivoire-redteam-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
}
.secivoire-redteam-visual { position: relative; }
.secivoire-redteam-video-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(52,107,241,.25);
  box-shadow: 0 0 0 1px rgba(52,107,241,.08), 0 32px 80px rgba(0,0,0,.55), 0 0 60px rgba(52,107,241,.12);
  background: #0d0f18;
}
.secivoire-redteam-video {
  display: block; width: 100%; height: auto;
  max-height: 520px; object-fit: cover; border-radius: 28px;
}
.secivoire-redteam-video-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,80,80,.35);
  border-radius: 999px; padding: 5px 12px 5px 9px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  color: rgba(255,255,255,.9); text-transform: uppercase;
}
.secivoire-redteam-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: #ff4444;
  animation: si-pulse-red 1.4s ease-in-out infinite; order: -1;
}
@keyframes si-pulse-red { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* CyberArena */
.secivoire-ca-inner { grid-template-columns: 1fr 1fr !important; }
.secivoire-ca-visual { order: -1; }
.secivoire-ca-frame {
  display: block; position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(139,92,246,.3);
  box-shadow: 0 0 0 1px rgba(139,92,246,.08), 0 32px 80px rgba(0,0,0,.55), 0 0 60px rgba(139,92,246,.12);
  background: #0a0914; text-decoration: none;
  transition: box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.secivoire-ca-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(139,92,246,.3), 0 40px 90px rgba(0,0,0,.6), 0 0 80px rgba(139,92,246,.2);
}
.secivoire-ca-screenshot { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: top left; }
.secivoire-ca-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  background: rgba(10,9,20,.78);
  border: 1px solid rgba(139,92,246,.4);
  border-radius: 999px; padding: 5px 12px 5px 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.85);
}
.secivoire-ca-badge-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 6px;
  background: #8b5cf6; color: #fff; font-size: 9px; font-weight: 700;
}
.secivoire-ca-live-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #8b5cf6; animation: si-pulse-red 1.6s ease-in-out infinite;
}
.secivoire-ca-screen-glow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(139,92,246,.15), transparent);
  pointer-events: none;
}
.secivoire-ca-btn {
  background: #8b5cf6 !important;
  color: #fff !important;
  border-color: transparent !important;
  margin-top: 8px;
}
.secivoire-ca-btn:hover { background: #7c3aed !important; }

/* Buttons */
.secivoire-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.secivoire-button--light {
  background: #fff; border-color: rgba(255,255,255,0.16); color: #121317;
}
.secivoire-button--light:hover, .secivoire-button--light:focus-visible {
  background: #f0f1f5; outline: none;
}
.secivoire-button--ghost {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: #f8f9fc;
}
.secivoire-button--ghost:hover, .secivoire-button--ghost:focus-visible {
  background: rgba(255,255,255,0.14); outline: none;
}

/* Contact */
.secivoire-contact-shell {
  position: relative; overflow: hidden;
  border-radius: 40px; padding: clamp(28px, 4vw, 56px);
  color: var(--theme-surface-surface);
  background:
    radial-gradient(circle at top left, rgba(52,107,241,0.42) 0%, rgba(52,107,241,0) 28%),
    radial-gradient(circle at bottom right, rgba(255,90,10,0.38) 0%, rgba(255,90,10,0) 26%),
    linear-gradient(180deg, #121317 0%, #18191d 100%);
  box-shadow: 0 30px 80px rgba(18,19,23,0.24);
}
.secivoire-contact-shell .body, .secivoire-contact-shell .caption { color: rgba(248,249,252,0.78); }
.secivoire-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.secivoire-contact-shell::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(52,107,241,0.24), rgba(255,90,10,0.14));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* Footer */
.secivoire-footer { padding: 56px 0 72px; border-top: 1px solid rgba(18,19,23,0.08); }
.secivoire-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px; align-items: start;
}
.secivoire-footer-brand { max-width: 620px; }
.secivoire-footer-brand img { width: 182px; height: auto; margin-bottom: 18px; }
.secivoire-footer-brand .body { color: var(--theme-surface-on-surface-variant); margin-bottom: 18px; }
.secivoire-footer-nav { display: grid; gap: 8px; justify-items: start; justify-self: end; }

/* Team Section */
.secivoire-team-section { position: relative; padding: clamp(72px, 9vw, 124px) 0; }
.secivoire-team-shell {
  position: relative; overflow: hidden;
  border-radius: 40px; border: 1px solid var(--theme-outline);
  background: linear-gradient(180deg, rgba(248,249,252,0.92) 0%, rgba(255,255,255,0.98) 100%);
  box-shadow: 0 32px 80px rgba(18,19,23,0.08);
  padding: clamp(28px, 4vw, 56px); isolation: isolate;
}
.secivoire-team-shell::before, .secivoire-team-shell::after {
  content: ""; position: absolute; inset: auto; pointer-events: none; z-index: -1;
}
.secivoire-team-shell::before {
  top: -120px; right: -80px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52,107,241,0.15) 0%, rgba(52,107,241,0) 68%);
}
.secivoire-team-shell::after {
  left: -160px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,70,65,0.12) 0%, rgba(255,70,65,0) 70%);
}
.secivoire-team-header {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 4vw, 56px); align-items: end;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.secivoire-team-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--palette-grey-800); margin-bottom: 12px;
}
.secivoire-team-eyebrow::before {
  content: ""; width: 40px; height: 1px;
  background: linear-gradient(90deg, rgba(52,107,241,0.9), rgba(255,70,65,0.9));
}
.secivoire-team-carousel { margin-top: 28px; }
.secivoire-team-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px; align-items: stretch;
}
.secivoire-team-visual-stack, .secivoire-team-copy-stack { position: relative; min-height: 100%; }
.secivoire-team-panel, .secivoire-team-copy-panel { display: none; }
.secivoire-team-panel.is-active, .secivoire-team-copy-panel.is-active { display: block; }
.secivoire-team-visual-card {
  position: relative; overflow: hidden; min-height: 520px;
  border-radius: 32px; padding: 26px; color: #fff;
  background: linear-gradient(180deg, #14161c 0%, #1e2431 100%);
  box-shadow: 0 24px 56px rgba(18,19,23,0.18);
  display: flex; flex-direction: column; justify-content: space-between;
  isolation: isolate;
}
.secivoire-team-visual-card::before, .secivoire-team-visual-card::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
}
.secivoire-team-visual-card::before {
  width: 360px; height: 360px; top: -120px; right: -60px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
}
.secivoire-team-visual-card::after {
  width: 260px; height: 260px; bottom: -90px; left: -40px;
  background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 70%);
}
.secivoire-team-panel.is-tone-ink    .secivoire-team-visual-card { background: linear-gradient(180deg, #101216 0%, #1f2533 100%); }
.secivoire-team-panel.is-tone-orange .secivoire-team-visual-card { background: linear-gradient(180deg, #181311 0%, #5b2306 100%); }
.secivoire-team-panel.is-tone-blue   .secivoire-team-visual-card { background: linear-gradient(180deg, #0f182a 0%, #234788 100%); }
.secivoire-team-visual-top, .secivoire-team-visual-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.secivoire-team-visual-index, .secivoire-team-visual-kicker { color: rgba(255,255,255,0.8); }
.secivoire-team-visual-core { display: grid; gap: 20px; align-items: end; }
.secivoire-team-visual-mark {
  width: clamp(160px, 20vw, 240px); aspect-ratio: 1;
  border-radius: 32px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  font-size: clamp(54px, 7vw, 86px); font-weight: 500; letter-spacing: 0.1em;
  overflow: hidden;
}
.secivoire-team-visual-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.secivoire-team-visual-meta .heading-5 { margin-bottom: 4px; }
.secivoire-team-member-name { color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.secivoire-team-visual-meta .body { color: rgba(255,255,255,0.78); max-width: 32ch; }
.secivoire-team-visual-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.secivoire-team-visual-tags li {
  display: inline-flex; align-items: center; padding: 8px 12px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08); color: #fff;
}
.secivoire-team-copy-stack {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 20px; padding: 8px 0;
}
.secivoire-team-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.secivoire-team-counter { color: var(--palette-grey-800); }
.secivoire-team-control-group { display: inline-flex; align-items: center; gap: 8px; }
.secivoire-team-control {
  width: 44px; height: 44px;
  border: 1px solid rgba(18,19,23,0.08); border-radius: 999px;
  background: rgba(255,255,255,0.92); color: var(--theme-surface-on-surface);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.secivoire-team-control:hover { background: #fff; border-color: rgba(18,19,23,0.16); outline: none; }
.secivoire-team-copy-panel { position: relative; min-height: 100%; padding: 12px 0 0; }
.secivoire-team-copy-label { color: var(--palette-grey-800); margin-bottom: 12px; }
.secivoire-team-copy-name { margin-bottom: 6px; }
.secivoire-team-copy-panel .heading-4 { margin-bottom: 16px; max-width: 16ch; }
.secivoire-team-copy-panel .body { color: var(--theme-surface-on-surface-variant); max-width: 40ch; }
.secivoire-team-points { display: grid; gap: 12px; margin-top: 24px; }
.secivoire-team-points li { position: relative; padding-left: 18px; color: var(--theme-surface-on-surface); }
.secivoire-team-points li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 999px;
  background: linear-gradient(135deg, #346bf1 0%, #ff5a0a 100%);
}
.secivoire-team-role { color: var(--palette-grey-800); margin-bottom: 16px; }
.secivoire-team-directory { display: grid; gap: 10px; margin-top: 28px; }
.secivoire-team-trigger {
  width: 100%; text-align: left;
  border: 1px solid rgba(18,19,23,0.08); border-radius: 22px;
  background: rgba(255,255,255,0.86); padding: 14px 16px; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.secivoire-team-trigger:hover { border-color: rgba(18,19,23,0.18); background: #fff; }
.secivoire-team-trigger.is-active {
  border-color: rgba(52,107,241,0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,247,255,0.98) 100%);
  transform: translateY(-1px);
}
.secivoire-team-trigger-title { display: block; color: var(--theme-surface-on-surface); margin-bottom: 4px; }
.secivoire-team-trigger-role { color: var(--palette-grey-800); }
/* Ligne nom + LinkedIn */
.secivoire-team-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.secivoire-team-name-row .secivoire-team-copy-name { margin-bottom: 0; flex: 1; }

.secivoire-team-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 34px; height: 34px;
  border-radius: 8px;
  background: #0A66C2;
  color: #fff;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(10,102,194,0.30);
}
.secivoire-team-linkedin:hover {
  background: #004182;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(10,102,194,0.40);
}
.secivoire-team-linkedin svg { flex-shrink: 0; }
.secivoire-team-dots { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.secivoire-team-dot {
  width: 10px; height: 10px; padding: 0; border: 0;
  border-radius: 999px; background: rgba(18,19,23,0.14); cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.secivoire-team-dot.is-active {
  background: linear-gradient(135deg, #346bf1 0%, #ff5a0a 100%);
  transform: scale(1.15);
}

/* Sections — visibles immédiatement, ancre décalée pour header fixe */
section[id] { scroll-margin-top: var(--nav-height); }

/* === OVERRIDES (identiques au site original) === */

/* Grid containers sections : pleine largeur avec padding fluide */
#secivoire-team > .grid-container,
#secivoire-contact > .grid-container,
#secivoire-redteam > .grid-container,
#secivoire-cyberarena > .grid-container,
#secivoire-footer > .grid-container {
  max-width: none;
  padding: 0 clamp(24px, 5.5vw, 92px);
}

/* Team shell arrondi */
.secivoire-team-shell { border-radius: 48px; }

/* Team stage ratio desktop */
@media (min-width: 1024px) {
  .secivoire-team-stage {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
  }
}

/* Contact shell ombre + padding */
.secivoire-contact-shell {
  box-shadow: 0 0 55px rgba(52,107,241,.18), 0 32px 80px rgba(18,19,23,.24);
  padding: clamp(40px, 6vw, 80px);
}
.secivoire-contact-shell h2 {
  max-width: 900px;
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.12;
}

/* Hero copy centré */
.secivoire-hero-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.secivoire-hero-copy {
  max-width: 880px !important;
  margin: 28px auto 0 !important;
  text-align: center;
}

/* Team header eyebrow */
.secivoire-team-header { margin-bottom: 32px; }
.secivoire-team-header > div { display: flex; flex-direction: column; align-items: flex-start; }
.secivoire-team-eyebrow { display: inline-flex !important; margin-bottom: 16px !important; }

/* Responsive */
@media (max-width: 1023px) {
  .secivoire-footer-grid, .secivoire-team-header { grid-template-columns: 1fr; }
  .secivoire-footer-nav { justify-self: start; }
}
@media (max-width: 860px) {
  .secivoire-redteam-inner { grid-template-columns: 1fr; }
  .secivoire-redteam-visual { order: -1; }
}
@media (max-width: 767px) {
  .secivoire-team-section { padding: 56px 0 72px; }
  .secivoire-team-shell { border-radius: 28px; padding: 22px; }
  .secivoire-contact-shell { border-radius: 28px; }
  .secivoire-team-stage { grid-template-columns: 1fr; }
  .secivoire-footer-grid { grid-template-columns: 1fr; }
  .secivoire-team-carousel { margin-top: 20px; }
  .secivoire-team-visual-card { min-height: 380px; border-radius: 24px; padding: 20px; }
  .secivoire-team-visual-mark { width: 136px; border-radius: 24px; font-size: 48px; }
  .secivoire-contact-actions { flex-direction: column; }
  .secivoire-team-controls { align-items: flex-start; flex-direction: column; }
  .secivoire-button { width: 100%; }
  .secivoire-brand-logo { width: 150px; }
  .secivoire-nav { display: none; }
  .si-mobile-burger { display: flex; }
}




