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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #F9F6F1;
    color: #1C315E;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- ANIMATIONS GLOBALES --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER --- */
header {
    background-color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s;
}

.logo {
    color: #1C315E;
    font-size: 2.5rem;
    letter-spacing: 1px;
    line-height: 1;
}

.sub-logo {
    color: #D96E35;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav {
    position: relative;
}

.menu-links {
    display: flex;
    list-style: none;
    gap: 25px;
    font-weight: 600;
}

.menu-links a {
    position: relative;
    transition: color 0.3s;
}

.menu-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #D96E35;
    transition: width 0.3s;
}

.menu-links a:hover, .menu-links a.active {
    color: #D96E35;
}

.menu-links a:hover::after {
    width: 100%;
}

.menu-hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.menu-hamburger:hover {
    transform: rotate(90deg);
}

/* --- SECTIONS --- */
.section-padding {
    padding: 80px 40px;
    text-align: center;
}

.section-padding h3 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-padding h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #D96E35;
    margin: 15px auto 0;
}

.bg-light {
    background-color: #F1EBE2;
}

/* --- BOUTONS --- */
.btn-primary {
    display: inline-block;
    background-color: #D96E35;
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(217, 110, 53, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: #1C315E;
    box-shadow: 0 6px 20px rgba(28, 49, 94, 0.5);
    transform: translateY(-3px);
}

/* --- CARTES DESTINATIONS --- */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.dest-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 4px solid transparent;
}

.dest-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid #D96E35;
}

.dest-card h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* --- SERVICES --- */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    flex: 1 1 250px;
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-box i {
    font-size: 2.5rem;
    color: #D96E35;
    margin-bottom: 15px;
}

.service-box h4 {
    margin-bottom: 10px;
}

/* --- CONTACT & FORMULAIRE --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    flex: 1 1 300px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: left;
    line-height: 2.2;
}

.contact-info i {
    width: 25px;
    color: #D96E35;
}

.form-reservation {
    flex: 1 1 350px;
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-reservation input, .form-reservation textarea {
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: border 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.form-reservation input:focus, .form-reservation textarea:focus {
    outline: none;
    border-color: #D96E35;
    box-shadow: 0 0 0 3px rgba(217, 110, 53, 0.1);
}

/* --- TABLEAU DES VOLS --- */
.dest-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
}

.vols-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.vols-table th {
    background-color: #1C315E;
    color: white;
    padding: 15px;
    font-weight: 600;
}

.vols-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.vols-table tr:hover {
    background-color: #fcf8f4;
}

.vols-table tr:last-child td {
    border-bottom: none;
}

/* --- PAGE HERO (INTERNES) --- */
.page-hero {
    background: linear-gradient(rgba(28, 49, 94, 0.8), rgba(28, 49, 94, 0.8)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.page-hero h2 {
    font-size: 2.8rem;
}

/* --- FOOTER --- */
footer {
    background-color: #1C315E;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.socials span {
    margin: 0 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.socials span:hover {
    color: #D96E35;
    transform: scale(1.2);
}

/* --- NOUVELLE GALERIE IMAGES --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* --- ÉCRAN DE CHARGEMENT --- */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1C315E 0%, #2a4686 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

#loader {
    text-align: center;
    animation: fadeInUp 1.2s ease forwards;
}

.loader-logo {
    margin-bottom: 30px;
}

.loader-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 3px;
    margin: 0;
    animation: pulseText 1.5s ease-in-out infinite;
}

.loader-subtitle {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #D96E35;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 5px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    margin: 20px auto 0;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #D96E35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media screen and (max-width: 600px) {
    .loader-title {
        font-size: 2.5rem;
    }
    .loader-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    .loader-spinner {
        width: 40px;
        height: 40px;
    }
}

/* --- HERO (Carte du monde en pointillés) --- */
.hero {
    position: relative;
    width: 100%;
    background-color: #1C315E;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2000 1200" width="2000" height="1200"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle fill="rgba(255,255,255,0.12)" cx="20" cy="20" r="1.5"></circle></pattern><pattern id="dots2" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><circle fill="rgba(255,255,255,0.06)" cx="30" cy="30" r="2.5"></circle></pattern></defs><rect width="2000" height="1200" fill="url(%23dots)"></rect><rect width="2000" height="1200" fill="url(%23dots2)"></rect></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 100px 20px;
    min-height: 90vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 49, 94, 0.85) 0%, rgba(42, 70, 134, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1 1 400px;
    text-align: center;
}

.hero h2 {
    font-size: 3.2rem;
    margin: 20px 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slogan {
    color: #D96E35;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 3px;
    background: rgba(255,255,255,0.1);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(2px);
}

.hero-image {
    flex: 1 1 300px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* --- LIGNES DÉCORATIVES --- */
.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 5px 0 10px;
}

.subtitle-wrapper .line {
    display: block;
    width: 60px;
    height: 2px;
    background-color: #D96E35;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    margin: 0;
}

.hero-title-container {
    margin: 15px 0;
}

.text-blue {
    color: #1C315E;
}

.text-orange {
    color: #D96E35;
}

.hero-values {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 15px 0 25px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.hero-values .separator {
    color: #D96E35;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 768px) {
    header { padding: 10px 20px; }
    .menu-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        min-width: 180px;
        text-align: right;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s;
    }
    .menu-links.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    .menu-hamburger { display: block; }
    .hero { padding: 60px 20px; }
    .hero h2 { font-size: 2.2rem; }
    .hero-text, .hero-image {
        flex: 1 1 100%;
    }
    .hero-image img {
        max-width: 100%;
    }
    .subtitle-wrapper .line {
        width: 30px;
    }
    .hero-values {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }
    .section-padding {
        padding: 50px 20px;
    }
    .section-padding h3 {
        font-size: 1.8rem;
    }
    .gallery-grid img {
        height: 200px;
    }
}