/* ================================================================
   PUBLIC.CSS - VolDirect-Comores - Pages publiques
   ================================================================ */

/* ===== FLATPICKR - Dates avec vols ===== */
.flatpickr-day.has-flight {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    font-weight: 600;
}
.flatpickr-day.has-flight:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}
.flatpickr-day.has-flight.selected {
    background: #1a1a2e;
    border-color: #1a1a2e;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1a1a2e;
    background: #f0f4f8;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; }

/* ===== NAVBAR (pages internes) ===== */
.navbar {
    height:90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 48px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.navbar-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1a1a2e;
}
.navbar-logo img { height: 100px; }
.navbar-nav {
    display: flex;
    gap: 32px;
    list-style: none;
}
.navbar-nav a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a2e;
    transition: color 0.2s;
}
.navbar-nav a:hover { color: #2563eb; }

/* Hamburger toggle */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}
.navbar-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.navbar-toggle span + span { margin-top: 5px; }
.navbar-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== CONTAINER ===== */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px;
}
.container-sm { max-width: 720px; }
.container-xs { max-width: 640px; text-align: center; }

/* ===== CARDS ===== */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 24px;
    overflow: hidden;
}
.card-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 16px;
    font-weight: 700;
}
.card-body { padding: 24px; }

/* ===== ALERTS ===== */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
}
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #e0f2fe; color: #075985; border: 1px solid #bae6fd; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }

/* ===== BUTTONS ===== */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
    margin-bottom: 20px;
}
.btn-back:hover { background: #2563eb; }

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
    margin-top: 16px;
}
.btn-home:hover { background: #2563eb; }

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #CE1126;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}
.btn-submit:hover { background: #b80f20; }

/* ===== FORMS ===== */
.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.form-group { flex: 1; }
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1a1a2e;
    transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: #2563eb; }


/* ================================================================
   PAGE: INDEX / HOME
   ================================================================ */
.page-home {
    background: #fff;
    overflow-x: hidden;
}

/* Navbar home (transparent, absolute) */
.page-home .navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 48px;
    background: rgba(255,255,255,0.5);
    box-shadow: none;
    height: 90px;
}
.page-home .navbar-logo img { height: 100px; }
.page-home .navbar-nav { gap: 32px; }
.page-home .navbar-nav a { font-size: 14px; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 48px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    background-image: url('../../images/background_ciel.jpg');
    background-size: cover;
    border-radius: 50px;
    height: 30vh;
}
.hero-left {
    flex: 1;
    min-width: 0;
}
.hero-right {
    flex: 0 0 auto;
    position: absolute;
    right: 0px;
}
.hero-right img {
    width: 50vh;
    max-width: 50vh;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    animation: planeFloat 4s ease-in-out infinite;
    margin-right: -60px;
    margin-top: -15vh;
}
@keyframes planeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 32px;
    color: #1a1a2e;
    margin-top: -140px;
}
.hero-title strong { color: #1a1a2e; }

/* Trip toggle */
.trip-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    margin-left: 20px;
}
.trip-toggle button {
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.trip-toggle button.active {
    background: #CE1126;
    color: #fff;
}
.trip-toggle button:not(.active) {
    background: #1a1a2e;
    color: #FFFFFF;
}
.trip-toggle button:not(.active):hover {
    border: 2px solid #000000;
}

/* Search form */
.search-form {
    /* background: #fff; */
    /* border-radius: 16px; */
    /* box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.06); */
    padding: 8px;
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
}
.search-field {
    flex: 1;
    padding: 0px 10px;
    /* display: flex; */
    /* flex-direction: column; */
    justify-content: center;
    position: relative;
    min-width: 0;
    width: 25%;
    float: left;
}
.search-field:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    /* width: 1px; */
    /* background: #e5e7eb; */
}
.search-field label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin-bottom: 0px;
}
.search-field input,
.search-field select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #CCCCCC;
    padding: 10px;
    border-radius: 50px;
    width: 100%;
    margin-top: 10px;
    background: none;
}
.search-field input::placeholder,
.search-field select option:first-child {
    color: #9ca3af;
}
.search-field select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background: none;
}
.field-passengers { flex: 0.6; }
.field-date { flex: 0.8; }

