
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --background: #080d1a;
  --background-light: #101a2d;
  --gold: #d9ad5b;
  --gold-light: #f0cc83;
  --white: #f5f5f5;
  --muted: #aab2c2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

/* EN-TÊTE */

.header {
  min-height: 85px;
  padding: 15px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  background: #080d1a;
  border-bottom: 1px solid rgba(217, 173, 91, 0.2);
  position: relative;
  z-index: 10;
}

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

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.brand-name sup,
.footer-brand sup {
  color: var(--gold);
  font-size: 0.48rem;
  letter-spacing: 1px;
  margin-left: 6px;
  vertical-align: super;
}

.brand-name small {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

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

.navigation a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.25s;
}

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

/* ACCUEIL */

.hero {
  min-height: 650px;
  padding: 100px 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(5, 9, 20, 0.48), rgba(5, 9, 20, 0.83)),
    url("assets/fond-accueil.png") center / cover no-repeat;
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 8px;
  line-height: 1.2;
}

.hero h2 {
  color: var(--gold-light);
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin: 15px 0;
}

.hero p {
  color: #d0d5df;
  max-width: 650px;
  margin: 15px auto 30px;
}

/* BOUTONS */

.main-button,
.card-button {
  display: inline-block;
  background: var(--gold);
  color: #111827;
  font-weight: 800;
  padding: 13px 25px;
  border-radius: 30px;
  transition: background 0.25s, transform 0.25s;
}

.main-button:hover,
.card-button:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* SECTIONS */

.section {
  padding: 90px 8%;
  text-align: center;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 20px;
}

.intro {
  max-width: 950px;
  margin: auto;
}

.intro p:last-child {
  color: var(--muted);
}

/* CARTES DES UNIVERS */

.univers {
  background: var(--background-light);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 45px;
  text-align: left;
}

.card {
  overflow: hidden;
  border-radius: 20px;
  background: #0a1120;
  border: 1px solid rgba(217, 173, 91, 0.18);
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

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

.card-content {
  padding: 23px;
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
}

.card h3 {
  font-size: 1.15rem;
  margin: 14px 0 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.card-button {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* SECTION REJOINDRE LE SERVEUR */

.server-section {
  background:
    linear-gradient(rgba(8, 13, 26, 0.75), rgba(8, 13, 26, 0.88)),
    url("assets/banniere-accueil.png") center / cover no-repeat;
}

.server-section > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 25px;
}

.server-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* BOUTON IP */

.ip-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  border: 1px solid var(--gold);
  border-radius: 30px;
  background: #111c30;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.25s;
}

.ip-button:hover {
  background: #1b2a43;
}

.copy-label {
  color: var(--gold);
}

.copy-message {
  min-height: 25px;
  margin-top: 15px !important;
  color: var(--gold-light) !important;
  font-size: 0.85rem;
}

/* PIED DE PAGE */

.footer {
  padding: 35px 7%;
  text-align: center;
  border-top: 1px solid rgba(217, 173, 91, 0.2);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-brand {
  display: inline-block;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* PAGES DE PRÉSENTATION */

.detail-hero {
  min-height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 8%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.detail-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
}

.detail-hero p {
  color: #e1e4eb;
  max-width: 650px;
  margin: 15px auto;
}

.detail-content {
  max-width: 1000px;
  margin: auto;
}

.detail-content p {
  color: var(--muted);
  margin: 15px 0;
}

/* GALERIES D'IMAGES */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 35px;
}

.gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
}

/* BOUTON RETOUR */

.back-button {
  display: inline-block;
  margin-top: 35px;
  padding: 12px 25px;
  background: var(--gold);
  color: #111827;
  border-radius: 30px;
  font-weight: 800;
  transition: background 0.25s, transform 0.25s;
}

.back-button:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* VERSION MOBILE */

@media (max-width: 750px) {

  .header {
    flex-direction: column;
    padding: 18px 5%;
  }

  .navigation {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .navigation a {
    font-size: 0.75rem;
  }

  .hero {
    min-height: 550px;
    padding: 75px 6%;
  }

  .section {
    padding: 65px 6%;
  }

}
