/* ===========================================
   FG ENVIRONNEMENT - Styles additionnels
   Complète Astra (ne remplace rien)
   =========================================== */

/* ---------- Variables ---------- */
:root {
    --fge-green-dark: #4A5D23;
    --fge-green: #556B2F;
    --fge-green-bg: #5B7038;
    --fge-gold: #C4A35A;
    --fge-brown: #7A6A4F;
}

/* ---------- Smooth scroll ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ---------- Astra header tweaks ---------- */
.ast-primary-header-bar .site-primary-header-wrap {
    padding-top: 12px;
    padding-bottom: 12px;
}


/* ---------- Service numbers ---------- */
.fge-service-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem !important;
    font-weight: 400;
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 8px !important;
}

/* ---------- Services section images ---------- */
.fge-services-section .wp-block-image img {
    border-radius: 4px;
    object-fit: cover;
    width: 100%;
    max-height: 350px;
}

/* ---------- Cover hero ---------- */
.wp-block-cover .wp-block-columns .wp-block-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* ---------- Contact cards (groups with left border) ---------- */
.wp-block-group[style*="border-left-width"] a {
    text-decoration: none;
}

.wp-block-group[style*="border-left-width"] a:hover {
    color: var(--fge-gold) !important;
}

/* ---------- Buttons hover ---------- */
.wp-block-button__link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* ---------- Separator in cover ---------- */
.wp-block-cover .wp-block-separator {
    width: 60px;
    max-width: 60px;
    margin: 0 auto 30px;
    border: none;
    height: 3px;
}

/* ---------- Full-width sections padding mobile ---------- */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 65px;
    }

    .fge-service-number {
        font-size: 2.8rem !important;
    }

    .fge-services-section .wp-block-columns {
        gap: 20px;
    }

    .fge-services-section .wp-block-image img {
        max-height: 250px;
    }

    .wp-block-cover {
        min-height: 400px !important;
    }

    .wp-block-cover .wp-block-heading {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 480px) {
    .fge-service-number {
        font-size: 2.2rem !important;
    }

    .wp-block-cover .wp-block-heading {
        font-size: 1.15rem !important;
    }
}
