:root {
    /* Sampled from the flyer */
    --lime: #abd567;
    --lime-pale: #daeba5;
    --leaf: #56b539;
    --leaf-bright: #6cbf3f;
    --forest: #345443;
    --forest-head: #274d2f;
    --forest-dark: #1c3a22;
    --teal: #1f7a74;
    --teal-deep: #14625d;
    --danger: #d0342c;

    --bg-center: #ffffff;
    --bg-edge: #bfe08a;
    --fg: #223328;
    --muted: #4f6152;
    --border: #d7e7c9;
    --card: #ffffff;
    --shadow: 0 8px 24px rgba(28, 58, 34, 0.10);

    --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-script: "Kaushan Script", "Segoe Script", cursive;
}

@media (prefers-color-scheme: dark) {
    :root {
        --leaf: #66c24a;
        --leaf-bright: #7fce4e;
        --forest: #8fd39a;
        --forest-head: #cfe8cf;
        --forest-dark: #e2f2e2;
        --teal: #5cc9bd;
        --teal-deep: #7ad7cc;
        --bg-center: #10160f;
        --bg-edge: #1a2a16;
        --fg: #e7f3df;
        --muted: #a6bda9;
        --border: #294025;
        --card: #172014;
        --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    }
}

:root[data-theme="light"] {
    --bg-center: #ffffff;
    --bg-edge: #bfe08a;
    --fg: #223328;
    --forest-dark: #1c3a22;
    --forest-head: #274d2f;
    --card: #ffffff;
    --border: #d7e7c9;
}
:root[data-theme="dark"] {
    --bg-center: #10160f;
    --bg-edge: #1a2a16;
    --fg: #e7f3df;
    --forest-dark: #e2f2e2;
    --forest-head: #cfe8cf;
    --card: #172014;
    --border: #294025;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--fg);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    background: var(--bg-center);
    /* Flyer signature: white centre fading to lime at the edges */
    background-image: radial-gradient(130% 90% at 50% 38%,
        var(--bg-center) 30%,
        color-mix(in srgb, var(--bg-edge) 45%, var(--bg-center)) 62%,
        var(--bg-edge) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Scattered leaf decoration, echoing the flyer's foliage */
.leaf-decor {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.leaf-decor .leaf {
    position: absolute;
    fill: var(--leaf-bright);
}

.leaf-1 { width: 15rem; height: 15rem; top: -3rem; left: -3.5rem; transform: rotate(18deg); opacity: 0.16; }
.leaf-2 { width: 22rem; height: 22rem; top: 5%; right: -6rem; transform: rotate(158deg); opacity: 0.11; }
.leaf-3 { width: 12rem; height: 12rem; bottom: 14%; left: -3rem; transform: rotate(-42deg); opacity: 0.15; }
.leaf-4 { width: 18rem; height: 18rem; bottom: -4.5rem; right: 5%; transform: rotate(72deg); opacity: 0.13; }
.leaf-5 { width: 9rem; height: 9rem; top: 46%; left: 54%; transform: rotate(205deg); opacity: 0.08; }

@media (prefers-color-scheme: dark) {
    .leaf-decor .leaf { opacity: 0.09 !important; }
}

a { color: var(--teal); }

h1, h2, h3 {
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: 0.3px;
}

/* Embossed forest-green headings, like the flyer's outlined titles */
.emboss {
    color: var(--forest-head);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55),
        0 2px 5px rgba(20, 50, 30, 0.18);
}
@media (prefers-color-scheme: dark) {
    .emboss { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
}

.script { font-family: var(--font-script); font-weight: 400; }

.wrap {
    max-width: 64rem;
    margin: 0 auto;
    padding-inline: 1.5rem;
}

/* Header */
.site-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    max-width: 64rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--forest-dark);
    line-height: 1;
}

.brand .leaf-mark { width: 2.6rem; height: 2.6rem; flex: none; }

.brand-name {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 2.2rem;
    line-height: 0.9;
    color: var(--forest);
}

.brand-tag {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal);
    margin-top: 0.15rem;
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.site-header nav a {
    text-decoration: none;
    color: var(--fg);
    font-weight: 700;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
}

.site-header nav a:hover {
    background: rgba(108, 191, 63, 0.18);
    color: var(--forest-head);
}

.nav-cta {
    background: var(--leaf) !important;
    color: #123018 !important;
}
.nav-cta:hover { background: var(--leaf-bright) !important; }

main {
    max-width: 64rem;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(28, 58, 34, 0.90), rgba(31, 122, 116, 0.80)),
        linear-gradient(135deg, var(--forest), var(--leaf));
    box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    background: radial-gradient(closest-side, rgba(167, 219, 111, 0.4), transparent);
    border-radius: 50%;
    pointer-events: none;
}
.hero::before { width: 22rem; height: 22rem; top: -8rem; right: -6rem; }
.hero::after { width: 16rem; height: 16rem; bottom: -7rem; left: -5rem; }