.search-btn {
    padding: 10px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    height: 35px;
    position: relative;
    float: left;
    margin-top: 30px;
    width: 120px;
}
.search-btn:hover { background: #2563eb; }

.field-retour.hidden { display: none; }

#formblanc {
    background: rgba(255, 255, 255, 0.5);
    padding: 50px;
    width: calc(100% - 110px);
    border: 1px solid #CCCCCC;
    margin-top: 0px;
    position: absolute;
    border-radius: 50px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}


/* Why section */
.why-section {
    background: #f1f1f1;
    padding: 60px 48px;
    text-align: center;
}
.why-title {
    font-size: 36px;
    font-weight: 300;
    color: #1a1a2e;
    margin-bottom: 48px;
}
.why-title strong { font-weight: 700; }
.why-grid {
    display: flex;
    justify-content: center;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
}
.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 280px;
}
.why-item img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 20px;
}
.why-item p {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.4;
}

/* Destinations section */
.dest-section {
    background: #fff;
    padding: 64px 48px;
    text-align: center;
}
.dest-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.dest-sub {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 40px;
}
.dest-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.dest-card {
    flex: 1;
    max-width: 340px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    transition: transform 0.35s ease;
}
.dest-card:hover {
    transform: scale(1.04);
}
.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.dest-card:hover img {
    transform: scale(1.12);
}
.dest-name {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Inclus section */
.inclus-section {
    background: #f5f5f5;
    padding: 64px 48px;
    display: flex;
    justify-content: center;
}
.inclus-box {
    background: #CE1126;
    color: #fff;
    border-radius: 24px;
    padding: 48px 64px;
    max-width: 900px;
    width: 100%;
    text-align: center;
}
.inclus-title {
    font-size: 36px;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 8px;
}
.inclus-sub {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 36px;
}
.inclus-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}
.inclus-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}
.inclus-num {
    font-size: 18px;
    font-weight: 800;
    min-width: 24px;
    line-height: 1.3;
}
.inclus-item strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}
.inclus-item p {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 2px;
    line-height: 1.4;
}

