/* =========================
   RESGAK (OTF)
   ========================= */
@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-LightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-MediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-SemiBoldItalic.otf") format("opentype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Resgak";
  src: url("fonts/Resgak-BlackItalic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
/* =========================
   LEAGUE GOTHIC (Variable TTF)
   ========================= */
/* Si c'est bien une variable font (wdth), on peut déclarer un range.
   Et utiliser font-stretch pour la largeur. */
@font-face {
  font-family: "League Gothic";
  src: url("fonts/LeagueGothic-Regular-VariableFont_wdth.ttf") format("truetype");
  font-weight: 100 900;      /* si supporté par le fichier */
  font-stretch: 50% 200%;    /* si le fichier expose wdth */
  font-style: normal;
  font-display: swap;
}



body {
  height: 100vh;
  display: flex;
  background: #f4f4f4;
   font-size: 18px;

  font-family: "Resgak", sans-serif;
  font-weight: 400;   
  font-style: normal;
}


/* === BLOCS PRODUITS === */

.produits {
  display: flex;
  flex-direction: column;
  padding: 2rem;              /* même padding que section */
  max-width: 1000px;           /* même largeur centrale que sur index */
  margin: auto;               /* centre le contenu horizontalement */
margin-top: 0; /* bien collé sous le header */
padding-top: 0px;}
.bloc-produit {
  display: flex;
  width: 100%;
  height: 65vh;
  border-bottom: 0px solid #000; 
  background-color: transparent;
}

.image-produit {
  flex: 1;
  height: 100%;
}

.image-produit img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* affiche toute l’image */
  background-color: #f4f4f4; /* couleur de fond autour si l’image ne remplit pas tout */
    padding: 0.8rem;            /* ← marge interne autour de l’image */
}

.texte-produit {
  flex: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/*.texte-produit h2 {
  margin-bottom: 1rem;
  font-family: league;
}
*/

.texte-produit p {
  max-width: 100%;
}

.btn-commander {
  margin-top: 0rem;   /* au lieu de 1.5rem */
}


.bloc-produit {
  height: auto;
}

.image-produit img {
  height: auto;
  object-fit: contain; /* ok */
}

.image-produit img {
  padding: 0;
}

.image-produit {
  padding: 2rem;
}

.texte-produit {
  padding: 2rem;
}


/* === BOUTON "COMMANDER" discret et éditorial === */
.btn-commander {
  margin-top: 0rem;
  align-self: flex-start;
  background: none;               /* pas de fond coloré */
  color: black;                    /* couleur texte sobre */
  border: 1px solid rgba(0,0,0,0.9);       
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.btn-commander:hover {
  background: #f0f0f0;            /* léger fond au survol */
  border-color: black;
  color: black;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .bloc-produit {
    flex-direction: column;
    height: auto;
  }

  .image-produit{   width: 50%;
    padding-left:  0;
  margin-left: 0 ;}
  .texte-produit {
    width: 100%;    
    padding-left:  0;
  margin-left: 0 ;
  }

  .texte-produit {
    padding: 0rem;
  }
}

/* ===== STYLE TITRES 2 ===== */
h2 {
  text-align: left;
  padding-right: 2vh;
   width: 100%;
   line-height: 1.3;
     background: transparent;
       font-family: "Resgak", sans-serif;
  font-weight: 700;   /* Bold */
  font-style: normal;
}



/* 1) Empêche le scroll global */
html, body{
  height: 100%;
  overflow: hidden;
}

/* 2) Les colonnes ne scrollent pas */
.menu,
.anim{
  overflow: hidden;
}

/* 3) Seule la colonne centrale scroll */
.main{
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;

  /* important avec flex + hauteur fixe */
  min-height: 0;
}

/* 4) Scrollbar invisible (Chrome/Safari/Edge) */
.main::-webkit-scrollbar{
  width: 0;
  height: 0;
}

/* 5) Scrollbar invisible (Firefox) */
.main{
  scrollbar-width: none;
}

/* 6) Scrollbar invisible (anciens Edge/IE) */
.main{
  -ms-overflow-style: none;
}

#contact-text {
  display: none;
  margin-top: 0.6em;
 font-size: 1.2rem;  
  line-height: 1.3;
  font-family: "League Gothic", sans-serif;
}

#contact-text { display: none; }
#contact-text.is-open { display: block; }

@media (max-width: 900px) {

  /* cache complètement la colonne Anim */
  .anim {
    display: none !important;
  }

  /* cache complètement le header */
  header {
    display: none !important;
  }


@media (max-width: 700px){
  .page-boutique .produits{
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 400px){
  .image-produit img{
    max-width: none;   /* ← clé */
    width: 120%;
  }
}
