* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  cursor: none;
  /* background-color: #635A53 !important; */
  scroll-behavior: smooth;
}

:root {
  /* Couleurs principales */
  --color-primary: #3C35FC;
  /* Bleu principal */
  --color-secondary: #2e2d2b;
  /* Gris foncé / noir chaud */
  --color-secondary2: #272626;
  /* Gris foncé / noir chaud */
  --color-text: #ffffff;
  /* Blanc */

  /* Variantes */
  --color-primary-light: #3c35fc;
  /* Variante plus claire du bleu */
  --color-secondary-light: #3c3b38;
  /* Variante plus claire du gris */
  --color-text-muted: #cccccc;
  /* Texte secondaire */

  /* Arrière-plans */
  --background-dark: var(--color-secondary);
  --background-light: #f5f5f5;

  /* Bordures et effets */
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.2);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;

  /* Animated gradient background */
  background: linear-gradient(270deg,
      #000000,
      #131621,
      #01144c,
      #0f1220) !important;
  background-size: 600% 600%;
  animation: gradientMove 14s ease infinite;

  /* Layout */
  display: flex;
  flex-direction: column;

  /* Spacing & text */
  padding: 20px;
  color: var(--color-text) !important;

  /* Smooth rendering */
  overflow-x: hidden;
}

/* Gradient animation */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

main {
  flex: 1;
  /* background-color: #584E4D; */
  padding-top: 100px;
}

/* Header Styles */
.main-header {
  background-color: #09090990 !important;
  backdrop-filter: blur(13px);
  padding: 15px 0;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 1000;
}

.navbar {
  padding: 0 !important;
  /* background-color: #584E4D!important; */
}

.navbar-brand.logo a {
  font-size: 32px;
  font-weight: bold;
  color: #3C35FC !important;
  letter-spacing: 2px;

}

.navbar-brand.logo a img {
  width: 50px;
  height: 50px;
}

.nav-menu {
  gap: 15px;
}

.nav-menu .nav-link {
  color: whitesmoke !important;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 15px !important;
  transition: color 0.3s;
  cursor: none;
  text-decoration: none;

}


.nav-menu .nav-link {
  position: relative;
  transition: color 0.25s ease, transform 0.15s ease;
  will-change: color, transform;
  display: inline-block;
  padding-bottom: 6px;
  /* espace pour l'underline animé */
}

/* Ligne animée sous le lien */
.nav-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 3px;
  transform: translateX(-50%);
  transition: width 0.32s cubic-bezier(.2, .9, .2, 1);
  pointer-events: none;
  opacity: 0.95;
}

/* État hover / actif : couleur + soulevé + underline */
.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
  color: var(--color-primary) !important;
  transform: translateY(-3px);

}

.logo {
  font-size: 25px;
  font-weight: 700;

  cursor: none;
  animation: float 3s infinite ease-in-out;
}

/* ANIMATION GLOBALE */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after {
  width: 60%;
}

/* Effet "press" */
.nav-menu .nav-link:active {
  transform: translateY(-1px) scale(0.995);
}

/* Focus accessible */
.nav-menu .nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary-light);
  border-radius: 6px;
}

/* Petite icône d'accent animé (facultatif, si vous ajoutez <span class="accent"> dans le lien) */
.nav-menu .nav-link .accent {
  display: inline-block;
  margin-left: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.9;
}

.nav-menu .nav-link:hover .accent,
.nav-menu .nav-link.active .accent {
  transform: scale(1.4);
  opacity: 1;
}

/* Respect de la préférence "reduced motion" */
@media (prefers-reduced-motion: reduce) {

  .nav-menu .nav-link,
  .nav-menu .nav-link::after,
  .nav-menu .nav-link .accent {
    transition: none !important;
  }
}



.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem transparent !important;
}

/* Hero Section */
.hero-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  top: 0;

}

.greeting {
  color: #3C35FC !important;
  font-size: 18px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff !important;
}

.highlight {
  color: #3C35FC !important;
  font-size: 35px;

}

.parcours {
  min-height: calc(100vh - 3px);
  display: flex;
  align-items: center;
  padding: 45px 0;
}

.hero-description {
  font-size: 16px;
  color: #b3b3b3 !important;
  line-height: 1.6;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 14px 32px !important;
  font-size: 16px !important;
  border-radius: 4px !important;
  transition: all 0.3s;
  text-decoration: none !important;
  font-weight: 500;
  cursor: none;
}

.hero-buttons .btn-primary {
  background-color: #3C35FC !important;
  border: 1px solid #3C35FC !important;
  color: #fff !important;
}

.hero-buttons .btn-primary:hover {
  background-color: #1913cc78 !important;
  border-color: #3C35FC !important;
  color: #fff !important;
}

.hero-buttons .btn-secondary {
  background-color: transparent !important;
  color: var(--color-primary-light) !important;
  border: 1px solid var(--color-primary-light) !important;
}

.hero-buttons .btn-secondary:hover {
  background-color: #3C35FC !important;
  color: #fff !important;
  border-color: #3C35FC !important;
}


