/* --- VARIABLES DE COULEURS NOUVEAU THÈME (Soft Light Green/Olive Theme) --- */
:root {
    /* Deep Olive / Dark Forest Green: Couleur principale pour le texte et les fonds sombres. Tiré du logo. */
    --color-primary-dark: #38463B;

    /* Soft Leaf Green / Teal: Couleur accent, visible, fraîcheur. Complémentaire au dark olive. */
    --color-accent: #6C9F83;

    /* Very Pale Green/Cream: Fond aéré, neutre et légèrement chaud. */
    --color-soft-grey: #F0F4EF;

    /* Bright Sky Blue (Kept for orb for variance, but not used in main theme elements)*/
    --color-sky-blue: #A3C9E6;

    /* Soft Orange/Amber (Kept for orb for variance, but not used in main theme elements)*/
    --color-orange: #FFD280;

    --color-white: #FFFFFF;
    --color-dark: #1A1A1A;
    /* Noir pour le contraste */

    /* TYPOGRAPHIE : Poppins (Titres) et Roboto (Corps) */
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* --- STYLES GÉNÉRAUX --- */
body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--color-primary-dark);
    line-height: 1.6;
    background-color: var(--color-white);
}

h1,
h2,
h3 {
    font-family: var(--font-title);
    color: var(--color-primary-dark);
    font-weight: 600;
}

/* Conteneur pour centrer le contenu */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-shadow: 0 0 5px 5px white inset;
    border-radius: 5px;
}

/* Adjust header for mobile browsing */
section {
    padding: 60px 0;
}

/* Images visuelles dans les sections */
.visual-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- BOUTONS CTA --- */
.cta-button {
    padding: 12px 30px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    /* Ombre plus visible (0.2 -> 0.35, blur 6px -> 10px) */
    box-shadow: 0 6px 2rem 0 rgb(255, 255, 255);
}

.cta-primary {
    /* Bouton principal en Olive Foncé */
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.cta-secondary {
    /* Bouton accentué Vert Clair avec fond transparent */
    background-color: transparent;
    /* On change la couleur de bordure pour le contraste sur l'overlay sombre du hero */
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.cta-primary:hover {
    /* Survol Vert Clair Accent */
    background-color: var(--color-accent);
}

.cta-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
    /* S'assure que la bordure correspond au fond */
}


/* --- SECTION 1: HERO --- */
#hero {
    height: 100vh;
    background-image: url('placeholder-riziere-ross-bethio.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Overlay plus doux */
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#hero h1 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 10px;
    filter: drop-shadow(0 0 20px rgb(255, 255, 255));
}

#hero h2 {
    font-size: 1.5rem;
    color: var(--color-accent);
    /* Accent Vert Clair */
    font-weight: 500;
    filter: drop-shadow(0 0 10px var(--color-dark));
}

.company-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 15px;
    /* Applies rounded corners */
    box-shadow: 0 0 5px 5px white inset;
    /* NOUVEAU: Ombre blanche rayonnante autour du logo */
    filter: drop-shadow(0 0 20px rgb(255, 255, 255));
}


/* --- SECTION 2: À PROPOS --- */
#about {
    display: flex;
    align-items: center;
    background-color: var(--color-soft-grey);
    /* Fond Gris Doux/Crème */
}

.about-text,
.about-visuals {
    flex: 1;
    padding: 40px;
}

.about-text {
    /* Bloc de texte en Olive Foncé */
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    border-radius: 8px;
}

.about-text h2 {
    color: var(--color-accent);
    /* Titre en Vert Clair Accent */
}

.value-card {
    background-color: var(--color-white);
    padding: 20px;
    margin-top: 15px;
    border-left: 3px solid var(--color-accent);
    /* Ligne accent Vert Clair */
    color: var(--color-primary-dark);
    box-shadow: 0 6px 2rem 0 rgb(229, 229, 229);
}

.value-card h3 {
    color: var(--color-primary-dark);
}


/* --- SECTION 3: PRODUITS (Grille) --- */
#products {
    background-color: var(--color-white);
    text-align: center;
}

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

.product-card {
    background-color: var(--color-soft-grey);
    /* Fond Gris Doux/Crème */
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 0 5px 5px white inset;
    filter: drop-shadow(0 0 1rem var(--color-accent));
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px 15px 0;
    color: var(--color-primary-dark);
}

.product-card p {
    padding: 0 15px 15px;
    font-size: 0.95rem;
}


/* --- SECTION 4: PROCESSUS --- */
.process-section {
    background-color: var(--color-soft-grey);
    /* Fond Gris Doux/Crème */
}

.process-subtitle {
    text-align: center;
    margin-bottom: 50px;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    text-align: center;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 180px;
}

.icon-circle {
    background-color: var(--color-accent);
    /* Cercles en Vert Clair Accent */
    color: var(--color-white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 20px var(--color-dark));
}

.certification-block {
    background-color: var(--color-primary-dark);
    /* Bloc foncé Olive Foncé */
    color: var(--color-white);
    padding: 30px;
    margin-top: 50px;
    border-left: 5px solid var(--color-accent);
    box-shadow: 0 6px 2rem 0 rgb(56, 70, 59);
    /* Utilisation d'une nuance sombre de la couleur primaire */
    border-radius: 5px;
}

