/* ═══════════════════════════════════════
   YOMA VOYAGE — Premium Travel Planner
   ═══════════════════════════════════════ */

/* ── Variables ── */
:root {
    --color-bg: #FCFAF6;
    --color-bg-alt: #F3F0EA;
    --color-dark: #141F42;
    --color-text: #384959;
    --color-text-light: #7A8594;
    --color-accent: #EABF57;
    --color-accent-dark: #D4A940;
    --color-white: #FFFFFF;
    --color-cream: #F5F2EB;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --container: 1280px;
    --gap: 2rem;
    --radius: 4px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

h1 em, h2 em {
    font-style: italic;
    color: var(--color-accent);
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-full { width: 100%; text-align: center; }

/* ── Section Tags ── */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header-center {
    text-align: center;
}

/* ═══════ HEADER ═══════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(20, 31, 66, 0.97);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.scrolled .logo-text { color: #FFFFFF; }

.logo-accent { color: var(--color-accent); }

/* Logo images */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-dark { display: block; }
.logo-light { display: none; }

.scrolled .logo-dark { display: block; }
.scrolled .logo-light { display: none; }

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-list li a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.85);
    position: relative;
}

.scrolled .nav-list li a { color: rgba(255,255,255,0.85); }

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-list li a:hover::after { width: 100%; }

.nav-cta {
    padding: 0.7rem 1.8rem !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    font-weight: 500 !important;
}

.scrolled .nav-cta {
    border-color: var(--color-accent) !important;
    color: var(--color-accent) !important;
}

.nav-cta:hover {
    background: var(--color-accent) !important;
    color: var(--color-white) !important;
    border-color: var(--color-accent) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 28px;
    height: 1.5px;
    background: var(--color-white);
    transition: var(--transition);
}

.scrolled .menu-toggle span { background: var(--color-white); }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════ HERO ═══════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1506929562872-bb421503ef21?w=1920&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 15, 15, 0.4) 0%,
        rgba(15, 15, 15, 0.5) 50%,
        rgba(15, 15, 15, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-tagline {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-accent);
}

.hero h1 { color: var(--color-white); margin-bottom: 1.5rem; }
.hero h1 em { color: var(--color-accent); }
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ═══════ ADVANTAGES ═══════ */
.advantages {
    padding: 6rem 0;
    background: var(--color-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem 1rem;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-bg-alt);
    border-radius: 50%;
    color: var(--color-accent);
    transition: var(--transition);
}

.advantage-item:hover .advantage-icon {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.advantage-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.advantage-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ═══════ SERVICES ═══════ */
.services {
    padding: 8rem 0;
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }

.service-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img { transform: scale(1.05); }

.service-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-white);
    opacity: 0.4;
    line-height: 1;
}

.service-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.service-card p {
    padding: 0 1.5rem 2rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ═══════ ABOUT ═══════ */
.about {
    padding: 8rem 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    width: 85%;
    overflow: hidden;
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -3rem;
    right: 0;
    width: 55%;
    border: 6px solid var(--color-white);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
}

.about-img-accent img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.about-content p {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-bg-alt);
}

.stat { text-align: center; }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent);
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

/* ═══════ DESTINATIONS ═══════ */
.destinations {
    padding: 8rem 0;
    background: var(--color-bg);
}

.destinations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.destination-card {
    position: relative;
    overflow: hidden;
    display: block;
}

.destination-large {
    grid-row: 1 / 3;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    min-height: 300px;
}

.destination-large img { min-height: 620px; }

.destination-card:hover img { transform: scale(1.05); }

.destination-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.destination-country {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.destination-info h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

/* ═══════ TESTIMONIAL ═══════ */
.testimonial {
    padding: 8rem 0;
    background: var(--color-dark);
}

.testimonial-content {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    color: var(--color-accent);
    margin-bottom: 2rem;
}

blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.author-name {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.author-trip {
    display: block;
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

/* ═══════ CONTACT CTA ═══════ */
.contact-cta {
    padding: 8rem 0;
    background: var(--color-cream);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.cta-content h2 { margin-bottom: 1.5rem; }

.cta-content p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--color-white);
    color: var(--color-dark);
    transition: var(--transition);
    outline: none;
}

.cta-form input:focus,
.cta-form textarea:focus {
    border-color: var(--color-accent);
}

.cta-form textarea { resize: vertical; }

/* ═══════ FOOTER ═══════ */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.7);
}