/* Footer */
.main-footer {
  /* background-color: #0a0a0a !important; */
  padding: 30px 0;
  /* border-top: 1px solid #1a1a1a; */
  margin-top: 60px;
  position: relative;
  bottom: 0;
  width: 100%;
}

.hero-title {
  max-width: 800px;
}

.main-footer p {
  /* color: #808080 !important; */
  font-size: 14px;
}


/* parcours */
/* ----- Structure globale ----- */
.resumeArticle {
  position: relative;
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Inter", "Poppins", sans-serif;
  color: var(--color-primary);
  background: transparent;
}

/* Ligne verticale centrale */
/* #line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  transform: translateX(-50%);
  border-radius: 3px;
} */

/* Containers principaux */
.veryBigestContainer {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* ----- Éléments de la timeline ----- */
.bigResumeContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Bloc de chaque expérience */
.resumeContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  width: 100%;
}

/* Les cercles de la timeline */
.check {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 3px solid var(--color-primary-light);
  border-radius: 50%;
  z-index: 10;
  transition: transform 0.2s ease, background 0.3s ease;
}

.check:hover {
  transform: scale(1.2);
  background: #3C35FC;
}

/* ----- Côté gauche et droit ----- */
.companyContainer,
.companyContainerLeft {
  flex: 1;
  background: rgba(3, 34, 105, 0.298);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #3C35FC;
  box-shadow: 0 4px 12px #3C35FC;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.companyContainer:hover,
.companyContainerLeft:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px #3C35FC;
}

/* ----- Contenu entreprise ----- */
.company {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pictureContainer {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.pictureContainer>div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

/* Exemple de logos fictifs */
.digitalInsure {
  background-image: url("https://softwarerepublique.eu/wp-content/uploads/2023/07/logo-efrei.png");
}

.chc {
  background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcStKdjBvnmfAooHzk26uaHTm04CZoXNFSTG9A&s");
}

.iut {
  background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRJEzg2vbgBwFrEnIdUXxG6nsSamkSnXvzIjg&s");
}

/* ----- Texte ----- */
.textContainer h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: var(--color-primary);
}

.textContainer p {
  margin: 0.2rem 0;
  color: var(--background-light);
  font-size: 0.95rem;
}

/* ----- Dates ----- */
.resumeDate,
.resumeDateLeft {
  font-size: 0.9rem;
  color: #3C35FC;
  font-weight: 500;
  white-space: nowrap;
}

/* BTS SIO */
/* BTS SIO Section Styling */
.about-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(165deg, rgba(12, 75, 130, 0.15), rgba(11, 11, 11, 0.9));
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.image-container1 {
  width: 660px;
  height: 300px;
  background-image: url("/assets/images/emploi_apres_bts_sio_250.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
}

.image-container2 {
  width: 660px;
  height: 300px;
  background-image: url("/assets/images/Formation_Technicien_Infrastructure_Informatique_Securite_Chiffres_Cles_mewo.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
}

/* TABLETTE (≤ 992px) */
@media (max-width: 992px) {

  .image-container1,
  .image-container2 {
    width: 100%;
    max-width: 600px;
    height: 260px;
    margin: 0 auto;
  }
}

/* MOBILE (≤ 576px) */
@media (max-width: 576px) {

  .image-container1,
  .image-container2 {
    width: 100%;
    height: 180px;
    border-radius: 8px;
  }
}

.about-content h2 {
  color: #3C35FC;
  font-size: 2.8rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #0C4B82, #3C35FC);
  -webkit-background-clip: text;
  text-shadow: 0 0 15px rgba(60, 53, 252, 0.5);
}

.about-content p {
  color: #e0e0e0;
  line-height: 1.8;
  font-size: 1.1rem;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
}

.about-span {
  color: #3C35FC;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.3rem 1rem;
  background: rgba(60, 53, 252, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(60, 53, 252, 0.3);
  box-shadow: 0 0 10px rgba(60, 53, 252, 0.2);
}

.option {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 2.5rem 0;
}

.para_1 {
  padding: 2rem;
  background: rgba(12, 75, 130, 0.1);
  border-radius: 20px;
  border: 1px solid #3C35FC;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.para_1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(60, 53, 252, 0.1));
  pointer-events: none;
}

.para_1:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(60, 53, 252, 0.2);
  border-color: rgba(60, 53, 252, 0.6);
}

.para_1 ul {
  list-style: none;
  padding-left: 1rem;
}

.para_1 li {
  color: #e0e0e0;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.para_1 li::before {
  content: "›";
  color: #3C35FC;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(60, 53, 252, 0.5);
}

@media (max-width: 768px) {
  .option {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 1.5rem;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  #line {
    left: 8px;
    transform: none;
  }

  .resumeContainer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .check {
    margin-left: 0.5rem;
  }

  .companyContainer,
  .companyContainerLeft {
    width: 100%;
  }
}







/* Responsive Adjustments */
@media (max-width: 800px) {
  .hero-title {
    font-size: 42px;
  }

  .hero-section {
    /* min-height: calc(100vh - 80px); */
    display: flex;
    align-items: center;
    padding: 10px 0;

  }


  .hero-section {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}