.hero > * { position: relative; z-index: 1; }

.hero .script-tag {
    font-family: var(--font-script);
    font-size: clamp(1.3rem, 4vw, 1.9rem);
    color: var(--lime-pale);
    display: block;
    margin-bottom: 0.4rem;
}

.hero h1 {
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(2rem, 6vw, 3.3rem);
    line-height: 1.02;
    margin: 0 0 0.9rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.hero .lead {
    max-width: 34rem;
    margin: 0 auto 1.9rem;
    font-size: 1.15rem;
    color: #eafbe0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

/* Red starburst callout, like the flyer's "DEVIS GRATUITS" badge */
.starburst {
    position: relative;
    display: grid;
    place-content: center;
    width: 8.5rem;
    height: 8.5rem;
    padding: 0.5rem;
    color: #fff;
    background: var(--danger);
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.82rem;
    line-height: 1.2;
    clip-path: polygon(
        100% 50%, 84.6% 60.3%, 93.3% 75%, 76.1% 74.1%, 79.4% 91%, 64.3% 82.7%,
        61.2% 100%, 50% 85.4%, 38.8% 100%, 35.7% 82.7%, 20.6% 91%, 23.9% 74.1%,
        6.7% 75%, 15.4% 60.3%, 0% 50%, 15.4% 39.7%, 6.7% 25%, 23.9% 25.9%,
        20.6% 9%, 35.7% 17.3%, 38.8% 0%, 50% 14.6%, 61.2% 0%, 64.3% 17.3%,
        79.4% 9%, 76.1% 25.9%, 93.3% 25%, 84.6% 39.7%);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.8rem 1.7rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid transparent;
}
.button-primary { background: var(--leaf); color: #123018; }
.button-primary:hover { background: var(--leaf-bright); }
.button-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

/* Highlight strip */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 5px solid var(--leaf);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-weight: 700;
    color: var(--forest-head);
}
.highlight .ico { font-size: 1.4rem; line-height: 1; }

/* Sections */
.section { margin: 3.5rem 0; }

.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 0.5rem; text-transform: uppercase; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Service cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.25rem;
}

.card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28, 58, 34, 0.16); }

.card .card-photo {
    display: block;
    width: 100%;
    height: 11rem;
    object-fit: cover;
    border-bottom: 4px solid var(--leaf);
}

.card .card-body { padding: 1.4rem 1.5rem 1.6rem; }

.card h3 {
    margin: 0 0 0.5rem;
    color: var(--teal-deep);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.card p { margin: 0; color: var(--muted); }

/* Before / after panels */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.ba-panel {
    margin: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ba-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(28, 58, 34, 0.16);
}

.ba-panel img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: 4px solid var(--leaf);
}

.ba-media { position: relative; }

.ba-label {
    position: absolute;
    padding: 0.35rem 1rem;
    background: rgba(23, 50, 31, 0.92);
    color: #fff;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.ba-avant { top: 0; right: 0; }
.ba-apres { bottom: 4px; left: 0; }

.ba-panel figcaption {
    padding: 1.25rem 1.4rem 1.5rem;
}

.ba-panel figcaption h3 {
    margin: 0 0 0.4rem;
    color: var(--teal-deep);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.4px;
}

.ba-panel figcaption p {
    margin: 0;
    color: var(--muted);
}

/* Prose pages */
.prose { max-width: 44rem; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); text-transform: uppercase; }
.prose h2 { color: var(--teal-deep); margin-top: 2rem; text-transform: uppercase; font-size: 1.3rem; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.contact-card {
    padding: 1.6rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--shadow);
    text-align: center;
}
.contact-card .ico { font-size: 1.8rem; }
.contact-card h3 { margin: 0.5rem 0 0.35rem; color: var(--forest-head); text-transform: uppercase; font-size: 1rem; }
.contact-card a { font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.contact-card p { margin: 0; color: var(--muted); }

.cta-band {
    margin-top: 2.5rem;
    padding: 2.2rem;
    text-align: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--forest), var(--teal));
    color: #fff;
    box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 0.5rem; text-transform: uppercase; }
.cta-band .phone {
    font-size: clamp(1.7rem, 5vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

/* Footer */
.site-footer {
    border-top: 3px solid var(--leaf);
    background: color-mix(in srgb, var(--bg-edge) 30%, #ffffff);
}
@media (prefers-color-scheme: dark) {
    .site-footer { background: #0d130c; }
}
.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    padding-block: 1.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}
.site-footer strong { color: var(--forest-head); font-weight: 800; }
.site-footer .legal { font-size: 0.8rem; }
