/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #02060f;
  color: #e0e7ff;
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-attachment: fixed;
}
/* === FOND PAR PAGE === */
body { background-image: radial-gradient(circle at top right, #0a0f1f, #02060f 80%); }
body.experiences { background-image: radial-gradient(circle at top left, #0f1a2e, #02060f 80%); }
body.competences { background-image: radial-gradient(circle at bottom right, #1a0f2e, #02060f 80%); }
body.projets { background-image: radial-gradient(circle at center, #0f1a1a, #02060f 80%); }
body.documents { background-image: radial-gradient(circle at bottom left, #1a1a0f, #02060f 80%); }
body.contact { background-image: radial-gradient(circle at top right, #0f1a2e, #02060f 80%); }
/* === PARTICULES ANIMÉES === */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="15" cy="15" r="2" fill="%2300d4ff"/><circle cx="40" cy="60" r="1.5" fill="%235effc3"/><circle cx="75" cy="30" r="1.8" fill="%2300d4ff"/></svg>') repeat;
  opacity: 0.06;
  animation: float 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-120px); }
}
/* === HEADER & TITRE ANIMÉ === */
header {
  text-align: center;
  padding: 80px 20px 50px;
  z-index: 1;
  position: relative;
}
.main-title {
  font-size: 3.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 5px;
  background: linear-gradient(90deg, #00d4ff, #5effc3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}
.main-title span {
  background: linear-gradient(90deg, #5effc3, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
/* === NAVIGATION === */
nav {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  z-index: 1;
}
nav a {
  color: #a8cfff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.35);
  background: rgba(0, 255, 255, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
nav a:hover {
  color: #5effc3;
  background: rgba(94, 255, 195, 0.2);
  border-color: #5effc3;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(94, 255, 195, 0.2);
}
/* === SECTION === */
.section {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  max-width: 980px;
  margin: 60px auto;
  padding: 50px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur_help(8px);
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.section:hover {
  border-color: rgba(94, 255, 195, 0.7);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}
h2 {
  color: #5effc3;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 2px solid #00d4ff;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.3s;
}
p, li {
  font-size: 1.07rem;
  margin-bottom: 18px;
}
strong {
  color: #5effc3;
}
/* === CARTES AVEC LOGOS === */
.card {
  background: rgba(0, 255, 255, 0.1);
  padding: 28px;
  border-radius: 16px;
  margin: 22px 0;
  border-left: 5px solid #00d4ff;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.card:hover {
  background: rgba(0, 255, 255, 0.18);
  border-left-color: #5effc3;
  transform: translateX(6px);
}
.card-logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.card:hover .card-logo {
  transform: scale(1.12);
}
.card h3 {
  color: #00d4ff;
  margin: 0 0 8px;
  font-size: 1.3rem;
}
.card .date {
  color: #a8cfff;
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-weight: 600;
}
/* === COMPÉTENCES === */
.competences-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 20px;
  margin-top: 30px;
}
.competences-list li {
  background: rgba(0, 255, 255, 0.12);
  padding: 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
  border: 1px solid rgba(0, 255, 255, 0.2);
}
.competences-list li:hover {
  background: rgba(0, 255, 255, 0.22);
  transform: translateY(-3px);
  border-color: #5effc3;
}
.competences-list i {
  color: #00d4ff;
  font-size: 1.6rem;
  width: 45px;
  text-align: center;
}
/* === BOUTONS === */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}
.btn {
  background: linear-gradient(90deg, #00d4ff, #5effc3);
  color: #0a0f1f;
  padding: 16px 34px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.5);
  font-size: 1.1rem;
}
.btn:hover {
  background: linear-gradient(90deg, #5effc3, #00d4ff);
  transform: scale(1.07);
  box-shadow: 0 8px 25px rgba(94, 255, 195, 0.3);
}
/* === CONTACT === */
.contact-link {
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 500;
}
.contact-link:hover {
  color: #5effc3 !important;
}
.icon {
  color: #00d4ff;
  margin-right: 14px;
  font-size: 1.4rem;
}
/* === CITATION === */
.quote {
  font-style: italic;
  text-align: center;
  font-size: 1.25rem;
  color: #a8cfff;
  margin: 50px 0;
  padding: 25px;
  border-left: 5px solid #5effc3;
  background: rgba(94, 255, 195, 0.08);
  border-radius: 12px;
}
/* === FOOTER === */
footer {
  text-align: center;
  padding: 40px;
  color: #7aa7ff;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  background: rgba(0, 10, 25, 0.9);
  font-size: 0.95rem;
  margin-top: 70px;
}
/* === RESPONSIVE === */
@media (max-width: 768px) {
  .main-title { font-size: 2.8rem; letter-spacing: 3px; }
  nav a { padding: 12px 18px; font-size: 1rem; }
  .section { padding: 35px; margin: 40px 15px; }
  .card { flex-direction: column; text-align: center; }
  .card-logo { margin: 0 auto 15px; }
  .competences-list li { flex-direction: column; text-align: center; }
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.2rem;
  margin: 28px 0;
}
.contact-item a {
  color: #e0e7ff;
  text-decoration: none;
}
.contact-item a:hover { color: #5effc3; }
.icon { color: #00d4ff; font-size: 1.7rem; width: 40px; text-align: center; }