:root {
  --bg: #f3f7fd;
  --ink: #0f1d32;
  --muted: #4d607c;
  --brand: #2f7edb;
  --brand-strong: #1f4f9a;
  --accent: #58b2ff;
  --panel: #ffffff;
  --line: #d6e2f2;
  --shadow: 0 16px 40px rgba(14, 32, 68, 0.1);
  --shadow-strong: 0 28px 60px rgba(8, 24, 56, 0.22);
  --glow: 0 0 40px rgba(88, 178, 255, 0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
  perspective: 1200px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
main {
  flex: 1 0 auto;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(600px 320px at 12% 18%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(520px 280px at 85% 8%, rgba(255, 255, 255, 0.18), transparent 62%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
}

p { margin: 0 0 1rem; color: var(--muted); }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 100%);
  padding-inline: 1rem;
  margin: 0 auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(47, 126, 219, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 126, 219, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -3;
}
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1200px 600px at 20% -10%, rgba(88, 178, 255, 0.18), transparent 60%),
    radial-gradient(900px 520px at 90% 20%, rgba(47, 126, 219, 0.12), transparent 58%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -2;
  pointer-events: none;
}
.bg-glow-a { top: -180px; left: -120px; background: rgba(47, 126, 219, 0.2); }
.bg-glow-b { right: -160px; bottom: -220px; background: rgba(88, 178, 255, 0.2); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 247, 253, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand { display: inline-flex; align-items: center; gap: 0; font-weight: 800; }
.brand-mark {
  width: 100px;
  height: 100px;
  max-height: 100px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}
.site-header .brand {
  height: 45px;
  min-height: 45px;
  align-self: center;
  display: flex;
  align-items: center;
}
.site-header .brand-mark {
  width: 150px;
  height: 45px;
  max-height: 45px;
  display: block;
  margin: 0;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 1.1rem;
}
.main-nav a {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}
.main-nav a.active,
.main-nav a:hover { background: #e9f1ff; color: var(--brand-strong); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  box-shadow: 0 10px 24px rgba(31, 79, 154, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.2rem;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.76rem;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  cursor: pointer;
}
.lang-switch button.active {
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
}

.section { padding: 4.5rem 0; }
.section-tint { background: rgba(233, 241, 255, 0.72); }
.page-main { padding-top: 1rem; }
#secteurs {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 260px at 8% 15%, rgba(47, 126, 219, 0.14), rgba(47, 126, 219, 0)),
    radial-gradient(640px 240px at 92% 88%, rgba(88, 178, 255, 0.14), rgba(88, 178, 255, 0)),
    linear-gradient(180deg, #f2f7ff 0%, #eaf1ff 100%);
  border-top: 1px solid #d4e0f4;
  border-bottom: 1px solid #d4e0f4;
}
#secteurs::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 79, 154, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 79, 154, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.55;
  pointer-events: none;
}
#secteurs .container {
  position: relative;
  z-index: 1;
}

.association-banner {
  padding: 1.9rem 0 1.5rem;
  margin-top: 0.35rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, #ffffff 78%, var(--brand) 22%) 0%,
    color-mix(in srgb, #ffffff 64%, var(--brand) 36%) 55%,
    color-mix(in srgb, #ffffff 82%, var(--brand) 18%) 100%
  );
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.68)),
    url("assets/images/gif.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 4;
  overflow: hidden;
}
.association-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 30, 60, 0.12), rgba(15, 30, 60, 0));
  pointer-events: none;
  z-index: 2;
}
.proton-rain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.proton {
  position: absolute;
  top: -10%;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  left: var(--x);
  opacity: 0;
  background: radial-gradient(circle at 35% 35%, #5f5f5f 0 12%, #1f1f1f 45%, #000000 78%, rgba(0, 0, 0, 0) 100%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.72), 0 0 24px rgba(0, 0, 0, 0.45);
  filter: saturate(1) contrast(1.15);
  animation: protonFall var(--dur) linear infinite;
  animation-delay: var(--delay);
}
.proton::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -26px;
  width: 3px;
  height: 26px;
  transform: translateX(-50%);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}
