/* ========================== FONTS ========================== */
@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* ========================== ROOT / THEME ========================== */
:root{
  --font-primary: "Cinzel Decorative", serif;
  --font-secondary: "Playfair Display", serif;
  --font-third: "Poppins", sans-serif;

  --primary-color: #c8a44d;
  --secondary-color: #8e533a;

  --white-color: #ffffff;
  --black-color: #171717;

  --background: #ffffff;
  --background2: #8e533a;

  --hover-color: var(--primary-color);

  /* aliases used across the site */
  --main-color: var(--primary-color);
  --tertiary-color: var(--white-color);
  --blackwhite-color: var(--black-color);

  /* toggle */
  --toggle-bg: var(--primary-color);
  --toggle-circle: #ffffff;

  /* submenu bg (requested: red) */
  --submenu-bg:  var(--primary-color);

  font-family: var(--font-third);
}

/* Dark mode (works if #dark-mode-toggle is inside <body>) */
body:has(.hidden:checked){
  --primary-color: #c8a44d;
  --secondary-color: #8e533a;

  --white-color: #171717;
  --black-color: #FBE4C5;

  --background: #171717;
  --background2: #c8a44d;

  --hover-color: #8e533a;

  --main-color: var(--primary-color);
  --tertiary-color: var(--white-color);
  --blackwhite-color: var(--black-color);

  --toggle-bg: #8e533a;
  --toggle-circle: #171717;

  --submenu-bg:  #8e533a;
}

/* ========================== BASE / RESET ========================== */
html, body{
  margin: 0;
  padding: 0;
  background-color: var(--background);
}

body{
  /* header fixed height */
  padding-top: 75px;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

strong{
  font-weight: 600 !important;
}

input{
  font-family: var(--font-secondary);
}

/* Links */
a{
  text-decoration: none;
  background: none;
  color: var(--secondary-color);
  font-weight: 500;
}

a:visited{
  color: var(--secondary-color);
}

a:hover,
a:focus{
  color: var(--hover-color);
  text-decoration: none;
  outline: none;
}

a:active{
  color: inherit;
}

/* ========================== TYPOGRAPHY ========================== */
h1,h2,h3,h4,h5{
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  color: var(--tertiary-color);
}

h2, h3{
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 50px;
  line-height: 36px;
  text-transform: lowercase;
  color: var(--primary-color);
}

h2{
  color: var(--primary-color);
}

@media (max-width: 875px) {
h2, h3{
    font-size: 35px;
    line-height: 30px;
    height: auto;
    margin-bottom: 10px;
}
}

h3{
  color: var(--secondary-color);
}

h4{
  font-size: 12px;
  color: var(--black-color);
  line-height: 14px;
  letter-spacing: 2px;
  font-family: var(--font-third);
  font-weight: 600;
  margin-bottom: 10px;
}

@media (max-width: 875px) {
h4{
    font-size: 12px;
    line-height: 4px;
}
}

h5{
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1px;
}

span{
  font-size: 18px;
  color: var(--black-color);
  line-height: 18px;
  letter-spacing: 1px;
  font-family: var(--font-third);
  text-transform: uppercase;
}

.lfdj-title strong{
  font-weight: 500 !important;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-size: 66%;
}

/* ========================== LAYOUT HELPERS ========================== */
.lfdj-maincontainer{
  color: var(--blackwhite-color);
  padding-top:0px!important;
}

.lfdj-midpage{
  margin-top: 5%;
  margin-bottom: 30px;
  opacity: 0;
}

.lfdj-hautdepage{
  margin-bottom: 10%;
  opacity: 0;
}

.lfdj-divtitle{
    margin-top: 75px;
    grid-column: 1/-1;
    margin: auto 10%;
}

.lfdj-title{
  margin: 0 auto;
  text-align: center;
}

.lfdj-title p{
  color: var(--black-color);
  font-family: var(--font-third);
  font-size: 12px;
  width: 75%;
  margin: 0 auto;
}

@media (max-width: 500px){
  .lfdj-title p{ width: 90%; }
}

/* Icon separators */
.lfdj-title-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--black-color);
  margin: 8px 0 !important;
}

.lfdj-title-icon::before,
.lfdj-title-icon::after{
  content: "";
  height: 2px;
  width: 50px;
  background-color: rgba(51,51,51,0.43);
}

.lfdj-title-icon::before{ margin-right: 15px; }
.lfdj-title-icon::after{ margin-left: 15px; }

/* ========================== HEADER / NAV ========================== */
/* Fixed sticky header */
#lfdj-sticky-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

