﻿:root {
  --bg: #030814;
  --surface: #081b35;
  --surface-soft: #05142b;
  --surface-strong: #0d2a50;
  --ink: #edf6ff;
  --ink-muted: #b6cfee;
  --accent: #2c94ff;
  --accent-2: #0f6fff;
  --sand: #80b4f4;
  --footer-bg: #01050e;
  --shadow-sm: 0 10px 22px rgba(0, 7, 20, 0.42);
  --shadow-md: 0 18px 38px rgba(0, 5, 16, 0.55);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --space-1: 0.75rem;
  --space-2: 1.25rem;
  --space-3: 2rem;
  --space-4: 3.25rem;
  --space-5: 5rem;
  --img-halo-medium:
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 34px rgba(70, 163, 255, 0.56));
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
img:not(.floating-icon):not(.site-logo) {
  filter: var(--img-halo-medium) !important;
  animation: none !important;
}
.glow-hero {
  filter:
    drop-shadow(0 14px 30px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 42px rgba(70, 163, 255, 0.58));
}
main.content,
main.main-centered.content {
  min-height: calc(100vh - 120px);
}
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--space-5) + 0.5rem) var(--space-4);
}
h1, h2, h3, .section-title, .section-subtitle, .hero-title, .article-title {
  font-family: 'Fraunces', 'Manrope', system-ui, serif;
  letter-spacing: 0.2px;
}
.section-title,
.section-subtitle {
  background: linear-gradient(120deg, #8cc8ff, #4aa3ff, #1f6fe0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: none;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  width: fit-content;
  margin: calc(var(--space-5) + 1.45rem) 0 calc(var(--space-4) + 0.55rem) 0;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle {
  font-size: 1.7rem;
  font-weight: 700;
  margin: calc(var(--space-4) + 1.1rem) 0 calc(var(--space-3) + 0.25rem) 0;
  color: #d9e9fb;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.section-subtitle-centered { text-align: center; width: 100%; }
.section-subtitle::after {
  content: '';
  display: block;
  width: 52px;
  height: 2px;
  margin: 0.65rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(123, 196, 255, 0.9), rgba(123, 196, 255, 0.18));
}
.section-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  margin: 0.55rem 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #9ad0ff, var(--accent));
  opacity: 0.8;
}
.title-with-effect {
  background: linear-gradient(120deg, #8cc8ff, #4aa3ff, #1f6fe0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: none;
  text-align: center;
}
.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(52, 142, 252, 0.27);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(123, 196, 255, 0.45);
}
.card--glow {
  border-color: rgba(129, 180, 240, 0.34);
}
.card h2,
.card h3,
.card h4 {
  text-align: center;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(7, 12, 20, 0.96);
  border-bottom: 1px solid rgba(64, 151, 255, 0.2);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--space-4);
  gap: var(--space-4);
}
.logo-container {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: transparent;
}
.site-logo {
  height: 52px;
  width: auto;
  opacity: 1;
  animation: none;
  transform: scale(1.08);
  filter:
    drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 10px rgba(130, 203, 255, 0.35));
  mix-blend-mode: normal;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.logo-container:hover .site-logo {
  transform: scale(1.08);
  filter:
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 12px rgba(130, 203, 255, 0.48));
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.nav-active {
  background: rgba(44, 148, 255, 0.21);
  color: var(--accent);
}
@media (max-width: 820px) {
  .nav-container { flex-direction: column; align-items: stretch; }
  .nav-links { justify-content: center; }
}
.header {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: #fff;
  padding: var(--space-5) var(--space-4);
}
.header::after {
  content: none;
}
.header .hero-content,
.header .hero-image {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.header.visible .hero-content {
  opacity: 1;
  transform: translateY(0);
}
.header.visible .hero-image {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}
.header .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-5);
  align-items: center;
}
.header h1 {
  font-size: 3rem;
  margin: 0 0 var(--space-1) 0;
}
.hero-name {
  position: relative;
  display: inline-block;
  font-size: 3.3rem;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #eef5ff 0%, #cfe0ff 40%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 18px rgba(10, 24, 48, 0.35);
}
.hero-name::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(123, 196, 255, 0.84), rgba(123, 196, 255, 0.18));
  opacity: 0.9;
}
.header .subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.header .subtitle.sisr-highlight {
  display: inline-block;
  position: relative;
  color: #eaf3ff;
  letter-spacing: 0.02em;
}
.header .subtitle.sisr-highlight::after {
  content: none;
}
.header p { color: rgba(130, 203, 255, 0.92); }
.hero-buttons {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}
.hero-image { display: flex; justify-content: center; }
.floating-icon {
  width: 420px;
  height: auto;
  filter:
    drop-shadow(0 16px 32px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 44px rgba(70, 163, 255, 0.62));
  animation: float 7s ease-in-out infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.floating-icon:hover {
  transform: translateY(-4px) scale(1.02);
  filter:
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 52px rgba(70, 163, 255, 0.68));
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1.08); }
  50% { transform: translateY(-12px) scale(1.08); }
}
@media (max-width: 900px) {
  .header .container { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .floating-icon { width: 320px; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #07101a;
  box-shadow: 0 10px 22px rgba(44, 148, 255, 0.27);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #6bb6ff;
  box-shadow: 0 16px 30px rgba(44, 148, 255, 0.33);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(130, 203, 255, 0.24), rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn-primary:hover::after { opacity: 1; }
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(130, 203, 255, 0.78);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(130, 203, 255, 0.14);
  border-color: rgba(183, 226, 255, 0.83);
  box-shadow: 0 14px 26px rgba(8, 18, 36, 0.25);
}
.bts-intro,
.e5-intro { text-align: center; max-width: 900px; margin: 0 auto var(--space-4); }
#bts-sio .section-subtitle {
  text-align: center;
}
.bts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.bts-card { text-align: center; }
.bts-card h4 { margin: var(--space-2) 0 var(--space-1); }
.bts-card p {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: auto;
}
.options-z-layout { display: flex; flex-direction: column; gap: var(--space-5); }
.option-z-row { display: grid; grid-template-columns: 1fr 360px; gap: var(--space-4); align-items: center; }
.slam-z { grid-template-columns: 360px 1fr; }
.option-text-left,
.option-text-right {
  width: min(100%, 760px);
  margin-left: auto;
}
.option-text-left p,
.option-text-right p,
.option-text-left li,
.option-text-right li {
  text-align: justify;
  text-justify: inter-word;
}
.option-text-left ul,
.option-text-right ul {
  margin: 0;
  padding-left: 1.2rem;
}
.option-floating-icon {
  width: 300px;
  height: auto;
  filter:
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.26))
    drop-shadow(0 0 45px rgba(25, 118, 245, 0.66))
    drop-shadow(0 0 80px rgba(25, 118, 245, 0.52));
}
@media (max-width: 980px) {
  .bts-grid { grid-template-columns: 1fr; }
  .option-z-row, .slam-z { grid-template-columns: 1fr; }
  .option-floating-icon { width: 210px; margin: 0 auto; }
}
.stage-ecole-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.experience-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-4) 0;
  position: relative;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.experience-hero::before {
  content: none;
}
.experience-hero-content,
.experience-hero-media {
  position: relative;
  z-index: 1;
}
.experience-kicker {
  margin: 0 0 var(--space-1) 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.experience-hero h2 {
  margin: 0 0 var(--space-2) 0;
}
.experience-lead {
  margin: 0;
  color: #d2e0f2;
}
.experience-hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.experience-logo {
  width: 320px;
  height: auto;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 28px rgba(77, 163, 255, 0.45));
}
.experience-badge {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .experience-hero { grid-template-columns: 1fr; text-align: center; }
}
#parcours .choice-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  text-align: center;
}
#parcours .choice-section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
  margin-bottom: var(--space-2);
}
#parcours .choice-section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
#parcours .choice-section .sisr-highlight {
  color: var(--accent-2);
  font-weight: 600;
}
#parcours .sisr-icon-container {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: block;
  margin: 0 auto var(--space-3) auto;
}
#parcours .sisr-icon-container img {
  width: 200px;
  height: 200px;
}
#parcours .stage-ecole-grid {
  background: transparent;
  padding: 0;
  border: 0;
  gap: var(--space-5);
}
#parcours .stage-ecole-grid .info-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  text-align: left;
}
#parcours .stage-ecole-grid .info-card h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.35rem;
  margin-bottom: var(--space-2);
}
#parcours .stage-ecole-grid .info-card h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
.timeline.alt-timeline {
  position: relative;
  max-width: 900px;
  margin: var(--space-4) auto;
}
.timeline.alt-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(130, 203, 255, 0.72);
  box-shadow: 0 0 10px rgba(130, 203, 255, 0.44);
}
.timeline-item { position: relative; width: 50%; padding: 0 var(--space-3); }
.left-item { left: 0; text-align: right; }
.right-item { left: 50%; }
.timeline-dot {
  position: absolute;
  top: 20px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(130, 203, 255, 0.56);
  animation: pulse 1.45s ease-in-out infinite;
}
.left-item .timeline-dot { right: -7px; }
.right-item .timeline-dot { left: -7px; }
@media (max-width: 900px) {
  .stage-ecole-grid { grid-template-columns: 1fr; }
  .timeline.alt-timeline::before { left: 0; transform: none; }
  .timeline-item { width: 100%; left: 0; padding-left: var(--space-3); text-align: left; }
  .left-item .timeline-dot { right: auto; left: -7px; }
}
.skills-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.skill-card {
  text-align: left;
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid rgba(27, 95, 191, 0.08);
}
.skill-card h3 {
  text-align: center;
  margin: 0 0 var(--space-2) 0;
}
@media (max-width: 1000px) { .skills-grid-8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .skills-grid-8 { grid-template-columns: 1fr; } }
.missions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}
.mission-item {
  text-align: left;
  aspect-ratio: auto;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 250px;
  padding: var(--space-3);
}
.mission-item h3 {
  margin: 0 0 0.65rem;
  font-size: 1.18rem;
  text-align: center;
}
.mission-item p {
  margin: 0;
  color: var(--ink-muted);
}
.mission-item .mission-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
  display: grid;
  gap: 0.38rem;
}
.mission-item .mission-list li {
  margin: 0;
  line-height: 1.45;
}
.missions-competences {
  margin-top: var(--space-3);
  background: rgba(6, 17, 38, 0.95);
  border: 1px solid rgba(64, 151, 255, 0.22);
}
.missions-competences h3 {
  margin: 0 0 var(--space-2) 0;
  text-align: center;
  font-size: 1.2rem;
}
.missions-competences-cta {
  text-align: center;
}
.missions-cta-btn {
  display: inline-flex;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 1.1rem 1.8rem;
  font-size: 1.06rem;
  line-height: 1.35;
  text-align: center;
}
.missions-competences .e5-badges {
  margin-bottom: var(--space-2);
}
.mission-competences-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
  display: grid;
  gap: 0.4rem;
}
.mission-competences-list li {
  line-height: 1.45;
}
.mission-icon {
  font-size: 1.75rem;
  margin-bottom: 0.45rem;
  line-height: 1;
}
@media (max-width: 1100px) { .missions-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .missions-grid { grid-template-columns: 1fr; }
  .mission-item { min-height: auto; }
}
#experience .choice-section {
  background: rgba(5, 15, 34, 0.78);
  border: 1px solid rgba(64, 151, 255, 0.22);
  box-shadow: var(--shadow-sm);
}
#experience .missions-grid .mission-item {
  background: rgba(6, 17, 38, 0.95);
  border: 1px solid rgba(64, 151, 255, 0.22);
  box-shadow: var(--shadow-sm);
}
#experience .stage-ecole-grid .year-card {
  background: rgba(6, 17, 38, 0.96);
  border: 1px solid rgba(64, 151, 255, 0.22);
  box-shadow: var(--shadow-sm);
}
#experience .missions-grid .mission-item.card:hover,
#experience .stage-ecole-grid .info-card.card:hover,
#experience .stage-ecole-grid .year-card.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(123, 196, 255, 0.45);
}
#experience .section-icon {
  width: 420px;
  height: 420px;
}
#experience.section {
  padding-top: calc(var(--space-5) + 1.5rem);
  padding-bottom: calc(var(--space-5) + 1.75rem);
}
#experience .experience-hero {
  margin-bottom: calc(var(--space-4) + 0.5rem);
}
#experience .section-subtitle-centered {
  margin-top: calc(var(--space-4) + 1rem);
  margin-bottom: calc(var(--space-3) + 0.5rem);
}
#experience .missions-grid {
  gap: calc(var(--space-3) + 0.35rem);
  margin-bottom: calc(var(--space-4) + 0.4rem);
}
#experience .stage-ecole-grid {
  gap: calc(var(--space-4) + 0.6rem);
  margin-bottom: calc(var(--space-4) + 0.6rem);
}
#experience .stage-ecole-grid .btn-container {
  display: flex;
  justify-content: center;
}
#experience .stage-projects-grid .btn-container {
  display: flex;
  justify-content: center;
}
#experience .stage-projects-section,
#experience .secondary-achievements-section,
#experience .tech-slider-section {
  margin-top: calc(var(--space-4) + 0.7rem);
}
#experience .stage-projects-grid {
  gap: calc(var(--space-4) + 0.2rem);
}
#experience .secondary-achievements-grid {
  gap: calc(var(--space-3) + 0.25rem);
}
#experience .centered-choice {
  margin-top: calc(var(--space-4) + 0.6rem);
}
#experience .experience-footer {
  margin-top: calc(var(--space-3) + 0.5rem);
  line-height: 1.8;
}
@media (max-width: 900px) {
  #experience.section {
    padding-top: calc(var(--space-5) + 0.75rem);
    padding-bottom: calc(var(--space-5) + 1rem);
  }
  #experience .section-subtitle-centered {
    margin-top: calc(var(--space-4) + 0.45rem);
  }
}
.year-card .year-badge {
  background: var(--accent);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: var(--space-2);
}
.stage-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
  color: var(--ink-muted);
}
.stage-info-list li {
  margin: 0;
  line-height: 1.4;
}
.stage-info-list strong {
  color: var(--ink);
}
.stage-projects-section,
.secondary-achievements-section,
.tech-slider-section,
.certifications-section {
  margin-top: var(--space-4);
}
.stage-projects-grid,
.e5-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.stage-project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: rgba(6, 17, 38, 0.96);
  border: 1px solid rgba(64, 151, 255, 0.24);
}
.stage-project-card h3 {
  margin: 0;
  font-size: 1.25rem;
}
.stage-project-icon {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin: 0 auto 0.55rem;
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}
.stage-project-icon--zabbix {
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 32px rgba(255, 64, 64, 0.88))
    drop-shadow(0 0 58px rgba(210, 20, 20, 0.62));
}
.stage-project-icon--guacamole {
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 32px rgba(82, 240, 120, 0.88))
    drop-shadow(0 0 58px rgba(30, 170, 70, 0.62));
}
@media (max-width: 980px) {
  .stage-project-icon {
    width: 140px;
    height: 140px;
  }
}
.stage-project-card p {
  margin: 0;
  color: var(--ink-muted);
}
.e5-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.e5-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(44, 148, 255, 0.35);
  background: rgba(44, 148, 255, 0.14);
  color: #beddff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}