.footer-top { padding: 5rem 0 3rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer-brand .logo-text {
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-links a:hover { color: var(--color-accent); }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact svg { flex-shrink: 0; color: var(--color-accent); }

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    /* Header mobile */
    .site-header { padding: 1rem 0; }
    .site-header.scrolled { padding: 0.75rem 0; }
    .header-inner { padding: 0 1.25rem; }
    .logo-text { font-size: 1.3rem; }

    /* Hamburger button */
    .menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        position: relative;
    }
    .menu-toggle.active { position: fixed; right: 1.25rem; top: 1rem; }
    .menu-toggle.active span { background: #FFFFFF !important; }

    /* Fullscreen overlay menu */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-dark);
        padding: 4.5rem 1.5rem 1.5rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 999;
        overflow-y: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .main-nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.1rem;
        text-align: center;
        width: 100%;
    }

    .nav-list li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .main-nav.active .nav-list li { opacity: 1; transform: translateY(0); }
    .main-nav.active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.active .nav-list li:nth-child(2) { transition-delay: 0.15s; }
    .main-nav.active .nav-list li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav.active .nav-list li:nth-child(4) { transition-delay: 0.25s; }
    .main-nav.active .nav-list li:nth-child(5) { transition-delay: 0.3s; }
    .main-nav.active .nav-list li:nth-child(6) { transition-delay: 0.35s; }
    .main-nav.active .nav-list li:nth-child(7) { transition-delay: 0.4s; }

    .nav-list li a {
        color: rgba(255,255,255,0.95) !important;
        font-family: var(--font-display);
        font-size: 1.3rem;
        font-weight: 400;
        letter-spacing: 0.02em;
        display: inline-block;
        padding: 0.15rem 0;
    }
    .nav-list li a::after { display: none; }

    .nav-cta {
        margin-top: 0.5rem;
        padding: 0.75rem 2rem !important;
        border: 1px solid var(--color-accent) !important;
        color: var(--color-accent) !important;
        font-family: var(--font-body) !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.15em !important;
        text-transform: uppercase;
        font-weight: 500 !important;
        border-radius: 2px;
    }
    .scrolled .nav-cta,
    .nav-cta {
        border-color: var(--color-accent) !important;
        color: var(--color-accent) !important;
    }

    /* Body lock when menu open */
    body.menu-open { overflow: hidden; }
}

@media (max-width: 900px) {
    .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-img-accent { display: none; }
    .about-stats { gap: 2rem; }
    .destinations-grid { grid-template-columns: 1fr; }
    .destination-large { grid-row: auto; }
    .destination-large img { min-height: 400px; }
    .cta-grid { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-contact li { justify-content: center; }
    .footer-social { justify-content: center; }
    .footer-partners .container { gap: 1rem !important; flex-direction: column; text-align: center; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 0.75rem !important; }
}

@media (max-width: 480px) {
    .advantages-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; gap: 1.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }

    /* Marquee compact */
    .fp-marquee { padding: 12px 0 !important; }

    /* Marquee lisible */
    .fp-marquee { padding: 14px 0 !important; }
    .fp-marquee-item { font-size: 0.7rem !important; letter-spacing: 0.15em !important; padding: 0 1rem !important; }

    /* Sections padding */
    .container { padding: 0 1.25rem; }

    /* Hero title (autres templates) */
    h1 { font-size: clamp(2rem, 8vw, 3rem); }
    h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); }

    /* Nav-cta mobile dans menu fullscreen */
    .nav-cta {
        width: auto;
        max-width: 280px;
    }

    /* Logo text plus petit */
    .logo-text { font-size: 1.15rem; }
}

/* Anti-overflow horizontal global */
html, body { overflow-x: hidden; max-width: 100%; }

/* ═══════ ANIMATIONS ═══════ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
