@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 --- */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

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

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

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

body.no-scroll {
  overflow: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a0a1e 50%, #2d0a0a 100%);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   NAVIGATION DESKTOP
   ============================================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  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: opacity 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%;
}

#lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.5rem;
}

.lang-option {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #F7F7F7;
    font-size: 1.15rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lang-option:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
}

.lang-option.active {
    background: rgba(122, 30, 44, 0.88);
    border-color: #7A1E2C;
}

/* ============================================================
   BOUTON HAMBURGER  (caché sur desktop)
   ============================================================ */

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(247, 247, 247, 0.85);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger-btn.open span:nth-child(2) {
    opacity: 0;
}
.burger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   OVERLAY
   ============================================================ */

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ============================================================
   SIDEBAR STYLE BOARDING PASS
   ============================================================ */

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    z-index: 210;

    background: rgba(10, 16, 26, 0.70);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-left: 0.5px solid rgba(255, 255, 255, 0.10);

    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 80px 0 32px;
    overflow-y: auto;
}

.sidebar.open {
    right: 0;
}

.sidebar-header {
    padding: 0 20px 16px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.sidebar-header img {
    max-width: 100px;
    opacity: 0.85;
}

.sidebar-nav {
    list-style: none;
    flex: 1;
    padding: 0;
    margin: 0;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: rgba(247, 247, 247, 0.75);
    font-size: 15px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-nav li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #F7F7F7;
}

.sidebar-nav li.active a {
    color: #e8a0a8;
    background: rgba(122, 30, 44, 0.15);
    border-left: 2px solid #7A1E2C;
    padding-left: 18px;
}

/* Séparateur style découpe boarding pass */
.sidebar-divider {
    position: relative;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 12px 0;
}

.sidebar-divider::before,
.sidebar-divider::after {
    content: '';
    position: absolute;
    top: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0d1b2a;
    border: 0.5px solid rgba(255, 255, 255, 0.08);
}

.sidebar-divider::before { left: -16px; }
.sidebar-divider::after  { right: -16px; }

.sidebar-cta {
    margin: 16px 20px 0;
}

.sidebar-cta a {
    display: block;
    background-color: #7A1E2C;
    color: white;
    text-align: center;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 14px;
    transition: background 0.25s ease, scale 0.2s ease;
}

.sidebar-cta a:hover {
    background-color: #9a2438;
    scale: 1.02;
}

/* ============================================================
   CONTENU PRINCIPAL
   ============================================================ */

.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;
    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;
    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 MOBILE
   ============================================================ */

@media (max-width: 768px) {

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .nav-links,
    .btn-pilot,
    #lang-toggle {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .header-content h1 {
        text-align: center;
    }

    .header-content p {
        text-align: center;
    }

    .header-content p br {
        display: none;
    }

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

    .btn-decouverte {
        margin-left: 0;
    }

    .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);
}
