html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;

}






@font-face {
  font-family: 'StephenType';
  src: url('../fonts/StephenType 400.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* évite le flash de texte non stylé */
}

.portfolio-header {
  text-align: center;
  background: #000000;              /* fond très clair pour contraste élégant */
  /* ou background: white; si tu préfères pur blanc */
}

.portfolio-header h1 {
  font-family: 'StephenType', serif;  /* fallback sur serif si police ne charge pas */
  font-weight: 400;
  font-size: 4.5rem;                  /* grand mais pas trop agressif */
  color: #000000;                     /* blanc pur */
  margin: 0;
  letter-spacing: 0.08em;             /* un peu d'espace entre les lettres pour élégance */
  line-height: 1.1;
}

/* Responsive : plus petit sur mobile */
@media (max-width: 768px) {
  .portfolio-header {
    padding: 50px 15px 30px;
  }
  
  .portfolio-header h1 {
    font-size: 3.2rem;                /* réduit sur petits écrans */
  }
}

/* Option : léger effet subtil au survol (très discret) */
.portfolio-header h1:hover {
  opacity: 0.82;
  transition: opacity 0.4s ease;
}







/* Optionnel : sombre légèrement pour que le texte soit lisible */
.hero-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);  /* overlay subtil */
  z-index: 1;
}

/* Centre le texte par-dessus l'image */
.portfolio-header {
  position: relative;
  text-align: center;
  color: white;               /* texte blanc pour contraster */
  z-index: 2;
}

.portfolio-header h1 {
  margin: 0.5rem 0;
  font-size: 3.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7); /* lisibilité */
}














/* On s'assure que le conteneur de la vignette est en relative */
.jg-entry {
  position: relative;
  overflow: hidden;
}


/* Rend le bandeau semi-transparent par défaut */
.jg-caption {
  background: rgba(0, 0, 0, 0.35);   /* 35% → très léger */
  color: white;
  padding: 12px 10px;
  text-align: center;
  font-size: 14px;
  
  /* Position de départ (cachée en bas) */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

/* Au survol : monte et reste légèrement transparent */
.jg-entry:hover .jg-caption {
  transform: translateY(0);
  opacity: 1;                        /* reste visible mais transparent */
}

/* Optionnel : encore plus transparent au départ, 100% visible au survol */
.jg-entry:hover .jg-caption {
  background: rgba(0, 0, 0, 0.35);   /* plus opaque au survol si tu veux */
}










































/* Hero container */
.hero-image-container {
  position: relative; /* Garder relative pour scroll normal */
  width: 100%;
  height: 400px;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
}

.hero-image {
  width: 100%;
  height: 120%; /* Plus haute que le conteneur pour avoir de la marge parallax (ajuste à 130% si besoin) */
  object-fit: cover;
  object-position: center top; /* Commence du haut pour que le décalage vers le bas montre plus de bas de l'image */
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform, opacity;
}

.hero-image.active {
  opacity: 1;
}

/* Profile section (superposé au bandeau) */
.profile-section {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  background: #ffffff; /* Fond blanc comme sur 500px */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-top: -60px; /* Réduit la superposition pour laisser plus d'espace */
  padding-top: 20px; /* Espace interne en haut pour descendre le contenu */
}

/* Photo de profil ronde, superposée */
.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  position: absolute;
  top: -60px; /* Monte sur le bandeau */
  left: 50%;
  transform: translateX(-50%); /* Centrage exact, même avec bordure */
  box-sizing: border-box;      /* IMPORTANT : inclut la bordure dans la largeur/hauteur */
  transition: transform 0.3s ease; /* Pour l'effet scroll */
}

/* Titre, location, bio, stats */
.profile-section h1 {
  font-size: 3rem;
  margin: 40px 0 5px 0; /* Espace pour la photo */
  color: #000;
}



.location {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 5px;
  
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  text-transform: none;
  color: rgb(34, 34, 34);
  font-family: "Outfit", "Helvetica Neue", HelveticaNeue, Helvetica, FreeSans, Arial, sansserif;
}

.location::before {
  content: url("data:image/svg+xml;utf8,<svg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M12 21C12 21 5 14.4183 5 9C5 5.13401 8.13401 2 12 2C15.866 2 19 5.13401 19 9C19 14.4183 12 21 12 21Z' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><circle cx='12' cy='9' r='3' stroke='%23666' stroke-width='2'/></svg>");
  margin-right: 6px;
  vertical-align: middle;
}

.bio {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;

font-size: 16px;
  line-height: 20px;
  letter-spacing: 0px;
  text-transform: none;

  color: rgb(34, 34, 34);
  text-align: center;
  font-family: "Outfit", "Helvetica Neue", HelveticaNeue, Helvetica, FreeSans, Arial, sansserif;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .hero-image-container {
    height: 300px;
  }
  
  .profile-photo {
    width: 100px;
    height: 100px;
    top: -50px;
  }
  

}




/* Clique droit */
/* ================================
   BUBBLE COPYRIGHT PREMIUM
================================ */

.copyright-bubble {
    position: fixed;
    padding: 10px 20px;
    border-radius: 28px;
    font-size: 15px;
    font-family: "Outfit", "Helvetica Neue", HelveticaNeue, Helvetica, FreeSans, Arial, sansserif;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #ffffff;
    pointer-events: none;
    z-index: 999999;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);

    opacity: 0;
    transform: translate(-50%, -60%) scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

/* Animation visible */
.copyright-bubble.show {
    opacity: 1;
    transform: translate(-50%, -60%) scale(1);
}
