/* ============================================================
   HOME2.CSS — Design System Ferme 3J (Nouvelle Accueil)
   Palette fidèle au logo : Brun boisé, Bleu bleuet, Vert feuillage
   ============================================================ */

/* ===== CSS Custom Properties ===== */
:root {
    /* Browns (logo wood tones) */
    --color-brown-dark: #3E2215;
    --color-brown: #5F2001;
    --color-brown-warm: #8B4513;
    --color-brown-light: #A0522D;
    --color-brown-hover: #6D3410;

    /* Blues (blueberry accents) */
    --color-blue: #4A6FA5;
    --color-blue-dark: #2E5090;
    --color-blue-light: #6B8FBF;

    /* Greens (leaf accents) */
    --color-green: #3A7D44;
    --color-green-light: #5A9E6F;

    /* Neutrals */
    --color-cream: #FFF8F0;
    --color-cream-dark: #F5EDE4;
    --color-white: #FFFFFF;
    --color-text: #3E2215;
    --color-text-light: #6B5B4E;

    /* Spacing */
    --section-padding: 90px;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(62, 34, 21, 0.06);
    --shadow-md: 0 8px 32px rgba(62, 34, 21, 0.08);
    --shadow-lg: 0 16px 48px rgba(62, 34, 21, 0.12);
    --shadow-hover: 0 20px 60px rgba(62, 34, 21, 0.16);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.home2-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--color-brown-warm);
}

/* ===== Typography ===== */
.h2-title {
    font-family: 'DM Serif Display', Georgia, serif;
    color: var(--color-brown);
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}

.h2-subtitle {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
}

/* ===== Layout ===== */
.h2-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.h2-section {
    padding: var(--section-padding) 0;
}

.h2-section--alt {
    background-color: var(--color-white);
}

.h2-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.h2-section-header .h2-subtitle {
    margin: 0 auto;
}

.h2-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.h2-section-divider span {
    height: 1px;
    width: 60px;
    background: var(--color-brown-light);
    opacity: 0.4;
}

.h2-section-divider svg {
    width: 20px;
    height: 20px;
    color: var(--color-brown-light);
    opacity: 0.5;
}

/* ===== Buttons ===== */
.h2-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.h2-btn--primary {
    background-color: var(--color-brown-warm);
    color: var(--color-white);
    border-color: var(--color-brown-warm);
}

.h2-btn--primary:hover {
    background-color: var(--color-brown);
    border-color: var(--color-brown);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.h2-btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.7);
}

.h2-btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-brown-warm);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.h2-btn--brown-outline {
    background-color: transparent;
    color: var(--color-brown-warm);
    border-color: var(--color-brown-warm);
}

.h2-btn--brown-outline:hover {
    background-color: var(--color-brown-warm);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.h2-btn-arrow {
    transition: transform var(--transition-fast);
}

.h2-btn:hover .h2-btn-arrow {
    transform: translateX(4px);
}

/* ===== Navigation ===== */
.h2-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(139, 69, 19, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.h2-nav--scrolled {
    background-color: rgba(62, 34, 21, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.h2-nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.h2-nav-logo img {
    height: 56px;
    width: auto;
    transition: transform var(--transition-fast);
}

.h2-nav-logo:hover img {
    transform: scale(1.05);
}

.h2-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.h2-nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.h2-nav-links a:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.12);
}

.h2-nav-phone {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.h2-nav-fb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #1877F2;
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color var(--transition-fast);
    white-space: nowrap;
}

.h2-nav-fb:hover {
    background-color: #145DBF;
    color: var(--color-white);
}

.h2-nav-fb svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Mobile menu toggle */
.h2-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    gap: 5px;
    transition: background-color var(--transition-fast);
}

.h2-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.h2-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.h2-mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

.h2-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== Hero Section ===== */
.h2-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.h2-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.h2-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h2-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(62, 34, 21, 0.3) 0%,
        rgba(62, 34, 21, 0.5) 50%,
        rgba(62, 34, 21, 0.7) 100%
    );
    z-index: 2;
}