/* Pour tous section */
.pourtous-section {
    background: #ededed;
    padding: 64px 48px;
    text-align: center;
}
.pourtous-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.pourtous-sub {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 40px;
}
.pourtous-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.pourtous-card {
    flex: 1;
    max-width: 280px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pourtous-card:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.pourtous-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.pourtous-card span {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a2e;
    line-height: 1.4;
}

/* Comores map section */
.comores-section {
    background: #e0e0e0;
    padding: 64px 48px;
    display: flex;
    justify-content: center;
}
.comores-box {
    background: #c8c8c8;
    border-radius: 24px;
    padding: 48px 64px;
    max-width: 900px;
    width: 100%;
    text-align: center;
}
.comores-title {
    font-size: 36px;
    font-weight: 800;
    color: #f1f1f1;
    margin-bottom: 8px;
}
.comores-sub {
    font-size: 25px;
    color: #f1f1f1;
    margin-bottom: 32px;
    line-height: 1.5;
}
.comores-map {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Parallax banner */
.parallax-section {
    height: 350px;
    overflow: hidden;
    position: relative;
}
.parallax-section .parallax-bg {
    position: absolute;
    inset: -60px 0;
    background: url('../../images/back2.jpg') center center / cover no-repeat;
    will-change: transform;
}

/* Footer */
.site-footer {
    background: #313131;
    color: #fff;
    padding: 48px 64px 24px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-logo img {
    height: 70px;
    width: auto;
}
.footer-contact p {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 6px;
}
.footer-right {
    display: flex;
    gap: 64px;
}
.footer-nav h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-nav ul li a:hover { color: #fff; }
.footer-desc {
    border-top: 1px solid #2d2d44;
    padding-top: 24px;
    /* margin-bottom: 24px; */
    text-align: right;
    float: right;
}
.footer-desc p {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.7;
    max-width: 50%;
    /* margin: 0 auto; */
    text-align: right;
    float: right;
    /* height: 200px; */
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid #2d2d44;
    padding-top: 16px;
    text-align: right;
    font-weight: bold;
    color: #FFFFFF;
}
.footer-bottom p {
    font-size: 12px;
    color: #f1f1f1;
    font-weight: bold;
}

@media (max-width: 768px) {
    .why-section { padding: 40px 20px; }
    .why-title { font-size: 24px; margin-bottom: 32px; }
    .why-grid { flex-direction: column; align-items: center; gap: 32px; }
    .why-item img { width: 100px; height: 100px; }
    .dest-section { padding: 40px 20px; }
    .dest-title { font-size: 26px; }
    .dest-grid { flex-direction: column; align-items: center; }
    .dest-card { max-width: 100%; aspect-ratio: 4 / 3; }
    .inclus-section { padding: 40px 20px; }
    .inclus-box { padding: 32px 24px; }
    .inclus-title { font-size: 26px; }
    .pourtous-section { padding: 40px 20px; }
    .pourtous-title { font-size: 26px; }
    .pourtous-grid {flex-direction: column;align-items: center;}
    .pourtous-card {max-width: 100%;width: 100%;}
    .parallax-section { height: 200px; }
    .comores-section { padding: 40px 20px; }
    .comores-box { padding: 32px 20px; }
    .comores-title { font-size: 26px; }
    .site-footer { padding: 32px 20px 20px; }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-right { gap: 40px; }


    .footer-desc p {
        width:100% !important;
        max-width: 100%;
    }
}

/* ================================================================
   PAGE: RECHERCHE (resultats)
   ================================================================ */

/* Recap recherche */
.search-recap {
    background: #fff;
    border-radius: 12px;
    padding: 20px 28px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.search-recap-route {
    font-size: 22px;
    font-weight: 700;
}
.search-recap-route .arrow { color: #2563eb; margin: 0 8px; }
.search-recap-details {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    gap: 20px;
}
.search-recap-details span { display: flex; align-items: center; gap: 4px; }

/* Section title */
.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
    color: #1a1a2e;
}
.section-title .count {
    font-weight: 400;
    color: #6b7280;
    font-size: 14px;
}

/* Flight cards */
.flight-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }

.flight-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
}
.flight-card:hover {
    box-shadow: 0 4px 20px rgba(37,99,235,0.12);
    transform: translateY(-1px);
}
.flight-card.selected {
    outline: 3px solid #2563eb;
    background: #f0f6ff;
}

.flight-number {
    font-size: 16px;
    font-weight: 700;
    color: #2563eb;
    min-width: 70px;
}
.flight-operator {
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    margin-top: 2px;
}
.flight-times {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}
.flight-time-block { text-align: center; }
.flight-time {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
.flight-date {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}
.flight-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}
.flight-arrow-line {
    width: 100%;
    height: 2px;
    background: #e5e7eb;
    position: relative;
}
.flight-arrow-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    border: 5px solid transparent;
    border-left: 7px solid #9ca3af;
}
.flight-route-label {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flight-seats {
    text-align: center;
    min-width: 80px;
}
.flight-seats-number {
    font-size: 20px;
    font-weight: 700;
}
.seats-ok { color: #059669; }
.seats-low { color: #d97706; }
.seats-full { color: #dc2626; }
.flight-seats-label {
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
}

.flight-status {
    min-width: 80px;
    text-align: center;
}

/* No results */
.no-results {
    text-align: center;
    padding: 48px 24px;
    color: #9ca3af;
}
.no-results-icon { font-size: 48px; margin-bottom: 12px; }
.no-results p { font-size: 15px; }

/* Selection bar */
.selection-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #1a1a2e;
    color: #fff;
    padding: 16px 48px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.selection-bar.visible { display: flex; }
.selection-bar-info { font-size: 14px; }
.selection-bar-info strong { color: #60a5fa; }
.btn-reserve {
    padding: 12px 32px;
    background: #CE1126;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-reserve:hover { background: #b80f20; }


/* ================================================================
   PAGE: RESERVATION (formulaire passager)
   ================================================================ */

/* Vol recap */
.vol-recap {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}
.vol-recap:not(:last-child) { border-bottom: 1px solid #f3f4f6; }
.vol-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    min-width: 60px;
}
.vol-num { font-size: 16px; font-weight: 700; color: #2563eb; min-width: 70px; }
.vol-route { font-size: 14px; flex: 1; }
.vol-route strong { font-weight: 600; }
.vol-datetime { font-size: 13px; color: #6b7280; text-align: right; }


/* ================================================================
   PAGE: CONFIRMATION
   ================================================================ */

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #d1fae5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
}
.success-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}
.success-sub {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 32px;
}

.ref-number {
    font-size: 32px;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 2px;
    margin-bottom: 4px;
}
.ref-caption {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 28px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}
.info-row:not(:last-child) { border-bottom: 1px solid #f9fafb; }
.info-label { color: #6b7280; }
.info-value { font-weight: 600; }

/* Confirmation card header override */
.card-header-muted {
    padding: 14px 24px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .hero-right img { width: 340px; }
    .hero-title { font-size: 38px; }
}

@media (max-width: 768px) {
    html, body { overflow-x: hidden; }

    /* Navbar hamburger mobile */
    .navbar { padding: 12px 16px; }
    .navbar-toggle { display: flex; flex-direction: column; }
    .navbar-nav {
        position: fixed;
        top: 0; right: 0;
        width: 260px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        box-shadow: none;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s;
        z-index: 105;
    }
    .navbar-nav.open { transform: translateX(0); visibility: visible; box-shadow: -4px 0 20px rgba(0,0,0,0.12); }
    .navbar-nav li { padding: 14px 0; border-bottom: 1px solid #f3f4f6; }
    .navbar-nav a { font-size: 15px !important; text-transform: none; }
    .navbar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 104;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .navbar-overlay.open { opacity: 1; pointer-events: auto; }
    .page-home .navbar {padding: 14px 20px;z-index: 99999;}
    .page-home .navbar-nav { background: #fff; }

    /* Container */
    .container { padding: 20px 16px; }

    /* Hero */
    .hero-content {
        /* flex-direction: column; */
        padding: 100px 20px 40px;
        text-align: center;
        margin-top: 0px;
        position: absolute;
        top: 100px;
        z-index: 999;
    }

    .hero {
        height: 100vh;
        min-height: 950px;
    }

    #formblanc {
        width:calc(100% - 40px);
        min-height: 620px;
    }
    
    .hero-right { order: -1; }
    .hero-right img { width: 280px; max-width: 70vw; }
    .hero-title {font-size: 30px;text-align: left;}
    .trip-toggle { justify-content: center; }
    .search-form {
        flex-direction: column;
        max-width: 100%;
        gap: 0;
    }
    .search-field::after { display: none !important; }
    .search-field {border-bottom: 1px solid #f3f4f6;width: 100%;border: none;margin-bottom: 10px;}
    .search-btn {
        width:calc(100% - 20px);
        margin-left:10px;
    }

    /* Recherche */
    .flight-card { flex-direction: column; gap: 12px; padding: 16px; }
    .flight-times { width: 100%; }
    .search-recap { flex-direction: column; text-align: center; }
    .selection-bar { padding: 14px 16px; flex-direction: column; gap: 10px; text-align: center; }
    body.has-selection-bar .container { padding-bottom: 130px; }
}

@media (max-width: 640px) {
    .form-row { flex-direction: column; gap: 12px; }
}

/* ===== TARIF CARDS ===== */
.tarif-cards {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.tarif-card {
    flex: 1;
    min-width: 200px;
    max-width: 320px;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.tarif-card:hover:not(.disabled) {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.tarif-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #e5e7eb;
    background: #f9fafb;
}
.tarif-card.selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.tarif-titre {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.tarif-prix {
    font-size: 28px;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 8px;
}
.tarif-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}
.tarif-age {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 6px;
}

/* ===== CHECKBOXES CONDITIONS ===== */
.checkbox-row {
    margin-bottom: 12px;
}
.checkbox-row label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    line-height: 1.4;
}
.checkbox-row input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

/* ===== MULTI-PASSAGER ===== */
.passenger-block { margin-bottom: 8px; }
.passenger-header {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.seat-select-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.seat-btn {
    padding: 10px 16px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}
.seat-btn:hover { background: #2563eb; }
.seat-display { font-weight: 700; color: #2563eb; }
.total-bar {
    background: #1a1a2e;
    color: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}
.total-label { font-size: 16px; font-weight: 600; }
.total-amount { font-size: 28px; font-weight: 800; }

/* ===== MODAL (public) ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow: hidden;
}
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 { font-size: 18px; font-weight: 600; }
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #9ca3af;
}
.modal-close:hover { color: #4b5563; }
.modal-body {
    padding: 12px;
    max-height: 75vh;
    overflow-y: auto;
}

/* ===== SEATMAP (public) ===== */
.seatmap-container { max-width: 400px; margin: 0 auto; }
.seatmap-plane {
    background: #f9fafb;
    border: 2px solid #d1d5db;
    border-radius: 80px 80px 20px 20px;
    padding: 40px 20px 20px;
    position: relative;
}
.seatmap-nose {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d1d5db;
}
.seatmap-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}
.seatmap-row .row-number {
    width: 24px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
}
.seatmap-aisle { width: 24px; }
.seatmap-aisle-biz { width: 48px; }
.seat-biz { width: 56px; height: 38px; font-size: 10px; }
.col-label-biz { width: 56px !important; }
.seat {
    width: 32px;
    height: 32px;
    border-radius: 6px 6px 4px 4px;
    border: 2px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s;
    position: relative;
}
.seat:hover { transform: scale(1.15); z-index: 10; }
.seat.available { background: #d1fae5; border-color: #059669; color: #059669; }
.seat.available:hover { background: #059669; color: #fff; }
.seat.reserved { background: #dc2626; border-color: #b91c1c; color: #fff; cursor: default; }
.seat.reserved:hover { transform: none; }
.seat.selected { background: #1a56db; border-color: #1e40af; color: #fff; }
.seat.selected-other { background: #fbbf24; border-color: #d97706; color: #fff; cursor: not-allowed; }
.seat.selected-other:hover { transform: none; }
.seat.unavailable { background: #e5e7eb; border-color: #d1d5db; color: #9ca3af; cursor: not-allowed; }
.seat-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 100;
}
.seat:hover .seat-tooltip { opacity: 1; }
.seatmap-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.seatmap-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #4b5563;
}
.seatmap-legend-item .seat-sample {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid;
}
.seat-sample.available { background: #d1fae5; border-color: #059669; }
.seat-sample.reserved { background: #dc2626; border-color: #b91c1c; }
.seat-sample.selected { background: #1a56db; border-color: #1e40af; }
.seatmap-column-labels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}
.seatmap-column-labels .col-label {
    width: 32px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #1a56db;
}
.seatmap-separator-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 10px 0;
}
.sep-box-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    min-width: 60px;
    min-height: 36px;
}
.sep-box-galley {
    min-width: 80px;
    background: #f3f4f6;
    border-color: #d1d5db;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 10px;
}
.seatmap-exit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 40px;
    margin: 4px 0;
    font-size: 10px;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Scroll arrow */
.scroll-arrow {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 35px;
    color: #1a1a2e;
    animation: bounce 1.8s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.5s ease;
    cursor: pointer;
    z-index: 9999;
}
.scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(14px); }
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    padding: 14px 28px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s;
}
.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.floating-cta:hover {
    background: #2563eb;
}

/* Lookup page */
.lookup-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; text-align: center; }
.lookup-sub { font-size: 15px; color: #6b7280; margin-bottom: 32px; text-align: center; }
.pnr-input { text-transform: uppercase; letter-spacing: 2px; font-family: 'Courier New', monospace; font-weight: 700; }
.reservation-status { text-align: center; margin-bottom: 24px; }
.lookup-actions { display: flex; gap: 12px; margin-top: 8px; }

/* Print (public pages) */
@media print {
    .navbar, .no-print, .floating-cta { display: none !important; }
    body { background: #fff; }
    .container { max-width: 100%; padding: 0; }
}

/* CLOUDS */

 @import url(https://fonts.googleapis.com/css?family=Oswald);
 @keyframes clouds-loop-1 {
   to {
     background-position: -1000px 0;
   }
 }
 .clouds-1 {
   background-image: url("https://s.cdpn.io/15514/clouds_2.png");
   animation: clouds-loop-1 20s infinite linear;
 }
 
 @keyframes clouds-loop-2 {
   to {
     background-position: -1000px 0;
   }
 }
 .clouds-2 {
   background-image: url("https://s.cdpn.io/15514/clouds_3.png");
   animation: clouds-loop-2 15s infinite linear;
 }
 
 @keyframes clouds-loop-3 {
   to {
     background-position: -1579px 0;
   }
 }
 .clouds-3 {
   background-image: url("https://s.cdpn.io/15514/clouds_3.png");
   animation: clouds-loop-3 17s infinite linear;
 }

 .hero {
   background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #7ebfff), color-stop(100%, #ffffff));
   background: -moz-linear-gradient(#7ebfff, #ffffff);
   background: -webkit-linear-gradient(#7ebfff, #ffffff);
   background: linear-gradient(#7ebfff, #ffffff);
 }

 
 .clouds {
   filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
   opacity: 1;
   pointer-events: none;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
   right: 0;
   height: 100%;
   z-index: 99;
   width: 100%;
 }
 
 .clouds-1,
 .clouds-2,
 .clouds-3 {
   background-repeat: repeat-x;
   position: absolute;
   top: 0;
   right: 0;
   left: 0;
   height: 500px;
 }
 