
/* ============================================ */
/* VARIABLES GLOBALES                           */
/* ============================================ */
:root {
    --color-background: #e8f0fe;
    --color-text: #1a2e4f;
    --color-accent: #1a2e4f;
    --color-secondary: #4a6a9a;
    --color-highlight: #ffd166;
    --color-card-bg: #ffffff;
    --color-card-border: #d0e0f5;
    --color-nav-active: #cce0ff;
    --color-link: #2a5cbd;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

/* ============================================ */
/* RESET ET BASES                               */
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #e8f0fe 0%, #f0f7ff 100%);
    color: var(--color-text);
    line-height: 1.5;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

/* ============================================ */
/* STRUCTURE PRINCIPALE                         */
/* ============================================ */
.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
}

.main-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
}

/* ============================================ */
/* COMPOSANTS COMMUNS                          */
/* ============================================ */
/* Cartes */
.card {
    border: 1px solid var(--color-card-border);
    padding: 1.5rem;
    border-radius: 10px;
    background-color: #f5faff;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.objectives-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    justify-content: space-between;
    margin-top: 1rem;
  }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

/* ============================================ */
/* EN-TÊTE PRINCIPAL                           */
/* ============================================ */
.identity-header {
    background-color: var(--color-card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(26, 46, 79, 0.08);
    border: 1px solid var(--color-card-border);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.identity-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #1a2e4f, #4a6a9a, #1a2e4f);
}

.identity-header h1 {
    font-size: 2.8rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.identity-header .title {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 1.2rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.identity-header .title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-highlight);
    border-radius: 2px;
}

.identity-header .tagline {
    font-family: var(--font-main);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1.5rem auto 1.8rem;
    color: var(--color-secondary);
    padding: 1rem;
    background: rgba(204, 224, 255, 0.25);
    border-radius: 12px;
    font-weight: 500;
}

/* Actions dans l'en-tête */
.identity-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-icons {
    display: flex;
    gap: 1.2rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(204, 224, 255, 0.3);
    font-size: 1.2rem;
    color: var(--color-text);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 46, 79, 0.1);
}

.contact-icon:hover {
    background-color: rgba(170, 199, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 46, 79, 0.1);
}

.cv-download {
    padding: 0.8rem 1.8rem;
    background-color: var(--color-accent);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(26, 46, 79, 0.1);
}

.cv-download:hover {
    background-color: #0f2040;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(26, 46, 79, 0.15);
}

