/* Base styles */
:root {
    --primary-color: #2e7d32;
    --primary-light: #3e663d;
    --primary-dark: #005005;
    --secondary-color: #795548;
    --secondary-light: #a98274;
    --secondary-dark: #4b2c20;
    --text-color: #333;
    --light-text: #fff;
    --background-light: #f9f9f9;
    --background-dark: #263238;
    --success-color: #66bb6a;
    --border-color: #ddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}
iframe {
    border: none;
}
input {
    border-radius: 5px;
}
label {
    font-weight: 500;
    color: var(--primary-dark);
}
body {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}


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

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    font-weight: 500;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--light-text);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--light-text);
}

/* Section styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-dark);
}
.logo {
    width: 70px;
}
.logo span {
    color: var(--primary-light);
}

/* Navigation principale */
.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 500;
    color: var(--text-color);
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 200;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile menu active state */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

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

/* Hero section */
.hero {
    padding: 100px 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8)), url('https://images.pexels.com/photos/10042307/pexels-photo-10042307.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.eco-badge {
    position: absolute;
    top: 20px;
    right: -15px;
    background-color: var(--success-color);
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    transform: rotate(5deg);
    box-shadow: var(--shadow);
}

/* Concept section */
.concept {
    padding: 80px 0;
    background-color: #fff;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.concept-item {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition);
    background-color: var(--background-light);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.concept-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.concept-icon {
    background-color: var(--primary-light);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.concept-icon i {
    font-size: 2rem;
}

.concept-item h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Moreganic Intro */
.moreganic-intro {
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/10042307/pexels-photo-10042307.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
}

.moreganic-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: #cecece87;
    padding: 20px;
    border-radius: 20px;
}

.moreganic-content h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.moreganic-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.three-es {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.e-item {
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.e-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.moreganic-badge {
    margin-top: 40px;
}

.moreganic-badge img {
    max-width: 150px;
    margin: 0 auto;
}

/* Products section */
.products {
    padding: 80px 0;
    background-color: white;
}

.product-coming-soon {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.product-image {
    flex: 1;
}
.product-image img {
    border-radius: 10px;
}

.product-info {
    flex: 1.5;
}

.coming-soon-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-info h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.product-features {
    margin: 20px 0;
}

.product-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.product-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

.release-date {
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 20px;
}

/* Carbon Negative section */
.carbon-negative {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: white;
}

.carbon-content h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.carbon-content > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.carbon-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.carbon-step {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.carbon-step h3 {
    color: var(--primary-light);
    margin-bottom: 15px;
}

.carbon-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Newsletter section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
    color: white;
}

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

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    margin: 30px 0 15px;
    box-shadow: var(--shadow);
    border-radius: 4px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0;
    padding: 15px 25px;
}

.form-notice {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Contact section */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.contact-details {
    margin: 30px 0;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid h3 {
    color: var(--primary-light);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-about p {
    opacity: 0.8;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .product-coming-soon {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Menu burger en version mobile */
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        margin-top: 0;
    }
    
    .main-nav ul li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    /* Overlay pour fermer le menu en cliquant en dehors */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 90;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .carbon-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}
