* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Liberation Sans', 'Helvetica Neue', Arial, sans-serif;
  color: #1f2430;
  background: #eef0f6;
  line-height: 1.55;
  font-size: 16px;
  padding: 30px 16px;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(40, 20, 90, 0.15);
}

.cv-nav {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  padding: 5px;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 100;
}

.cv-nav>a:not(.btn-pdf) {
  color: #4a3f7a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.cv-nav>a:not(.btn-pdf):hover {
  color: #6a3df5;
}

/* ===== HERO / BANNER ===== */

.hero {
  background: linear-gradient(135deg, #6a3df5 0%, #b13ba7 50%, #ff5e7e 100%);
  color: #ffffff;
  padding: 46px 48px 40px 48px;
}

.nav {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 22px;
  display: flex;
  gap: 18px;
}

.nav span {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
}

.hero .role {
  font-size: 20px;
  font-weight: 600;
  margin-top: 8px;
  opacity: 0.95;
}

.tagline {
  display: inline-block;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 15px;
  font-style: italic;
}

.badges {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== BODY LAYOUT ===== */

.body {
  display: flex;
  gap: 34px;
  padding: 34px 48px 44px 48px;
}

.main {
  flex: 2.3;
}

.side {
  flex: 1;
}

.section-title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6a3df5;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid #f0ebff;
  display: inline-block;
}

.block {
  margin-bottom: 26px;
}

/* ===== TIMELINE ===== */

.job {
  position: relative;
  padding-left: 20px;
  margin-bottom: 18px;
  border-left: 2px solid #ece7fb;
}

.job::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: #ff5e7e;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.job h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1f2430;
}

.job .meta {
  font-size: 13px;
  color: #8a8fa3;
  font-weight: 600;
  margin-bottom: 5px;
}

.job ul {
  margin-left: 16px;
}

.job li {
  font-size: 14.5px;
  margin-bottom: 3px;
  color: #3a3f4d;
}

/* ===== SIDEBAR CARDS ===== */

.card {
  background: #f7f5ff;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.card h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6a3df5;
  margin-bottom: 10px;
}

.skill-label {
  font-size: 13px;
  font-weight: 700;
  color: #5a5f70;
  margin: 8px 0 4px 0;
}

.pillwrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pill {
  background: #ffffff;
  border: 1px solid #e3dcfa;
  color: #4a3f7a;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.lang {
  font-size: 14.5px;
  margin-bottom: 6px;
}

.lang b {
  color: #1f2430;
}

.interest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.interest-list li {
  font-size: 14px;
  color: #3a3f4d;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.interest-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: linear-gradient(90deg, #6a3df5, #ff5e7e);
  border-radius: 2px;
}

.footer {
  text-align: center;
  font-size: 12px;
  color: #b3b8c8;
  padding: 14px;
  border-top: 1px solid #f0f0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #6a3df5, #b13ba7);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  transition: opacity 0.2s;
}

.btn-pdf:hover {
  opacity: 0.85;
}

/* ===== BARRE DE CONTACT (masquée sur le web, visible à l'impression) ===== */

.contact-bar {
  display: none;
}

@media print {
  .cv-nav {
    display: none;
  }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 700px) {
  .body {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 32px;
  }

  .cv-nav {
    gap: 10px 14px;
    padding: 12px 16px;
  }
}