.availability {
    background: linear-gradient(90deg, var(--color-highlight), #ffde8a);
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    font-size: 1rem;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(255, 209, 102, 0.3);
    border: 1px solid rgba(255, 209, 102, 0.5);
}

/* ============================================ */
/* BARRE LATÉRALE                               */
/* ============================================ */
.sidebar {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(26, 46, 79, 0.08);
    border: 1px solid var(--color-card-border);
    position: sticky;
    top: 1rem;
    height: fit-content;
}

.sidebar .nav-links {
    list-style: none;
}

.sidebar .nav-links li {
    margin-bottom: 0.8rem;
}

.sidebar .nav-links a {
    display: block;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    color: var(--color-text);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.sidebar .nav-links a:hover,
.sidebar .nav-links a.active {
    background-color: var(--color-nav-active);
    box-shadow: 0 4px 10px rgba(26, 46, 79, 0.08);
}

.sidebar .nav-links i {
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: var(--color-secondary);
}

/* ============================================ */
/* CONTENU PRINCIPAL                           */
/* ============================================ */
.main-content {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(26, 46, 79, 0.08);
    border: 1px solid var(--color-card-border);
}

/* Sections */
.section {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(204, 224, 255, 0.8);
}

.section-title {
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin: 1.2rem 0 0.8rem 0;
    font-family: var(--font-heading);
}

/* ============================================ */
/* COMPOSANTS SPÉCIFIQUES                      */
/* ============================================ */
/* Cartes d'objectifs */


/*.objective-card {
    flex: 1;
    background-color: #f8fbff;
    border: 1px solid #d0e3f0;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-size: 0.9rem; /* texte plus petit 
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    min-width: 0;
  }*/



/* Timeline horizontale */
.timeline-container {
    position: relative;
    margin: 3rem 0;
    padding: 0 2rem;
}

.timeline-progress {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a2e4f, #4a6a9a);
    z-index: 1;
    border-radius: 2px;
}

.timeline-milestones {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.milestone {
    text-align: center;
    width: 30%;
}

.milestone-marker {
    width: 24px;
    height: 24px;
    background: #fff;
    border: 4px solid #4a6a9a;
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
}

.milestone-marker.current {
    background: #1a2e4f;
    border-color: #ffd166;
    box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.3);
}

.milestone-content {
    font-size : 0.75rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #d0e0f5;
}

.milestone-content h3 {
    color: #1a2e4f;
    margin: 0.5rem 0;
    font-family: 'Space Grotesk', sans-serif;
}

.milestone-content h4 {
    color: #4a6a9a;
    font-size: 0.9rem;
}

.mileline-connector {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: #4a6a9a;
    margin: 10px 0;
}

.connector-arrow {
    color: #4a6a9a;
    font-size: 1.2rem;
}

/* Cartes roadmap */
.roadmap-cards {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.roadmap-card {
    flex: 1;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.roadmap-card:hover {
    transform: translateY(-5px);
}

.roadmap-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.roadmap-header i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #1a2e4f;
}

.roadmap-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #1a2e4f;
}

.roadmap-header h4 span {
    font-size: 0.9rem;
    color: #4a6a9a;
    font-weight: normal;
}

.roadmap-items {
    list-style: none;
    padding: 0;
}

.roadmap-items li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.roadmap-items i {
    margin-right: 0.8rem;
    color: #4a6a9a;
}

.short-term {
    background-color: #f5faff;

}




/* Transition de carrière */
.career-transition {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    gap: 2rem;
}

.transition-card {
    flex: 1;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #d0e0f5;
}

.transition-icon {
    width: 60px;
    height: 60px;
    background: #1a2e4f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.transition-card h3 {
    color: #1a2e4f;
    margin-bottom: 1rem;
}

.transition-arrow {
    font-size: 2rem;
    color: #4a6a9a;
}

  .objective-card {
    font-size: 0.85rem;
    flex: 1;
    background: #f9fbfd;
    border: 1px solid #dce6f2;
    border-radius: 10px;
    padding: 1.5rem;
    min-width: 280px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center; /* ✅ centre tous les textes */
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ centre les éléments enfants horizontalement */
  }

  .objective-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .objective-year {
    font-weight: normal;
    font-size: 0.85em;
    color: #555;
  }

  .objective-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .objective-list li {
    padding: 0.5rem 0;
    font-size: 0.75rem;
    border-bottom: 1px solid #eee;
  }
  
  .objective-list li:last-child {
    border-bottom: none;
  }
/*.objective-card {
    border: 1px solid var(--color-card-border);
    padding: 1.5rem;
    border-radius: 12px;
    background-color: #f5faff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.objective-card:hover {
    transform: translateY(-5px);
}*/

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: rgba(204, 224, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(204, 224, 255, 0.4);
    transform: translateX(5px);
}

.contact-item i {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
}

.quote {
    font-style: italic;
    color: var(--color-secondary);
    margin-top: 2.5rem;
    padding: 1.8rem;
    background: rgba(204, 224, 255, 0.2);
    border-radius: 14px;
    border-left: 4px solid var(--color-highlight);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Catégories de compétences */
.skills-category {
    background-color: #f5faff;
    border: 1px solid var(--color-card-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.skills-category h4 {
    color: var(--color-accent);
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 2px solid var(--color-highlight);
    padding-bottom: 0.7rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.skills-list {
    list-style: none;
    padding-left: 0;
}

.skills-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
    border-bottom: 1px dashed rgba(204, 224, 255, 0.8);
    padding-bottom: 0.5rem;
}

.skills-list li:last-child {
    border-bottom: none;
}

/* Compétences douces */
.soft-skill-item {
    background-color: #f5faff;
    border: 1px solid var(--color-card-border);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.soft-skill-item:hover {
    transform: translateY(-5px);
    background-color: var(--color-nav-active);
}

.highlight-goal {
    background-color: rgba(204, 224, 255, 0.3);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    text-align: center;
  }
  
.project-title {
    font-size: 1.3rem;
    color: var(--color-accent);
    font-weight: 700;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}


.project-title a {
    color: inherit;        /* garde la couleur du parent */
    text-decoration: none; /* enlève le soulignement */
    font: inherit;         /* garde la police du parent */
}
.project-title a:hover {
    text-decoration: underline; /* optionnel : effet hover discret */
}


.project-status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: auto; /* Déplace le statut à droite */
}

.project-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .project-steps div::before {
    content: "› ";
    color: var(--color-accent);
    font-weight: bold;
  }

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.status-in-progress {
    background-color: #fff3cd;
    color: #856404;
}

.status-planned {
    background-color: #e2e3e5;
    color: #383d41;
}
.subsection-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem; /* espacé réduit pour mobile */
    margin: 0.8rem 0;
  }

  .status {
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 8px;
    background: #eee;
}
.status.valid {
    background: #d4f6dd;
    color: #2d7a38;
    font-weight:600;
}
.status.progress {
    background: #ffe8b3;
    color: #8a5b00;
    font-weight:600;
}
/* ===== PRÉSENTATION SOBRE ===== */

.presentation-block {
    margin-bottom: 2rem;
}

.presentation-text {
    line-height: 1.8;
}

.presentation-text p {
    margin-bottom: 1.2rem;
}

.presentation-text strong {
    color: var(--color-accent);
    font-weight: 600;
}

.recent-news {
    margin: 2rem 0 1.5rem 0;
}

.recent-news h4 {
    font-size: 1rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievements-line {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--color-card-border);
    border-bottom: 1px solid var(--color-card-border);
}

.achievement-item {
    min-width: 0;
}

.achievement-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--color-accent);
}

.achievement-item span {
    font-size: 0.85rem;
    color: var(--color-secondary);
    line-height: 1.4;
}

.aws-captain-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-card-border);
    color: var(--color-text);
    line-height: 1.7;
}

