/* =============================================
   OBSERVATEUR SAUVAGE - Thème principal
   ============================================= */

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif !important;
    background-color: #f7f8f3 !important;
    color: #1a241e !important;
    padding-top: 0 !important;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif !important; }

/* ── CACHE LE HEADER BLOCKSY ── */
#header.ct-header { display: none !important; }

/* ── NOTRE NAVIGATION ── */
.os-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background: rgba(25, 30, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s;
}
.os-nav.scrolled { background: rgba(10,15,10,0.98); }
.os-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.os-logo {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.3rem;
    font-weight: 700;
    font-style: italic;
    color: white !important;
    text-decoration: none !important;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.os-logo span { color: #4ade80; }
.os-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.os-nav-link {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none !important;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
}
.os-nav-link:hover { color: #4ade80 !important; }
.os-nav-actions { display: flex; align-items: center; gap: 1rem; }
.os-cart-btn {
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none !important;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 2rem;
    font-size: 0.75rem;
    transition: all 0.3s;
}
.os-cart-btn:hover { background: rgba(255,255,255,0.1); }
.os-cart-count {
    background: #4ade80;
    color: #0a0f0a;
    border-radius: 50%;
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}
.os-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── HERO PAGE ACCUEIL ── */
.os-hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.2)),
                url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
}
.os-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.os-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 1rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 2rem;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    width: fit-content;
}
.os-hero-badge-dot {
    width: 7px; height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }
