* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

.main-header {
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 170, 0, 0.1);
}

/* Navigation-menu */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    gap: 4rem;
}

.logo {
    height: 55px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1);
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    text-align: center;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 1.1rem;
}

.main-nav a:hover {
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
    transform: translateY(-2px);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffaa00, #ff6b00);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

.main-nav a:hover::after {
    width: 80%;
}

/* Footer */
.main-footer {
    margin-top: 120px;
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    border-top: 1px solid rgba(255, 170, 0, 0.2);
}

footer {
    background-color: #111111;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    border-top: 3px solid #ff6b00;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h4 {
    color: #ff4444;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p {
    color: #b0b0b0;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: #b0b0b0;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 170, 0, 0.1);
}

.social-links a:hover {
    color: #ff4444;
    background: rgba(255, 0, 0, 0.1);
    transform: translateY(-3px);
}

@media (min-width: 768px) and (max-width: 1024px) {
    
.main-nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

  .main-nav .logo {
    width: 120px; /* logo plus petit sur tablette */
    height: auto;
  }

  .main-nav ul {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  .main-nav ul li {
    list-style: none;
  }

  .main-nav ul li a {
    font-size: 1rem;
    padding: 5px 10px;
    display: block;
  }

  /* ===== Footer ===== */
  .main-footer .footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }

  .main-footer .footer-section {
    flex: 1 1 30%;
    min-width: 200px;
  }

  .main-footer .footer-section h4 {
    font-size: 1.2rem;
  }

  .main-footer .footer-section p,
  .main-footer .social-links a {
    font-size: 0.95rem;
  }

  .main-footer .social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
}