/* ==========================================
   VARIABLES & RESET
   ========================================== */
:root {
    /* Primary Colors (Green) */
    --primary: #406835;
    --primary-light: #C1EFAF;
    --primary-dark: #294F20;
    --primary-50: #2A891C;
    --primary-70: #62C04E;
    
    /* Secondary Colors (Orange) */
    --secondary: #8D4E2C;
    --secondary-light: #FFDBCB;
    --secondary-dark: #703717;
    --secondary-accent: #E76D24;
    
    /* Tertiary Colors (Brown) */
    --tertiary: #8A5022;
    --tertiary-light: #FFDCC5;
    --tertiary-dark: #6D390B;
    
    /* Neutral Colors */
    --bg-light: #F8FBF0;
    --bg-surface: #FFF8F5;
    --text-dark: #191D17;
    --text-on-surface: #221A15;
    --border-gray: #DFE4D7;
    --white: #ffffff;
    
    /* Legacy compatibility */
    --bg-cream: #F8FBF0;
    --text-green: #406835;
    --accent-orange: #E76D24;
    --footer-brown: #6D390B;
    --light-green: #C1EFAF;
    --light-red: #FFDBCB;
}

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

@font-face {
    font-family: "Mops";
    src: url("./Mops.ttf");
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cream);
    font-family: 'Lexend', sans-serif;
    color: var(--text-green);
    line-height: 1.6;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.nav-brand {
    font-family: "Mops", serif;
    font-size: 1.8rem;
    color: var(--accent-orange);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-green);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-orange);
}

.btn-contact {
    background-color: var(--accent-orange);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-contact:hover {
    opacity: 0.9;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-green);
    transition: 0.3s;
}

/* ==========================================
   HEADER / HERO
   ========================================== */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.hero-content {
    max-width: 900px;
}

.logo-brand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.logo-icon {
    width: 80px;
    height: 185px;
    background-image: url('./Logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

h1.brand {
    font-family: "Mops", serif;
    color: var(--accent-orange);
    font-size: 5rem;
    line-height: 1.1;
    margin: 0;
}

.tagline {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--text-green);
}

.slogan {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-green);
}