.h2-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: 0 24px;
    animation: heroFadeIn 1.2s ease-out;
}

.h2-hero-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.h2-hero-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.h2-hero-slogan-line {
    height: 1px;
    width: 80px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.h2-hero-slogan-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.h2-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.h2-hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.h2-hero-scroll svg {
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Section Histoire ===== */
.h2-histoire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.h2-histoire-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.h2-histoire-text a {
    color: var(--color-blue);
    font-weight: 600;
}

.h2-histoire-text a:hover {
    color: var(--color-blue-dark);
}

.h2-histoire-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.h2-histoire-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(139, 69, 19, 0.15);
    pointer-events: none;
}

.h2-histoire-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.h2-histoire-img:hover img {
    transform: scale(1.03);
}

/* ===== Section Savoir-Faire (Cards) ===== */
.h2-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.h2-card {
    background: var(--color-white);
    border: 2px solid var(--color-blue);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    position: relative;
}

.h2-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.h2-card-header {
    background: linear-gradient(135deg, var(--color-brown-warm), var(--color-brown));
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.h2-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.h2-card-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

.h2-card-header h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-white);
    margin: 0;
}

.h2-card-body {
    padding: 28px 24px;
}

.h2-card-body p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.h2-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-brown-warm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.h2-card-link:hover {
    color: var(--color-brown);
    gap: 10px;
}

.h2-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.h2-card:hover .h2-card-link svg {
    transform: translateX(4px);
}

/* ===== CTA Banner (Parallax) ===== */
.h2-cta-banner {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.h2-cta-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.h2-cta-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h2-cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(62, 34, 21, 0.8) 0%,
        rgba(95, 32, 1, 0.75) 100%
    );
    z-index: 2;
}

.h2-cta-banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
}

.h2-cta-banner-content h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--color-white);
}

.h2-cta-banner-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ===== Section Médias (Vidéos) ===== */
.h2-medias-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.h2-media-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

.h2-media-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.h2-media-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.h2-media-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.h2-media-caption {
    padding: 16px 20px;
}

.h2-media-caption h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-brown);
    line-height: 1.3;
}

/* ===== Footer ===== */
.h2-footer {
    background-color: var(--color-brown-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 0;
}

.h2-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.h2-footer-logo img {
    height: 72px;
    width: auto;
    margin-bottom: 16px;
}

.h2-footer-slogan {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.h2-footer-social {
    display: flex;
    gap: 12px;
}

.h2-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.h2-footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    transform: translateY(-2px);
}

.h2-footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.h2-footer h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 400;
}

.h2-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.h2-footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.h2-footer-links a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.h2-footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.h2-footer-contact svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.h2-footer-bottom {
    padding: 20px 0;
    margin-top: 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Animations ===== */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-12px);
    }
    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal utility */
.h2-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.h2-reveal.h2-visible {
    opacity: 1;
    transform: translateY(0);
}

.h2-reveal-delay-1 { transition-delay: 0.1s; }
.h2-reveal-delay-2 { transition-delay: 0.2s; }
.h2-reveal-delay-3 { transition-delay: 0.3s; }

/* ===== Responsive: Tablet (768px) ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 64px;
    }

    .h2-nav-inner {
        height: 64px;
    }

    .h2-nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--color-brown-dark);
        flex-direction: column;
        padding: 16px 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

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

    .h2-nav-links a {
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: 0;
    }

    .h2-nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.06);
    }

    .h2-mobile-toggle {
        display: flex;
    }

    .h2-nav-phone {
        display: none;
    }

    .h2-histoire-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .h2-histoire-img {
        order: -1;
        max-height: 400px;
    }

    .h2-cards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .h2-medias-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .h2-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .h2-footer-social {
        justify-content: center;
    }

    .h2-footer-contact p {
        justify-content: center;
    }
}

/* ===== Responsive: Mobile (480px) ===== */
@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }

    .h2-hero {
        min-height: 500px;
    }

    .h2-hero-title {
        font-size: 2.4rem;
    }

    .h2-hero-slogan-line {
        width: 40px;
    }

    .h2-hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .h2-btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .h2-title {
        font-size: 1.8rem;
    }

    .h2-cta-banner {
        padding: 80px 0;
    }

    .h2-footer-grid {
        gap: 32px;
    }
}

