body {
  margin: 0;
  padding: 0;
  background: linear-gradient(130deg, #e2e6fa 0%, #f4f6f9 100%);
  font-family: "Segoe UI", Arial, sans-serif;
}

.cv-container {
  margin-top: 95px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.cv-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(30, 60, 114, 0.16);
  padding: 2.3rem 2.7rem 1.7rem 2.7rem;
  max-width: 730px;
  width: 97vw;
  margin: auto;
  animation: fadeup 0.9s cubic-bezier(0.5, -0.05, 0.18, 1.2);
  opacity: 0;
  transform: translateY(30px);
  animation-fill-mode: forwards;
  position: relative;
}

@keyframes fadeup {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

  80% {
    opacity: 0.95;
    transform: translateY(-5px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cv-header {
  text-align: center;
  margin-bottom: 1.2rem;
  user-select: none;
}

.cv-name {
  font-size: 2.35rem;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 0.18em;
}

.cv-name .firstname {
  font-weight: 500;
  color: #2a5298;
}

.cv-job {
  display: inline-block;
  background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  padding: 0.2em 1.3em;
  border-radius: 1em;
  margin-bottom: 0.5em;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.7px;
  box-shadow: 0 1px 10px #1e3c721a;
  animation: badgefade 1.1s 0.3s both cubic-bezier(0.5, -0.05, 0.18, 1.2);
}

@keyframes badgefade {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.cv-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  justify-content: center;
  margin-bottom: 1.3em;
}

.cv-contact-info {
  min-width: 180px;
  color: #444;
  transition: color 0.18s;
}

.cv-contact-info a {
  color: #2a5298;
  text-decoration: none;
  transition: color 0.2s;
}

.cv-contact-info a:hover {
  color: #1e3c72;
  text-decoration: underline;
}

.cv-section-title {
  color: #2a5298;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.cv-section-title::after {
  content: "";
  display: block;
  width: 50px;
  border-bottom: 2.5px solid #2a5298;
  border-radius: 2px;
  margin-top: 4px;
  opacity: 0.21;
}

.cv-section-title:hover {
  color: #16305a;
}

.cv-card ul {
  padding-left: 1.2em;
  margin: 0.6em 0;
}

.cv-card li {
  margin-bottom: 0.32em;
}

.cv-col-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
}

.cv-col {
  flex: 1 1 250px;
  min-width: 200px;
}

.cv-hr {
  border: 0;
  border-top: 1.5px solid #e3e8fd;
  margin: 2.1rem 0 1.1rem 0;
}

.cv-footer {
  text-align: right;
  color: #a7afd6;
  font-size: 0.92rem;
  letter-spacing: 1px;
}

/* Hovers modernes */
.cv-contact-info:hover {
  color: #2a5298;
}

/* Responsive */
@media (max-width: 850px) {
  .cv-card {
    padding: 1.3rem 0.7rem 1.1rem 0.7rem;
  }

  .cv-header {
    margin-bottom: 1rem;
  }
}

@media (max-width: 540px) {
  .cv-card {
    padding: 0.8rem 0.1rem;
  }

  .cv-name {
    font-size: 1.38rem;
  }

  .cv-contact {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.export-btn-fixed {
  top: 28px;
  right: 42px;
  background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 0.85em 2em 0.85em 1.6em;
  font-size: 1.14rem;
  font-weight: bold;
  box-shadow: 0 2px 24px #1e3c7230;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.7em;
  opacity: 0.96;
}
.export-btn-fixed:hover {
  background: linear-gradient(90deg, #2a5298 0%, #1e3c72 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 32px #2a529855;
}
@media (max-width: 600px) {
  .export-btn-fixed {
    top: unset;
    bottom: 30px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: unset;
    border-radius: 22px;
    padding: 0.9em 0;
    font-size: 1.08rem;
    justify-content: center;
  }
}
@media print {
  .export-btn-fixed {
    display: none !important;
  }
}
.no-animation .cv-card {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
body.pdf-export .cv-card {
  font-size: 0.92rem !important;
  padding: 1.2rem 1.1rem 0.7rem 1.1rem !important;
  max-width: 680px !important;
}
body.pdf-export .cv-header .cv-name {
  font-size: 1.2rem !important;
}
body.pdf-export .cv-job {
  font-size: 1rem !important;
  padding: 0.18em 1em !important;
}
body.pdf-export .cv-col-flex {
  gap: 1.1rem !important;
}
body.pdf-export .cv-section-title {
  margin-top: 1em !important;
  margin-bottom: 0.25em !important;
  font-size: 1.01rem !important;
}
body.pdf-export .cv-card ul {
  margin: 0.2em 0 !important;
}
body.pdf-export .cv-card li {
  margin-bottom: 0.17em !important;
}
body.pdf-export .cv-hr {
  margin: 1rem 0 0.6rem 0 !important;
}
body.pdf-export .cv-footer {
  font-size: 0.8rem !important;
}

@media print {
  .export-btn-fixed {
    display: none !important;
  }
}
