/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #1e1e1e;
    color: white;
    display: flex;
}

/* ===== LAYOUT ===== */
.container {
    display: flex;
    width: 100%;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50;
    padding: 20px;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-content {
    margin-left: 250px;
    width: calc(100% - 250px);
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 40px;
    min-height: 100vh;
}

/* ===== HOME SECTION ===== */
#home {
    background: url('background-accueil.png') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#home .overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
}

/* ===== PROFILE SECTION ===== */
#profile {
    background-color: white;
    color: #333;
    min-height: 100vh;
    padding: 80px 40px;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1100px;
    width: 100%;
}

.profile-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 220px;
    margin-left: -350px;
    width: 100%;
}

.profile-title {
    color: #e67e22;
    font-size: 3.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 10px;
    text-align: center;
    position: relative;
    left: 370px;
}

.profile-image img {
    width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-top: 230px;
    position: relative;
    left: 200px;
}

.cv-box {
    margin: 700px auto 0 auto;
    border: 2px solid #e67e22;
    border-radius: 8px;
    padding: 15px 25px;
    width: fit-content;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    text-align: center;
    position: relative;
    left: -700px;
    margin-top: 600px;
}

.cv-box a {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
}

.cv-box:hover {
    background-color: #e67e22;
}

.cv-box:hover a {
    color: white;
    text-decoration: none;
}

/* ===== TIMELINE ===== */
.timeline {
    border-left: 2px solid #3498db;
    padding-left: 20px;
    margin-top: 20px;
}

.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-date {
    font-weight: bold;
    color: #3498db;
}

.timeline-content {
    background-color: #2c3e50;
    padding: 15px;
    border-radius: 8px;
    margin-left: 10px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: #3498db;
    border-radius: 50%;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    background-color: #2c3e50;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #34495e;
    color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #bdc3c7;
}

.contact-form button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: #2980b9;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #fff;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #3498db;
}

/* ===== NAVIGATION ===== */
.sidebar nav a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.sidebar nav a:hover {
    background-color: #e67e22;
}

.sidebar .icon {
    color: white;
}

.nav-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link .icon {
    color: white;
    transition: color 0.3s ease;
}

.nav-link.active, 
.nav-link.active:hover {
    background-color: #e67e22 !important;
    color: white !important;
}

.nav-link.active .icon, 
.nav-link.active:hover .icon {
    color: white !important;
}

/* ===== BTS BOXES ===== */
.bts-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.bts-option {
    flex: 1 1 45%;
    padding: 20px;
    background-color: #2c3e50;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.bts-option:hover {
    transform: scale(1.02);
}

.bts-option h4 {
    margin-bottom: 10px;
    color: #3498db;
}

/* ===== TYPING EFFECT ===== */
.welcome-text {
    text-align: center;
    padding: 100px 20px;
}

.typing-container {
    text-align: center;
    margin-top: 50px;
}

#typing-text {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
}

.fixed-header {
    position: fixed;
    top: 20px;
    left: 30px;
    color: white;
    z-index: 1000;
    text-align: left;
}

.name {
    font-size: 2rem;
    margin: 0;
}

.bts {
    font-size: 1.2rem;
    margin: 5px 0 0 0;
    font-weight: 300;
    letter-spacing: 2px;
    color: white;
}

.typing-text {
    font-size: 1.5rem;
    color: white;
    text-align: center;
    margin-top: 200px;
}

.discover-link {
    display: inline-block;
    margin-top: 400px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    font-size: 2.1rem;
    transition: color 0.3s ease;
}

.discover-link:hover {
    color: #ff4000;
    text-decoration: underline;
}

/* ===== SIDEBAR FOOTER ===== */
.sidebar .datetime {
    font-size: 0.9em;
    margin-bottom: 15px;
}

.sidebar-footer {
    text-align: center;
    font-size: 0.8em;
    color: #bdc3c7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .profile-container {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-text, .profile-image {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    
    .profile-title {
        left: 0;
    }
    
    .cv-box {
        margin: 30px auto;
        left: 0;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 15px;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .sidebar nav a span {
        display: none;
    }
    
    section {
        padding: 60px 20px;
    }
    
    #home {
        background-position: 60% center;
    }
    
    .typing-text {
        font-size: 1.2rem;
    }
    
    .discover-link {
        font-size: 1.5rem;
        margin-top: 50px;
    }
    
    .profile-text, 
    .profile-title,
    .cv-box {
        margin-left: 0 !important;
        left: 0 !important;
    }
    
    .main-content {
        padding-top: 80px;
    }
    
    section {
        min-height: calc(100vh - 80px) !important;
    }
    
    #profile {
        padding-top: 80px;
        position: relative;
        z-index: 1;
    }
    
    .profile-container {
        flex-direction: column-reverse;
        gap: 20px;
    }
    
    .profile-image img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .profile-text {
        margin-top: 20px !important;
        padding: 0 15px;
    }
    
    .profile-title {
        font-size: 2rem !important;
    }
    
    .cv-box {
        margin: 30px auto !important;
    }
    
    .bts-option {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .profile-image img {
        max-width: 200px;
    }
    
    .bts-boxes {
        flex-direction: column;
    }
    
    .contact-form {
        width: 100%;
    }
}