.certification-block h3 {
    color: var(--color-accent);
}


/* --- SECTION 5: IMPACT LOCAL --- */
.impact-section {
    display: flex;
    gap: 40px;
    align-items: center;
}

.impact-text {
    flex: 2;
}

.impact-visual {
    flex: 1;
}

.impact-visual img {
    border: 1px solid var(--color-accent);
}

.impact-text ul {
    list-style: none;
    padding: 0;
}

.impact-text li::before {
    content: "🌱";
    margin-right: 10px;
}


/* --- SECTION 6: CONTACT --- */
#contact {
    background-color: var(--color-soft-grey);
    /* Fond Gris Doux/Crème */
    padding: 60px 0;
}

.contact-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-form-area {
    flex: 2;
    min-width: 300px;
}

.contact-info-area {
    flex: 1;
    min-width: 250px;
}

.contact-form {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 6px 2rem 0 rgb(229, 229, 229);
}

.form-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    box-shadow: 0 6px 2rem 0 var(--color-accent);
    /* Utilisez l'accent pour le CTA */
}

.info-title {
    color: var(--color-primary-dark);
}

.contact-info-map {
    height: 300px;
    background-color: #ddd;
    text-align: center;
    line-height: 200px;
    border: 1px solid var(--color-accent);
}

.contact-info-map iframe {
    width: 100%;
    height: 100%;
}


/* --- FOOTER --- */
.main-footer {
    background-color: var(--color-primary-dark);
    /* Fond Olive Foncé */
    color: var(--color-white);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.footer-links a,
.footer-social a {
    color: var(--color-accent);
    /* Liens en Vert Clair Accent */
    margin-right: 15px;
    text-decoration: none;
}

.footer-social a {
    margin-left: 15px;
    margin-right: 0;
}


/* --- RESPONSIVE / MEDIA QUERIES --- */
@media (max-width: 900px) {

    #about,
    .impact-section,
    .contact-content {
        flex-direction: column;
    }

    .about-visuals {
        order: 1;
    }

    .about-text {
        order: 2;
        padding-top: 0;
    }

    #hero h1 {
        font-size: 2rem;
    }

    .process-timeline {
        justify-content: center;
    }

    .process-step {
        min-width: 45%;
    }
}

@media (max-width: 500px) {
    .process-step {
        min-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        margin-top: 15px;
    }
}



/* --- ORBES ANIMÉES (EFFET MODERNE) --- */
.animated-orbs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Flou augmenté pour plus de douceur */
    opacity: 0.30;
    /* 20% plus visible (0.25 -> 0.30) */
}

/* Orbe 1: Olive Foncé (Taille Augmentée) */
.orb-1 {
    width: 450px;
    height: 450px;
    background-color: var(--color-primary-dark);
    top: 10%;
    left: 10%;
    animation: moveOrb1 20s infinite alternate ease-in-out;
}

/* Orbe 2: Vert Clair Accent (Taille Augmentée) */
.orb-2 {
    width: 350px;
    height: 350px;
    background-color: var(--color-accent);
    top: 50%;
    right: -150px;
    position: fixed;
    animation: moveOrb2 25s infinite alternate-reverse ease-in-out;
}

/* Orbe 3: Gris Clair/Crème (Taille Augmentée) */
.orb-3 {
    width: 500px;
    height: 500px;
    background-color: var(--color-soft-grey);
    bottom: 0%;
    left: 30%;
    animation: moveOrb3 30s infinite alternate ease-in-out;
}

/* Orbe 4: Bleu (Taille Augmentée) */
.orb-4 {
    width: 600px;
    height: 600px;
    background-color: var(--color-sky-blue);
    top: 5%;
    right: 35%;
    animation: moveOrb4 35s infinite alternate-reverse ease-in-out;
}

/* Orbe 5: Orange (Taille Augmentée) */
.orb-5 {
    width: 600px;
    height: 600px;
    background-color: var(--color-orange);
    top: 35%;
    left: 5%;
    animation: moveOrb5 35s infinite alternate-reverse ease-in-out;
}

/* Définition des mouvements (très lents et subtils) */
@keyframes moveOrb1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(45vw, 25vh) scale(1.05);
    }
}

@keyframes moveOrb2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-25vw, -35vh) scale(0.95);
    }
}

@keyframes moveOrb3 {
    0% {
        transform: translate(0, 0) scale(0.95);
    }

    100% {
        transform: translate(15vw, -5vh) scale(1.0);
    }
}

@keyframes moveOrb4 {
    0% {
        transform: translate(0, 0) scale(1.0);
    }

    100% {
        transform: translate(10vw, 40vh) scale(1.05);
    }
}

@keyframes moveOrb5 {
    0% {
        transform: translate(0, 0) scale(1.0);
    }

    100% {
        transform: translate(-20vw, 20vh) scale(1.05);
    }
}

/* --- FIN ORBES ANIMÉES --- */