.os-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem) !important;
    line-height: 0.95 !important;
    color: white !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
}
.os-hero h1 em { color: #bbf7d0; font-style: italic; }
.os-hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 2rem;
}
.os-btn-primary {
    display: inline-block;
    background: #3a4734;
    color: white !important;
    padding: 1rem 2.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.os-btn-primary:hover { background: #273023; transform: translateY(-2px); color: white !important; }

/* Réticule */
.os-reticle-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.os-reticle {
    position: relative;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 8px solid #1a241e;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.6);
}
.os-reticle-forest {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&q=80&w=1920') center/450% no-repeat;
    filter: brightness(1.15) contrast(1.1);
    transition: transform 6s ease-in-out;
}
.os-reticle:hover .os-reticle-forest { transform: scale(1.1); }
.os-reticle-lines {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; z-index: 10;
}
.os-line-h { width: 100%; height: 1.5px; background: rgba(0,0,0,0.8); }
.os-line-v { position: absolute; width: 1.5px; height: 100%; background: rgba(0,0,0,0.8); }
.os-dot { position: absolute; width: 5px; height: 5px; background: #ff0000; border-radius: 50%; box-shadow: 0 0 8px rgba(255,0,0,0.8); }
.os-reticle-label { color: rgba(255,255,255,0.4); font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; }

/* ── SECTION VISION NOCTURNE ── */
.os-section-night {
    background: #0a0f0a;
    color: white;
    padding: 6rem 2rem;
    overflow: hidden;
}
.os-night-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.os-night-title {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1.1 !important;
    color: white !important;
}
.os-night-title span { color: #4ade80; font-style: normal; }
.os-night-divider { width: 80px; height: 3px; background: #4ade80; margin: 1.5rem 0; }
.os-night-desc { color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.8; font-weight: 300; }
.os-night-tags { display: flex; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.os-night-tag { color: #4ade80; font-family: monospace; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; display: flex; align-items: center; gap: 0.4rem; }
.os-night-tag::before { content:''; display:block; width:7px; height:7px; background:#4ade80; border-radius:50%; animation: pulse 2s infinite; }

/* Scope */
.os-scope {
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 12px solid #111;
    position: relative;
    overflow: hidden;
    background: #020802;
    box-shadow: 0 0 60px rgba(74,222,128,0.12);
    margin: 0 auto;
}
.os-scope-img {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1484406566174-9da000fda645?auto=format&fit=crop&q=80&w=800') center/cover;
    filter: grayscale(100%) brightness(0.7) contrast(1.4) sepia(100%) hue-rotate(85deg) saturate(2);
    opacity: 0.8;
}
.os-scope-scan {
    position: absolute;
    width: 100%; height: 40px;
    background: linear-gradient(transparent, rgba(74,222,128,0.15), transparent);
    top: -40px;
    animation: scan 3s linear infinite;
}
@keyframes scan { from{top:-40px} to{top:100%} }
.os-scope-hud {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    z-index: 10; pointer-events: none;
}
.os-scope-cross-h { width: 85%; height: 1px; background: rgba(74,222,128,0.3); }
.os-scope-cross-v { position: absolute; width: 1px; height: 85%; background: rgba(74,222,128,0.3); }
.os-scope-dot { position: absolute; width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 12px rgba(74,222,128,1); }
.os-scope-corner { position: absolute; width: 16px; height: 16px; border-color: rgba(74,222,128,0.5); border-style: solid; }
.os-scope-corner.tl { top: 28px; left: 28px; border-width: 2px 0 0 2px; }
.os-scope-corner.tr { top: 28px; right: 28px; border-width: 2px 2px 0 0; }
.os-scope-corner.bl { bottom: 28px; left: 28px; border-width: 0 0 2px 2px; }
.os-scope-corner.br { bottom: 28px; right: 28px; border-width: 0 2px 2px 0; }

/* ── CATÉGORIES ACCUEIL ── */
.os-section-cats { padding: 6rem 2rem; background: #f7f8f3; }
.os-cats-inner { max-width: 1280px; margin: 0 auto; }
.os-section-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    text-align: center;
    color: #1a241e !important;
    margin-bottom: 4rem !important;
}
.os-cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.os-cat-card {
    background: white;
    border: 1px solid #e5eadd;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none !important;
    display: block;
}
.os-cat-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(45,60,40,0.12); }
.os-cat-img { height: 220px; overflow: hidden; }
.os-cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.os-cat-card:hover .os-cat-img img { transform: scale(1.1); }
.os-cat-info { padding: 1.5rem; }
.os-cat-name { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; color: #1a241e !important; margin-bottom: 0.5rem; }
.os-cat-link { font-size: 0.75rem; color: #3a4734; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── SECTION FORÊT ── */
.os-section-forest { background: #3a4734; padding: 6rem 2rem; color: white; }
.os-forest-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.os-forest-text h2 { font-size: clamp(2rem, 4vw, 3rem) !important; color: white !important; line-height: 1.2; margin-bottom: 1.5rem !important; }
.os-forest-text h2 em { color: #bbf7d0; }
.os-forest-text > p { color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.8; font-weight: 300; margin-bottom: 2rem; }
.os-forest-feature { display: flex; gap: 1rem; align-items: flex-start; background: rgba(255,255,255,0.07); padding: 1.2rem; border-radius: 4px; }
.os-forest-feature-icon { width: 36px; height: 36px; background: #4ade80; border-radius: 50%; flex-shrink: 0; }
.os-forest-feature strong { color: white; font-size: 0.9rem; display: block; margin-bottom: 0.3rem; }
.os-forest-feature p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.6; margin: 0; }
.os-forest-img { position: relative; }
.os-forest-img img { width: 100%; height: 500px; object-fit: cover; display: block; }
.os-forest-quote { position: absolute; bottom: -1.5rem; right: -1.5rem; background: white; color: #1a241e; padding: 1.5rem 2rem; font-size: 1rem; line-height: 1.5; max-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

/* ── NAVIGATION CATÉGORIES ── */
.os-cat-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.45)),
                url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&q=80&w=1920') center/cover;
    padding: 5rem 2rem 3rem;
    text-align: center;
}
.os-cat-header h1 { color: white !important; font-size: clamp(2.5rem, 6vw, 4rem) !important; margin-bottom: 0.5rem !important; }
.os-cat-nav { background: #1a241e; position: sticky; top: 68px; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.08); }
.os-cat-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; gap: 0; overflow-x: auto; justify-content: center; }
.os-cat-nav-link { color: rgba(255,255,255,0.6) !important; text-decoration: none !important; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 0.5rem; border-bottom: 2px solid transparent; transition: all 0.3s; white-space: nowrap; }
.os-cat-nav-link:hover { color: white !important; border-bottom-color: #4ade80; }
.os-cat-nav-link.active { color: #4ade80 !important; border-bottom-color: #4ade80; }
.os-cat-nav-count { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); font-size: 0.6rem; padding: 0.2rem 0.5rem; border-radius: 2rem; }
.os-cat-nav-link.active .os-cat-nav-count { background: rgba(74,222,128,0.2); color: #4ade80; }

/* ── BOUTIQUE ── */
.os-shop-wrap { min-height: 100vh; }
.os-shop-header { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&q=80&w=1920') center/cover; padding: 5rem 2rem 3rem; text-align: center; }
.os-shop-header h1 { color: white !important; font-size: clamp(2rem,5vw,3rem) !important; margin-bottom: 0.5rem !important; }
.os-shop-header p { color: rgba(255,255,255,0.65); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.os-shop-content { max-width: 1280px; margin: 3rem auto; padding: 0 2rem; }

/* Grille produits */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 1.5rem !important; }
.woocommerce ul.products li.product { background: white !important; border: 1px solid #e5eadd !important; border-radius: 0 !important; padding: 0 !important; overflow: hidden; transition: all 0.3s !important; margin: 0 !important; float: none !important; width: auto !important; }
.woocommerce ul.products li.product:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(45,60,40,0.12) !important; }
.woocommerce ul.products li.product a img { height: 220px; object-fit: cover; width: 100% !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: 'Inter', sans-serif !important; font-size: 0.85rem !important; font-weight: 600 !important; color: #1a241e !important; padding: 1rem 1rem 0.3rem !important; line-height: 1.4 !important; }
.woocommerce ul.products li.product .price { color: #3a4734 !important; font-weight: 700 !important; font-size: 1.1rem !important; padding: 0 1rem !important; }
.woocommerce ul.products li.product .button { background: #3a4734 !important; color: white !important; border-radius: 0 !important; font-size: 0.7rem !important; font-weight: 700 !important; letter-spacing: 0.15em !important; text-transform: uppercase !important; margin: 0.8rem 1rem 1rem !important; padding: 0.7rem 1.2rem !important; transition: background 0.3s !important; width: calc(100% - 2rem) !important; }
.woocommerce ul.products li.product .button:hover { background: #273023 !important; }

/* ── FICHE PRODUIT ── */
.woocommerce div.product { max-width: 1280px; margin: 3rem auto !important; padding: 0 2rem; }
.woocommerce div.product div.summary .product_title { font-family: 'Playfair Display', serif !important; font-size: clamp(1.5rem, 3vw, 2.2rem) !important; color: #1a241e !important; line-height: 1.2 !important; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #3a4734 !important; font-size: 2rem !important; font-weight: 700 !important; display: block; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #4a5a4e; font-size: 0.95rem; line-height: 1.8; border-left: 3px solid #3a4734; padding-left: 1rem; margin-bottom: 1.5rem; }
.woocommerce div.product form.cart .single_add_to_cart_button { background: #3a4734 !important; color: white !important; border: none !important; border-radius: 0 !important; font-size: 0.72rem !important; font-weight: 700 !important; letter-spacing: 0.2em !important; text-transform: uppercase !important; padding: 1rem 2.5rem !important; }
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: #273023 !important; }

/* ── PANIER / CHECKOUT / COMPTE ── */
.os-wc-wrap { min-height: 100vh; }
.os-page-header { background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&q=80&w=1920') center/cover; padding: 5rem 2rem 3rem; text-align: center; }
.os-page-header h1 { color: white !important; font-size: clamp(2rem, 5vw, 3rem) !important; margin-bottom: 0.5rem !important; }
.os-page-header p { color: rgba(255,255,255,0.65); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.os-wc-content { max-width: 1280px; margin: 3rem auto; padding: 0 2rem; }

/* Boutons globaux WooCommerce */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { background: #3a4734 !important; color: white !important; border-radius: 0 !important; font-size: 0.72rem !important; font-weight: 700 !important; letter-spacing: 0.15em !important; text-transform: uppercase !important; padding: 0.8rem 1.8rem !important; transition: background 0.3s !important; border: none !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #273023 !important; color: white !important; }
.woocommerce table.shop_table th { background: #1a241e !important; color: white !important; font-size: 0.72rem !important; font-weight: 600 !important; letter-spacing: 0.12em !important; text-transform: uppercase !important; }
.woocommerce #payment #place_order { background: #3a4734 !important; border-radius: 0 !important; width: 100% !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1px solid #e5eadd !important; border-radius: 0 !important; }
.woocommerce form .form-row input.input-text:focus { border-color: #3a4734 !important; outline: none !important; box-shadow: none !important; }

/* Mon compte */
.woocommerce-account .woocommerce-MyAccount-navigation { background: #1a241e; padding: 1.5rem; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { color: rgba(255,255,255,0.7) !important; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.8rem 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.08); }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover, .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: #4ade80 !important; }

/* ── FOOTER ── */
.os-footer, #footer.ct-footer { background: #0a0f0a !important; color: white !important; padding: 4rem 2rem !important; text-align: center !important; }
.os-footer-inner { max-width: 1280px; margin: 0 auto; }
.os-footer-logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; font-style: italic; color: white; margin-bottom: 1.5rem; }
.os-footer-logo span { color: #4ade80; }
.os-footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; }
.os-footer-links a { color: rgba(255,255,255,0.5) !important; font-size: 0.75rem; text-decoration: none !important; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; }
.os-footer-links a:hover { color: #4ade80 !important; }
.os-footer-copy { color: rgba(255,255,255,0.25); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .os-hero-inner { grid-template-columns: 1fr; }
    .os-reticle-wrap { display: none; }
    .os-night-inner { grid-template-columns: 1fr; }
    .os-cats-grid { grid-template-columns: 1fr; }
    .os-forest-inner { grid-template-columns: 1fr; }
    .os-forest-quote { position: static; margin-top: 1rem; max-width: 100%; }
    .woocommerce ul.products { grid-template-columns: repeat(2,1fr) !important; }
    .os-nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,15,10,0.98); flex-direction: column; padding: 1.5rem; gap: 1rem; }
    .os-nav-links.open { display: flex; }
    .os-menu-toggle { display: block; }
}
@media (max-width: 480px) {
    .woocommerce ul.products { grid-template-columns: 1fr !important; }
}
