@media (max-width: 900px) and (orientation: landscape) {
  .mobile-landscape-blocker {
    display: flex !important;
    position: fixed;
    z-index: 99999;
    font-family: "Montserrat", sans-serif;
    color: #310439;
    top: 0; left: 0; right: 0; bottom: 0;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    text-align: center;
    padding: 2em;
  }
  body *:not(.mobile-landscape-blocker) {
    display: none !important;
  }
}
/* Styles généraux du body */
body {
    background: linear-gradient(135deg, #dfcfec 0%, #f8f4f0 100%);
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    color: #210327;
}

.header-bar {
  background-color: #ffffff88 !important;
    box-shadow: white 0px 0px 15px 5px !important;
      backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

    width: 100%;
    height: 150px;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box; /* Empêche le débordement */
    text-align: center;
    box-shadow: 0 2px 12px #a97bcf8e;
    z-index: 100;
}

.header-bar h1 {
    font-family: "Pinyon Script", sans-serif;
    color: #310439;
    font-weight: 600; /* Ajouté pour un poids de police plus léger */
    font-size: 75px;
    text-align: center; /* Ajout pour centrer le texte horizontalement */
    margin-top: 20px; /* Ajustez cette valeur pour le centrage vertical */
  
}
.header-bar h2 {  
    
    font-family: "Cormorant Garamond", sans-serif;
    color: #4A0755;
    font-size: 20px;
       font-weight: 1000; /* Ajouté pour un poids de police plus léger */
    text-align: center; /* Optionnel, déjà hérité de .header-bar */
    position : relative;
    bottom: 70px;
    right: -90px;

  
   
    
} 
 .hint-flottant {
  display: inline-block;
  padding: 8px 24px;
  margin-top: 10px;
  font-size: 16px;
  font-family: 'Montserrat', serif;
  text-align: center;
  opacity: 1;
  pointer-events: none;
  position: relative;
  z-index: 3;
   background: #310439;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-radius: 32px;
  box-sizing: border-box;
}
.hint-flottant::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 2px;
   background: linear-gradient(90deg, #7a3fa6 0%, #b18be0 40%, #d9baff 80%, #7a3fa6 100%);
  background-size: 200% 200%;
  z-index: -1;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-gold-anim 3s linear infinite;
}
@keyframes border-gold-anim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.intro-text {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #500e5e;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections des arcanes */
.arcanes-section {
    margin-top: 200px;
}

.arcanes-section h2 {
    font-family: "Lavishly Yours", serif;
    color: #500e5e;
    font-size: 60px;
    text-align: center;
    margin-bottom: 20px;
}

.section-description {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #500e5e;
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 0 20px;
}

/* Sections par famille (Coupes, Bâtons, etc.) */
.famille-section {
    margin-top: 60px;
}

.famille-section h3 {
    font-family: "Lavishly Yours", serif;
    color: #210327;
    font-size: 45px;
    text-align: center;
    margin-bottom: 15px;
}

.famille-description {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #500e5e;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 0 20px;
}

/* Grille des cartes */
.cartes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.carte-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.carte-link img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.carte-link span {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #210327;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
}

.carte-link:hover {
    transform: translateY(-10px);
}

.carte-link:hover img {
    transform: scale(1.05);
}

/* Bouton retour */
.retour-accueil {
    text-align: center;
    margin: 60px 0 40px;
}

.retour-accueil a {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #500e5e;
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid #500e5e;
    border-radius: 25px;
    transition: all 0.3s;
    display: inline-block;
}

.retour-accueil a:hover {
    background-color: #500e5e;
    color: white;
    transform: scale(1.05);
}


@media (max-width: 600px) {
    .header-bar {
    height: 111px !important;
    min-height: 111px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    }
    .header-bar h1 {
        font-size: 48px !important;
        margin: 0 !important;
    }
    .header-bar h2 {
        font-size: 16px !important;
        right: -50px !important;
        bottom: 10px !important;
        margin: 0 !important;
    }
  .hint-flottant {
         font-size: 13px !important;
 padding: 11px 15px !important;
    bottom: 20px !important;
  } 
  /* Sections des arcanes */
.arcanes-section {
    margin-top: 140px!important;
}
  }
  /* Tablette : 601px à 900px */
@media (min-width: 601px) and (max-width: 1200px) {
      .hint-flottant {
         font-size: 18px !important;

  } 
  
h1.header-title {
    font-size: 75px !important;
    
  }

h2.header-title{
    font-size: 24px !important;
    left: 75px !important;


  }
}
@media (min-width: 1300px) and (max-width: 2000px) {

.header-bar 
  {
    height: 180px !important;
    min-height: 180px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
 
  }
  .header-bar h1 {
    font-size: 100px !important;
   
  }
  .header-bar h2 {
   font-size: 27px !important;
    left: 110px !important;
    top : -91px !important;
 }


  }
  