:root{
  --navy:#4169e1;
  --dark:#061d38;
  --gold:#c58a2a;
  --cream:#fbf8f2;
  --white:#ffffff;
  --shadow:rgba(0,0,0,.35);
}

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

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Times New Roman", Times, serif;
  color:var(--white);
}

img{
  max-width:100%;
}

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

.site-header{
  position:relative;
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:url("assets/heider.png") center / cover no-repeat;
}

.header-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,25,45,.35);
}

.header-content{
  position:relative;
  z-index:2;
  width:100%;
  padding:0 60px;
}

.brand{
  display:flex;
  align-items:center;
  gap:30px;
}

.logo img{
  display:block;
  width:280px;
  height:auto;
}

.site-title h1{
  margin:0;
  font-family:"Marcellus SC", serif;
  font-size:clamp(55px,7vw,90px);
  font-weight:400;
  line-height:1;
  color:var(--white);
  text-shadow:4px 4px 18px rgba(0,0,0,.60);
}
@media (max-width:700px){

  .site-header{
    min-height:130px;
  }

  .header-content{
    padding:0 20px;
  }

  .brand{
    gap:15px;
  }

  .logo img{
    width:150px;
  }

  .site-title h1{
    font-size:clamp(30px,7vw,44px);
  }

}

/* ================= MENU ================= */

.menu-btn{
  position:absolute;
  top:30px;
  right:30px;
  z-index:300;
  padding:0;
  border:0;
  background:none;
  color:var(--white);
  font-size:40px;
  cursor:pointer;
  transition:transform .3s ease;
}

.menu-btn:hover{
  transform:scale(1.1);
}

.side-menu{
  position:fixed;
  top:100px;
  right:-350px;
  z-index:200;
  padding:25px 30px;
  border-radius:14px;
  background:rgba(6,29,56,.92);
  box-shadow:0 10px 30px var(--shadow);
  transition:right .35s ease;
}

.side-menu.open{
  right:30px;
}

.side-menu a{
  display:block;
  padding:15px 5px;
  border-bottom:1px solid rgba(255,255,255,.15);
  color:var(--white);
  font-size:18px;
  text-decoration:none;
  transition:color .25s ease, padding-left .25s ease;
}

.side-menu a:last-child{
  border-bottom:0;
}

.side-menu a:hover{
  padding-left:18px;
  color:var(--gold);
}

.overlay{
  position:fixed;
  inset:0;
  z-index:150;
  visibility:hidden;
  opacity:0;
  background:rgba(0,0,0,.45);
  transition:opacity .3s ease, visibility .3s ease;
}

.overlay.open{
  visibility:visible;
  opacity:1;
}

/* ================= FOND GLOBAL ================= */

main{
  background:
    linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)),
    url("assets/hero-esteban1.png") center / cover fixed;
}

/* ================= ACCUEIL ================= */

.accueil{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
}

.accueil-voile{
  width:100%;
  max-width:900px;
  text-align:center;
}

.accueil .slogan{
  max-width:600px;
  margin:0 auto 60px;
  font-family:"Marcellus SC", serif;
  font-size:clamp(30px,4.5vw,50px);
  font-style:italic;
  font-weight:500;
  color:var(--white);
  text-shadow:3px 3px 18px rgba(0,0,0,.75);
}

.accueil .slogan span{
  display:block;
}

.accueil .slogan span:first-child{
  text-align:left;
}

.accueil .slogan span:last-child{
  margin-top:8px;
  text-align:right;
}

.accueil-texte{
  max-width:760px;
  margin:0 auto;
  padding:35px 40px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(0,0,0,.15);
  box-shadow:0 10px 35px rgba(0,0,0,.30);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  text-align:left;
}

.accueil-texte p{
  margin:0 0 16px;
  font-size:22px;
  line-height:1.5;
  color:var(--white);
  text-shadow:2px 2px 10px rgba(0,0,0,.70);
}

.accueil-texte p:last-child{
  margin-bottom:0;
}

/* ================= TITRES COMMUNS ================= */

.titre-section,
.titre-page{
  margin:0;
  font-family:"Marcellus SC", serif;
  font-weight:400;
  letter-spacing:2px;
  color:var(--white);
  text-align:center;
  text-shadow:3px 3px 15px rgba(0,0,0,.65);
}

.titre-section{
  margin-bottom:60px;
  font-size:clamp(30px,4.5vw,50px);
  font-style:italic;
}

.titre-page{
  margin-bottom:15px;
  font-size:clamp(42px,6vw,72px);
}

.sous-titre{
  margin:0 0 50px;
  font-family:"Cormorant Garamond", serif;
  font-size:24px;
  font-style:italic;
  color:var(--white);
  text-align:center;
  text-shadow:2px 2px 10px rgba(0,0,0,.70);
}

.texte-page{
  max-width:700px;
  margin:0 auto;
  text-align:left;
}

.texte-page p{
  margin:0 0 16px;
  font-size:18px;
  line-height:1.4;
  color:var(--white);
  text-shadow:2px 2px 10px rgba(0,0,0,.70);
}

