/* RESET ET VARIABLES */
:root {
    --noir: #0a0a0a;
    --vert: #3d6d3d;
    --vert-clair: #5a8d5a;
    --beige: #f5f1e6;
    --doré: #d4af37;
}

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

body {
    font-family: 'Playfair Display', serif;
    background-color: var(--noir);
    color: var(--beige);
    line-height: 1.6;
}

/* TYPOGRAPHIE */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: 1px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h2 {
    font-size: 2.2rem;
    color: var(--doré);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 2px;
    background: var(--vert);
}

/* STRUCTURE */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* HEADER */
header {
    background-color: rgba(10, 10, 10, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--vert);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container nav {
    flex: 1;
}

.header-container nav ul {
    
    justify-content: space-evenly; /* espace uniforme */
    width: 100%;
    padding: 0;
    margin: 0;
    align-items: center;
}


.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--beige);
    text-decoration: none;
}

.logo span {
    color: var(--vert);
}



/* Layout principal */
.maintenance {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #ffffff;
  padding: 1rem;
}

/* Carte centrale */
.card {
  max-width: 420px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.8s ease-out;
}

/* Icône */
.card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Titre */
.card h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Texte */
.card p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Petit message */
.card .hint {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
footer {
    background-color: #050505;
    padding: 40px 0 20px;
    text-align: center;
    border-top: 1px solid var(--vert);
}


/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }

}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display:none;
    }    
}