/* POLICE ECRITURE */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* FOND DE PAGE */

body{
  background:#050505;
  color:white;
}


/* ===============================
              TOP BAR
================================ */


.topbar{
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;

  background:
    linear-gradient(
      135deg,
      rgba(0,0,0,0.95) 0%,
      rgba(25,18,5,0.9) 45%,
      rgba(0,0,0,0.95) 100%
    );

  box-shadow: 0 10px 40px rgba(0,0,0,.7);
}

.topbar-inner{
  max-width:1300px;
  margin:auto;
  padding:14px 28px;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
}

.nav{
  display:flex;
  gap:18px;
  justify-self:start;
}

.nav-item{
  padding: 8px 14px;

  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;

  color: rgba(255,255,255,.65);
  text-decoration: none;

  border-radius: 8px;

  background: transparent;
  border: 1px solid transparent;
  outline: none;

  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease;
}

.nav-item:hover{
  color: #ffffff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}


/* CATEGORIE */


.nav-item:focus,
.nav-item:active{
  background: transparent;
  border-color: transparent;
  color: rgba(255,255,255,.65);
}

.brand{
  justify-self:center;
  text-align:center;
  font-weight:bold;
  letter-spacing:.25em;
  transform: translateX(-10px);
}


/* ===============================
                HERO
================================ */


.hero-holocube{
  height:100vh;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,.95)),
    url("../images/background.png") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:radial-gradient(circle, rgba(0,0,0,0) 45%, rgba(0,0,0,.85) 100%);
}

.hero-content{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
  text-align:center;
}

.hero-logo{
  transform: translateX(0px);
  width:420px;
  max-width:90%;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.8));
}

.hero-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 46px;
  min-width: 160px;

  font-size: 1.05rem;
  font-weight: 700;

  color: #7a3f00;
  text-decoration: none;

  border-radius: 10px;
  border: 1px solid #f7c45f;

  text-align: center;
  line-height: 1;

  margin-top: 6px;
  
  background: linear-gradient(
    to bottom,
    #ffd978 0%,
    #f7b84a 55%,
    #f1a933 100%
  );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    0 6px 0 #c68c25,
    0 18px 36px rgba(0,0,0,.65);
}

.hero-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(0,0,0,.08),
    0 7px 0 #c9892b,
    0 24px 44px rgba(0,0,0,.65);
}