/* ============================================================
   SUBPAGE & NAVIGATION DROPDOWNS STYLE EXTENSIONS
   ============================================================ */

/* --- Dropdown Navigation (Desktop) --- */
.h2-nav-dropdown {
    position: relative;
}

.h2-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.h2-chevron {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--transition-fast);
}

.h2-nav-dropdown:hover .h2-chevron {
    transform: translateY(1px) rotate(45deg);
}

.h2-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    min-width: 240px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    z-index: 1010;
    border: 1px solid var(--color-cream-dark);
}

.h2-nav-dropdown:hover .h2-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.h2-dropdown-menu li {
    width: 100%;
}

.h2-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    background: transparent;
    border-radius: 0;
    text-align: left;
}

.h2-dropdown-menu li a:hover {
    background-color: var(--color-cream-dark) !important;
    color: var(--color-brown-warm) !important;
    padding-left: 24px;
}

/* --- Navigation Dropdowns (Mobile Accordion) --- */
@media (max-width: 1024px) {
    .h2-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(62, 34, 21, 0.2);
        padding: 0;
        display: none;
        border: none;
        border-radius: 0;
    }
    
    .h2-dropdown-menu.open {
        display: block;
    }
    
    .h2-dropdown-menu li a {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 12px 32px;
    }
    
    .h2-dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
        color: var(--color-white) !important;
    }
    
    .h2-chevron {
        margin-left: auto;
        transform: rotate(45deg);
    }
    
    .h2-nav-dropdown.active .h2-chevron {
        transform: rotate(-135deg) translateY(-1px);
    }
}

/* --- General Subpage Header --- */
.h2-page-header {
    background: linear-gradient(135deg, var(--color-brown-dark), var(--color-brown));
    padding: 130px 0 60px;
    color: var(--color-white);
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--color-blue);
}

.h2-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-green);
}

.h2-page-header h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

/* --- General Page Layouts --- */
.h2-page-content {
    padding: 64px 0;
}

.h2-grid-sidebar {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 1024px) {
    .h2-grid-sidebar {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Sidebar navigation */
.h2-sidebar-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    border: 1px solid var(--color-cream-dark);
}

.h2-sidebar-title {
    font-family: 'DM Serif Display', Georgia, serif;
    color: var(--color-brown);
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-blue);
}

.h2-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.h2-sidebar-list a {
    display: block;
    color: var(--color-text-light);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.h2-sidebar-list a:hover,
.h2-sidebar-list li.active a {
    color: var(--color-brown-warm);
    background-color: var(--color-cream);
    padding-left: 18px;
}

/* --- Prose Elements (Standard Text Styling) --- */
.h2-prose {
    color: var(--color-text);
}

/* Center database-injected floated images in category descriptions and prose */
.h2-prose p img,
.h2-prose img.img-historique,
.h2-prose p a img {
    float: none !important;
    display: block !important;
    margin: 28px auto !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-md) !important;
}

.h2-prose p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.h2-prose h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    color: var(--color-brown);
    font-size: 1.8rem;
    margin-top: 36px;
    margin-bottom: 16px;
    font-weight: 400;
}

.h2-prose h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    color: var(--color-brown-warm);
    font-size: 1.4rem;
    margin-top: 28px;
    margin-bottom: 12px;
    font-weight: 400;
}

.h2-prose strong, .h2-prose b {
    color: var(--color-brown-dark);
    font-weight: 600;
}

/* Listes stylisées */
.h2-prose ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 28px;
}

.h2-prose ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.h2-prose ul li::before {
    content: "•";
    color: var(--color-blue);
    font-weight: bold;
    font-size: 1.4rem;
    position: absolute;
    left: 6px;
    top: -2px;
}