.aws-captain-note strong {
    color: var(--color-accent);
}



  /* ============================================ */
  /* SECTION PORTFOLIO AVEC ACCORDÉON           */
  /* ============================================ */
  .project-card {
    border: 1px solid var(--color-card-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    background-color: var(--color-card-bg);
    transition: all 0.3s ease;
  }

  .project-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .project-card.project-expanded {
    box-shadow: 0 4px 16px rgba(26, 46, 79, 0.12);
  }

  .project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }

  .project-title:hover {
    background-color: rgba(204, 224, 255, 0.2);
  }

  .project-title a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
    flex-grow: 1;
  }

  .project-title a:hover {
    color: var(--color-link);
  }

  .project-title i.fab,
  .project-title i.fas:not(.project-toggle-icon) {
    margin-right: 0.5rem;
  }

  .project-github-link {
    color: var(--color-accent);
    text-decoration: none;
    margin-left: 0.8rem;
    font-size: 1.1rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
  }

  .project-github-link:hover {
    color: var(--color-link);
  }

  .project-github-link i {
    margin: 0;
  }

  .project-toggle-icon {
    color: var(--color-secondary);
    font-size: 1rem;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
  }

  .project-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .status-completed {
    background-color: #d4edda;
    color: #155724;
  }

  .status-in-progress {
    background-color: #fff3cd;
    color: #856404;
  }

  .status-planned {
    background-color: #e2e3e5;
    color: #383d41;
  }

  .project-content-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .project-steps {
    line-height: 1.7;
    margin-top: 1rem;
  }

  .project-steps p {
    margin-bottom: 0.8rem;
  }

  .project-steps > div {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
    position: relative;
  }

  .project-steps > div:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--color-secondary);
  }

  /* Responsive Portfolio */
  @media (max-width: 768px) {
    .project-title {
      font-size: 1.05rem;
    }
  }
  

 /* Contact - citation stylée */
.refined-quote {
    text-align: center;
    font-style: italic;
    margin-top: 2rem;
    font-family: var(--font-heading); /* Space Grotesk */
    font-size: 1.1rem;
    color: var(--color-secondary);
    opacity: 0.9;
    line-height: 1.6;
  }
   

  /* ===== PARCOURS - STYLE HARMONISÉ ===== */


.with-icon {
    display: flex;
    align-items: center;
    margin: 1.5rem 0 1rem 0;
}

.with-icon i {
    margin-right: 0.8rem;
    color: var(--color-secondary);
}