.stage-project-card .btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.9;
}
.secondary-achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.secondary-achievement-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(6, 17, 38, 0.96);
  border: 1px solid rgba(64, 151, 255, 0.22);
}
.secondary-achievement-title {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 980px) {
  .stage-projects-grid {
    grid-template-columns: 1fr;
  }
  .secondary-achievements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .secondary-achievement-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
.slider-container {
  overflow: hidden;
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.slider-track {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  white-space: nowrap;
  animation: slider 24s linear infinite;
  will-change: transform;
}
.slider-track span {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
  transition: color 0.2s ease;
}
.slider-track span:hover {
  color: var(--ink);
}
@keyframes slider {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .slider-container {
    padding: 0.1rem 0;
  }
  .slider-track {
    gap: 0.85rem;
  }
  .slider-track span {
    font-size: 0.86rem;
  }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(130, 203, 255, 0.56); }
  50% { transform: scale(1.28); box-shadow: 0 0 0 12px rgba(130, 203, 255, 0.18); }
}
.processus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.processus-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(52, 142, 252, 0.25);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.processus-image { width: 120px; margin: 0 auto var(--space-2); }
.e5-skill-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 100%;
  background: rgba(6, 17, 38, 0.96);
  border: 1px solid rgba(64, 151, 255, 0.22);
}
.e5-card-icon {
  width: 152px;
  height: 152px;
  object-fit: contain;
  margin: 0 auto 0.6rem;
  animation: none;
  filter:
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 30px rgba(70, 163, 255, 0.5));
}
#epreuves-e5 .e5-card-icon {
  animation: none;
  filter:
    drop-shadow(0 14px 24px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 42px rgba(70, 163, 255, 0.68));
}
@media (max-width: 980px) {
  .e5-card-icon {
    width: 122px;
    height: 122px;
  }
}
.e5-card-title {
  margin: 0;
  font-size: 1.2rem;
  text-align: center;
}
.e5-skill-card h4 {
  margin: 0.35rem 0 0;
  color: #c7dcf7;
  font-size: 1rem;
  text-align: center;
}
.e5-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
  color: var(--ink-muted);
}
.e5-experience-hint {
  margin: 0.85rem auto 0;
  max-width: 720px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.e5-experience-hint a {
  color: #9bd0ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 190, 255, 0.5);
}
.e5-experience-hint a:hover {
  color: #d1e8ff;
  border-bottom-color: rgba(183, 226, 255, 0.8);
}
.e5-links-list li {
  color: #9bd0ff;
  transition: color 0.2s ease, transform 0.2s ease;
}
.e5-links-list li:hover {
  color: #d1e8ff;
  transform: translateX(3px);
}
.e5-legal-note {
  margin: 0.4rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid rgba(44, 148, 255, 0.5);
  background: var(--surface-soft);
  color: var(--ink-muted);
}
.e5-summary-box,
.e5-other-projects,
.e6-description,
.veille-intro-card,
.veille-block {
  background: rgba(6, 17, 38, 0.96);
  border: 1px solid rgba(64, 151, 255, 0.26);
}
.e5-summary-box {
  margin: var(--space-4) auto 0;
  max-width: 920px;
  text-align: center;
}
.e5-summary-box .section-subtitle {
  margin-top: 0;
  margin-bottom: var(--space-2);
}
.e5-summary-box p {
  max-width: 760px;
  margin: 0 auto var(--space-3);
  color: var(--ink-muted);
}
.e5-summary-box .btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.82;
}
.e5-other-projects {
  margin: var(--space-3) auto 0;
  max-width: 920px;
  text-align: center;
}
.e5-other-projects-title {
  margin: 0 0 var(--space-2) 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #d3e7ff;
  letter-spacing: 0.01em;
}
@media (max-width: 980px) {
  .e5-skills-grid { grid-template-columns: 1fr; }
}
.skill-item,
.timeline-content,
.processus-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.skill-item:hover,
.timeline-content:hover,
.processus-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(123, 196, 255, 0.45);
}
.download-buttons { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.e6-description {
  max-width: 980px;
  margin: 0 auto var(--space-4);
}
.e6-description p,
.veille-block p {
  margin: 0 0 var(--space-2) 0;
  color: var(--ink-muted);
  line-height: 1.72;
}
.e6-description p:last-child {
  margin-bottom: 0;
}
.e6-status-note {
  text-align: center;
}
.veille-intro-card {
  max-width: 980px;
  margin: 0 auto var(--space-4);
}
.veille-intro-card p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.75;
}
.veille-theme-mini-title {
  margin: 0 0 0.85rem 0;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #d3e7ff;
}
.veille-block {
  margin: 0 auto var(--space-4);
}
.veille-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.veille-block-title {
  margin: 0 0 var(--space-2) 0;
  font-size: 1.45rem;
}
.veille-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-2);
}
.veille-title-row .veille-block-title {
  margin: 0;
  flex: 1 1 auto;
}
.veille-title-icon {
  order: 2;
  margin-left: auto;
  width: 205px;
  height: 205px;
  object-fit: contain;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 28px rgba(77, 163, 255, 0.56));
}
.veille-title-icon--s1 {
  width: 240px;
  height: 240px;
}
.veille-subtitle {
  margin: var(--space-2) 0 0.6rem;
  color: #d8e9ff;
  font-size: 1.07rem;
}
.veille-tools-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-muted);
  display: grid;
  gap: 0.8rem;
}
.veille-tools-list li {
  line-height: 1.65;
}
.veille-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-2) 0;
}
.veille-tier-card,
.veille-resource-group,
.veille-source-card {
  background: var(--surface-soft);
  border: 1px solid rgba(64, 151, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
}
.veille-tier-card h4 {
  margin: 0 0 0.55rem 0;
  color: #d8e9ff;
  font-size: 1.02rem;
}
.veille-tier-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.62;
}
.veille-resources-grid {
  display: grid;
  gap: var(--space-3);
}
.veille-resource-group .veille-subtitle {
  margin-top: 0;
  margin-bottom: 0.65rem;
}
.veille-resources-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
  color: var(--ink-muted);
}
.veille-resources-list li {
  line-height: 1.65;
}
.veille-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(44, 148, 255, 0.25);
  border-radius: var(--radius-sm);
}
.veille-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.veille-table th,
.veille-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid rgba(44, 148, 255, 0.17);
}
.veille-table th {
  background: var(--surface-strong);
  color: #d8e9ff;
  font-weight: 700;
  font-size: 0.92rem;
}
.veille-table td {
  color: var(--ink-muted);
  background: rgba(8, 26, 56, 0.93);
}
.veille-table tbody tr:hover td {
  background: rgba(3, 12, 28, 0.93);
}
.veille-table tbody tr:last-child td {
  border-bottom: 0;
}
.veille-sources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
.veille-source-card h3 {
  margin: 0 0 0.6rem 0;
  color: #d8e9ff;
  font-size: 1.08rem;
}
.veille-source-card p {
  margin: 0 0 0.8rem 0;
}
.veille-source-card a {
  color: #9bd0ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 190, 255, 0.5);
  word-break: break-word;
}
.veille-source-card a:hover {
  color: #d1e8ff;
  border-bottom-color: rgba(183, 226, 255, 0.8);
}
@media (max-width: 1020px) {
  .veille-tier-grid {
    grid-template-columns: 1fr;
  }
  .veille-sources-grid {
    grid-template-columns: 1fr;
  }
  .veille-title-row {
    gap: 0.6rem;
  }
  .veille-title-icon {
    width: 148px;
    height: 148px;
  }
  .veille-title-icon--s1 {
    width: 176px;
    height: 176px;
  }
}
@media (max-width: 720px) {
  .veille-table {
    min-width: 620px;
  }
}
.contact-section { padding: var(--space-5) var(--space-3); }
.contact-container,
.footer-content { max-width: 1200px; margin: 0 auto; text-align: center; }
.contact-header { text-align: center; margin-bottom: var(--space-4); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  justify-items: center;
}
.contact-card-large { text-align: center; }
.contact-image {
  width: 114px;
  height: 114px;
  margin: 0 auto var(--space-2);
  object-fit: contain;
  filter:
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 16px rgba(130, 203, 255, 0.42));
}
.email-card .contact-image {
  width: 130px;
  height: 130px;
}
.contact-image-link {
  display: inline-block;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  background: var(--surface-soft);
  border: 1px solid rgba(64, 151, 255, 0.28);
  box-shadow: 0 10px 22px rgba(7, 11, 18, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-image-link:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 30px rgba(7, 11, 18, 0.45);
  border-color: rgba(44, 148, 255, 0.5);
}
.contact-footer {
  max-width: 760px;
  margin: var(--space-4) auto 0;
  color: var(--ink-muted);
}
.portfolio-note {
  max-width: 820px;
  margin: var(--space-3) auto 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(64, 151, 255, 0.24);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.footer {
  background: var(--footer-bg);
  color: #e7f1ff;
  padding: var(--space-4);
  margin-top: var(--space-4);
  border-top: 1px solid rgba(64, 151, 255, 0.26);
  box-shadow: inset 0 1px 0 rgba(130, 203, 255, 0.06);
}
.footer-links { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; margin: var(--space-2) 0; }
.footer-links a {
  color: #e7f1ff;
  text-decoration: none;
  opacity: 1;
  position: relative;
}
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #cfe8ff;
  transition: width 0.2s ease;
}
.footer-links a:hover::after { width: 100%; }
.footer-mentions {
  background: rgba(77, 163, 255, 0.15);
  border: 1px solid rgba(123, 196, 255, 0.47);
  color: #e7f1ff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.footer-mentions:hover {
  transform: translateY(-1px);
  background: rgba(77, 163, 255, 0.24);
  border-color: rgba(183, 226, 255, 0.85);
}
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform-origin: left center;
  will-change: transform;
  z-index: 3000;
}
.mentions-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 4000;
}
.mentions-modal.active { opacity: 1; visibility: visible; }
.mentions-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  width: min(720px, 90vw);
  max-height: 80vh;
  overflow: auto;
}
.mentions-header { display: flex; align-items: center; justify-content: space-between; }
.mentions-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; }
.mentions-body {
  line-height: 1.65;
}
.mentions-contact-mail {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 196, 255, 0.5);
  background: rgba(77, 163, 255, 0.18);
  color: #e7f1ff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.mentions-contact-mail:hover,