/* ================= NAVIGATIONS ================= */

.navigations{
  min-height:100vh;
  padding:15px 8% 100px;
}

.masonry{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-auto-rows:180px;
  gap:22px;
}

.story-card{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  text-decoration:none;
  box-shadow:0 12px 35px var(--shadow);
}

.story-card.tall{
  grid-row:span 2;
}

.story-card.wide{
  grid-column:span 2;
}

.story-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .5s ease;
}

.story-text{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:25px;
  opacity:0;
  color:var(--white);
  background:linear-gradient(transparent, rgba(0,0,0,.78));
  transition:opacity .35s ease;
}

.story-card:hover img{
  transform:scale(1.08);
}

.story-card:hover .story-text{
  opacity:1;
}

.story-text h3{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  font-size:28px;
}

.story-text p{
  margin:8px 0 0;
  font-size:16px;
}

/* ================= PAGE DE RÉCIT ================= */

.page-navigation{
  min-height:100vh;
  padding:90px 8%;
}

.entete-page{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:25px;
}

.entete-page .titre-section{
  flex:2;
  margin:0;
}

.entete-page::after{
  content:"";
  flex:1;
}

.retour{
  flex:1;
  display:inline-block;
  color:var(--white);
  font-family:"Marcellus SC", serif;
  font-size:16px;
  text-decoration:none;
  text-shadow:2px 2px 10px rgba(0,0,0,.70);
  transition:color .3s ease, transform .3s ease;
}

.retour:hover{
  color:var(--gold);
  transform:translateX(-6px);
}

.video-page{
  max-width:900px;
  margin:0 auto 60px;
}

.video-page iframe{
  width:100%;
  aspect-ratio:16/9;
  border:0;
  border-radius:16px;
  box-shadow:0 15px 40px rgba(0,0,0,.45);
}

/* Texte à gauche, une photo à droite */

.recit-photo{
  max-width:1100px;
  margin:50px auto 0;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
  align-items:center;
}