/* Objectifs */
.objectives-container {
    margin-bottom: 2.5rem;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.objective-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.objective-header {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(204, 224, 255, 0.5);
    text-align: center;
}

.objective-title {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
}

.objective-year {
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-style: italic;
}

.objective-items {
    list-style: none;
    padding-left: 0;
}

.objective-items li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.objective-items i {
    margin-right: 0.8rem;
    color: var(--color-secondary);
    width: 1.2rem;
    text-align: center;
}

/* Diplômes */
.diplomas-container {
    margin-bottom: 2.5rem;
}

.diplomas-grid {
    margin-top: 1.5rem;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.category-header i {
    margin-right: 0.8rem;
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.category-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-accent);
}

.skills-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(204, 224, 255, 0.6);
    display: flex;
    flex-direction: column;
}

.date {
    font-size: 0.85rem;
    color: var(--color-secondary);
    margin-top: 0.3rem;
    font-style: italic;
}

.details {
    font-size: 0.85rem;
    color: var(--color-secondary);
    margin-top: 0.3rem;
}

/* Expérience pro */
.experience-container {
    margin-bottom: 1.5rem;
}

.experience-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.experience-header {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(204, 224, 255, 0.5);
}

.experience-header h4 {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

.company {
    font-weight: 500;
    color: var(--color-text);
    font-size: 1rem;
}

.period {
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-style: italic;
}

.experience-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.missions {
    margin: 1.5rem 0;
}

.missions h5 {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.mission-list {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.mission-list li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.skills-developed {
    margin-top: 1.5rem;
}

.skills-developed h5 {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: rgba(204, 224, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-text);
}

/* Responsive */
@media (max-width: 900px) {
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    
    .objective-card {
        padding: 1.2rem;
    }
    
    .experience-card {
        padding: 1.2rem;
    }
    
    .skill-tags {
        gap: 0.6rem;
    }
    
    .skill-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .mission-list {
        padding-left: 1.2rem;
    }
}

/* ============================================ */
/* MENU BURGER MOBILE                          */
/* ============================================ */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background: var(--color-card-bg);
    color: var(--color-accent);
    border: 1px solid var(--color-card-border);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 15px;
    width: 220px;
    max-height: 60vh;
    background: var(--color-card-bg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--color-card-border);
    overflow-y: auto;
    transform: translateY(-10px);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav .nav-links {
    padding: 0;
    list-style: none;
}

.mobile-nav .nav-links li {
    margin: 0;
}

.mobile-nav .nav-links a {
    padding: 0.7rem 1.2rem;
    display: block;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.mobile-nav .nav-links a.active {
    background: rgba(204, 224, 255, 0.3);
}

.mobile-nav .nav-links i {
    width: 18px;
    margin-right: 10px;
    font-size: 0.9rem;
    color: var(--color-secondary);
}

/* ============================================ */
/* PIED DE PAGE                                 */
/* ============================================ */
footer {
    text-align: center;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #5a7a9a;
    border-top: 1px solid var(--color-card-border);
}

/* Compteur de visites */
.visit-counter {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: var(--color-accent);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 999;
}

/* ===== AMÉLIORATIONS PRÉSENTATION ===== */


.presentation-block {
    margin-bottom: 2rem;
}

.presentation-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.presentation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 46, 79, 0.1);
}

.identity-badge {
    background: rgba(204, 224, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.identity-badge .name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.3rem;
}

.identity-badge .details {
    font-size: 0.95rem;
    color: var(--color-secondary);
}

.section-subtitle i {
    color: var(--color-secondary);
    margin-right: 0.8rem;
}

.goal-card {
    border-left: 3px solid var(--color-highlight);
}

.aws-highlight {
    font-weight: bold;
}

.tech-icons {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.8rem;
    color: var(--color-secondary);
    opacity: 0.8;
}

.tech-icons i {
    margin: 0 0.5rem;
}

.expertise-list {
    list-style: none;
    padding-left: 0;
}

.expertise-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.expertise-list i {
    margin-right: 1rem;
    color: var(--color-accent);
    width: 1.2rem;
    text-align: center;
}

.highlight-card {
    background: rgba(204, 224, 255, 0.1);
    border-left: 3px solid var(--color-secondary);
}

.softskills-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.softskills-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.softskills-list i {
    color: var(--color-secondary);
    margin-right: 0.8rem;
}

.highlight-text {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 900px) {
    .section-description {
        font-size: 0.95rem;
    }
    
    .identity-badge {
        padding: 0.8rem;
    }
    
    .expertise-list li {
        font-size: 0.95rem;
    }
    
    .tech-icons {
        font-size: 1.5rem;
    }
}
/* ================ */


/* ============================================ */
/* VERSION MOBILE                              */
/* ============================================ */

@media (max-width: 900px) {
    /* STRUCTURE GÉNÉRALE */
    body {
        padding: 0.5rem;
        font-size: 14px;
    }

    .portfolio-container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    /* EN-TÊTE MOBILE */
    .identity-header {
        padding: 1.5rem 1rem;
        margin: 3.5rem 0 1rem 0;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(26, 46, 79, 0.1);
    }

    .identity-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        letter-spacing: -0.3px;
    }

    .identity-header .title {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }

    .identity-header .tagline {
        font-size: 0.85rem;
        padding: 0.8rem;
        margin: 1rem auto;
        line-height: 1.4;
        border-radius: 8px;
    }

    .availability {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        margin: 1rem auto;
        max-width: 90%;
        border-radius: 6px;
    }

    .identity-actions {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.2rem;
        align-items: center;
    }

    .contact-icons {
        gap: 1.5rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .cv-download {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    /* STRUCTURE PRINCIPALE MOBILE */
    .main-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .sidebar {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* CONTENU PRINCIPAL */
    .main-content {
        width: 100%;
        padding: 1.5rem 1rem;
        margin: 0;
        border-radius: 12px;
        box-shadow: 0 2px 15px rgba(26, 46, 79, 0.08);
    }

    /* SECTIONS */
    .section {
        margin-bottom: 2rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.8rem;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .section-description {
        font-size: 0.9rem;
        color: var(--color-secondary);
        margin-top: 0.5rem;
    }

    .section-subtitle {
        font-size: 1.3rem;
        margin: 1.5rem 0 1rem 0;
        text-align: left;
    }

    .section-subtitle.alt {
        font-size: 1.3rem;
        padding-left: 0;
        text-align: left;
    }

    /* CARTES ET CONTENU */
    .card {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .card p,
    .section-content p,
    .skills-list li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    /* TIMELINE MOBILE - COMPLÈTEMENT REPENSÉE */
    .timeline-container {
        margin: 2rem 0;
        padding: 0;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .timeline-milestones {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
        width: 100%;
    }

    .timeline-progress {
        display: none;
    }

    .milestone {
        width: 100%;
        max-width: none;
        position: relative;
        box-sizing: border-box;
    }

    .milestone-marker {
        width: 16px;
        height: 16px;
        border-width: 2px;
        margin: 0 auto 0.8rem;
    }

    .milestone-content {
        padding: 1rem;
        font-size: 0.8rem;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .milestone-content h3 {
        font-size: 1rem;
        margin: 0.3rem 0;
    }

    .milestone-content h4 {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .milestone-content ul {
        text-align: left;
        max-width: 100%;
    }

    .milestone-content p {
        font-size: 0.75rem;
        line-height: 1.3;
        margin: 0.3rem 0;
    }

    .mileline-connector {
        display: none;
    }

    /* CARTES ROADMAP */
    .roadmap-cards {
        flex-direction: column;
        gap: 1.2rem;
        margin: 1.5rem 0;
    }

    .roadmap-card {
        width: 100%;
        padding: 1.2rem;
        border-radius: 10px;
    }

    .roadmap-header {
        text-align: center;
        margin-bottom: 1rem;
        padding-bottom: 0.8rem;
    }

    .roadmap-header h4 {
        font-size: 1.1rem;
        margin: 0;
    }

    .roadmap-header h4 span {
        font-size: 0.85rem;
        display: block;
        margin-top: 0.2rem;
    }

    .roadmap-items li {
        font-size: 0.85rem;
        padding: 0.6rem 0;
        text-align: left;
    }

    /* GRILLES DE COMPÉTENCES */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }

    .skills-category {
        width: 100%;
        padding: 1.2rem;
        border-radius: 10px;
    }

    .skills-category h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .skills-list li {
        font-size: 0.85rem;
        padding: 0.6rem 0;
        border-bottom: 1px dashed rgba(204, 224, 255, 0.6);
    }

    /* OBJECTIFS - CARTES */
    .objectives-grid {
        flex-direction: column;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }

    .objective-card {
        width: 100%;
        min-width: unset;
        padding: 1.2rem;
        text-align: center;
        border-radius: 10px;
    }

    .objective-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .objective-year {
        font-size: 0.8rem;
        display: block;
        margin-top: 0.3rem;
    }

    /* PROJETS - TITRES PLUS VISIBLES */
    .project-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin: 1.5rem 0 1rem 0;
        flex-wrap: wrap;
        gap: 0.8rem;
        color: var(--color-accent);
        line-height: 1.4;
    }

    .project-title i {
        font-size: 1.2rem;
        color: var(--color-secondary);
    }

    .project-steps {
        gap: 0.8rem;
        margin: 1rem 0 1.5rem 0;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .project-status {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
        margin-left: 0;
        margin-top: 0.8rem;
        border-radius: 20px;
        font-weight: 600;
    }

    /* CONTACT */
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.8rem;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .contact-item div {
        width: 100%;
    }

    .quote {
        font-size: 0.9rem;
        padding: 1.2rem;
        margin-top: 1.5rem;
        line-height: 1.6;
        border-radius: 10px;
        text-align: center;
    }

    /* SOFT SKILLS */
    .soft-skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.2rem;
    }

    .soft-skill-item {
        padding: 1rem;
        font-size: 0.9rem;
        text-align: center;
        border-radius: 8px;
    }

    /* PIED DE PAGE */
    footer {
        padding: 1.5rem 0 1rem;
        margin-top: 1.5rem;
        font-size: 0.8rem;
    }

    /* COMPTEUR DE VISITES */
    .visit-counter {
        bottom: 15px;
        right: 15px;
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
        border-radius: 15px;
    }

    /* MENU MOBILE */
    .mobile-nav {
        top: 75px;
        left: 10px;
        width: calc(100vw - 20px);
        max-width: 250px;
    }

    .mobile-nav .nav-links a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    /* ESPACEMENT HARMONIEUX */
    .section-content > *:last-child {
        margin-bottom: 0;
    }

    .subsection-body {
        gap: 0.6rem;
        font-size: 0.85rem;
        padding-left: 0;
        margin: 1rem 0;
    }

    /* AMÉLIORATION DE LA LISIBILITÉ */
    .highlight-goal {
        padding: 1rem;
        font-size: 0.9rem;
        border-radius: 8px;
        margin: 1rem 0;
        text-align: center;
    }

    /* TRANSITION DE CARRIÈRE */
    .career-transition {
        flex-direction: column;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .transition-card {
        padding: 1.5rem;
        border-radius: 10px;
    }

    .transition-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
        font-size: 1.5rem;
    }
}

/* MEDIA QUERY POUR TRÈS PETITS ÉCRANS */
@media (max-width: 480px) {
    body {
        padding: 0.25rem;
        font-size: 13px;
    }

    .identity-header h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .main-content {
        padding: 1rem 0.8rem;
    }

    .card {
        padding: 1rem;
    }

    .contact-icons {
        gap: 1rem;
    }

    .mobile-nav {
        left: 5px;
        width: calc(100vw - 10px);
    }
}

@media (min-width: 901px) {
    .mobile-menu-btn,
    .mobile-nav {
      display: none;
    }
  }

  



/* ============================================ */
@media (max-width: 900px) {
    .blog-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-image-container {
        height: 180px;
    }
    
    .blog-image {
        height: 180px;
    }
}

/* Styles Blog */
.blog-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.blog-column h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card {
    background: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    width: 100%;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 46, 79, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1rem;
}

.blog-overlay i {
    font-size: 2rem;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-tag.backstage {
    background: rgba(255, 193, 7, 0.15);
    color: #f57c00;
}

.blog-tag.lab {
    background: rgba(33, 150, 243, 0.15);
    color: #1976d2;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 600;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-link);
    font-weight: 500;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-read-more {
    gap: 0.75rem;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more i {
    transform: translateX(4px);
}

/* Responsive Blog */
@media (max-width: 900px) {
    .blog-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-image {
        height: 220px;
    }
}

/* Badges - neutral link style */
.badge-link { color: inherit; text-decoration: none; font-weight: 600; margin-left: 0.5rem; font-size: 0.92rem; display: inline-block; }
.badge-link i { margin-left: 0.35rem; font-size: 0.9rem; }
.badge-link:hover { text-decoration: underline; color: var(--color-accent); }
