@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Boldonse&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* --- Reset des styles par défaut des navigateurs --- */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* --- Style Global --- */
#stars-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a0a1e 50%, #2d0a0a 100%);
}


* {
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    box-sizing: border-box; /* Crucial pour éviter les débordements */
}

html {
    overscroll-behavior: none;
    scroll-behavior: smooth;
}

body.no-scroll {
  overflow: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background-color: #F7F7F7;
    overflow-x: hidden; /* Empêche le scroll horizontal parasite */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: #7A1E2C;
}

img {
    max-width: 100%; /* L'image ne dépasse jamais son conteneur */
    height: auto;
    display: block;
}

/* --- Navigation --- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* ← toute la largeur */
  margin: 0;   /* ← supprime le margin qui décale */
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  box-sizing: border-box;
  z-index: 100;
}

.nav-logo {
    max-width: 150px;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    scale: 110%;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: auto;
}

.nav-links a {
    color: #F7F7F7;
}

.btn-pilot {
    background-color: #7A1E2C;
    padding: 10px 15px;
    border-radius: 10px;
    color: white;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-size: 15px;
    margin-left: 3rem;
}

.btn-pilot:hover {
    background-color: white;
    outline: 1.5px solid white;
    color: #7A1E2C;
    scale: 105%;
}

/* --- Style global titres ------ */

.main-content {
    padding-top: 120px;
    padding-bottom: 2rem;
    text-align: center;
}

.main-content h1 {
    color: #7A1E2C;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.main-content p {
    color: rgba(247, 247, 247, 0.5);
    font-size: 0.9rem;
}

/* --- Footer --- */

.footer {
    display: flex;
    flex-wrap: wrap; /* Important pour mobile */
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid rgba(122, 30, 44, 0.2);
    padding: 1rem;
    gap: 2rem;
    margin-top: auto;
    background-color: #0d1520;   /* bleu-nuit profond, accord avec le fond étoilé */
    border-radius: 5px;
}

.footer-logo {
    max-width: 150px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
    text-decoration: underline;
    font-size: 14px;
    color: #F7F7F7;
}

.footer-links a {
    color: #F7F7F7;
}

.footer-logos {
    display: flex;
    gap: 1.5rem;
    font-size: 24px;
    color: #F7F7F7;
}

.footer-logos a {
    color: #F7F7F7;
}

.footer-right {
    text-align: right;
    font-size: 12px;
}
.footer-adress a,
.footer-adress {
    color: #f7f7f7;
    margin-bottom: 1rem;
}

.footer-copyright p {
    color: #aaa;
}


/* --- MEDIA QUERIES --- */

@media (max-width: 768px) {
    nav {
        justify-content: center; /* Centre les éléments sur mobile */
        flex-direction: column;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }

    .header-content h1 {
        text-align: center;
    }
    
    .header-content p {
        text-align: center;
        br { display: none; } /* Enlever les retours à la ligne forcés sur mobile */
    }

    .main-text {
        text-align: center;
    }

    .btn-decouverte {
        margin-left: 0; /* On recentre le bouton */
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }
}

/* =======================================================
   BANDEAU COOKIE
   =======================================================*/

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1F3A5F;
  color: #F7F7F7;
  z-index: 9999;
  padding: 1rem 2rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-content a {
  color: #e8a0a8;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.cookie-btn-accept {
  background-color: #7A1E2C;
  color: white;
}

.cookie-btn-accept:hover {
  background-color: #5a1620;
}

.cookie-btn-refuse {
  background-color: transparent;
  color: #F7F7F7;
  border-color: #F7F7F7;
}

.cookie-btn-refuse:hover {
  background-color: rgba(255,255,255,0.1);
}