/* Couleur active orange */
.sidebar nav .nav-link.active {
    background-color: #e67e22;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.5);
}

/* Icônes des liens actifs */
.sidebar nav .nav-link.active .icon {
    color: white;
}

/* Couleurs personnalisées pour chaque icône du menu */
.sidebar nav .nav-link[href="#home"] .icon {
    color: #e74c3c;
}

.sidebar nav .nav-link[href="#profile"] .icon {
    color: #1abc9c;
}

.sidebar nav .nav-link[href="#bts"] .icon {
    color: #3498db;
}

.sidebar nav .nav-link[href="#path"] .icon {
    color: #f39c12;
}

.sidebar nav .nav-link[href="#internships"] .icon {
    color: #9b59b6;
}

.sidebar nav .nav-link[href="#skills"] .icon {
    color: #2ecc71;
}

.sidebar nav .nav-link[href="#projects"] .icon {
    color: #e67e22;
}

.sidebar nav .nav-link[href="#veille"] .icon {
    color: #f1c40f;
}

.sidebar nav .nav-link[href="#exams"] .icon {
    color: #95a5a6;
}

.sidebar nav .nav-link[href="#contact"] .icon {
    color: #e84393;
}

/* Animation au survol */
.sidebar nav .nav-link:hover .icon {
    transform: scale(1.2);
    transition: all 0.3s ease;
}

/* Section BTS SIO */
#bts {
    background-color: #f8f9fa;
    color: #333;
}

.bts-header {
    text-align: center;
    margin-bottom: 40px;
}

.bts-header h3 {
    font-size: 2.5rem;
    color: #2c3e50;
}

.bts-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 300;
}

.bts-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.6;
}

