* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    background: #f64174;
}
/* Bande verticale*/
nav { 
    width: 220px;
    background: #003366;
    color: white;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

nav img {
    width: 100%;
    height: auto;
    display: block;
}

nav h1 {
    font-size: 1.3em;
    text-align: center;
    padding: 15px;
    background: #000866;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 15px;
    display: block;
    border-bottom: 1px solid #b392e6;
    transition: background 0.3s;
}

nav a:hover {
    background: #b392e6;
}

header img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
}

main {
    margin-left: 220px;
    flex: 1;
    background: white;
}

main .content {
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

section h2 {
    color: #5a3d99;
    border-bottom: 2px solid #5a3d99;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    font-size: 0.9em;
    color: #888;
    margin: 20px 0;
}

@media (max-width: 768px) {
    nav {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
    }
    nav a {
        flex: 1 1 auto;
        text-align: center;
        border-bottom: none;
        border-right: 1px solid #b392e6;
    }
    main {
        margin-left: 0;
    }
}
.mon-image {
    transform: rotate(0deg);
    width: 100%;
    height: 750px; /* ajuste selon ton goût, ex : 400px */
    object-fit: cover;
    object-position: center; /* centre l'image dans son cadre */
}

section ol {
    margin-left: 20px;
    padding-left: 20px;
}

section li {
    margin-bottom: 15px;
    line-height: 1.6;
}

section li strong {
    color: #5a3d99; /* même violet que tes titres */
}

section li i {
    font-style: italic;
}

section li b {
    font-weight: bold;
}
section ul {
  list-style-type: none; /* supprime le marqueur par défaut */
  padding-left: 20px;
}

section ul li {
  position: relative;
  margin-bottom: 5px;
  line-height: 1.4;
  padding-left: 15px; /* espace pour le tiret */
}

/* ajoute un tiret en début de ligne */
section ul li::before {
  content: "–"; /* le tiret */
  position: absolute;
  left: 0;
  color: #5a3d99; /* même couleur violette */
  font-weight: bold;
}

/* ---- Timeline ---- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #c5a3ff;
}

.timeline li {
  margin: 20px 0;
  padding-left: 50px;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: white;
  border: 3px solid #c5a3ff;
  border-radius: 50%;
}

.date {
  font-weight: bold;
  color: #555;
}

.job {
  font-size: 1.1em;
  color: #222;
}