/* background wrapper */
.lfdj-bg{
  position: relative;
  overflow: hidden;
  background-color: var(--background2);
}

/* TEST */

/* shared header link styles */
header a,
header i,
header button{
  color: var(--white-color) !important;
  font-family: var(--font-third);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
}

header a:hover,
header i:hover,
header button:hover {
color: white !important;
    font-weight: 600 !important;
}

.lfdj-main-shortcut {
    color: var(--toggle-bg) !important;
    padding: 5px 15px;
    border-radius: 25px;
    font-weight: 600;
}

.lfdj-nav-container{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 12px;
  min-height: 75px;
  align-items: center;
}

.lfdj-nav-pc{ display: grid; }

.lfdj-nav-grid{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    justify-content: space-between!important;
    align-items: center;
    justify-content: end;
    min-height: 75px;
    margin: 0 auto;
    width: 700px;
}

/* MOBILE nav */
.lfdj-nav-mobile{
  display: none;
  grid-template-columns: 1fr 1fr 50px;
  gap: 10px;
  align-items: center;
  margin: 0 auto;
  width: 90%;
}

.lfdj-mobile-home{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 25px;
}

/* burger dropdown */
.lfdj-dropdown{
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
}

.lfdj-burger{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: 0;
  font-size: 25px;
}

/* mobile panel */
.lfdj-dropdown-content{
  display: none;
  position: fixed;
  top: 75px;
  right: 0;
  z-index: 2147483647;
  min-width: 220px;
  padding: 10px;
  border-bottom-left-radius: 25px;
  background: var(--background2);
  border-top: 8px solid var(--white-color);
   overflow: visible; /* OBLIGATOIRE */
}

.lfdj-dropdown.open .lfdj-dropdown-content{
  display: block;
}

