:root {
  --bg: #000;               
  --card: #0a0a0a;          
  --muted: #9b9b9b;         
  --text: #d1d1d1;          
  --accent: #fff;           
  --radius: 12px;
  --max-width: 1100px;
  --gap: 20px;
}


* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', 'Inter', sans-serif;
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 95%;
  max-width: var(--max-width);
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
h1 { font-size: 2.2rem; margin-bottom: 0.6rem; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
p, li { font-size: 15px; color: var(--text); }

a { color: #fff; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #bbb; }

.site-header {
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-list a {
  color: var(--muted);
  font-size: 14px;
}
.nav-list a:hover { color: #fff; }

#nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 8px;
  color: #fff;
  border-radius: 8px;
}

.hero {
  padding: 80px 0 60px;
  background: #000;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--gap);
}

.hero-text { max-width: 700px; }
.lead { color: var(--muted); font-size: 16px; margin-bottom: 18px; }

.section {
  padding: 100px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
section { scroll-margin-top: 100px; }

.parcours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
  border-left: 2px solid #fff;
  padding-left: 18px;
}

.year { font-weight: 600; color: #fff; font-size: 14px; margin-bottom: 4px; }

.parcours-column h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
}

.skills-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.skill-block {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.skill-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(255,255,255,0.08);
}

.skill-block h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.skill-block ul {
  list-style: none;
  padding-left: 0;
}

.skill-block li {
  color: #d1d1d1;
  font-size: 0.95rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}

.skill-block li::before {
  content: "•";
  color: #fff;
  position: absolute;
  left: 0;
  font-size: 1rem;
  line-height: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}

.cert-card {
  display: block;
  text-align: center;
  cursor: pointer;
  background: #0a0a0a;
  padding: 20px;
  border-radius: var(--radius);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.cert-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    130deg,
    #ff005e,
    #ff9900,
    #ffee00,
    #33ff00,
    #00ffee,
    #0066ff,
    #cc00ff,
    #ff005e
  );
  background-size: 400%;
  filter: blur(6px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease, background-position 3s linear;
}

.cert-card:hover::before {
  opacity: 1;
  background-position: 200%;
}

#certifications .rounded-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
}

#veille h3, #veille h4 { color: #fff; }
#veille p, #veille ul { margin-bottom: 14px; color: var(--text); }

.veille-btn-container {
  text-align: center;
  margin-top: 25px;
}

form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

input[type="text"], textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
}
textarea { resize: vertical; }

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn.primary {
  background: #fff;
  color: #000;
}
.btn.primary:hover {
  background: #d1d1d1;
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.btn.ghost:hover {
  background: #fff;
  color: #000;
}

.site-footer {
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
}

section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  #nav-toggle { display: inline-block; }
  .nav-list {
    position: absolute;
    right: 12px;
    top: 60px;
    background: rgba(0,0,0,0.95);
    padding: 10px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    width: 220px;
  }
  .nav-list.show { display: flex; }
  .parcours-grid { grid-template-columns: 1fr; gap: 30px; }
}
.hero img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 30px rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  transition: all 0.4s ease;
}

.hero img:hover {
  transform: scale(1.06);
  box-shadow: 0 0 40px rgba(255,255,255,0.15);
}

.timeline-premium {
  background: #000;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  overflow-x: hidden;
}

.timeline-premium h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  letter-spacing: 1px;
}

.timeline-track {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  position: relative;
  overflow: visible;
  padding-bottom: 40px;
  scroll-snap-type: x mandatory;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.15));
  z-index: 0;
}

.timeline-step {
  position: relative;
  flex: 0 0 auto;
  width: 250px;
  scroll-snap-align: center;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover {
  transform: translateY(-8px);
}

.timeline-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
  transition: all 0.4s ease;
  overflow: visible;
}

.timeline-step:hover .timeline-icon {
   transform: scale(1.05);
   box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
}

.timeline-step h3 {
  color: #fff;
  margin: 10px 0 6px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.timeline-step p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
  max-width: 220px;
  margin: 0 auto;
}
/* === Responsive timeline === */
@media screen and (max-width: 768px) {
  .timeline-premium {
    padding: 50px 10px;
  }

  .timeline-track {
    flex-direction: column; /* ✅ La timeline devient verticale sur mobile */
    align-items: center;
    gap: 40px;
    overflow: visible;
  }

  .timeline-track::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    transform: translateX(-50%);
  }

  .timeline-step {
    width: 90%;
    text-align: center;
    transform: none !important;
  }

  .timeline-icon {
    margin-bottom: 15px;
  }

  .timeline-step:hover .timeline-icon {
    transform: scale(1.05);
  }

  .timeline-step h3 {
    font-size: 1rem;
  }

  .timeline-step p {
    font-size: 0.9rem;
    max-width: 100%;
  }
}

ul {
  list-style: disc;
  padding-left: 20px; 
  margin-left: 10px;
}

li {
  color: #fff; 
  line-height: 1.6;
}

ul li::marker {
  color: #fff;
.competence-list li::marker,
.veille-list li::marker {
  color: #fff;
 }
}