@keyframes protonFall {
  0% {
    transform: translate3d(0, -12%, 0);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 0.95; }
  100% {
    transform: translate3d(var(--drift), 122%, 0);
    opacity: 0;
  }
}
.association-banner .container {
  background: #eef5ff;
  border: 1px solid #c8dbf3;
  border-radius: 14px;
  padding: 1.2rem 1.1rem;
  box-shadow: var(--shadow-strong), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 3;
  overflow: hidden;
  animation: bannerPulse 8s ease-in-out infinite;
  transform: translateZ(0);
}
.association-banner .container::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 64%);
  transform: translateX(-28%);
  animation: bannerShimmer 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.association-banner .container > * {
  position: relative;
  z-index: 1;
}
@keyframes bannerPulse {
  0%, 100% {
    border-color: #c8dbf3;
    box-shadow: 0 8px 24px rgba(13, 35, 32, 0.06);
  }
  50% {
    border-color: #a7c6ee;
    box-shadow: 0 12px 30px rgba(31, 79, 154, 0.18);
  }
}
@keyframes bannerShimmer {
  0% { transform: translateX(-28%); }
  100% { transform: translateX(28%); }
}
.association-orbit {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
}
.association-center {
  text-align: center;
  position: relative;
  z-index: 3;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  width: min(640px, 92%);
}
.association-title {
  font-size: clamp(1.35rem, 3.1vw, 2.4rem);
  letter-spacing: 0.03em;
  color: #0d2730;
  margin: 0;
}
.association-typing-wrap {
  margin: 0.35rem 0 0;
  min-height: 1.6rem;
}
.association-typing {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--brand-strong);
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--brand-strong);
  width: 0;
  animation: craTypeLoop 5s steps(23, end) infinite, craBlink 0.8s step-end infinite;
}
@keyframes craTypeLoop {
  0% { width: 0; }
  55% { width: 23ch; }
  80% { width: 23ch; }
  100% { width: 0; }
}
@keyframes craBlink {
  50% { border-right-color: transparent; }
}
.region-box {
  position: absolute;
  top: var(--top);
  left: var(--left);
  border: 1px solid #d0dcf2;
  background: #ffffff;
  color: #1d3348;
  border-radius: 999px;
  width: 146px;
  height: 42px;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(16, 48, 94, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  animation: rainDrop var(--dur) ease-in-out infinite var(--delay),
             rainDrift calc(var(--dur) * 0.8) ease-in-out infinite var(--delay);
}
.region-box:hover,
.region-box:focus-visible {
  color: #123a68;
  box-shadow: 0 16px 34px rgba(16, 48, 94, 0.26);
  outline: none;
}
@keyframes rainDrop {
  0% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
  25% {
    transform: translate(-50%, -50%) translateY(10px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-16px);
  }
  75% {
    transform: translate(-50%, -50%) translateY(14px);
  }
  100% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
}
@keyframes rainDrift {
  0% { margin-left: -6px; }
  50% { margin-left: 8px; }
  100% { margin-left: -6px; }
}

.rb-1 { --top: 13%; --left: 20%; --dur: 7.2s; --delay: -0.8s; }
.rb-2 { --top: 12%; --left: 43%; --dur: 6.1s; --delay: -3.3s; }
.rb-3 { --top: 17%; --left: 75%; --dur: 8.3s; --delay: -1.1s; }
.rb-4 { --top: 34%; --left: 86%; --dur: 6.8s; --delay: -6.4s; }
.rb-5 { --top: 56%; --left: 82%; --dur: 5.9s; --delay: -4.7s; }
.rb-6 { --top: 78%; --left: 74%; --dur: 8.9s; --delay: -7.9s; }
.rb-7 { --top: 86%; --left: 52%; --dur: 6.4s; --delay: -5.5s; }
.rb-8 { --top: 79%; --left: 27%; --dur: 8.1s; --delay: -2.6s; }
.rb-9 { --top: 57%; --left: 13%; --dur: 5.6s; --delay: -8.2s; }
.rb-10 { --top: 34%; --left: 12%; --dur: 9.4s; --delay: -9.1s; }

.rb-1, .rb-4, .rb-7, .rb-10 { background: #edf4ff; border-color: #cad9f2; }
.rb-2, .rb-5, .rb-8 { background: #e8f2ff; border-color: #c3d6f3; }
.rb-3, .rb-6, .rb-9 { background: #f2f7ff; border-color: #d4e1f4; }

.rb-1:hover, .rb-1:focus-visible,
.rb-4:hover, .rb-4:focus-visible,
.rb-7:hover, .rb-7:focus-visible,
.rb-10:hover, .rb-10:focus-visible { background: #dcecff; }
.rb-2:hover, .rb-2:focus-visible,
.rb-5:hover, .rb-5:focus-visible,
.rb-8:hover, .rb-8:focus-visible { background: #d4e7ff; }
.rb-3:hover, .rb-3:focus-visible,
.rb-6:hover, .rb-6:focus-visible,
.rb-9:hover, .rb-9:focus-visible { background: #e4efff; }

.kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.74rem;
  color: var(--brand-strong);
}

.lead { font-size: 1.06rem; max-width: 64ch; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  min-height: 62vh;
}

.hero { position: relative; overflow: hidden; }
.hero-map-panel {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.cm-map-image {
  width: min(100%, 360px);
  max-height: 62vh;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(31, 79, 154, 0.28));
  display: block;
  transform: translateZ(0);
}

.parallax-layer {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.micro-tilt {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.micro-tilt.is-tilting {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  box-shadow: var(--shadow-strong);
}

@media (prefers-reduced-motion: reduce) {
  .parallax-layer,
  .micro-tilt,
  .micro-tilt.is-tilting {
    transition: none !important;
    transform: none !important;
  }
  .association-banner .container {
    animation: none !important;
  }
}

.info-card,
.event-tile,
.panel,
.article-item,
.event-row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.info-card::before,
.event-tile::before,
.panel::before,
.article-item::before,
.event-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.info-card:hover,
.event-tile:hover,
.panel:hover,
.article-item:hover,
.event-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.info-card:hover::before,
.event-tile:hover::before,
.panel:hover::before,
.article-item:hover::before,
.event-row:hover::before {
  opacity: 1;
}

.mini-title { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-strong); }
.text-link { font-weight: 800; color: var(--brand-strong); }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.section-head { margin-bottom: 1.4rem; }
.split-head {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}
.about-copy { padding: 1.2rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.about-analysis-visual {
  display: block;
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
}
.about-media { display: grid; gap: 0.9rem; }
.media-card {
  min-height: 110px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #e9f2ff, #f6f9ff);
  display: flex;
  align-items: end;
  padding: 1rem;
  font-weight: 800;
}
.competition-card {
  min-height: 280px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  background: #fff;
}
.competition-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #e8f1ff;
}
.competition-card-body {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
}
.competition-card-body span {
  font-size: 0.94rem;
  color: #14324e;
}
.competition-card .btn {
  justify-self: start;
}
.competition-grid {
  margin-top: 1rem;
}
.competition-option {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}
.competition-option img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #e8f1ff;
}
.competition-option h3 {
  margin: 0.2rem 0 0;
  text-align: center;
}
.competition-option .text-link {
  justify-self: center;
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}
.stats div {
  background: #f5f9ff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem;
}
.stats strong { display: block; font-size: 1.25rem; color: var(--brand-strong); }
.stats span { font-size: 0.84rem; color: var(--muted); }

.feature-events,
.card-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }
.events-diagonal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: center;
}
.events-bootcamp-card { grid-column: 1; grid-row: 1; }
.events-industry-visual { grid-column: 2; grid-row: 1; }
.events-computertable-visual { grid-column: 1; grid-row: 2; }
.events-forum-card { grid-column: 2; grid-row: 2; }
.events-extra-visual {
  width: 160px;
  height: 160px;
  object-fit: contain;
  justify-self: center;
  margin-top: 0;
}
.feature-events-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 1rem;
}
.event-tile,
.info-card { padding: 1rem; }
.event-tile {
  text-align: center;
}
.event-tile .pill {
  margin-inline: auto;
}
.events-side-visual {
  width: 160px;
  height: 160px;
  object-fit: contain;
  justify-self: end;
}
.pill {
  display: inline-block;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--brand-strong);
  padding: 0.25rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 800;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.9rem;
}
.sector-circle {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid #c8d8f1;
  background: #fff;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 24px rgba(14, 44, 90, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: sectorFloat 5.2s ease-in-out infinite;
}
.sector-circle::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: var(--sector-bg);
  background-size: cover;
  background-position: center;
  filter: saturate(1.15) contrast(1.02);
  transform: scale(1.02);
  animation: sectorDrift 12s ease-in-out infinite;
  z-index: -2;
}
.sector-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 31, 61, 0.18), rgba(9, 31, 61, 0.62));
  z-index: -1;
}
.sector-circle span {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.sector-bg-robotique { --sector-bg: url("assets/images/Robotics.jpg"); }
.sector-bg-ia { --sector-bg: url("assets/images/AI.jpg"); }
.sector-bg-iot { --sector-bg: url("assets/images/IoT.jpg"); }
.sector-bg-drones { --sector-bg: url("assets/images/Drones.jpg"); }
.sector-bg-automation { --sector-bg: url("assets/images/Automation.jpg"); }
.sector-bg-education { --sector-bg: url("assets/images/Education.jpg"); }
.sectors-cta-wrap { margin-top: 12px; }
.sector-circle:hover,
.sector-circle.active {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 28px rgba(14, 44, 90, 0.26);
}
.sector-circle:nth-child(2n) {
  animation-duration: 6s;
}
.sector-circle:nth-child(3n) {
  animation-duration: 6.8s;
}
.sector-circle:nth-child(2)::before,
.sector-circle:nth-child(5)::before {
  animation-duration: 14s;
}
.sector-circle:nth-child(3)::before,
.sector-circle:nth-child(6)::before {
  animation-duration: 10s;
}
@keyframes sectorFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes sectorDrift {
  0% { background-position: 47% 50%; transform: scale(1.04); }
  50% { background-position: 56% 44%; transform: scale(1.11); }
  100% { background-position: 47% 50%; transform: scale(1.04); }
}
.sector-detail {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.toolbar {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.chip.active { background: #e4eeff; color: var(--brand-strong); border-color: #c2d4f2; }

.search-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff;
}

.article-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(3, 1fr); }
.article-item { padding: 1rem; }
.article-real-card {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}
.article-image-slot {
  width: 100%;
  min-height: 150px;
  border: 1px dashed #9fb8de;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #4b6793;
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(145deg, #f7faff 0%, #ecf3ff 100%);
}
.article-card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #eef4ff;
}

.event-list { display: grid; gap: 0.8rem; }
.event-row {
  padding: 0.85rem;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
}
.contact-highlight {
  font-weight: 700;
  color: var(--ink);
  background: #e7f0ff;
  border: 1px solid #bed2f2;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  display: inline-block;
}
.contact-highlight a {
  color: var(--brand-strong);
}
.panel { padding: 1rem; }
label { display: block; font-weight: 700; margin-bottom: 0.7rem; }
input, select, textarea {
  margin-top: 0.3rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem;
  font: inherit;
}
.modern-contact-form {
  border: 1px solid #ccdaf2;
  background: linear-gradient(160deg, #ffffff 0%, #f3f8ff 100%);
}
.modern-contact-form input,
.modern-contact-form select,
.modern-contact-form textarea {
  border: 1px solid #c7d7f2;
  background: #fff;
}
.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 126, 219, 0.14);
}
.form-note {
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.faq-item { border-top: 1px solid var(--line); padding-top: 0.7rem; margin-top: 0.7rem; }
.faq-q {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}
.faq-a { display: none; margin-top: 0.5rem; }
.faq-item.active .faq-a { display: block; }

.site-footer {
  border-top: 1px solid #cfddf2;
  margin-top: 0;
  background: linear-gradient(180deg, #eff5ff 0%, #e6efff 100%);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 0.95fr;
  gap: 1.05rem;
  padding: 1.4rem 0 1rem;
}
.footer-col {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d2def2;
  border-radius: 12px;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-col h4 {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  color: #15344d;
  text-align: center;
}
.footer-about .brand {
  justify-content: center;
  height: auto;
  min-height: 0;
}
.site-footer .brand-mark {
  width: 150px;
  height: 45px;
  max-height: 45px;
}
.footer-blurb {
  font-size: 0.9rem;
  margin-top: 0.7rem;
  margin-bottom: 0;
  text-align: center;
  max-width: 34ch;
}
.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
  justify-items: center;
  width: 100%;
}
.footer-contact li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  color: #1b3c50;
  text-align: center;
}
.footer-contact svg {
  flex: 0 0 auto;
  color: #215a79;
}
.footer-links a,
.footer-contact a {
  color: #1b3c50;
  font-weight: 600;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand-strong);
  text-decoration: underline;
}
.socials { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.socials { justify-content: center; }
.socials a {
  color: #164562;
  font-weight: 700;
  border: 1px solid #c8d8f2;
  border-radius: 999px;
  padding: 0.35rem 0.62rem;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}
.socials a:hover { background: #e6f0ff; color: var(--brand-strong); }
.footer-bottom {
  border-top: 1px solid #cfddf2;
  padding: 0.8rem 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.86rem;
  color: #466175;
}
.footer-bottom-links {
  display: flex;
  gap: 0.85rem;
}
.footer-bottom-links a {
  font-size: 0.84rem;
  color: #2e4f63;
}
.footer-bottom-links a:hover { text-decoration: underline; }

.executive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.executive-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.executive-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  background: #eaf2ff;
}

.sectors-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sector-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.sector-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: #eaf2ff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 20, 30, 0.45);
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal.is-open { opacity: 1; pointer-events: all; }
.modal-box {
  width: min(480px, 94vw);
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1rem;
  position: relative;
}
.modal-close {
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.join-form { display: grid; gap: 0.6rem; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-block; justify-self: end; }
  .main-nav {
    position: fixed;
    top: 68px;
    left: 50%;
    transform: translateX(-50%) scale(0.98);
    width: min(94vw, 440px);
    padding: 0.8rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .header-row { grid-template-columns: auto auto auto; }
  .lang-switch { justify-self: end; }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .article-grid,
  .feature-events-wrap,
  .feature-events,
  .card-grid,
  .events-diagonal-grid,
  .footer-grid,
  .executive-grid,
  .sectors-page-grid { grid-template-columns: 1fr; }

  .sectors-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .event-row { grid-template-columns: 1fr; }
  .events-extra-visual {
    margin-top: 0.15rem;
  }
  .events-bootcamp-card,
  .events-industry-visual,
  .events-computertable-visual,
  .events-forum-card { grid-column: auto; grid-row: auto; }
  .events-side-visual {
    justify-self: center;
    margin-top: 0.2rem;
  }
  .hero-map-panel { justify-content: center; }
  .cm-map-image { width: min(64vw, 260px); max-height: 45vh; }
  .association-banner { padding-top: 1rem; margin-top: 0.2rem; }
  .association-banner .container { padding: 0.9rem; }
  .association-orbit { min-height: 700px; }
  .association-center { padding: 0; }
  .region-box {
    width: 132px;
    height: 38px;
    font-size: 0.72rem;
  }
  .rb-1 { --top: 12%; --left: 22%; }
  .rb-2 { --top: 11%; --left: 49%; }
  .rb-3 { --top: 16%; --left: 76%; }
  .rb-4 { --top: 35%; --left: 86%; }
  .rb-5 { --top: 57%; --left: 81%; }
  .rb-6 { --top: 79%; --left: 72%; }
  .rb-7 { --top: 88%; --left: 50%; }
  .rb-8 { --top: 80%; --left: 28%; }
  .rb-9 { --top: 57%; --left: 14%; }
  .rb-10 { --top: 35%; --left: 12%; }
  .association-typing { font-size: 0.92rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
