/* Les Choux Verts - Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');

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

:root {
    --vert-foret: #3A6B4A;
    --vert-clair: #7BAF7E;
    --vert-pale: #E0EDE2;
    --creme: #F5F0E8;
    --sable: #D4C5A9;
    --terre: #C48B5C;
    --texte: #333333;
    --texte-clair: #666666;
    --fond: #FDFCF9;
    --blanc: #FFFFFF;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Nunito Sans', Arial, sans-serif;
    color: var(--texte);
    background-color: var(--fond);
    line-height: 1.7;
}

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

a {
    color: var(--vert-foret);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--terre);
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--vert-foret);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
    margin-bottom: 1rem;
}

/* --- SKIP LINK --- */
.skip-nav {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--vert-foret);
    color: var(--blanc);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.skip-nav:focus {
    left: 0;
}

/* --- SITE HEADER --- */
.site-top {
    background-color: var(--blanc);
    border-bottom: 1px solid var(--vert-pale);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-top-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-link svg {
    width: 48px;
    height: 48px;
}

.logo-text {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.35rem;
    color: var(--vert-foret);
    letter-spacing: 0.02em;
}

.logo-text small {
    display: block;
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-size: 0.65rem;
    color: var(--vert-clair);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

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

.nav-links li a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--texte);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.4rem 0;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--terre);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.current::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--vert-foret);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--texte);
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

/* --- HERO SECTION --- */
.hero-banner {
    background: linear-gradient(135deg, var(--vert-foret) 0%, var(--vert-clair) 100%);
    color: var(--blanc);
    text-align: center;
    padding: 5rem 1.5rem 4.5rem;
}

.hero-banner h1 {
    color: var(--blanc);
    margin-bottom: 1rem;
    font-size: 2.75rem;
}

.hero-banner p {
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    opacity: 0.92;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    background-color: var(--terre);
    color: var(--blanc);
    padding: 0.85rem 2.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.hero-cta:hover {
    background-color: #b37a4d;
    color: var(--blanc);
    transform: translateY(-1px);
}

/* --- CONTENT WRAPPER --- */
.content-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- SECTION SPACING --- */
.section-block {
    padding: 4rem 0;
}

.section-block.alt-bg {
    background-color: var(--creme);
}

.section-title {
    text-align: center;
    margin-bottom: 0.6rem;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--texte-clair);
}

/* --- FEATURE GRID --- */
.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--blanc);
    border-radius: 6px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.feature-card svg {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
}

.feature-card h3 {
    margin-bottom: 0.65rem;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--texte-clair);
    margin-bottom: 0;
}

/* --- TWO COLUMN LAYOUT --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.split-section.reversed {
    direction: rtl;
}

.split-section.reversed > * {
    direction: ltr;
}

.split-visual {
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--vert-pale);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-visual svg {
    width: 70%;
    height: auto;
}

.split-content h2 {
    margin-bottom: 1rem;
}

.split-content p {
    color: var(--texte-clair);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--terre);
    margin-top: 0.5rem;
}

.text-link:hover {
    color: var(--vert-foret);
}

/* --- VALUES ROW --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    text-align: center;
}

.value-item {
    padding: 1.5rem 1rem;
}

.value-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    color: var(--vert-foret);
}

.value-item h4 {
    margin-bottom: 0.4rem;
}

.value-item p {
    font-size: 0.88rem;
    color: var(--texte-clair);
    margin-bottom: 0;
}

/* --- BLOGROLL (TIMELINE) --- */
.blogroll-section {
    padding: 4rem 0;
}

.blogroll-timeline {
    position: relative;
    max-width: 800px;
    margin: 2.5rem auto 0;
}

.blogroll-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--vert-pale);
}

.timeline-entry {
    position: relative;
    padding-left: 52px;
    margin-bottom: 2.5rem;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--vert-clair);
    border: 3px solid var(--fond);
    box-shadow: 0 0 0 2px var(--vert-clair);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--texte-clair);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
}

.timeline-entry h3 {
    margin-bottom: 0.6rem;
}

.timeline-entry h3 a {
    color: var(--vert-foret);
}

.timeline-entry h3 a:hover {
    color: var(--terre);
}