.bts-keypoints {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.keypoint {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3498db;
}

.bts-options-container {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.bts-option {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.bts-option:hover {
    transform: translateY(-10px);
}

.option-header {
    padding: 25px;
    text-align: center;
    color: white;
}

.slam .option-header {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
}

.sisr .option-header {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.option-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.option-header h4 {
    font-size: 1.5rem;
    margin: 10px 0 5px;
}

.option-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.option-content {
    padding: 25px;
}

.option-content ul {
    padding-left: 20px;
    margin: 15px 0;
}

.option-content li {
    margin-bottom: 8px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.skill-tag {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #000 !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
}

.career {
    font-style: italic;
    color: #7f8c8d;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.bts-footer {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: center;
    font-size: 0.95rem;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .bts-options-container {
        flex-direction: column;
    }
    
    .bts-option {
        max-width: 100%;
    }
}

/* Structure principale */
.bts-comparison {
    display: flex;
    max-width: 1000px;
    margin: 40px auto;
    gap: 40px;
    align-items: center;
}

.option-explanation {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Séparateur central */
.comparison-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.separator-line {
    height: 1px;
    width: 100px;
    background: #ddd;
}

.separator-text {
    margin: 15px 0;
    padding: 5px 15px;
    background: #3498db;
    color: white;
    border-radius: 20px;
    font-weight: bold;
}

/* En-têtes des options */
.explanation-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.explanation-header i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 10px;
}

.sisr .explanation-header i {
    color: #e67e22;
}

.explanation-header h4 {
    font-size: 1.5rem;
    color: #2c3e50;
}

/* Contenu */
.core-focus {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.core-focus h5 {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.core-focus ul {
    padding-left: 20px;
}

.core-focus li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.core-focus li::before {
    content: "•";
    color: #3498db;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.sisr .core-focus li::before {
    color: #e67e22;
}

/* Responsive */
@media (max-width: 768px) {
    .bts-comparison {
        flex-direction: column;
        gap: 30px;
    }
    
    .comparison-separator {
        flex-direction: row;
        width: 100%;
    }
    
    .separator-text {
        margin: 0 15px;
    }
}

/* Conteneur principal */
.option-choice-indicator {
    position: relative;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.15) 0%, rgba(231, 76, 60, 0.15) 100%);
    padding: 15px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #e67e22;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Main animée */
.animated-hand {
    font-size: 2rem;
    animation: 
        wave 1.5s ease infinite,
        pulse 2s ease infinite;
    transform-origin: right center;
}

/* Badge "Option choisie" */
.choice-badge {
    background: #e67e22;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3);
}

.choice-badge i {
    font-size: 1.2em;
}

/* Animations */
@keyframes wave {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(5px) rotate(10deg); }
    50% { transform: translateX(0) rotate(0deg); }
    75% { transform: translateX(5px) rotate(-10deg); }
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Effet au survol */
.option-choice-indicator:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.2);
    transition: all 0.3s ease;
}

/* Animation au survol des options */
.option-explanation {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(0);
}

.option-explanation:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Effet spécial pour l'option choisie (SISR) */
.sisr {
    position: relative;
    z-index: 1;
}

.sisr::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px dashed #e67e22;
    border-radius: 12px;
    animation: pulseBorder 2s infinite;
    opacity: 0;
    z-index: -1;
}

.sisr:hover::before {
    opacity: 1;
}

@keyframes pulseBorder {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.02); opacity: 0.9; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* Animation spécifique pour la main */
.option-choice-indicator:hover .animated-hand {
    animation: 
        wave 0.8s ease infinite,
        pulse 1.5s ease infinite,
        bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
/* ===== SECTION PARCOURS ===== */
.light-bg {
  background: #f8f9fa;
  color: #333;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #4a6bdf, #6a11cb);
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
}

/* CHEMIN PARCOURS - VERSION FINALE */
.journey-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.journey-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.journey-title {
  text-align: center;
  font-size: 2.5rem;
  color: #000000; /* Texte en noir */
  margin-bottom: 10px;
  position: relative;
}

.journey-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #000000; /* Texte en noir */
  margin-bottom: 50px;
  font-weight: 500;
}

/* Ligne de progression */
.journey-path {
  position: relative;
  padding-left: 50px;
  margin-top: 50px;
}

.journey-path::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background: linear-gradient(to bottom, #3498db, #e67e22);
  border-radius: 2px;
}

/* Éléments du parcours */
.journey-step {
  position: relative;
  margin-bottom: 60px;
}

.step-content {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-left: 4px solid #3498db;
}

.step-content h3 {
  color: #000000; /* Titre en noir */
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}

.step-content p {
  color: #333333; /* Texte foncé */
  margin-bottom: 10px;
}

.step-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.step-skills li {
  background: rgba(52, 152, 219, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000000; /* Texte en noir */
}

/* Points de repère */
.step-marker {
  position: absolute;
  left: -44px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3498db;
  border: 4px solid white;
  box-shadow: 0 0 0 2px #3498db;
}

.step-marker::after {
  content: attr(data-year);
  position: absolute;
  left: -120px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #000000; /* Texte en noir */
  font-weight: bold;
}

/* Étape "passion" en évidence */
.highlight .step-marker {
  background: #e67e22;
  box-shadow: 0 0 0 2px #e67e22;
  animation: pulse 2s infinite;
}

.highlight .step-content {
  border-left-color: #e67e22;
  background: linear-gradient(to right, white 90%, rgba(230, 126, 34, 0.05));
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  .journey-path {
    padding-left: 30px;
  }
  
  .step-marker::after {
    left: -90px;
    font-size: 0.8rem;
  }
}
/* ===== SECTION STAGES ===== */
#internships {
    background-color: #f8f9fa;
    color: #333;
    padding: 80px 40px;
}

.internships-container {
    max-width: 1200px;
    margin: 0 auto;
}

.internship {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #9b59b6;
}

.internship-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.internship-title {
    font-size: 1.5rem;
    color: #2c3e50;
}

.internship-period {
    background: #9b59b6;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.internship-company {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.internship-description {
    line-height: 1.6;
    margin-bottom: 15px;
}

.internship-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill-tag {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(155, 89, 182, 0.3);
}
/* Style pour le stage à venir */
.internship.future {
    opacity: 0.8;
    border-left: 4px solid #95a5a6;
    background-color: #f8f9fa;
}

.internship.future .internship-title {
    color: #95a5a6;
}

.internship.future .skill-tag {
    background: rgba(149, 165, 166, 0.1);
    color: #95a5a6;
    border: 1px solid rgba(149, 165, 166, 0.3);
}

/* Animation au survol */
.internship:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .internship-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .internship-period {
        align-self: flex-start;
    }
}
.emoji-orbit {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.big-emoji {
    font-size: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.orbit-icons {
    position: relative;
    width: 100%;
    height: 100%;
    animation: rotateOrbit 15s linear infinite;
}

.orbit-icon {
    position: absolute;
    color: #e67e22;
    font-size: 1.2rem;
}

.orbit-icon:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-icon:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); }
.orbit-icon:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.emoji-orbit:hover .orbit-icons {
    animation-play-state: paused;
}
.emoji-orbit h2 {
    color: #e67e22 !important; 
    font-size: 1.3rem;
    margin-top: 15px;
    text-align: center;
    animation: textGlow 2s infinite alternate; 
}
@keyframes textGlow {
    from { text-shadow: 0 0 2px rgba(230, 126, 34, 0.5); }
    to { text-shadow: 0 0 8px rgba(230, 126, 34, 0.8); }
}
/* ===== SECTION PRÉSENTATION AVEC CV SUR LE CÔTÉ ===== */
.profile-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.profile-flex-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    width: 100%;
    align-items: flex-start;
}

.profile-text-and-cards {
    flex: 1;
    min-width: 0;
}

/* Titre */
.profile-title {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 2.2rem;
}

.profile-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e67e22;
}