.launch-badge {
    display: inline-block;
    background-color: var(--accent-orange);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 25px;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Page Hero (sous-pages) */
.page-hero {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #d65a1a 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
}

.page-hero h1 {
    font-family: "Mops", serif;
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero .lead {
    font-size: 1.4rem;
    font-weight: 300;
}

/* ==========================================
   LAYOUT & CONTAINERS
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    padding: 60px 0;
}

.section {
    margin-bottom: 80px;
}

.bg-light {
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 15px;
    margin-left: -20px;
    margin-right: -20px;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h2 {
    font-family: "Mops", serif;
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-family: "Mops", serif;
    font-size: 1.8rem;
    color: var(--text-green);
    margin: 40px 0 20px 0;
}

h4 {
    font-family: "Mops", serif;
    font-size: 1.4rem;
    color: var(--text-green);
    margin-bottom: 15px;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
}

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

.highlight-text {
    background-color: #fff3cd;
    padding: 20px;
    border-left: 4px solid var(--accent-orange);
    margin: 30px 0;
    font-weight: 500;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Lexend', sans-serif;
}

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

.btn-primary:hover {
    background-color: #d65a1a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-green);
    border: 2px solid var(--text-green);
}

.btn-secondary:hover {
    background-color: var(--text-green);
    color: white;
}

.btn-primary-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* ==========================================
   CONTENT BLOCKS
   ========================================== */
.content-block {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-block ul,
.content-block ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-block li {
    font-size: 1.1rem;
    margin: 12px 0;
}

.content-block.highlight {
    border-left: 5px solid var(--accent-orange);
    background-color: #fff7f0;
}

/* ==========================================
   GRIDS & CARDS
   ========================================== */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.comparison-col {
    padding: 30px;
    border-radius: 10px;
}

.comparison-col.problem {
    background-color: var(--light-red);
}

.comparison-col.solution {
    background-color: var(--light-green);
}

.comparison-col ul {
    list-style-position: inside;
    padding-left: 0;
}

.comparison-col li {
    margin: 15px 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-number {
    font-family: "Mops", serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-green);
    margin-top: 10px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

.products-grid li {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* How It Works */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.how-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.how-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-card ul {
    margin-top: 20px;
    padding-left: 20px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
    padding-left: 30px;
    border-left: 3px solid var(--accent-orange);
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent-orange);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    line-height: 60px;
    margin-bottom: 20px;
    font-family: "Mops", serif;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #d65a1a 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    color: white;
}

.cta-box p {
    font-size: 1.2rem;
    margin: 20px 0;
}

/* ==========================================
   FORMS
   ========================================== */
.email-signup {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.email-signup input {
    padding: 15px 20px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    width: 350px;
    max-width: 100%;
    font-family: 'Lexend', sans-serif;
}

.email-signup button {
    padding: 15px 35px;
    font-size: 1.1rem;
    background-color: var(--text-green);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
    transition: background-color 0.3s;
}

.email-signup button:hover {
    background-color: #1a3315;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background-color: var(--accent-orange);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin: 60px 0;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    font-size: 1.3rem;
    margin: 20px 0;
}

.producer-cta {
    margin-top: 30px;
    font-size: 1.1rem;
}

.producer-cta a {
    color: white;
    text-decoration: underline;
}

/* ==========================================
   SPECIFIC PAGES ELEMENTS
   ========================================== */

/* Priority List */
.priority-list {
    list-style: none;
    padding-left: 0;
}

.priority-list li {
    background-color: #fff7f0;
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid var(--accent-orange);
    border-radius: 5px;
}

/* Product Category */
.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.product-category {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-category h3 {
    margin-top: 0;
}

/* Pickup Points */
.pickup-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.pickup-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid var(--border-gray);
}

/* Price Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.comparison-table thead {
    background-color: var(--text-green);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-gray);
}

.comparison-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-orange);
}

.faq-item h4 {
    color: var(--accent-orange);
    margin-bottom: 10px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.team-member .role {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.mission-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-orange);
}

/* Commitments */
.commitments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.commitment-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-orange);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-style: italic;
}

.testimonial.placeholder {
    background-color: #f9f9f9;
    border: 2px dashed var(--border-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-author {
    margin-top: 20px;
    text-align: right;
    font-style: normal;
    font-weight: 600;
    color: var(--accent-orange);
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    margin: 40px 0;
}

.testimonial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
}

.testimonial-content.image-first {
    grid-template-columns: 1fr 1fr;
}

.testimonial-text h3 {
    color: var(--accent-orange);
    font-size: 1.5em;
    margin-bottom: 25px;
    font-weight: 700;
}

.testimonial-quote {
    margin-bottom: 25px;
}

.testimonial-quote p {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.95em;
}

.testimonial-quote blockquote {
    border-left: 4px solid var(--accent-orange);
    padding-left: 20px;
    font-style: italic;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .testimonial-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: var(--footer-brown);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

footer .logo-brand-container {
    margin-bottom: 30px;
}

footer .brand {
    color: var(--accent-orange);
}

footer .tagline,
footer .slogan {
    color: white;
}

footer .contact-email {
    font-size: 1.5rem;
    margin: 30px 0;
}

footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-nav {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-info {
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-info p {
    margin: 10px 0;
}

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

/* Tablet */
@media (max-width: 1024px) {
    h1.brand {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Navigation mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero */
    h1.brand {
        font-size: 3rem;
    }
    
    .logo-icon {
        width: 60px;
        height: 139px;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .slogan {
        font-size: 1.2rem;
    }
    
    .launch-badge {
        font-size: 1rem;
        padding: 10px 25px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero .lead {
        font-size: 1.1rem;
    }
    
    /* Typography */
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Grids */
    .comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .how-it-works,
    .benefits-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    
    /* Content */
    .content-block,
    .bg-light {
        padding: 25px;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Forms */
    .email-signup {
        flex-direction: column;
        align-items: stretch;
    }
    
    .email-signup input,
    .email-signup button {
        width: 100%;
    }
    
    /* CTA */
    .cta-section {
        padding: 40px 25px;
    }
    
    .cta-section p,
    .subtitle {
        font-size: 1.1rem;
    }
    
    /* Table */
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 40px 15px;
    }
    
    h1.brand {
        font-size: 2.5rem;
    }
    
    .logo-icon {
        width: 50px;
        height: 116px;
    }
    
    .logo-brand-container {
        gap: 15px;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .slogan {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .content-block {
        padding: 20px;
    }
    
    .content-block p,
    .content-block li {
        font-size: 1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    main {
        padding: 40px 0;
    }
    
    .section {
        margin-bottom: 60px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}