.mentions-contact-mail:focus-visible {
  transform: translateY(-1px);
  background: rgba(77, 163, 255, 0.3);
  border-color: rgba(183, 226, 255, 0.88);
}
.mentions-contact-mail:focus-visible {
  outline: 2px solid rgba(183, 226, 255, 0.92);
  outline-offset: 2px;
}
.section,
.card,
.card--glow {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
@supports (content-visibility: auto) {
  .section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.card-large { padding: calc(var(--space-3) + 0.5rem); }
.card-xlarge { padding: var(--space-4); }
.option-text-left,
.option-text-right { align-self: center; }
.option-image-left,
.option-image-right,
.image-popout { display: flex; justify-content: center; align-items: center; }
.option-popout { box-shadow: var(--shadow-md); }
.sisr-highlight { color: var(--sand); }
.section-icon,
.card-icon,
.cert-icon-premium { width: 200px; height: 200px; object-fit: contain; margin: 0 auto var(--space-2); }
#parcours .section-icon,
#parcours .card-icon,
#parcours .cert-icon-premium {
  width: 320px;
  height: 320px;
}
.card-header-icon { display: flex; justify-content: center; margin-bottom: var(--space-1); }
#parcours .card-header-icon,
#parcours .card-icon { margin-bottom: 0.35rem; }
.certifications-grid-uniform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.certifications-grid-uniform .cert-card-uniform { height: 100%; }
@media (max-width: 980px) {
  .certifications-grid-uniform { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .certifications-grid-uniform { grid-template-columns: 1fr; }
}
.cert-card-uniform { text-align: center; }
.cert-org { color: var(--ink-muted); font-size: 0.95rem; }
.loading-bar { height: 8px; background: rgba(64, 151, 255, 0.2); border-radius: 999px; overflow: hidden; }
.loading-progress { height: 100%; background: var(--accent); transition: width 1.2s ease; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-2); }
.skill-item {
  background: var(--surface);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(52, 142, 252, 0.23);
  box-shadow: var(--shadow-sm);
}
.skill-list {
  padding-left: 1.1rem;
  margin: 0;
  list-style-position: outside;
}
.skill-list li { margin: 0.2rem 0; }
.btn-container { margin-top: var(--space-2); }
.btn-large { padding: 0.95rem 1.6rem; }
.contact-content { text-align: center; }
.footer-navbar { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
.about-brief { opacity: 0.92; }
.copyright { margin-top: var(--space-2); opacity: 0.85; font-size: 0.9rem; }
.mentions-trigger { cursor: pointer; }
.e6-simple { padding-top: 0; }
.experience-footer { text-align: center; max-width: 900px; margin: var(--space-3) auto 0; color: var(--ink-muted); }
.choice-section,
.centered-choice { text-align: center; }
.card-icon-image {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto var(--space-2);
  filter:
    drop-shadow(0 0 14px rgba(44, 148, 255, 0.62))
    drop-shadow(0 0 34px rgba(44, 148, 255, 0.48));
}
.certif-subtitle { text-align: center; }
.date { color: var(--ink-muted); font-weight: 600; }
.intro-title { font-size: 1.4rem; margin: 0 0 var(--space-2) 0; }
.option-desc { color: var(--ink-muted); }
.placeholder-card { opacity: 0.9; }
.sisr-icon-container { display: flex; justify-content: center; margin-bottom: var(--space-1); }
.timeline-content {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  border: 1px solid rgba(52, 142, 252, 0.23);
  box-shadow: var(--shadow-sm);
}