/* items */
.lfdj-dropdown-content a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Submenu (PC) */
.lfdj-submenu{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lfdj-submenu-btn{
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
      padding: 5px 15px;
    border-radius: 25px;
 background-color: var(--toggle-bg) !important;
}

/* Submenu panel (PC) */
.lfdj-submenu-content{
  display: none;
  position: fixed;
  top: 75px;
  z-index: 2147483647;
  min-width: 220px;
  padding: 10px;
  border-bottom-left-radius: 25px;
  background: var(--submenu-bg);
  border-top: 8px solid var(--white-color);
}

.lfdj-submenu:hover .lfdj-submenu-content,
.lfdj-submenu:focus-within .lfdj-submenu-content{
  display: block;
}

.lfdj-submenu-content a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.lfdj-mobile-subbtn{
    display: flex;
    border-radius: 5px;
    white-space: nowrap;
    background-color: var(--toggle-bg) !important;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    font: inherit;
    padding: 10px;
    cursor: pointer;
}

.lfdj-mobile-subcontent{
  background-color: var(--primary-color);
  border-radius: 8px;
  margin: 0 0 8px 0;
    max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.lfdj-mobile-subcontent.open {
  max-height: 300px; /* suffisant pour Roots + BB */
}

.lfdj-mobile-subcontent a{
  padding-left: 16px;
}



/* Responsive switch */
@media screen and (max-width: 1100px){
  .lfdj-nav-pc{ display: none !important; }
  .lfdj-nav-mobile{ display: grid !important; }
}

/* ========================== CONTENT BLOCKS ========================== */
.lfdj-bloc-text{
    max-width: 720px;
    margin: 0 auto 55px auto;
    color: var(--black-color);
    text-align: justify;
    text-align-last: center;
    font-size: 15px;
}

@media (max-width: 850px){
  .lfdj-bloc-text{
          margin: 0 10% 45px 10%;
        font-size: 14px;
       }
       .lfdj-hautdepage {
        margin-bottom: 25%;
    opacity: 0;
       }
}

/* ========================== SOCIALS ========================== */
.ldfj-socials{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin: 0 auto 55px auto;
    max-width: 550px;
}

@media (max-width: 850px){
  .ldfj-socials{
    max-width: 550px;
    margin: 35px 10% 0 10%;
  }
}

.ldfj-socials > *{
  flex: 1 1 100px;
  max-width: 100px;
}

.ldfj-socials a{
  width: 100%;
  text-align: center;
  font-size: 20px;
  margin: 0 auto;
  padding: 5px 0;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  color: var(--tertiary-color);
  border-radius: 8px;
  border: 2px dotted var(--primary-color);
}

.ldfj-socials i{ color: var(--white-color); }

.ldfj-socials a:hover{
  background-color: transparent;
  border: 2px solid var(--toggle-bg);
}

.ldfj-socials a:hover i{
  color: var(--secondary-color) !important;
}

/* network colors */
.ldfj-socials a.discord{ background-color: #7289da; }
.ldfj-socials a.mail{ background-color: #ea4335; }
.ldfj-socials a.facebook{ background-color: #1877F2; }
.ldfj-socials a.instagram{ background-color: #DD2A7B; }


.lfdj-calendar {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 55px auto;
}

@media (max-width: 875px) {
  .lfdj-calendar {
   padding: 0 10%;
        width: auto;
        max-width: none;
  }
}

.lfdj-calendar-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.lfdj-calendar-list li{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(141,141,141,.25);
}

.lfdj-calendar-list li strong{
  font-weight: 500 !important;
  color: var(--black-color);
}

/* ========================== MAP ========================== */
.lfdj-map{
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}

.lfdj-map iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ========================== HERO / IMAGES ========================== */
.lfdj-hero{
  width: 100%;
  margin-top: 25px;
}

.lfdj-hero-list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 700px;
    margin: 25px auto 55px auto;
    padding: 0;
}

.lfdj-hero-list img{
  aspect-ratio: 1/1;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

/* ========================== WAVES ========================== */
.lfdj-waves{
  display: block;
  margin: 0;
}

.waves{
  display: block;
  margin-top: -150px;
  width: 100%;
  height: 60px;
  z-index: 4;
}

.wave1 use{ animation: move-forever1 10s linear infinite; animation-delay: -2s; }
.wave2 use{ animation: move-forever2 12s linear infinite; animation-delay: -1s; }
.wave3 use{ animation: move-forever3 14s linear infinite; animation-delay: -2s; }

@keyframes move-forever1{
  from{ transform: translate3d(-90px,0,0); }
  to{ transform: translate3d(85px,0,0); }
}
@keyframes move-forever2{
  from{ transform: translate3d(-90px,0,0); }
  to{ transform: translate3d(85px,0,0); }
}
@keyframes move-forever3{
  from{ transform: translate3d(-90px,0,0); }
  to{ transform: translate3d(85px,0,0); }
}

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

.lfdj-footer{
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  text-transform: uppercase;
  font-family: var(--font-third);
  line-height: 12px;
  background-color: #171717;
  color: white;
  position: relative;
  z-index: 99;
  width: 100%;
}

.lfdj-footer .lfdj-footer-container{
  display: grid;
  grid-template-columns: 50% 50%;
  width: 90%;
  margin: 0 auto;
  color: inherit;
}

.lfdj-footer-left{ text-align: left; }
.lfdj-footer-right{ text-align: right; }

.lfdj-footer-container a{
  color: inherit;
}

.lfdj-footer-container a:hover{
  color: var(--main-color);
}

/* ========================== DARK MODE TOGGLE ========================== */
.hidden {
  display: none;
}

.toggle{
  display: inline-block;
  width: 60px;
  height: 24px;
  background: var(--toggle-bg);
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle::before{
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: var(--toggle-circle);
  border-radius: 50%;
  transition: transform 0.3s;
}

.hidden:checked + .toggle::before{
  transform: translateX(33px);
}


/* ========================== MAINTENANCE PAGE ========================== */
.lfdj-maintenance{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  margin: 0;
}

.lfdj-maintenance-logo{
  width: min(520px, 85vw);
  height: auto;
  display: block;
  margin: 0 auto 30px;
  max-width: none !important;
}

/* ========================== IMAGES ========================== */

/* Règle globale saine : n’écrase pas tes images */
img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* Image “hero” pleine largeur (bannière / gros visuel) */
.lfdj-hero{
  width: 100%;
  margin-top: 25px;
}

.lfdj-hero img{
    width: 50%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 8px;
}

/* Galerie / liste d’images carrées (icônes / photos) */
.lfdj-hero-list{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 700px;
  margin: 25px auto 0 auto;
  padding: 0;
}

.lfdj-hero-list img{
  aspect-ratio: 1/1;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

/* Si tu as un logo d’asso ou icône “petite” */
.lfdj-logo-img{
  width: 75px;
  height: 75px;
  object-fit: contain;
}

/* Option pratique : petites icônes inline dans le texte */
.lfdj-inline-img{
  display: inline-block;
  vertical-align: middle;
  height: 1.2em;
  width: auto;
}

.Widget--Footer {
    margin-top: 1rem;
    display:none!important;
}