body {
  margin: 0;
  background-color: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Carlito', sans-serif;
  font-weight: 400;
}

body, html {
  user-select: none;            /* standard */
  -webkit-user-select: none;    /* Safari / Chrome */
  -moz-user-select: none;       /* Firefox */
  -ms-user-select: none;        /* Edge ancien */
  -webkit-touch-callout: none; /* empêche le menu contextuel */
  -webkit-tap-highlight-color: transparent; /* enlève le halo bleu */
  touch-action: none; /* bloque les gestes de zoom/pan */
}

#welcome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10,10,10,0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.5rem;
    z-index: 100;
    opacity: 1;
    transition: opacity 0.8s ease;
}

/* ----- Conteneur principal ----- */
#cv-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  aspect-ratio: 210 / 297;
  overflow: hidden;
}

/* Flèche clignotante */
#blinking-arrow {
  color: #fff;
  position: absolute;
  top: 60px;
  left: 20px;
  font-size: 1.5rem;
  animation: blink 2s infinite;
  opacity: 0;
  z-index: 301;
}

/* Animation clignotante */
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

  /* Bouton mode immersif (positionné au-dessus du CV) */
.immersive-toggle {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background-color 0.18s, transform 0.12s;
}

/* petit effet hover/focus */
.immersive-toggle:hover,
.immersive-toggle:focus {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
  outline: none;
}

/* icônes */
.immersive-toggle svg { display: block; }

#download-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(0,0,0,0.1);
  color: #ffffff;
  cursor: pointer;
}

/* petit effet hover/focus */
#download-btn:hover,
.immersive-toggle:focus {
  background: rgba(0,0,0,0.6);
  transform: translateY(-2px);
  outline: none;
}

/* icônes */
#download-btn svg { display: block; }

/* ----- Zones interactives ----- */
.zone {
  position: absolute;
  cursor: pointer;
  transition: opacity 0.3s;
}

/* ----- liens ----- */
.link-zone {
    position: absolute;
    display: block;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.025); /* bleu transparent */
}

.link-zone:hover {
    background-color: rgba(255, 255, 255, 0.4);
    border-color: #ffcc00;
}

/* ----- Image du CV ----- */
.cv-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* effet visuel au survol */
.zone_gauche:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.zone_droite:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.separator {
    width: 40%;           /* longueur de la ligne */
    border: 0;            /* supprime le style par défaut */
    border-top: 2px solid #fff; /* ligne blanche */
    margin: 15px 0;       /* espace au-dessus et en dessous */
    opacity: 0.6;         /* légère transparence */
}