/* =====================================================
   BASE
===================================================== */

body {
  font-family: "Verdana", serif;
  color: #111;
  background: #fff;
  opacity: 0;
  transition: opacity 0.5s ease-in;
}
.page-frame {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 25px;

    display: flex;
    flex-direction: column;    /* empile header + diaporama + contenu */
    align-items: center;       /* centre horizontalement */
    min-height: 100vh; /* prend toute la hauteur de la fenêtre */
}
.page-frame::before,
.page-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;

 background: rgba(0,0,0,0.12); /* très discret */
}
.page-frame::before,
.page-frame::after{
  border-bottom-left-radius:8px;
  border-bottom-right-radius:8px;
}

/* gauche */
.page-frame::before {
  left: -40px; /* espacement constant */
}

/* droite */
.page-frame::after {
  right: -40px; /* espacement constant */
}

/* ligne du bas */
.page-frame .footer-line{
  position: absolute;
  left: -40px;
  right: -40px;
  bottom: 0;
  height: 1px;
  background: rgba(0,0,0,0.12);
}
  


/* ================= HEADER GRID ================= */

.header-grid {
  position: sticky;
  top: 10px;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  width: 100%;
  margin: 15px 0;  
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;   /* 🔥 clé */
  align-items: center;
  column-gap: 0px;          /* espace entre gauche et droite */
  border: 0px solid rgba(0,0,0,0.25);
  border-radius: 8px;
}


/* ================= LEFT COLUMN ================= */

.header-left {
  display: flex;
  flex-direction: column;
}


/* ================= H1 ================= */

.header-left h1 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  
  margin: 0;
  padding: 5px 6px 4px;

  font-family: "Special Elite", cursive;
  font-size: 11px;
  font-weight: normal;

  width: fit-content;
  background: #FFFFFF;  
  border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-radius: 8px 8px 0 0; /* haut-gauche, haut-droite, bas-droite, bas-gauche */
}

.h1-logo {
  height: 15px;   /* 🔥 ajuste ici */
  width: auto;
  opacity: 0.6;
}
.title-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* 🔥 centrage du texte */
}
.photo  {
  font-size: 10px;
}

/* Permet au panneau de se positionner correctement */
.title-box{
  position: relative;
  overflow: visible;
  z-index: 2;
  background: white;
}
.title-box a{
  text-decoration: none;
  color: #000;
}

/* panneau caché */
.title-panel{

  position: absolute;
  top: 0;
  left: 100%;

  height: 100%;
  display: flex;
  align-items: center;

  padding: 0 40px;
  white-space: nowrap;

  z-index: 1;

  /* caché entièrement sous le H1 */
  transform: translateX(-100%);
  opacity: 0;

  transition: transform 0.95s cubic-bezier(.22,.61,.36,1), opacity 0.25s;
}
.title-panel img{
  height:17px;
  width:auto;
  opacity:0.7;
  transition:opacity 0.2s;
}

.title-panel a{
  display:inline-flex;
  align-items:center;
  margin-right:6px;
}
.title-panel a.mail{
  margin-right:30px;
}
.title-panel a:hover img{
  opacity:1;
}

.title-box:hover .title-panel{
  transform: translateX(0);
  opacity: 1;
}
.title-box::after{
  content:"";
  position:absolute;
  top:0;
  right:-6px;
  width:6px;
  height:100%;

  pointer-events:none;
}
/* ================= NAV LEFT ================= */

.nav-left {
  display: flex;
  justify-content: center;   /* centrage horizontal */
  align-items: center;       /* centrage vertical */

  border-top: 1px solid #000; /* 🔥 LA ligne, AU BON ENDROIT */
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;

}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;

}

.nav-links a {
  text-decoration: none;
  color: #000;
  padding: 4px 0 4px;
}

.nav-links a.active {                                                     
  font-style: italic;
  color: #FA4500;
}

.nav-links span {
  color: #FA4500;
  font-size: 10px;
}

.nav-links a:hover {
  color: #808080;
}

/* ================= NAV RIGHT ================= */

.nav-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding-left: 8px;
  padding-right: 6px;  
}

.nav-right::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #000;
}
.nav-right::after {
  top: 0;
  border-left: 1px solid #000;
  border-top: 1px solid #000;
  border-top-left-radius: 8px;
}
.nav-right::after,
.nav-right .corner-bottom {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
}
.corner-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  border-bottom-left-radius: 8px;
}
.nav-right .arrow {
color: #FA4500;               
}

.nav-right a {
  font-family: "Cutive Mono", monospace;
  font-size: 13px;
  text-decoration: none;
  color: #000;
}

.nav-right a:hover {
  color: #808080;
}
.nav-right a.active {                                                     
  color: #FA4500;
}
.nav-right #align-center {
  margin: 0;
}



.gallery a {
  overflow: hidden;          /* cache le débordement du zoom */
}

.gallery img {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery a:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}
.content {
   width:100%;
  max-width:700px;
  margin:auto;
  padding:2rem 1rem;
  text-align:center;
}
.content_pano {
  max-width: 800px;
  margin: auto;
  padding: 2rem 1rem;
}
.content_tri {
  max-width: 800px;
  margin: auto;
  padding: 2rem 1rem;
}
.content_bazar {
   width:100%;
  max-width:700px;
  margin:auto;
  padding:2rem 1rem;
  text-align:center;
}
.content_pano .gallery img {
margin-right: 2px;   /* espace spécifique */
}
.content_tri .gallery a {
margin-right: 20px;   /* espace spécifique */
}
.content_tri .gallery img {
border: 1px solid black;
margin-bottom: 20px;
}
.gallery a.horiz {
  margin-right: 3px;   /* espace spécifique */
}
.gallery a.horiz_pano {
  margin-right: 1px;   /* espace spécifique */
}
.gallery a.horiz_tri {
  margin-right: 20px;   /* espace spécifique */
}
.gallery a.horiz_bazar {
  margin-right: 1px;   /* espace spécifique */
}