.hero-btn:active{
  transform: translateY(4px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    0 2px 0 #c68c25,
    0 10px 20px rgba(0,0,0,.6);
}

.hero-btn-wrap{
  transform: translateX(-17px); /* TON décalage */
}

.hero-ip{
  margin-top:10px;
  font-size:16px;
  letter-spacing:.32em;
  opacity:.7;
  text-align:center;
  transform: translateX(-18px);
}


/* ===============================
      SERVER INFO SECTION
================================ */


.server-info-section{
  padding-top: 60px;
  padding-bottom: 60px;
  background: #121212;
}


/* ===============================
      TITRE AU-DESSUS DES BOX
================================ */


.legal-tabs{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.legal-tab{
  background: #2a2a2a;
  color: #f3b63d;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* Onglet actif (sans cadre) */
.legal-tab.active{
  background: #1f1f1f;
  box-shadow: none;
}

/* Cadre UNIQUEMENT AU SURVOL (actif ou non) */
.legal-tab:hover{
  background: #333;
  box-shadow: inset 0 0 0 2px #f3b63d;
  transform: translateY(-2px);
}

.faq-content h2 {
  font-size: 32px;
  margin-bottom: 40px;
  margin-top: 20px;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.faq-item {
  margin-bottom: 40px;
  max-width: 800px;
}

.faq-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.faq-item p {
  opacity: 0.85;
  line-height: 1.6;
}

.faq-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #f5b942;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ===== FAQ CENTER ===== */

.faq-content {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centre le bloc */
  text-align: left;      /* garde le texte lisible */
}

.faq-item {
  width: 100%;
  max-width: 800px;
}

.faq-date{
  max-width: 800px;
  margin: 60px auto 0 auto; /* centre + espace au-dessus */
  text-align: center;
  font-size: 14px;
  opacity: 0.6;
}

.faq-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #000;

  background: linear-gradient(
    135deg,
    #f6c453 0%,
    #f2a900 100%
  );

  box-shadow: 0 6px 20px rgba(242, 169, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

h3 {
  color: #f3b63d;
  text-align: center;
}

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


.site-footer{
  background:
    linear-gradient(
      135deg,
      rgba(0,0,0,0.98) 0%,
      rgba(30,20,5,0.95) 45%,
      rgba(0,0,0,0.98) 100%
    );

  color: #cfcfcf;
  padding: 80px 24px 30px;
  font-size: 14px;
}

.footer-inner{
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 60px;
  align-items: start;
}

/* Logo */
.footer-brand img{
  width: 160px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.8));
}

/* Colonnes */
.footer-col h4{
  font-size: 12px;
  letter-spacing: .18em;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col a{
  display: block;
  color: #9f9f9f;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .15s ease;
}

.footer-col a:hover{
  color: #f3b63d;
}

/* Réseaux */
.footer-socials{
  display: flex;
  gap: 18px;
  font-size: 20px;
}

.footer-socials a{
  color: #bfbfbf;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.footer-socials a:not(.footer-icon):hover{
  color: #f3b63d;
  transform: translateY(-2px);
}


/* Bas de footer */
.footer-bottom{
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #8f8f8f;
}

.footer-links a{
  color: #8f8f8f;
  text-decoration: none;
  margin-left: 16px;
}

.footer-links a:hover{
  color: #f3b63d;
}

/* Responsive */
@media (max-width: 900px){
  .footer-inner{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-socials{
    justify-content: flex-start;
  }

  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links a{
    margin-left: 0;
    margin-right: 16px;
  }
}


/* ===== FIX DEFINITIF ICONES FOOTER ===== */

/* Annule toute couleur héritée des <a> */
.footer-socials a{
  color: inherit;
}

/* Couleur par défaut des SVG */
.footer-socials a svg{
  fill: #ffffff !important;
  transition: fill .15s ease, transform .15s ease;
}

/* Discord */
.footer-socials a.footer-icon:hover svg{
  fill: #5865F2 !important;
  transform: translateY(-2px);
}

/* Twitter */
.footer-socials a.footer-twitter:hover svg{
  fill: #1DA1F2 !important;
  transform: translateY(-2px);
}

/* Supprime tout fond / focus */
.footer-socials a,
.footer-socials a:hover,
.footer-socials a:focus,
.footer-socials a:active{
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* FOOTER BOTTOM - LIENS PROPRES */

.footer-bottom a,
.footer-bottom a:visited{
  color: #8f8f8f;        /* même couleur que le texte */
  text-decoration: none; /* enlève le soulignement */
}

.footer-bottom a:hover{
  color: #f3b63d;        /* jaune au hover (comme ton thème) */
  text-decoration: none;
}

/* ===============================
            SLIDE
================================ */

.slider-container{
  position: relative;
  overflow: visible;
  margin: 30px auto 0;
  max-width: 900px;
}

.slider{
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}


/* ===============================
            BOUTONS SLIDER
================================ */


.slider-btn,
.slider-fullscreen-btn{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.9);
  outline: none;
  z-index: 100;
  cursor: pointer;
  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.slider-btn:hover,

.slider-btn:focus,
.slider-btn:active,
.slider-btn:focus-visible,
.slider-fullscreen-btn:focus,
.slider-fullscreen-btn:active,
.slider-fullscreen-btn:focus-visible{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.9);
  outline: none;
  box-shadow: none;
}

.slider-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.slider-btn.prev{ left: -40px; }
.slider-btn.next{ right: -40px; }

.slider-viewport{
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* ===== SLIDE FIX FINAL ===== */

.slide{
  flex: 0 0 100%;
  width: 100%;
  height: 420px;           /* DESKTOP */
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   IMAGE FULLSCREEN AU CLIC
================================ */

.image-fullscreen{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

.image-fullscreen.active{
  display: flex;
}

.image-fullscreen img{
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 12px;
}

/* Curseur zoom */
.slide img{
  cursor: zoom-in;
}


/* ===============================
      MOBILE – PROJET / SLIDER
================================ */


@media (max-width: 768px) {

  .slide{
    height: 240px;
  }

  .slider-container{
    max-width: 100%;
  }

  .slider-btn.prev{
    left: 10px;
  }

  .slider-btn.next{
    right: 10px;
  }

  /* Anti swipe global */
  html, body{
    overflow-x: hidden;
    width: 100%;
  }

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

  .topbar{
    position: relative;
    width: 100%;
  }

  .topbar-inner{
    max-width: 100%;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  /* Titre HOLOCUBE en PREMIER */
  .brand{
    order: -1;
    transform: none !important;
    margin-bottom: 6px;
  }

  /* Navigation sous le titre */
  .nav{
    order: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Neutralisation des offsets desktop */
  .hero-btn-wrap,
  .hero-ip{
    transform: none !important;
  }

  /* ===== HERO ===== */

  .hero-holocube{
    height: auto;
    min-height: 100vh;
    padding-top: 120px;
  }

  .hero-logo{
    width: 260px;
  }

  .hero-ip{
    font-size: 13px;
    letter-spacing: .2em;
  }

  /* ===== CONTENU PROJET ===== */

  .server-info-section{
    padding-top: 60px;
    padding-bottom: 60px;
  }

  h2{
    font-size: 24px;
    text-align: center;
  }

  h3{
    font-size: 18px;
  }

  /* ===== SLIDER ===== */

  .slider-container{
    max-width: 100%;
    margin-top: 20px;
  }

  .slider-btn.prev{
    left: 10px;
  }

  .slider-btn.next{
    right: 10px;
  }
}
