/* ========================================
   NOUVEAU SENTIER V2 — Design Brutaliste Organique
   ======================================== */

:root {
    /* Couleurs — Palette terre/organique audacieuse */
    --color-bg: #0a0a08;
    --color-text: #f5f5f0;
    --color-accent: #7cb342;        /* Vert mousse néon */
    --color-accent-2: #d4a574;      /* Sève dorée */
    --color-accent-3: #c45c3e;      /* Terre brûlée */
    --color-surface: #141412;
    --color-muted: #6b6b60;
    
    /* Typographie */
    --font-display: 'Archivo Black', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --font-body: 'Inter', sans-serif;
    
    /* Espacements brutalistes */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-xxl: 12rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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

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

/* ========================================
   NAVIGATION BRUTALISTE
   ======================================== */
.nav-brutalist {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-md);
    mix-blend-mode: difference;
}

.nav-logo {
    position: relative;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 0.9;
    letter-spacing: -0.02em;
    display: block;
}

.logo-tagline {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-top: 0.25rem;
    display: block;
}

.nav-trigger {
    width: 48px;
    height: 48px;
    background: none;
    border: 2px solid currentColor;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav-trigger:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.nav-trigger span {
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--space-xl);
    gap: var(--space-sm);
    transition: right 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

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

.nav-link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    opacity: 0.3;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-link:hover {
    opacity: 1;
    color: var(--color-accent);
    transform: translateX(20px);
}

.nav-cta {
    opacity: 1;
    color: var(--color-accent-2);
}

/* ========================================
   HERO BRUTALISTE
   ======================================== */
.hero-brutalist {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-xl) var(--space-md);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a2f1a 0%, #0a0a08 50%, #2d1f16 100%);
    background-size: cover;
    background-position: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.08"/></svg>');
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, var(--color-bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-display);
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
    font-size: clamp(3rem, 12vw, 8rem);
}

.title-accent {
    color: var(--color-accent);
    font-style: italic;
    transform: rotate(-2deg);
    display: inline-block;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    max-width: 500px;
    margin-bottom: var(--space-lg);
    opacity: 0.8;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, currentColor, transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ========================================
   BOUTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid currentColor;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-text);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn:hover {
    color: var(--color-bg);
}

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

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

.btn-secondary {
    border-color: var(--color-accent-2);
    color: var(--color-accent-2);
}

.btn-secondary::before {
    background: var(--color-accent-2);
}

/* ========================================
   STATS SECTION — Diagonal
   ======================================== */
.stats-section {
    padding: var(--space-xxl) var(--space-md);
    background: var(--color-surface);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: linear-gradient(45deg, transparent 48%, rgba(124, 179, 66, 0.03) 50%, transparent 52%);
    transform: rotate(-5deg);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    position: relative;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-offset {
    transform: translateY(40px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 6rem);
    line-height: 1;
    color: var(--color-accent);
}

.stat-unit {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent-2);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.7;
    max-width: 280px;
}

/* ========================================
   SECTIONS COMMUNES
   ======================================== */
.products-section,
.actions-section,
.newsletter-section {
    padding: var(--space-xxl) var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
}

.section-title-angled {
    transform: rotate(-2deg);
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 0.5rem 1.5rem;
}

.section-intro {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    opacity: 0.8;
}

/* ========================================
   PRODUCTS GRID — Asymétrique
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.product-card {
    background: var(--color-surface);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.product-card:not(.product-large) {
    grid-column: span 6;
}

.product-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-surface);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-content {
    padding: var(--space-md);
}

.product-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.product-price {
    font-family: var(--font-mono);
    color: var(--color-accent-2);
    font-weight: 700;
    display: block;
    margin: var(--space-xs) 0;
}

.product-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.product-link:hover {
    opacity: 1;
}

/* ========================================
   ACTIONS GRID
   ======================================== */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

.action-card {
    background: var(--color-surface);
    padding: var(--space-lg);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.action-card:hover::before {
    transform: scaleY(1);
}

.action-card:hover {
    background: rgba(124, 179, 66, 0.05);
    transform: translateX(10px);
}

.action-primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.action-primary::before {
    background: var(--color-bg);
}

.action-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    opacity: 0.5;
}

.action-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1;
}

.action-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: auto;
    opacity: 0.7;
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter-section {
    background: var(--color-accent);
    color: var(--color-bg);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-sm);
}

.newsletter-form {
    display: flex;
    gap: var(--space-xs);
    margin: var(--space-md) 0 var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-bg);
    background: transparent;
    color: var(--color-bg);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(10, 10, 8, 0.5);
}

.newsletter-form .btn {
    border-color: var(--color-bg);
    color: var(--color-bg);
}

.newsletter-form .btn::before {
    background: var(--color-bg);
}

.newsletter-form .btn:hover {
    color: var(--color-accent);
}

.newsletter-rgpd {
    font-size: 0.75rem;
    opacity: 0.7;
}

.newsletter-rgpd a {
    text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-brutalist {
    background: var(--color-surface);
    padding: var(--space-xl) var(--space-md) var(--space-md);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-brand strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: var(--space-xs);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-nav strong {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-xs);
    color: var(--color-accent);
}

.footer-nav a {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(245, 245, 240, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    opacity: 0.5;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .product-large {
        grid-template-columns: 1fr;
    }
    
    .product-card:not(.product-large) {
        grid-column: span 12;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-offset {
        transform: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-link {
        font-size: 2rem;
    }
}