.timeline-excerpt {
    color: var(--texte-clair);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.timeline-excerpt a {
    color: var(--terre);
    font-weight: 600;
}

.read-on {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--terre);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.read-on:hover {
    color: var(--vert-foret);
}

/* --- CTA BAND --- */
.cta-band {
    background-color: var(--vert-foret);
    color: var(--blanc);
    text-align: center;
    padding: 3.5rem 1.5rem;
}

.cta-band h2 {
    color: var(--blanc);
    margin-bottom: 0.75rem;
}

.cta-band p {
    opacity: 0.88;
    max-width: 520px;
    margin: 0 auto 1.75rem;
}

.cta-btn {
    display: inline-block;
    background-color: var(--terre);
    color: var(--blanc);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.25s ease;
}

.cta-btn:hover {
    background-color: #b37a4d;
    color: var(--blanc);
}

/* --- SITE FOOTER --- */
.site-bottom {
    background-color: #2a2a2a;
    color: #cccccc;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-grid h4 {
    color: var(--blanc);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-nav-list {
    list-style: none;
}

.footer-nav-list li {
    margin-bottom: 0.5rem;
}

.footer-nav-list li a {
    color: #cccccc;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-nav-list li a:hover {
    color: var(--vert-clair);
}

.footer-contact-line {
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.footer-bar {
    max-width: 1140px;
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid #444444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999999;
}

.footer-bar a {
    color: #999999;
}

.footer-bar a:hover {
    color: var(--vert-clair);
}

/* --- COOKIE POPUP (CORNER) --- */
.cookie-box {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    background-color: var(--blanc);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    max-width: 340px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    z-index: 500;
    font-size: 0.85rem;
    line-height: 1.6;
    display: none;
}

.cookie-box.visible {
    display: block;
}

.cookie-box p {
    margin-bottom: 1rem;
    color: var(--texte-clair);
}

.cookie-box a {
    color: var(--terre);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-accept {
    background-color: var(--vert-foret);
    color: var(--blanc);
    border: none;
    padding: 0.5rem 1.15rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.cookie-accept:hover {
    background-color: #2e5a3e;
}

.cookie-decline {
    background-color: transparent;
    color: var(--texte-clair);
    border: 1px solid #d0d0d0;
    padding: 0.5rem 1.15rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.82rem;
    transition: border-color 0.2s ease;
}

.cookie-decline:hover {
    border-color: var(--texte);
}

/* --- INNER PAGE LAYOUT --- */
.page-header {
    background-color: var(--vert-pale);
    padding: 3rem 1.5rem;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.4rem;
}

.page-header p {
    color: var(--texte-clair);
    max-width: 520px;
    margin: 0 auto;
}

.page-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.page-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.page-content ul, .page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.page-content li {
    margin-bottom: 0.35rem;
}

/* --- BLOG INDEX --- */
.blog-listing {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.blog-item {
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.blog-item:last-child {
    border-bottom: none;
}

.blog-item-date {
    font-size: 0.78rem;
    color: var(--texte-clair);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-item h2 {
    font-size: 1.5rem;
    margin: 0.35rem 0 0.6rem;
}

.blog-item h2 a {
    color: var(--vert-foret);
}

.blog-item h2 a:hover {
    color: var(--terre);
}

.blog-item p {
    color: var(--texte-clair);
    font-size: 0.93rem;
}

/* --- BLOG POST --- */
.post-meta {
    font-size: 0.82rem;
    color: var(--texte-clair);
    margin-bottom: 2rem;
}

.post-body {
    font-size: 1.02rem;
}

.post-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
}

.post-body p {
    margin-bottom: 1.15rem;
}

/* --- CONTACT FORM --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.contact-info h3 {
    margin-bottom: 0.8rem;
}

.contact-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--texte);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.92rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--vert-foret);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    background-color: var(--vert-foret);
    color: var(--blanc);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.form-submit:hover {
    background-color: #2e5a3e;
}

/* --- FABRICANTS GRID --- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.brand-card {
    background-color: var(--blanc);
    border-radius: 6px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.brand-card h3 {
    margin-bottom: 0.5rem;
}

.brand-card p {
    font-size: 0.9rem;
    color: var(--texte-clair);
    margin-bottom: 0;
}

/* --- PRODUCT LISTING --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background-color: var(--blanc);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.product-thumb {
    background-color: var(--vert-pale);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 1.25rem;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.product-info p {
    font-size: 0.85rem;
    color: var(--texte-clair);
    margin-bottom: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .feature-row,
    .brand-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .split-section.reversed {
        direction: ltr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.45rem; }

    .hero-banner {
        padding: 3.5rem 1.25rem 3rem;
    }

    .hero-banner h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--blanc);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--vert-pale);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 0.75rem 1.5rem;
    }

    .nav-links li a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .feature-row,
    .brand-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .section-block {
        padding: 2.5rem 0;
    }
}
