/* ============================================
   ONESTO — Styles (Thème clair & frais)
   ============================================ */

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f5f7fa;
    --color-surface: #ffffff;
    --color-text: #2d3446;
    --color-text-muted: #6b7280;
    --color-accent: #2d3446;
    --color-accent-hover: #1a2030;
    --color-green: #6b9e3c;
    --font-main: 'Montserrat', sans-serif;
    --radius: 12px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.on-hero .nav-link,
.navbar.on-hero .nav-toggle span {
    color: #ffffff;
}

.navbar.on-hero .nav-link:hover {
    color: #a3d977;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.logo-mobile {
    display: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    position: relative;
    transition: color var(--transition);
}

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

.nav-link:hover {
    color: var(--color-green);
}

.nav-link:hover::after {
    width: 100%;
    background: var(--color-green);
}

/* Burger menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-text);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO — Jeu Concours (reste sombre pour impact)
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--color-accent);
    color: #ffffff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 52, 70, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(107, 158, 60, 0.2);
    border: 1px solid rgba(107, 158, 60, 0.5);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a3d977;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero h1 em {
    font-style: normal;
    color: #a3d977;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-green);
    color: #fff;
}

.btn-primary:hover {
    background: #5a8a32;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 158, 60, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid #d1d5db;
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Dans le hero, le bouton outline doit rester clair */
.hero .btn-primary {
    background: #ffffff;
    color: var(--color-accent);
}

.hero .btn-primary:hover {
    background: #f0f0f0;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

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

/* ============================================
   SECTION — Commander
   ============================================ */

.section-order {
    padding: 120px 0;
    background: var(--color-bg);
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.order-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.order-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text);
}

.order-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.order-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   SECTION — Infos
   ============================================ */

.section-info {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-text);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition), box-shadow var(--transition);
}

.info-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 10px;
    color: var(--color-green);
}

.info-card h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-green);
    margin-bottom: 6px;
}

.info-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-card a {
    color: var(--color-text);
    transition: color var(--transition);
}

.info-card a:hover {
    color: var(--color-green);
}

.info-note {
    margin-top: 4px;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-green) !important;
}

.info-map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 450px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.info-map iframe {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 40px 0;
    background: var(--color-accent);
    text-align: center;
}

.footer-logo {
    height: 30px;
    margin: 0 auto 16px;
    opacity: 0.8;
}

.footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        transition: right var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .section-order {
        padding: 80px 0;
    }

    .order-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .order-image img {
        height: 300px;
    }

    .section-info {
        padding: 80px 0;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-map {
        min-height: 300px;
    }

    .order-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }
}