/* Intro */
.intro-box {
    background: rgba(230, 126, 34, 0.1);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #e67e22;
    margin-bottom: 30px;
}

.highlight-name {
    color: #e67e22;
    font-weight: 700;
}

.location-tag {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 20px;
    color: #3498db;
    font-size: 0.9rem;
}

/* Cartes */
.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.detail-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.detail-card i {
    font-size: 1.8rem;
    color: #e67e22;
    margin-bottom: 15px;
}

.detail-card h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.detail-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Texte about */
.about-me {
    color: #555;
    line-height: 1.6;
    margin-top: 20px;
}

/* Colonne CV */
.cv-sidebar {
    margin-top: 300px;
    width: 300px;
    position: sticky;
    top: 20px;
}

.modern-cv {
    padding: 25px;
    background: linear-gradient(135deg, rgba(230,126,34,0.1) 0%, rgba(52,152,219,0.1) 100%);
    border-radius: 10px;
    border: 2px dashed rgba(230,126,34,0.3);
    text-align: center;
}

.modern-cv a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: #e67e22;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.modern-cv a:hover {
    background: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230,126,34,0.3);
}

.cv-hint {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #95a5a6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .profile-flex-container {
        flex-direction: column;
    }
    
    .cv-sidebar {
        width: 100%;
        position: static;
        margin-top: 40px;
    }
    
    .modern-cv {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .profile-details {
        grid-template-columns: 1fr;
    }
    
    .intro-box {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .profile-title {
        font-size: 1.8rem;
    }
    
    .modern-cv a {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}
/* ===== SKILLS SECTION ===== */
#skills {
  background-color: #f8f9fa;
  color: #333;
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.skills-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
  position: relative;
}

.skills-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #3498db, #e67e22);
}

.skills-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.skill-category {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.skill-category:hover {
  transform: translateY(-5px);
}

.skill-category h3 {
  color: #e67e22;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.skill-item {
  margin-bottom: 15px;
}

.skill-item span {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c3e50;
}

.skill-bar {
  height: 8px;
  background: #ecf0f1;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  border-radius: 4px;
  width: 0;
  transition: width 1s ease-out;
}

/* Animation des barres au chargement */
@keyframes fillBar {
  from { width: 0; }
  to { width: var(--level); }
}

/* Responsive */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .skill-category {
    padding: 20px;
  }
}
/* ===== SKILLS ENHANCEMENTS ===== */
.skill-category {
  position: relative;
  overflow: hidden;
  border-left: 4px solid;
}

.skill-category.network {
  border-color: #3498db;
  background: rgba(52, 152, 219, 0.03);
}

.skill-category.virtual {
  border-color: #9b59b6;
  background: rgba(155, 89, 182, 0.03);
}

.skill-category.system {
  border-color: #e67e22;
  background: rgba(230, 126, 34, 0.03);
}

.skill-category.security {
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.03);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.skill-percent {
  font-weight: bold;
  color: #7f8c8d;
}

.skills-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.legend-color {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  display: inline-block;
}

/* Animation spécifique */
@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(52, 152, 219, 0.5); }
  100% { box-shadow: 0 0 15px rgba(52, 152, 219, 0.8); }
}

.skill-category:hover {
  animation: glow 1.5s infinite alternate;
}
/* Animation des barres */
.skill-progress {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease-out, opacity 0.5s ease;
  opacity: 0.9;
}