.voile-fume{
  margin:0;
  padding:35px 40px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(0,0,0,.15);
  box-shadow:0 12px 35px rgba(0,0,0,.30);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.photo-recit img{
  width:100%;
  height:420px;
  display:block;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 12px 35px var(--shadow);
}

/* Récit illustré vertical */

.recit-illustre{
  max-width:900px;
  margin:45px auto 0;
}

.bloc-texte{
  max-width:900px;
  margin:35px auto;
  padding:30px 38px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(0,0,0,.15);
  box-shadow:0 12px 35px rgba(0,0,0,.30);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.bloc-texte p{
  margin:0 0 15px;
  font-size:19px;
  line-height:1.3;
  color:var(--white);
  text-shadow:2px 2px 10px rgba(0,0,0,.70);
}

.bloc-texte p:last-child{
  margin-bottom:0;
}

.photo-large,
.photo-moyenne{
  height:auto;
  display:block;
  border-radius:18px;
  box-shadow:0 12px 35px var(--shadow);
}

.photo-large{
  width:100%;
}

.photo-moyenne{
  width:65%;
  margin:40px 0;
}

.photo-droite{
  margin-left:auto;
}

.deux-photos{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin:40px 0;
}

.deux-photos img{
  width:100%;
  height:280px;
  display:block;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 12px 35px var(--shadow);
}

/* Navigation entre les chapitres */

.navigation-recits{
  max-width:1100px;
  margin:80px auto 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.navigation-recits a{
  color:var(--white);
  font-family:"Marcellus SC", serif;
  font-size:22px;
  text-decoration:none;
  transition:color .3s ease, transform .3s ease;
}

.navigation-recits a:hover{
  color:var(--gold);
}

.precedent:hover{
  transform:translateX(-6px);
}

.suivant:hover{
  transform:translateX(6px);
}

.navigation-droite{
  justify-content:flex-end;
}

/* ================= CONTACT ================= */

.page-contact{
  min-height:80vh;
  padding:80px 8%;
  text-align:center;
}

.contact-form{
  max-width:700px;
  margin:50px auto;
  padding:40px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:18px;
  background:rgba(0,0,0,.15);
  box-shadow:0 12px 35px rgba(0,0,0,.30);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.champ{
  margin-bottom:25px;
}

.champ label{
  display:block;
  margin-bottom:8px;
  color:var(--white);
  font-family:"Marcellus SC", serif;
  font-size:18px;
}

.champ input,
.champ textarea{
  width:100%;
  padding:14px 16px;
  border:0;
  border-radius:10px;
  background:rgba(255,255,255,.92);
  color:#222;
  font-family:"Times New Roman", Times, serif;
  font-size:18px;
}

.champ textarea{
  resize:vertical;
}

.contact-form button{
  display:block;
  margin:20px auto 0;
  padding:14px 35px;
  border:0;
  border-radius:10px;
  background:var(--gold);
  color:var(--white);
  font-family:"Marcellus SC", serif;
  font-size:18px;
  cursor:pointer;
  transition:background .3s ease, transform .3s ease;
}

.contact-form button:hover{
  background:#b17720;
  transform:translateY(-2px);
}

/* ================= RÉSEAUX SOCIAUX ================= */

.social-fixed{
  position:fixed;
  bottom:15px;
  left:50%;
  z-index:250;
  display:flex;
  gap:25px;
  transform:translateX(-50%);
}

.social-fixed a{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--white);
  font-size:23px;
  text-decoration:none;
  box-shadow:0 5px 18px rgba(0,0,0,.25);
  transition:transform .3s ease;
}

.social-fixed a:nth-child(1){
  color:#1877f2;
}

.social-fixed a:nth-child(2){
  color:#e4405f;
}

.social-fixed a:nth-child(3){
  color:#ff0000;
}

.social-fixed a:hover{
  transform:translateY(-4px) scale(1.15);
}

/* ================= FOOTER ================= */

.footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:30px;
  padding:23px 40px;
  border-top:1px solid rgba(255,255,255,.10);
  background:var(--dark);
}

.footer-copy{
  color:rgba(255,255,255,.70);
  font-size:14px;
}

.footer-links{
  display:flex;
  gap:12px;
}

.footer-links a{
  color:var(--white);
  font-family:"Marcellus SC", serif;
  font-size:15px;
  text-decoration:none;
  transition:color .3s ease;
}

.footer-links a:hover{
  color:var(--gold);
}

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

@media(max-width:900px){
  .masonry{
    grid-template-columns:repeat(2,1fr);
  }

  .story-card.wide{
    grid-column:span 2;
  }

  .recit-photo{
    grid-template-columns:1fr;
  }

  .photo-recit img{
    height:360px;
  }
}

@media(max-width:700px){
  .header-content{
    padding:0 25px;
  }

  .brand{
    gap:15px;
  }

  .logo img{
    width:150px;
  }

  .site-title h1{
    font-size:clamp(34px,9vw,52px);
  }

  .menu-btn{
    right:20px;
    font-size:34px;
  }

  .side-menu{
    top:85px;
    width:260px;
  }

  .accueil{
    padding:30px 22px;
  }

  .accueil-texte,
  .voile-fume,
  .bloc-texte,
  .contact-form{
    padding:25px 22px;
  }

  .accueil-texte p,
  .texte-page p{
    font-size:18px;
  }

  .titre-section{
    font-size:clamp(34px,9vw,50px);
  }

  .masonry{
    grid-template-columns:1fr;
    grid-auto-rows:240px;
  }

  .story-card.wide,
  .story-card.tall{
    grid-column:auto;
    grid-row:auto;
  }

  .entete-page{
    display:block;
  }

  .entete-page::after{
    display:none;
  }

  .retour{
    margin-bottom:25px;
  }

  .photo-moyenne{
    width:100%;
  }

  .deux-photos{
    grid-template-columns:1fr;
  }

  .deux-photos img,
  .photo-recit img{
    height:auto;
  }

  .navigation-recits{
    flex-direction:column;
    align-items:stretch;
  }

  .navigation-recits .suivant{
    text-align:right;
  }

  .footer{
    justify-content:center;
    text-align:center;
  }

  .footer-links{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
  }
}
/* ================= PAGE STEHAN ================= */

.page-stehan{

    max-width:1200px;
    margin:0 auto;
    padding:80px 8%;

}

.presentation-stehan{

    display:grid;
    grid-template-columns:420px 1fr;

    gap:20px;

    align-items:center;

}

.photo-stehan{

    float:right;

    width:360px;

    margin:0 0 25px 35px;

    border-radius:18px;

    box-shadow:0 12px 35px rgba(0,0,0,.35);

}

.texte-stehan{

    background:rgba(0,0,0,.15);

    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);

    padding:35px 40px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.12);

}

.texte-stehan p{

    font-family:"Times New Roman", serif;

    font-size:19px;

    line-height:1.3;

    color:white;

    margin-bottom:15px;

    text-shadow:2px 2px 10px rgba(0,0,0,.70);

}

.texte-stehan p:last-child{

    margin-bottom:0;

}
.texte-stehan::after{
    content:"";
    display:block;
    clear:both;
}
.video-recit{
    max-width:900px;
    margin:50px auto 35px;

    display:grid;
    grid-template-columns:380px 1fr;
    gap:35px;
    align-items:center;
}

.resume-video{
    padding:30px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:18px;
    background:rgba(0,0,0,.15);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

.resume-video p{
    margin:0 0 20px;
    font-size:19px;
    line-height:1.5;
}

.miniature-video img{
    width:100%;
    display:block;
}

@media(max-width:750px){
    .video-recit{
        grid-template-columns:1fr;
    }
}
.play-button{
    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    width:80px;
    height:80px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(0,0,0,.60);

    color:white;
    font-size:34px;

    z-index:2;
}
.miniature-video{
    position:relative;
    overflow:hidden;
    display:block;
    border-radius:18px;
}