.h2-prose ol {
    padding-left: 20px;
    margin-bottom: 28px;
}

.h2-prose ol li {
    margin-bottom: 12px;
    line-height: 1.6;
    padding-left: 6px;
}

.h2-blockquote {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-brown);
    border-left: 4px solid var(--color-blue);
    padding-left: 24px;
    margin: 32px 0;
    line-height: 1.6;
}

/* --- Photo & Grid Styling --- */
.h2-photos-grid, .h2-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 28px 0;
}

.h2-photos-grid li, .h2-products-grid li {
    padding-left: 0;
    margin-bottom: 0;
}

.h2-photos-grid li::before, .h2-products-grid li::before {
    content: none !important;
}

.h2-photo-card, .h2-product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-cream-dark);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.h2-photo-card:hover, .h2-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.h2-photo-card img, .h2-product-card img {
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-bottom: 1px solid var(--color-cream-dark);
}

.h2-photo-card p, .h2-product-card-body {
    padding: 16px;
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
    flex-grow: 1;
}

.h2-product-card h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    color: var(--color-brown);
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 400;
}

/* --- Stores (Points de Vente) Layout --- */
.h2-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
    margin: 24px 0 48px;
}

.h2-store-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--color-cream-dark);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.h2-store-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.h2-store-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--color-brown-warm);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.h2-store-city {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.4;
}

.h2-section-title-border {
    border-bottom: 2px solid var(--color-blue);
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 16px;
}

/* --- Fromagerie Cheese Cards (Special Grid) --- */
.h2-cheese-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin: 36px 0;
}

.h2-cheese-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-blue);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.h2-cheese-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.h2-cheese-header {
    background: linear-gradient(135deg, var(--color-brown-warm), var(--color-brown));
    color: var(--color-white);
    padding: 16px 20px;
}

.h2-cheese-header h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 400;
    color: var(--color-white);
}

.h2-cheese-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.h2-cheese-img-desc {
    display: flex;
    gap: 16px;
}

.h2-cheese-img-desc img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    border: 1px solid var(--color-cream-dark);
}

.h2-cheese-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Contact layout classes */
.h2-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .h2-contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.h2-contact-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.h2-fb-hours {
    background-color: var(--color-cream-dark);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-top: 24px;
    border: 1px solid var(--color-cream-dark);
}

.h2-fb-hours h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    color: var(--color-brown);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.h2-fb-hours p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

/* News List Layout */
.h2-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 36px;
    margin: 36px 0;
}

.h2-news-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-cream-dark);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.h2-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.h2-news-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--color-cream-dark);
}

.h2-news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.h2-news-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25rem;
    color: var(--color-brown);
    margin: 0;
}

.h2-news-title a {
    color: var(--color-brown);
}

.h2-news-title a:hover {
    color: var(--color-brown-warm);
}

.h2-news-date {
    font-size: 0.8rem;
    color: var(--color-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.h2-news-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.h2-news-footer {
    padding: 0 20px 20px;
}

.h2-btn--sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}


/* --- Layout Utility Classes (Zero Inline CSS compliance) --- */
.h2-history-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: start;
}

.h2-history-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.h2-history-images img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.h2-page-divider {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--color-cream-dark);
}

.h2-margin-top-zero {
    margin-top: 0;
}

.h2-valeurs-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.h2-valeurs-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.h2-valeurs-list li::before {
    content: "✓";
    color: var(--color-green);
    font-weight: bold;
    position: absolute;
    left: 4px;
    top: 0;
}

@media (max-width: 768px) {
    .h2-history-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Sidebar Image Groups */
.h2-sidebar-image-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.h2-sidebar-image-item {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-cream-dark);
    transition: transform var(--transition-fast);
}

.h2-sidebar-image-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.h2-sidebar-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.h2-sidebar-image-item p {
    padding: 12px 16px;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-align: center;
    border-top: 1px solid var(--color-cream-dark);
}



