/* =====================================================
   1. RESET & TYPOGRAPHIE
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    background-color: #f4f4f2;
    color: #1e1e1e;
    line-height: 1.75;
    font-size: 17px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

h1 { font-size: 48px; }
h2 { font-size: 32px; }


/* =====================================================
   2. LAYOUT GLOBAL
===================================================== */

.container {
    max-width: 1100px;
    margin: 0 auto;
}


/* =====================================================
   3. HEADER & MENU
===================================================== */

.header {
    padding: 25px 0;
}

.header-inner {
    display: flex;
    justify-content: flex-end;
}

.menu {
    max-width: 1100px;
    margin: -20px auto 40px auto;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover,
.menu a.active {
    color: #2f5e3f;
}


/* =====================================================
   4. BANNI RES
===================================================== */

.banner {
    max-width: 1100px;
    height: 180px;
    margin: 10px auto 20px auto;
    border-radius: 12px;
    background: url("../images/banner-agrumes.jpg") center center no-repeat;
    background-size: cover;
}

.banner-sanguin {
    background-image: url("../images/banner4-agrumes.jpg");
}

.banner-bouddha {
    background-image: url("../images/banner5-agrumes.jpg");
}

.banner-yuzu {
    background-image: url("../images/banner-yuzu.jpg");
}

.banner-caviar {
    background-image: url("../images/banner-caviar.jpg");
}

.banner-kumquat {
    background-image: url("../images/banner-kumquat.jpg");
}

.banner-pomelo-rouge {
    background-image: url("../images/banner-pomelo-rouge.jpg");
}

.banner-combava {
    background-image: url("../images/banner-combava.jpg");
}



/* =====================================================
   5. COLLECTION & CARTES
===================================================== */

.collection {
    padding: 40px 0 80px 0;
    text-align: center;
}

.collection h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.divider {
    width: 50px;
    height: 2px;
    background: #2f5e3f;
    margin: 20px auto 40px auto;
}

.collection-intro {
    max-width: 950px;
    margin: 0 auto 80px auto;
    font-size: 18px;
    line-height: 1.9;
    opacity: 0.85;
}


/* GRID */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}


/* CARTES */

.card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 22px;
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.03);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.card p {
    font-size: 15px;
    opacity: 0.85;
}


/* PAGE ORANGER SANGUIN MINI CARDS */

.page-sanguin .grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
}

.page-sanguin .card-link { max-width: 160px; }

.page-sanguin .card {
    padding: 12px;
    text-align: center;
}

.page-sanguin .card img { height: 120px; }
.page-sanguin .card h3 { font-size: 0.9rem; }
.page-sanguin .card p { font-size: 0.75rem; }


/* =====================================================
   6. CONTENU AGRUME (fiche, culture )
===================================================== */

.content-block { margin: 60px 0; }

.content-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.content-row.reverse { flex-direction: row-reverse; }

.content-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
}

.content-text { max-width: 500px; }

.section-title {
    text-align: center;
    margin: 110px 0 50px 0;
}


/* =====================================================
   7. MA PLANTE
===================================================== */

.ma-plante {
    max-width: 1100px;
    margin: 80px auto;
}

.plante-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.plante-img img {
    width: 420px;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.plante-text { flex: 1; }

.plante-gallery {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.miniature {
    width: 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    cursor: pointer;
}

.miniature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.miniature:hover img {
    transform: scale(1.15);
}


/* =====================================================
   8. EVOLUTION
===================================================== */

.evolution h2 {
    margin-bottom: 40px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: auto;
    text-align: left;
}

.timeline-img img {
    width: 260px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.timeline-content { flex: 1; }

.timeline-date {
    color: #2f5d3a;
    font-weight: 600;
    margin-bottom: 8px;
}


/* =====================================================
   9. CONTACT
===================================================== */

.contact-container {
    max-width: 700px;
    margin: 100px auto;
    text-align: center;
}

.contact-form {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 25px;
}


/* =====================================================
   10. FOOTER
===================================================== */
.bottom-link {
    margin-top: 80px;
    margin-bottom: 20px;
    text-align: center;
}


.site-footer {
    margin-top: 100px;   /* espace avant le footer */
    padding: 40px 20px;  /* espace int rieur footer */
    text-align: center;
    font-size: 13px;
    color: #6a6a6a;
    border-top: 1px solid #e5e5e5;
}

/* =====================================================
   11. RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-img img {
        width: 80%;
    }

    .plante-row {
        flex-direction: column;
        text-align: center;
    }
}