/* Couleurs spécifiques */
.network .skill-progress { background: linear-gradient(90deg, #3498db, #2ecc71); }
.virtual .skill-progress { background: linear-gradient(90deg, #9b59b6, #e74c3c); }
.system .skill-progress { background: linear-gradient(90deg, #e67e22, #f1c40f); }
.security .skill-progress { background: linear-gradient(90deg, #2ecc71, #3498db); }

/* Effet au chargement */
.skill-item.animate .skill-progress {
  width: var(--level);
}
.certifications-section {
  margin-top: 50px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.certifications-section h3 {
  color: #4fc3f7;
  margin-bottom: 30px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.certification-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.certification-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.certification-icon {
  font-size: 2rem;
  color: #4fc3f7;
}

.certification-card h4 {
  margin: 0;
  color: white;
  font-size: 1.2rem;
}

.certification-body p {
  color: #b3b3b3;
  margin-bottom: 15px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.certification-date {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #81d4fa;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

/* Style du bouton */
.certification-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 15px;
  background: rgba(79, 195, 247, 0.2);
  color: #4fc3f7;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(79, 195, 247, 0.3);
}

.certification-btn:hover {
  background: rgba(79, 195, 247, 0.4);
  transform: translateY(-2px);
}

.certification-btn i {
  font-size: 0.7rem;
}

/* Effet de lumière au survol */
.certification-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--x) var(--y), 
              rgba(79, 195, 247, 0.1), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.certification-card:hover::after {
  opacity: 1;
}
/* Styles spécifiques pour la section certifications */
.certifications-title {
  text-align: center;
  font-size: 2.2rem;
  color: #2c3e50;
  margin: 40px 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.certifications-subtitle {
  text-align: center;
  color: #5d6d7e;
  font-size: 1.1rem;
  margin-bottom: 35px;
  font-weight: 400;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 20px;
}

/* Style de base des cartes */
.certification-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #eaecee;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.certification-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.certification-card h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.certification-body p {
  color: #34495e;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 60px;
}

.certification-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5d6d7e;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Bouton de base */
.certification-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

/* Couleurs spécifiques par certification */

/* HTML - Orange */
.certification-card:nth-child(1) .certification-icon {
  color: #FF7B25; /* Orange vif */
}

.certification-card:nth-child(1) .certification-btn {
  background-color: #FF7B25;
}

.certification-card:nth-child(1) .certification-btn:hover {
  background-color: #E56A1B;
}

/* CSS - Bleu */
.certification-card:nth-child(2) .certification-icon {
  color: #2965F1; /* Bleu */
}

.certification-card:nth-child(2) .certification-btn {
  background-color: #2965F1;
}

.certification-card:nth-child(2) .certification-btn:hover {
  background-color: #1A4FBD;
}

/* Tech for Everyone - Jaune */
.certification-card:nth-child(3) .certification-icon {
  color: #FFC107; /* Jaune */
}

.certification-card:nth-child(3) .certification-btn {
  background-color: #FFC107;
  color: #333; /* Texte foncé pour meilleure lisibilité */
}

.certification-card:nth-child(3) .certification-btn:hover {
  background-color: #E6AC00;
}

/* Write with IA - Rouge */
.certification-card:nth-child(4) .certification-icon {
  color: #E53935; /* Rouge */
}

.certification-card:nth-child(4) .certification-btn {
  background-color: #E53935;
}

.certification-card:nth-child(4) .certification-btn:hover {
  background-color: #C62828;
}
/* Couleur du texte en noir pour toutes les certifications */
.certification-card h4 {
  color: #000000; /* Noir pour les titres */
}

.certification-body p {
  color: #000000; /* Noir pour les descriptions */
}

.certification-date {
  color: #000000; /* Noir pour la date */
  opacity: 0.8; /* Légère transparence pour la date */
}
.internship.future {
    opacity: 1; /* Rendre le stage totalement visible */
    border-left: 4px solid #9b59b6; /* Même violet que les autres stages */
    background-color: white; /* Même fond que les autres stages */
}

.internship.future .internship-title {
    color: #2c3e50; /* Couleur du texte titre comme les autres */
}

.internship.future .skill-tag {
    background: rgba(155, 89, 182, 0.1); /* Même fond des tags que les autres */
    color: #9b59b6; /* Couleur texte des tags */
    border: 1px solid rgba(155, 89, 182, 0.3);
}
/* Section globale */
.exams-section {
  background: #ffffff;
  padding: 80px 40px;
  border-radius: 0;
}

/* Intro moderne */
.exams-intro-box {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInUp 1s ease;
}

.exams-title {
  font-size: 36px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.exams-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  margin: 8px auto 0;
  border-radius: 4px;
}

.exams-subtitle {
  font-size: 18px;
  color: #000000;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Grid cartes */
.exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Carte */
.exam-card {
  padding: 30px 20px;
  border-radius: 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exam-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.25);
}

.exam-card i {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Titres */
.exam-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

/* Texte */
.exam-card p {
  font-size: 15px;
  line-height: 1.6;
}

/* Couleurs différentes par épreuve pro */
.exam-card.e4 { background: linear-gradient(135deg, #3498db, #2980b9); }
.exam-card.e5 { background: linear-gradient(135deg, #e67e22, #d35400); }
.exam-card.e6 { background: linear-gradient(135deg, #2ecc71, #27ae60); }

/* Couleurs différentes par épreuve générale */
.exam-card.cge { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.exam-card.cejm { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.exam-card.math { background: linear-gradient(135deg, #f1c40f, #f39c12); }
.exam-card.anglais { background: linear-gradient(135deg, #1abc9c, #16a085); }
/* Section Contact */
.contact-section {
  background: #fdfdfd;
  padding: 80px 40px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Intro */
.contact-intro {
  text-align: center;
  margin-bottom: 50px;
}

.contact-title {
  font-size: 36px;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.contact-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  margin: 8px auto 0;
  border-radius: 4px;
}

.contact-subtitle {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 600px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px 20px;
  border-radius: 12px;
  border: 2px solid #e5e5e5;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

.contact-form button {
  padding: 15px 25px;
  background: linear-gradient(135deg, #3498db, #9b59b6);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contact-form {
    width: 90%;
  }
}
/* Section principale */
.veille-section {
  background: #fff;
  padding: 80px 40px;
}

.veille-intro {
  text-align: center;
  margin-bottom: 50px;
}

.veille-title {
  font-size: 36px;
  font-weight: 800;
  color: #2c3e50;
}

.veille-subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 15px;
}

.veille-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Cartes d’articles */
.veille-article {
  background: #fafafa;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: 0.3s;
}
.veille-article:hover { transform: translateY(-5px); }

.veille-article img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.veille-content {
  padding: 20px;
  color: #000;
}
.veille-content h3 {
  color: #007bff;
  font-size: 20px;
}
.meta { color: #666; font-size: 14px; margin-bottom: 8px; }

.more-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.more-btn:hover { background: #0056b3; }

/* Fenêtre modale */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  max-width: 850px;
  width: 90%;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: zoomIn 0.4s ease;
  overflow-y: auto;
  max-height: 90vh;
  position: relative;
}

/* Image dans la modale */
.modal-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  animation: fadeZoom 0.6s ease;
}

/* Texte modale */
.modal-content h2 { color: #007bff; margin-bottom: 15px; }
.modal-content h3 { color: #333; margin-top: 20px; }
.modal-content p { color: #444; line-height: 1.6; }
.modal-content ul { margin-top: 10px; padding-left: 20px; }
.modal-content a { color: #007bff; text-decoration: none; }
.modal-content a:hover { text-decoration: underline; }

.close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeZoom {
  from { opacity: 0; transform: scale(1.1); }
  to { opacity: 1; transform: scale(1); }
}
/* Assure l'affichage correct des listes dans veille / modales */
.veille-content ul,
.modal-content ul {
  color: #333;                  /* texte lisible */
  margin: 10px 0 16px 20px;     /* indentation correcte */
  padding: 0;
  list-style-type: disc;        /* puces classiques */
  list-style-position: outside;
}

.veille-content li,
.modal-content li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: #333;
}
/* Section Veille */
.veille-section {
  background: #ffffff; /* fond blanc */
  padding: 60px 40px;
  color: #222; /* texte en noir pour être visible */
  font-family: 'Arial', sans-serif;
}

.veille-title {
  font-size: 36px;
  font-weight: 800;
  color: #3498db; /* titre bleu */
  margin-bottom: 15px;
}

.veille-subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

.veille-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin-bottom: 40px;
}

/* Cartes d'articles */
.veille-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.veille-card {
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.veille-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.veille-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.veille-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #3498db;
  margin-bottom: 10px;
}

.veille-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
}

.veille-card button {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.veille-card button:hover {
  background: #2980b9;
}
.veille-text {
  font-size: 16px;
  line-height: 1.6;
  color: #222; /* texte en noir pour bien voir */
  max-width: 800px; /* limite la largeur pour une meilleure lecture */
  margin: 0 auto; /* centre horizontalement */
  text-align: justify; /* texte justifié */
  position: relative;
  left: 10%; /* décale légèrement vers la droite */
}
.big-emoji img.profile-img {
  width: 80px;   /* Réduit la largeur */
  height: 80px;  /* Réduit la hauteur */
  border-radius: 50%; /* Pour garder l'effet rond */
  object-fit: cover;  /* Pour que l'image garde ses proportions */
}
/* === GRID DES CARTES === */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* === SECTION RÉALISATIONS === */
.realisations {
  background: #fff; /* Fond blanc pour la section */
  padding: 50px 20px;
}

/* === GRID DES CARTES === */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* === CARTES === */
.realisations-card {
  background: #f9f9f9; /* Gris clair */
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000; /* Texte en noir */
}

/* Tags */
.realisations-card .tag {
  font-size: 0.8rem;
  background: #ddd;
  color: #000; /* Texte noir */
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 10px;
  display: inline-block;
}

/* Icône principale */
.realisations-card .real-icon,
.realisations-card .card-icon {
  font-size: 40px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

/* Hover animation sur icône */
.realisations-card:hover .real-icon,
.realisations-card:hover .card-icon {
  transform: scale(1.2) rotate(10deg);
}

/* Hover sur carte */
.realisations-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* === COULEURS PAR TYPE DE PROJET (icônes) === */
.realisations-card:nth-child(1) .real-icon { color: #e67e22; }
.realisations-card:nth-child(2) .real-icon { color: #9b59b6; }
.realisations-card:nth-child(3) .real-icon { color: #2980b9; }
.realisations-card:nth-child(4) .real-icon { color: #16a085; }
.realisations-card:nth-child(5) .real-icon { color: #f1c40f; }
.realisations-card:nth-child(6) .real-icon { color: #d35400; }
.realisations-card:nth-child(7) .real-icon { color: #34495e; }
.realisations-card:nth-child(8) .real-icon { color: #2ecc71; }
.realisations-card:nth-child(9) .real-icon { color: #1abc9c; }
.realisations-card:nth-child(10) .real-icon { color: #e74c3c; }
.realisations-card:nth-child(11) .real-icon { color: #3498db; }
.realisations-card:nth-child(12) .real-icon { color: #9b59b6; }
.realisations-card:nth-child(13) .real-icon { color: #34495e; }
.realisations-card:nth-child(14) .real-icon { color: #e74c3c; }
.realisations-card:nth-child(15) .real-icon { color: #1abc9c; }
.realisations-card:nth-child(16) .real-icon { color: #2ecc71; }
.realisations-intro h2,
.realisations-intro p {
  color: #000; /* Texte noir */
}
#path {
  background-color: #fff;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.entreprise-container {
  max-width: 1200px;
  margin: 0 auto;
}

.entreprise-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.entreprise-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 50px;
}

.entreprise-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
}

.entreprise-block.reverse {
  flex-direction: row-reverse;
}

.entreprise-text {
  flex: 1;
}

.entreprise-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.entreprise-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.entreprise-image {
  flex: 1;
  text-align: center;
}

.entreprise-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.entreprise-image img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media screen and (max-width: 900px) {
  .entreprise-block,
  .entreprise-block.reverse {
    flex-direction: column;
  }
  .entreprise-block.reverse {
    flex-direction: column;
  }
  .entreprise-image {
    margin-bottom: 20px;
  }
}
.entreprise-infos-general {
  text-align: center;
  margin-bottom: 50px;
}

.entreprise-infos-general ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.entreprise-infos-general li {
  font-size: 1rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}

.entreprise-infos-general i {
  color: #2c3e50;
}
/* Container général */
#internships {
  padding: 50px 20px;
  background-color: #f9f9f9;
  font-family: 'Arial', sans-serif;
}

.internships-container {
  max-width: 1200px;
  margin: 0 auto;
}

.internships-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #2c3e50;
}

/* Chaque stage */
.internship h3 {
  font-size: 26px;
  color: #34495e;
  margin-bottom: 30px;
  text-align: center;
}

/* Timeline par semaine */
.week {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px;
}

.week:nth-child(even) .week-text {
  order: 2;
}

.week:nth-child(even) .week-image {
  order: 1;
}

/* Texte de la semaine */
.week-text {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.week-text h4 {
  font-size: 20px;
  color: #16a085;
  margin-bottom: 15px;
}

.week-text ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #555;
}

/* Image de la semaine */
.week-image {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  text-align: center;
}

.week-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.week-image img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media screen and (max-width: 900px) {
  .week {
    flex-direction: column;
  }
  .week-text, .week-image {
    order: 0 !important;
  }
}
/* ===== COMPÉTENCES : version sans pourcentage ===== */

/* On cache les pourcentages et les barres */
.skill-percent,
.skill-bar {
  display: none;
}

/* Catégories */
.skill-category {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
}

.skill-category h3 {
  margin-bottom: 15px;
  color: #2c3e50;
}

/* Items de compétences */
.skill-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-item {
  background: #f4f6f8;
  border-left: 5px solid #3498db;
  padding: 12px 15px;
  border-radius: 8px;
  font-weight: 500;
  color: #333;
}

/* Couleur selon catégorie */
.skill-category.network .skill-item {
  border-color: #3498db;
}

.skill-category.virtual .skill-item {
  border-color: #9b59b6;
}

.skill-category.system .skill-item {
  border-color: #e67e22;
}

.skill-category.security .skill-item {
  border-color: #2ecc71;
}

/* Texte */
.skill-info span {
  font-size: 15px;
}
/* =========================
   SECTION REALISATIONS
========================= */

.realisations {
  padding: 80px 10%;
  background-color: #f8f9fb;
}

.realisations-intro {
  text-align: center;
  margin-bottom: 60px;
}

.realisations-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2933;
  margin-bottom: 10px;
}

.realisations-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========================
   GRID
========================= */

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* =========================
   CARD
========================= */

.realisations-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.realisations-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #2563eb, #1e40af);
}

.realisations-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* =========================
   ICON
========================= */

.real-icon {
  font-size: 2.2rem;
  color: #2563eb;
  margin-bottom: 15px;
}

/* =========================
   TAG
========================= */

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #2563eb;
  background: #e0e7ff;
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 15px;
}

/* =========================
   TEXT
========================= */

.realisations-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.realisations-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* =========================
   VARIANTS (OPTIONNEL)
========================= */

.realisations-card.security::before {
  background: linear-gradient(90deg, #dc2626, #991b1b);
}

.realisations-card.security .real-icon,
.realisations-card.security .tag {
  color: #dc2626;
  background: #fee2e2;
}

.realisations-card.docs::before {
  background: linear-gradient(90deg, #059669, #047857);
}

.realisations-card.docs .real-icon,
.realisations-card.docs .tag {
  color: #059669;
  background: #d1fae5;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .realisations {
    padding: 60px 6%;
  }

  .realisations-title {
    font-size: 2rem;
  }
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes propres */
  gap: 30px;
  align-items: stretch;
}

/* Centre les blocs si nombre impair */
.skills-container {
  max-width: 1000px;
  margin: 0 auto;
}
.pdf-link {
  margin-left: 10px;
  color: #e74c3c;
  font-size: 0.9rem;
  transition: 0.3s;
}

.pdf-link:hover {
  color: #c0392b;
  transform: scale(1.2);
}
/* SECTION VEILLE */

.veille-section {
  padding: 80px 10%;
  background: #fff;;
  position: relative;
}

.veille-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
}

.veille-container {
  position: relative;
  z-index: 1;
  color: rgb(155, 148, 148);
}

/* TITRES */

.veille-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.veille-intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 50px;
  line-height: 1.7;
  color: #000000;
}

/* BLOCS */

.veille-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.veille-block {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.veille-block h3 {
  margin-bottom: 10px;
  color: #0073ff;
}

/* ARTICLES */

.veille-articles-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.veille-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.veille-article {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  backdrop-filter: blur(5px);
}

.veille-article:hover {
  transform: translateY(-8px);
}

/* IMAGE ARTICLE */

.veille-article img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* CONTENU */

.article-content {
  padding: 20px;
}

.article-content h4 {
  margin-bottom: 10px;
}

.article-content p {
  font-size: 0.95rem;
  color: #000000;
}

.veille-date {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #000000;
}
.veille-container {
  position: relative;
  z-index: 1;
  color: #000000; /* TEXTE BLANC */
}

.veille-intro,
.article-content p,
.veille-block p,
.veille-block li {
  color: #000000;
}
.veille-outils {
  margin-top: 30px;
  text-align: center;
}

.veille-outils h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.veille-outils ul {
  list-style: none;
  padding: 0;
}

.veille-outils li {
  font-size: 1rem;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.veille-outils i {
  color: #e67e22;
  font-size: 1.2rem;
}
.projects-section {
  padding: 80px 10%;
  background: #ffffff;
}

.projects-container {
  max-width: 1200px;
  margin: auto;
}

.projects-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.projects-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* CARD */
.project-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* CONTENT */
.project-content {
  padding: 20px;
}

.project-content h3 {
  margin-bottom: 10px;
}

.project-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

/* BOUTON */
.project-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #e67e22;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.project-btn:hover {
  background: #d35400;
}
