/* ================= GLOBAL & RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #3c2f2f;
    line-height: 1.6;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ================= HEADER ================= */
header {
    background-color: #f5f3ee;
    padding: 1rem;
    border-bottom: 3px solid #547d57;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #547d57;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a:hover,
nav a[aria-current="page"] {
    color: #547d57;
    text-decoration: underline;
    font-weight: 500;
}

.header-icons .icon-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 0.5rem;
}

/* ================= HERO & TITRES ================= */
.hero,
.page-title,
.page-hero {
    background: linear-gradient(135deg, #f5f3ee 0%, #e8f5e9 100%);
    padding: 3rem 1rem;
    text-align: center;
    border-bottom: 3px solid #547d57;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3c2f2f;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #3c2f2f;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #3c2f2f;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ================= BOUTONS ================= */
.cta-button,
.add-to-cart,
.submit-button,
.newsletter-submit {
    background-color: #547d57;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    transition: background 0.3s;
    font-size: 1rem;
}

.cta-button:hover,
.add-to-cart:hover,
.submit-button:hover {
    background-color: #3c2f2f;
}

/* ================= GRIDS (Cartes Produits / Conseils / Team) ================= */
.tips-grid,
.plants-grid,
.team-grid,
.certifications-grid,
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* CARTES PRODUITS & CONSEILS */
.plant-card,
.tip-card,
.cert-item,
.value-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.plant-card:hover,
.tip-card:hover {
    transform: translateY(-5px);
}

.plant-image,
.member-image,
.tip-image,
.hero-image {
    width: 100%;
    background-color: #ddd;
    /* Couleur de fond si image ne charge pas */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.plant-image img,
.member-image img,
.tip-image img,
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plant-image {
    height: 250px;
}

.member-image {
    height: 300px;
}

.hero-image {
    height: 400px;
    max-width: 800px;
    margin: 0 auto 2rem;
    border-radius: 8px;
}

.plant-content,
.member-content,
.tip-content {
    padding: 1.5rem;
}

.plant-price {
    font-size: 1.3rem;
    color: #547d57;
    font-weight: 700;
    margin: 0.5rem 0;
}

/* ================= FORMULAIRES (Contact & Newsletter) ================= */
.contact-form {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.required {
    color: #d32f2f;
}

.newsletter {
    background-color: #f5f3ee;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* ================= À PROPOS (Timeline & Valeurs) ================= */
.process-steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    background: #f9f9f9;
    padding: 1.5rem;
    border-left: 4px solid #547d57;
}

.step-number {
    font-size: 2rem;
    color: #547d57;
    font-weight: 700;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* ================= FOOTER ================= */
footer {
    background-color: #3c2f2f;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-links a {
    margin: 0 0.5rem;
    color: #ccc;
}

/* ================= RESPONSIVE ================= */
@media (min-width: 768px) {

    .tips-grid,
    .plants-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav ul {
        gap: 2rem;
    }
}

@media (min-width: 1024px) {

    .plants-grid,
    .certifications-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tips-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Ajusté pour l'équipe */
    .page-title h1 {
        font-size: 3.5rem;
    }
}