/* ==========================================================================
   Quentin Paysage : feuille de style
   ========================================================================== */

/* ---------- Variables ---------- */
:root
{
    /* Palette normalisée Capitech (mêmes noms sur tous les sites) : lue par Capitech pour les couleurs des devis PDF */
    --couleur-primaire: #1b3b2b;
    --couleur-primaire-texte: #ffffff;
    --couleur-secondaire: #8a9a86;
    --couleur-accent: #d4a373;
    --couleur-fond: #f8f9fa;
    --couleur-fond-alt: #f4f1e9;
    --couleur-surface: #ffffff;
    --couleur-texte: #1a1a1a;
    --couleur-texte-doux: #666b67;
    --couleur-bordure: #e1e4df;
    --police-titres: "DM Serif Display", Georgia, serif;
    --police-texte: "Plus Jakarta Sans", Arial, sans-serif;

    /* Nuances propres au site, reliées à la palette */
    --forest: var(--couleur-primaire);
    --forest-2: #28503b;
    --forest-3: #10291d;
    --sage: var(--couleur-secondaire);
    --sage-light: #dfe5dd;
    --terracotta: var(--couleur-accent);
    --terracotta-dark: #bc8757;
    --cream: var(--couleur-fond-alt);
    --offwhite: var(--couleur-fond);
    --white: var(--couleur-surface);
    --charcoal: var(--couleur-texte);
    --muted: var(--couleur-texte-doux);
    --line: var(--couleur-bordure);
    --shadow: 0 18px 60px rgba(18, 45, 31, 0.11);
    --serif: var(--police-titres);
    --sans: var(--police-texte);

    /* Modules Capitech : branchés sur la palette */
    --capi-couleur-principale: var(--couleur-primaire);
    --capi-couleur-principale-texte: var(--couleur-primaire-texte);
    --capi-couleur-accent: var(--couleur-accent);
    --capi-couleur-texte: var(--couleur-texte);
    --capi-couleur-fond: var(--couleur-surface);
    --capi-couleur-fond-alt: var(--sage-light);
    --capi-couleur-fond-page: var(--couleur-fond);
    --capi-police-texte: var(--police-texte);
    --capi-police-titres: var(--police-titres);
    --capi-arrondi: 12px;
    --capi-ombre: 0 24px 60px rgba(18, 45, 31, .08);
}

/* ---------- Base ---------- */
*
{
    box-sizing: border-box;
}

html
{
    scroll-behavior: smooth;
}

body
{
    margin: 0;
    font-family: var(--sans);
    color: var(--charcoal);
    background: var(--offwhite);
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea
{
    font: inherit;
}

button,
a
{
    -webkit-tap-highlight-color: transparent;
}

a
{
    color: inherit;
    text-decoration: none;
}

img
{
    display: block;
    max-width: 100%;
}

ul
{
    list-style: none;
    margin: 0;
    padding: 0;
}

[hidden]
{
    display: none !important;
}

.container
{
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.section
{
    padding: 112px 0;
}

/* ---------- Icônes ---------- */
.sprite
{
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon
{
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-xs
{
    width: 14px;
    height: 14px;
}

.icon-sm
{
    width: 16px;
    height: 16px;
}

.icon-md
{
    width: 18px;
    height: 18px;
}

.icon-lg-sm
{
    width: 20px;
    height: 20px;
}

.icon-lg
{
    width: 25px;
    height: 25px;
}

.icon-xl
{
    width: 34px;
    height: 34px;
}

/* ---------- Boutons ---------- */
.btn
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border: 0;
    border-radius: 9px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .2s, background .2s, box-shadow .2s;
}

.btn:hover
{
    transform: translateY(-2px);
}

.btn-accent
{
    background: var(--terracotta);
    color: var(--forest-3);
    box-shadow: 0 8px 22px rgba(24, 30, 25, .16);
}

.btn-accent:hover
{
    background: #e0b181;
}

.btn-dark
{
    background: var(--forest);
    color: var(--white);
}

.btn-large
{
    padding: 17px 23px;
    font-size: 15px;
}

.btn-ghost
{
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

/* ---------- Logo ---------- */
.logo
{
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: var(--forest);
}

.logo-mark
{
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: var(--terracotta);
    color: var(--forest-3);
    border-radius: 50% 50% 46% 54%;
    transform: rotate(-4deg);
}

.logo-mark .icon
{
    transform: rotate(4deg);
}

.logo strong
{
    display: block;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 400;
    line-height: .9;
}

.logo small
{
    display: block;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: .23em;
    font-size: 14px;
    font-weight: 700;
}

.logo-light
{
    color: var(--white);
}

/* ---------- En-tête ---------- */
.site-header
{
    position: absolute;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    height: 92px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.site-header .logo
{
    color: var(--white);
}

.nav-wrap
{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.nav-links
{
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
}

.nav-links a
{
    font-size: 16px;
    font-weight: 600;
    opacity: .86;
    transition: .2s;
    white-space: nowrap;
}

.nav-links a:hover
{
    opacity: 1;
    color: var(--terracotta);
}

.nav-mobile-cta
{
    display: none;
}

.nav-cta
{
    padding: 12px 17px;
    flex-shrink: 0;
}

.menu-button
{
    display: none;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.menu-button .icon-close,
.menu-button.is-open .icon-menu
{
    display: none;
}

.menu-button.is-open .icon-close
{
    display: block;
}

/* ---------- Hero ---------- */
.hero
{
    position: relative;
    min-height: 790px;
    padding: 192px 0 0;
    color: var(--white);
    background: var(--forest-3);
    overflow: hidden;
}

.hero-bg
{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 35, 23, .96) 0%, rgba(10, 35, 23, .9) 42%, rgba(10, 35, 23, .66) 62%, rgba(10, 35, 23, .34) 82%, rgba(10, 35, 23, .2) 100%),
        url("images/hero-jardin-1920.webp") center / cover;
}

.hero-bg::after
{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 35, 23, .7), transparent 35%);
}

.hero-grid
{
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    min-height: 490px;
    align-items: center;
}

.hero-content
{
    max-width: 690px;
    padding-bottom: 42px;
}

.hero-kicker
{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .18em;
}

.hero-kicker span
{
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: var(--forest);
    background: var(--terracotta);
    border-radius: 50%;
}

h1
{
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(52px, 6vw, 82px);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: .95;
}

h1 em
{
    color: var(--terracotta);
    font-weight: 400;
}

.hero-content > p
{
    max-width: 42ch;
    margin: 29px 0;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .78);
}

.hero-actions
{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-note
{
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, .62);
}

.hero-aside
{
    position: relative;
    align-self: end;
    height: 340px;
}

.rating-card
{
    position: absolute;
    right: 0;
    bottom: 60px;
    width: 265px;
    padding: 20px;
    background: rgba(255, 255, 255, .94);
    color: var(--charcoal);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.rating-top
{
    display: flex;
    gap: 12px;
    align-items: center;
}

.rating-top > div
{
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-top strong
{
    font-size: 18px;
}

.rating-card p
{
    margin: 15px 0 8px;
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.45;
}

.rating-source
{
    color: var(--muted);
    font-size: 14px;
}

.google-g
{
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: var(--white);
    border-radius: 50%;
    color: #4285f4;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .09);
}

.stars
{
    color: var(--terracotta-dark);
    letter-spacing: 2px;
    font-size: 15px;
}

.tax-pill
{
    position: absolute;
    right: 225px;
    bottom: 22px;
    width: auto;
    height: 75px;
    padding: 12px 16px;
    display: flex;
    gap: 9px;
    align-items: center;
    background: var(--terracotta);
    color: var(--forest-3);
    border-radius: 11px;
    transform: rotate(-3deg);
    box-shadow: var(--shadow);
}

.tax-pill strong
{
    font-family: var(--serif);
    font-size: 26px;
    white-space: nowrap;
}

.tax-pill span
{
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.trust-strip
{
    position: relative;
    height: 108px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    color: var(--forest);
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .08);
}

.trust-item
{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 27px;
    border-right: 1px solid var(--line);
}

.trust-item:last-child
{
    border: 0;
}

.trust-item .icon
{
    color: var(--terracotta-dark);
}

.trust-item span
{
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.trust-item strong
{
    display: block;
    color: var(--forest);
    font-size: 15px;
}

/* ---------- Valeurs ---------- */
.values
{
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.value-grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 53px 0;
}

.value-item
{
    display: flex;
    gap: 16px;
    padding: 0 23px;
    border-right: 1px solid var(--line);
}

.value-item:first-child
{
    padding-left: 0;
}

.value-item:last-child
{
    border: 0;
    padding-right: 0;
}

.value-number
{
    color: var(--terracotta-dark);
    font-family: var(--serif);
    font-size: 16px;
    font-style: italic;
}

.value-item h3
{
    margin: 0 0 8px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 18px;
}

.value-item p
{
    margin: 0;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
}

/* ---------- Titres de section ---------- */
.eyebrow
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 17px;
    color: var(--terracotta-dark);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 14px;
    font-weight: 700;
}

.eyebrow::before
{
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
}

.section-title
{
    max-width: 620px;
}

.section-title h2,
.about-copy h2,
.quote-copy h2
{
    margin: 0;
    font-family: var(--serif);
    color: var(--forest);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.07;
    font-size: clamp(38px, 4vw, 54px);
}

.section-title p
{
    max-width: 550px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.section-title-light h2
{
    color: var(--white);
}

.section-title-light p
{
    color: rgba(255, 255, 255, .65);
}

.section-head-row
{
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 48px;
}

.text-link
{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--forest);
    font-size: 15px;
    font-weight: 700;
    color: var(--forest);
}

/* ---------- Services ---------- */
.services
{
    background: var(--offwhite);
}

.service-layout
{
    display: grid;
    grid-template-columns: .9fr 1.4fr;
    gap: 28px;
}

.service-tabs
{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-tab
{
    width: 100%;
    min-height: 118px;
    display: grid;
    grid-template-columns: 48px 1fr 20px;
    gap: 17px;
    align-items: center;
    padding: 20px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--forest);
    cursor: pointer;
    transition: .25s;
}

.service-tab.is-active
{
    color: var(--white);
    background: var(--forest);
    border-color: var(--forest);
    box-shadow: var(--shadow);
    transform: translateX(8px);
}

.service-icon
{
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cream);
    color: var(--forest);
}

.service-tab-copy
{
    display: block;
}

.service-tab-copy small
{
    display: block;
    margin-bottom: 2px;
    color: var(--terracotta-dark);
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
}

.service-tab-copy strong
{
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 20px;
}

.service-tab-copy em
{
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-style: normal;
    font-size: 14px;
    line-height: 1.5;
}

.service-tab.is-active .service-tab-copy em
{
    color: rgba(255, 255, 255, .65);
}

.service-chevron
{
    opacity: .45;
}

.service-visual
{
    position: relative;
    min-height: 375px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-panel
{
    position: absolute;
    inset: 0;
    display: none;
}

.service-panel.is-active
{
    display: block;
}

.service-panel::after
{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 35, 23, .12) 0%, rgba(10, 35, 23, .5) 30%, rgba(10, 35, 23, .86) 50%, rgba(10, 35, 23, .94) 100%);
}

.service-panel > img
{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-details
{
    position: absolute;
    z-index: 2;
    right: 0;
    top: 0;
    bottom: 0;
    width: 47%;
    padding: 50px 38px;
    color: var(--white);
}

.service-badge
{
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 7px 10px;
    border-radius: 20px;
    color: var(--forest);
    background: var(--terracotta);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .05em;
}

.service-details h3
{
    margin: 22px 0 16px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 28px;
}

.service-details ul
{
    margin: 0 0 28px;
}

.service-details li
{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, .8);
}

.service-details li .icon
{
    color: var(--terracotta);
}

.service-details a
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    font-size: 15px;
    font-weight: 700;
}

/* ---------- Avant / après ---------- */
.showcase
{
    background: var(--forest-3);
}

.showcase-head
{
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 40px;
}

.project-meta
{
    padding: 0 0 7px;
    color: var(--white);
    text-align: right;
}

.project-meta span
{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 5px;
    color: var(--terracotta);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.project-meta strong
{
    display: block;
    margin-top: 6px;
    font-family: var(--serif);
    font-weight: 400;
}

.comparison
{
    --pos: 52%;
    position: relative;
    height: 530px;
    border-radius: 16px;
    overflow: hidden;
}

.comparison img
{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-before
{
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    filter: saturate(.55) brightness(.8);
}

.comparison-range
{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

.slider-line
{
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    background: var(--white);
    pointer-events: none;
    transform: translateX(-1px);
}

.slider-line span
{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--forest);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
    transform: translate(-50%, -50%);
}

.label
{
    position: absolute;
    z-index: 3;
    top: 22px;
    padding: 8px 13px;
    border-radius: 20px;
    color: var(--white);
    background: rgba(20, 30, 20, .5);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    pointer-events: none;
}

.label-before
{
    left: 22px;
}

.label-after
{
    right: 22px;
}

/* ---------- Clients ---------- */
.clients
{
    background: var(--cream);
}

.clients .section-title
{
    text-align: center;
    margin: 0 auto 46px;
}

.clients .eyebrow
{
    justify-content: center;
}

.clients .eyebrow::after
{
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
}

.client-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.client-card
{
    padding: 35px;
    background: var(--white);
    border: 1px solid rgba(27, 59, 43, .08);
    border-radius: 14px;
    transition: .25s;
}

.client-icon
{
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--forest);
    background: var(--sage-light);
}

.client-card:nth-child(2) .client-icon
{
    background: #f1dfcd;
}

.client-card h3
{
    margin: 22px 0 10px;
    font-family: var(--serif);
    color: var(--forest);
    font-size: 26px;
    font-weight: 400;
}

.client-card p
{
    min-height: 58px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.client-tag
{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 7px 10px;
    background: var(--offwhite);
    border-radius: 20px;
    color: var(--forest);
    font-size: 14px;
    font-weight: 700;
}

/* ---------- Zone d'intervention ---------- */
.area
{
    background: var(--white);
    overflow: hidden;
}

.area-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.area-copy .btn
{
    margin-top: 28px;
}

.area-map
{
    position: relative;
}

.map-rings
{
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.map-rings span
{
    position: absolute;
    border: 1px solid rgba(27, 59, 43, .16);
    border-radius: 50%;
}

.map-rings span:nth-child(1)
{
    width: 160px;
    height: 160px;
    background: rgba(138, 154, 134, .08);
}

.map-rings span:nth-child(2)
{
    width: 270px;
    height: 270px;
}

.map-rings span:nth-child(3)
{
    width: 380px;
    height: 380px;
}

.map-center
{
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--forest);
    color: var(--white);
    box-shadow: 0 0 0 10px rgba(27, 59, 43, .1);
    transform: translate(-50%, -50%);
}

.map-center strong
{
    margin-top: 5px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 17px;
}

.map-center small
{
    margin-top: 3px;
    color: var(--terracotta);
    font-size: 14px;
}

.map-pin
{
    position: absolute;
    padding: 7px 10px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 4px 18px rgba(27, 59, 43, .12);
    font-size: 14px;
    font-weight: 700;
    color: var(--forest);
}

.pin-one
{
    left: 8%;
    top: 24%;
}

.pin-two
{
    right: 5%;
    top: 34%;
}

.pin-three
{
    left: 21%;
    bottom: 12%;
}

.area-pills
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 55px;
}

.area-pills li
{
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 20px;
    font-size: 14px;
    color: var(--muted);
    background: var(--offwhite);
}

.area-pills .icon
{
    color: var(--terracotta-dark);
}

/* ---------- Avis ---------- */
.reviews
{
    background: var(--offwhite);
}

.reviews-grid
{
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 6vw;
    align-items: center;
}

.review-summary
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.review-summary strong
{
    font-size: 21px;
    color: var(--forest);
}

.review-summary small
{
    width: 100%;
    margin-left: 44px;
    color: var(--muted);
    font-size: 14px;
}

.review-card
{
    position: relative;
    padding: 42px 46px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    color: var(--forest);
}

.review-quote-icon
{
    float: right;
    color: var(--terracotta);
    opacity: .55;
}

.review-slide
{
    display: none;
}

.review-slide.is-active
{
    display: block;
}

.review-card blockquote
{
    margin: 22px 0 30px;
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.5;
}

.review-person
{
    display: flex;
    align-items: center;
    gap: 11px;
}

.review-person > span
{
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sage-light);
    font-family: var(--serif);
}

.review-person strong,
.review-person small
{
    display: block;
}

.review-person strong
{
    font-size: 15px;
}

.review-person small
{
    margin-top: 4px;
    font-size: 14px;
    color: var(--muted);
}

.review-controls
{
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    right: 46px;
    bottom: 42px;
}

.review-controls button
{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--forest);
    cursor: pointer;
}

.review-controls span
{
    font-size: 14px;
    color: var(--muted);
}

/* ---------- À propos ---------- */
.about-strip
{
    background: var(--cream);
}

.about-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 525px;
    gap: 85px;
}

.about-image
{
    position: relative;
    height: 525px;
}

.about-image img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 120px 0;
    filter: saturate(.78);
}

.about-image > span
{
    position: absolute;
    right: -32px;
    bottom: 40px;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--forest);
    font-size: 14px;
    line-height: 1.35;
    box-shadow: var(--shadow);
}

.about-image > span strong
{
    display: block;
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 400;
}

.about-copy
{
    padding-right: 30px;
}

.about-copy p
{
    margin: 23px 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.signature
{
    display: flex;
    align-items: center;
    gap: 12px;
}

.signature > span
{
    font-family: var(--serif);
    font-style: italic;
    font-size: 25px;
    color: var(--terracotta-dark);
}

.signature strong,
.signature small
{
    display: block;
}

.signature strong
{
    font-family: var(--serif);
    color: var(--forest);
    font-weight: 400;
}

.signature small
{
    margin-top: 3px;
    color: var(--muted);
    font-size: 14px;
}

/* ---------- Devis ---------- */
.quote-section
{
    background: var(--forest);
    color: var(--white);
}

.quote-grid
{
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 85px;
    align-items: center;
}

.quote-copy h2
{
    color: var(--white);
}

.quote-copy > p
{
    max-width: 420px;
    margin: 20px 0 30px;
    color: rgba(255, 255, 255, .65);
    font-size: 16px;
    line-height: 1.8;
}

.contact-card
{
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 360px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
}

.contact-card > span
{
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--forest);
    background: var(--terracotta);
}

.contact-card small,
.contact-card a,
.contact-card em
{
    display: block;
}

.contact-card small
{
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
}

.contact-card a
{
    margin: 3px 0;
    font-family: var(--serif);
    font-size: 20px;
}

.contact-card em
{
    color: var(--terracotta);
    font-size: 14px;
    font-style: normal;
}

.quote-reassurance
{
    display: flex;
    gap: 20px;
    margin-top: 22px;
}

.quote-reassurance span
{
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
}

.quote-form-wrap
{
    min-height: 650px;
}

.quote-form
{
    padding: 35px;
    color: var(--charcoal);
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .2);
}

.form-head
{
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 25px;
}

.form-head small
{
    color: var(--terracotta-dark);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .16em;
}

.form-head h3
{
    margin: 5px 0 0;
    font-family: var(--serif);
    color: var(--forest);
    font-size: 25px;
    font-weight: 400;
}

.form-head > span
{
    padding: 6px 10px;
    color: var(--forest);
    background: var(--sage-light);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

fieldset
{
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

legend,
.quote-form label
{
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--forest);
}

.quote-form label
{
    margin-bottom: 14px;
}

.project-choices
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.project-choices .choice
{
    margin: 0;
}

.choice input
{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice > span
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: var(--offwhite);
    font-size: 14px;
    cursor: pointer;
}

.choice input:checked + span
{
    border-color: var(--forest);
    background: var(--forest);
    color: var(--white);
}

.choice input:focus-visible + span
{
    outline: 2px solid var(--terracotta);
    outline-offset: 2px;
}

.form-row
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quote-form input:not([type="radio"]):not([type="file"]),
.quote-form textarea
{
    width: 100%;
    margin-top: 7px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--offwhite);
    color: var(--charcoal);
    font-size: 15px;
    outline: none;
    resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus
{
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(138, 154, 134, .15);
}

.quote-form .upload
{
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px dashed var(--sage);
    border-radius: 8px;
    cursor: pointer;
}

.upload input
{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.upload .icon
{
    color: var(--terracotta-dark);
}

.upload strong,
.upload small
{
    display: block;
}

.upload strong
{
    font-size: 14px;
}

.upload small
{
    margin-top: 2px;
    color: var(--muted);
    font-weight: 400;
    font-size: 14px;
}

.submit
{
    width: 100%;
    margin-top: 4px;
    padding: 15px;
}

.privacy
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.form-success
{
    min-height: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    text-align: center;
    color: var(--charcoal);
    background: var(--white);
    border-radius: 16px;
}

.form-success > span
{
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--forest);
    background: var(--sage-light);
}

.form-success h3
{
    margin: 22px 0 10px;
    color: var(--forest);
    font: 32px var(--serif);
}

.form-success p
{
    max-width: 350px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

/* ---------- Pied de page ---------- */
.site-footer
{
    padding-top: 70px;
    background: var(--forest-3);
    color: var(--white);
}

.footer-main
{
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 50px;
    padding-bottom: 50px;
}

.footer-brand p
{
    max-width: 230px;
    margin: 20px 0;
    color: rgba(255, 255, 255, .5);
    font-size: 15px;
    line-height: 1.7;
}

.footer-phone
{
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: var(--terracotta);
    font-family: var(--serif);
}

.site-footer h3
{
    margin: 0 0 20px;
    color: var(--terracotta);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.footer-main > div:not(.footer-brand) a,
.footer-main > div:not(.footer-brand) p
{
    display: block;
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    line-height: 1.6;
}

.footer-main > div:not(.footer-brand) a:hover
{
    color: var(--white);
}

.cesu
{
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    color: var(--forest);
    background: var(--terracotta);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.footer-bottom
{
    min-height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .35);
    font-size: 14px;
}

.footer-bottom div
{
    display: flex;
    gap: 18px;
}

/* ==========================================================================
   Tablette
   ========================================================================== */
@media (max-width: 980px)
{
    .nav-links
    {
        position: fixed;
        display: none;
        top: 76px;
        left: 24px;
        right: 24px;
        margin: 0;
        padding: 25px;
        border-radius: 14px;
        background: var(--forest-3);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.nav-open
    {
        display: flex;
    }

    .nav-links a
    {
        font-size: 16px;
        padding: 7px;
    }

    .nav-links .nav-mobile-cta
    {
        display: block;
        color: var(--terracotta);
    }

    .nav-cta
    {
        display: none;
    }

    .menu-button
    {
        display: block;
    }

    .hero-grid
    {
        grid-template-columns: 1fr;
    }

    .hero-aside
    {
        display: none;
    }

    .trust-strip
    {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }

    .trust-item
    {
        min-height: 90px;
    }

    .trust-item:nth-child(2)
    {
        border-right: 0;
    }

    .trust-item:nth-child(-n+2)
    {
        border-bottom: 1px solid var(--line);
    }

    .value-grid
    {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }

    .value-item
    {
        padding-right: 25px;
    }

    .value-item:nth-child(2)
    {
        border-right: 0;
    }

    .value-item:nth-child(3)
    {
        padding-left: 0;
    }

    .service-layout
    {
        grid-template-columns: 1fr;
    }

    .service-tab.is-active
    {
        transform: none;
    }

    .service-tabs
    {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .service-tab
    {
        grid-template-columns: 40px 1fr;
    }

    .service-tab-copy em,
    .service-chevron
    {
        display: none;
    }

    .reviews-grid,
    .quote-grid
    {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .quote-copy
    {
        text-align: center;
    }

    .quote-copy > p,
    .contact-card
    {
        margin-left: auto;
        margin-right: auto;
    }

    .quote-reassurance
    {
        justify-content: center;
    }

    .footer-main
    {
        grid-template-columns: 1.5fr repeat(2, 1fr);
    }

    .footer-main > div:last-child
    {
        grid-column: 2;
    }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 700px)
{
    .container
    {
        width: min(calc(100% - 32px), 1180px);
    }

    .section
    {
        padding: 78px 0;
    }

    .site-header
    {
        height: 76px;
    }

    .hero
    {
        padding-top: 135px;
        min-height: auto;
    }

    .hero-grid
    {
        min-height: 510px;
    }

    .hero-content
    {
        padding-bottom: 45px;
    }

    h1
    {
        font-size: 50px;
    }

    .hero-content > p
    {
        font-size: 16px;
    }

    .hero-actions
    {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large
    {
        width: 100%;
    }

    .hero-note
    {
        justify-content: center;
    }

    .trust-strip
    {
        width: 100%;
        border-radius: 0;
    }

    .trust-item
    {
        padding: 0 16px;
        gap: 9px;
    }

    .trust-item .icon
    {
        width: 19px;
    }

    .trust-item strong
    {
        font-size: 14px;
    }

    .value-grid
    {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 25px 0;
    }

    .value-item,
    .value-item:nth-child(3)
    {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .value-item:last-child
    {
        border-bottom: 0;
    }

    .section-head-row,
    .showcase-head
    {
        display: block;
    }

    .section-head-row .text-link
    {
        margin-top: 25px;
    }

    .project-meta
    {
        text-align: left;
        margin-top: 25px;
    }

    .project-meta span
    {
        justify-content: start;
    }

    .service-tabs
    {
        grid-template-columns: 1fr;
    }

    .service-tab
    {
        min-height: 90px;
    }

    .service-visual
    {
        min-height: 480px;
    }

    .service-panel::after
    {
        background: linear-gradient(0deg, rgba(10, 35, 23, .97) 0%, rgba(10, 35, 23, .9) 50%, rgba(10, 35, 23, .45) 78%, rgba(10, 35, 23, .15) 100%);
    }

    .service-details
    {
        left: 0;
        top: auto;
        width: 100%;
        height: auto;
        padding: 28px;
    }

    .service-details h3
    {
        margin: 14px 0 10px;
    }

    .service-details ul
    {
        margin-bottom: 16px;
    }

    .comparison
    {
        height: 390px;
    }

    .client-grid
    {
        grid-template-columns: 1fr;
    }

    .area-grid
    {
        grid-template-columns: 1fr;
        gap: 50px;
    }


    .map-rings span:nth-child(3)
    {
        width: 320px;
        height: 320px;
    }

    .reviews-grid
    {
        gap: 35px;
    }

    .review-card
    {
        padding: 30px 24px;
    }

    .review-card blockquote
    {
        font-size: 21px;
    }

    .review-controls
    {
        right: 24px;
        bottom: 30px;
    }

    .review-controls span
    {
        display: none;
    }

    .about-grid
    {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-image
    {
        height: 420px;
    }

    .about-image img
    {
        border-radius: 0 0 70px 0;
    }

    .about-image > span
    {
        right: 16px;
    }

    .about-copy
    {
        padding: 60px 0 75px;
    }

    .quote-grid
    {
        gap: 40px;
    }

    .quote-form
    {
        padding: 25px 18px;
    }

    .project-choices
    {
        gap: 5px;
    }

    .choice > span
    {
        flex-direction: column;
    }

    .form-row
    {
        grid-template-columns: 1fr;
    }

    .form-success
    {
        min-height: 500px;
        padding: 30px;
    }

    .footer-main
    {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand
    {
        grid-column: 1 / -1;
    }

    .footer-main > div:last-child
    {
        grid-column: auto;
    }

    .footer-bottom
    {
        padding: 20px 0;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Engagements */
.values { background: var(--forest); color: var(--white); border: 0; padding: 90px 0 140px; }
.values-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: 70px; align-items: center; }
.values-intro h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.07; font-size: clamp(38px, 4vw, 54px); margin: 14px 0 18px; }
.values-intro p { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.7; margin: 0; }
.values-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card { position: relative; overflow: hidden; padding: 30px 28px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.value-card:nth-child(even) { transform: translateY(24px); }
.value-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 16px; background: rgba(212, 163, 115, .14); border: 1px solid rgba(212, 163, 115, .35); color: var(--terracotta); transition: background .3s, color .3s; }
.value-icon .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.value-card h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.value-card p { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.65); }
@media (max-width: 900px) { .values-layout { grid-template-columns: 1fr; gap: 40px; } .value-card:nth-child(even) { transform: none; } }
@media (max-width: 560px) { .values-cards { grid-template-columns: 1fr; } .values { padding: 60px 0; } }

/* Carte zone */
.area-map { position: relative; width: 100%; max-width: 460px; height: auto; justify-self: center; border-radius: 24px; background: var(--forest); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(27,59,43,.4); }
.map-svg { display: block; width: 100%; height: auto; }
.m2-city .ring { fill: rgba(255,255,255,.12); }
.m2-city circle:nth-child(2) { fill: #e9f0ea; }
.m2-city text { font: 700 11.5px var(--sans); fill: #fff; paint-order: stroke; stroke: rgba(16,37,26,.7); stroke-width: 3px; }
.m2-home { font: 400 17px var(--serif); fill: var(--terracotta); paint-order: stroke; stroke: rgba(16,37,26,.8); stroke-width: 4px; }
.m2-r { font: 700 9.5px var(--sans); letter-spacing: .15em; fill: var(--terracotta); }
.m2-cap { font: 500 11px var(--sans); fill: rgba(255,255,255,.6); }

/* Galerie masonry */
.gallery { background: var(--cream); }
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-filter { padding: 9px 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--white); color: var(--forest); font: 600 15px var(--sans); cursor: pointer; transition: .2s; }
.gallery-filter:hover { border-color: var(--forest); }
.gallery-filter.active { background: var(--forest); border-color: var(--forest); color: #fff; }
.gallery-grid { margin-top: 44px; column-count: 3; column-gap: 18px; }
.gallery-item { position: relative; margin: 0 0 18px; break-inside: avoid; overflow: hidden; border-radius: 16px; background: var(--sage-light); cursor: default; }
.gallery-item img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .6s; }
.gallery-item.tall img { aspect-ratio: 3 / 4; }.gallery-item.wide img { aspect-ratio: 4 / 3; }.gallery-item.square img { aspect-ratio: 1 / 1; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(16,37,26,.85)); transition: opacity .35s, transform .35s; }
.gallery-item:hover figcaption { opacity: 0; transform: translateY(8px); }
.gallery-item figcaption small { display: block; font-size: 14px; letter-spacing: .15em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 4px; }
.gallery-item figcaption strong { font: 400 17px var(--serif); }
.gallery-item[hidden] { display: none; }
@media (max-width: 900px) { .gallery-grid { column-count: 2; column-gap: 12px; } .gallery-item { margin-bottom: 12px; } .gallery-item figcaption { padding: 30px 12px 10px; } .gallery-item figcaption strong { font-size: 15px; } }

/* Bande chiffres clés */
.trust-band { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust-band .trust-strip { height: auto; grid-template-columns: repeat(4, 1fr); background: none; border-radius: 0; box-shadow: none; }
.trust-band .trust-item { justify-content: center; align-items: baseline; gap: 12px; padding: 34px 20px; border-right: 1px solid var(--line); border-bottom: 0; min-height: 0; }
.trust-band .trust-item:last-child { border-right: 0; }
.trust-band .trust-item strong { display: inline; font: 400 30px/1 var(--serif); color: var(--forest); }
.trust-band .trust-item span { font-size: 16px; color: var(--muted); }
.trust-band .trust-item .trust-stars { font-size: 15px; letter-spacing: 2px; color: var(--terracotta-dark); }
@media (max-width: 900px) {
  .trust-band .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-band .trust-item:nth-child(2) { border-right: 0; }
  .trust-band .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .trust-band .trust-strip { width: 100%; }
  .trust-band .trust-item { flex-direction: column; align-items: center; gap: 6px; padding: 22px 10px; text-align: center; }
  .trust-band .trust-item strong { font-size: 26px; }
}

/* Animation des titres */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.split-word > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; opacity: 0; transition: transform 1.1s cubic-bezier(.19,1,.22,1), opacity .9s ease; transition-delay: calc(var(--i) * 65ms + 80ms); }
.split-in .split-word > span { transform: none; opacity: 1; }
.split-title + p, .section-title .eyebrow { transition: opacity .9s ease .35s, transform .9s cubic-bezier(.19,1,.22,1) .35s; }
.split-ready .split-title + p, .split-ready .eyebrow { opacity: 0; transform: translateY(14px); }
.split-ready.split-in-parent .split-title + p, .split-ready.split-in-parent .eyebrow { opacity: 1; transform: none; }

/* Écran d’accueil : hero + bandeau = 100vh */
.hero-screen { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.hero-screen .hero { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 112px 0 40px; }
.hero-screen .hero-grid { min-height: 0; align-self: stretch; }
.hero-screen .hero-aside { height: auto; align-self: center; }
.hero-screen .rating-card { position: relative; right: auto; bottom: auto; margin-left: auto; width: 300px; }

/* Navbar fixe avec flou */
.site-header { position: fixed; height: 84px; background: rgba(12, 35, 23, .35); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); transition: background .3s, height .3s, box-shadow .3s; }
.site-header.is-scrolled { height: 72px; background: rgba(12, 35, 23, .78); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); border-bottom-color: transparent; }

/* –50% crédit d’impôt dans le hero */
.tax-highlight { position: relative; display: flex; align-items: center; gap: 14px; width: 300px; margin: 0 0 14px auto; padding: 12px 22px 12px 12px; border-radius: 16px; background: rgba(10, 32, 21, .62); border: 1px solid rgba(214, 236, 205, .3); box-shadow: 0 12px 34px rgba(0, 0, 0, .22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tax-highlight strong { position: relative; flex-shrink: 0; overflow: hidden; padding: 7px 13px; border-radius: 10px; background: linear-gradient(135deg, #eef8e8 0%, #c9e6bd 100%); color: var(--forest); font: 400 30px/1 var(--serif); white-space: nowrap; box-shadow: 0 6px 22px rgba(201, 230, 189, .28), inset 0 1px 0 rgba(255, 255, 255, .8); }
.tax-highlight strong::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-20deg); animation: tax-shine 4.5s ease-in-out 1.2s infinite; }
@keyframes tax-shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
.tax-highlight span { max-width: none; font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.tax-highlight b { color: #d6eccd; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .tax-highlight strong::after { animation: none; display: none; } }

/* Séparation section clients */
.clients { background: var(--forest); }
.clients .section-title h2 { color: var(--white); }

/* Avis : étoiles, guillemets, flèches */
.stars { font-size: 17px; }
.review-card .stars { font-size: 18px; letter-spacing: 3px; }
.review-quote-icon { float: none; position: absolute; top: 36px; right: 40px; width: 44px; height: 44px; opacity: .35; }
.review-controls button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; line-height: 1; transition: background .2s, color .2s; }
.review-controls button:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.review-controls button .icon { display: block; }
.review-arrow-prev { transform: rotate(180deg); }

/* Badge années d’expérience */
.about-image > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 124px; height: 124px; }
.about-image > span strong { line-height: 1; margin-bottom: 4px; }

@media (max-width: 980px) {
  .hero-screen .rating-card { display: none; }
  .hero-screen .hero-aside { display: block; align-self: start; margin-top: 26px; }
  .tax-highlight { margin: 0; width: auto; max-width: 420px; }
}
@media (max-width: 560px) {
  .tax-highlight { gap: 12px; padding: 10px 14px 10px 10px; }
  .tax-highlight strong { font-size: 24px; }
  .tax-highlight span { font-size: 15px; }
}


/* Image du hero adaptée à l'écran */
@media (max-width: 1440px) { .hero-bg { background-image: linear-gradient(90deg, rgba(10, 35, 23, .96) 0%, rgba(10, 35, 23, .9) 42%, rgba(10, 35, 23, .66) 62%, rgba(10, 35, 23, .34) 82%, rgba(10, 35, 23, .2) 100%), url("images/hero-jardin-1440.webp"); } }
@media (max-width: 960px) { .hero-bg { background-image: linear-gradient(90deg, rgba(10, 35, 23, .96) 0%, rgba(10, 35, 23, .9) 42%, rgba(10, 35, 23, .66) 62%, rgba(10, 35, 23, .34) 82%, rgba(10, 35, 23, .2) 100%), url("images/hero-jardin-960.webp"); } }

/* Hero : voile dégradé couvrant le texte sur tablette et mobile */
@media (max-width: 980px) {
  .hero-bg { background-image: linear-gradient(90deg, rgba(10, 35, 23, .95) 0%, rgba(10, 35, 23, .88) 65%, rgba(10, 35, 23, .62) 100%), url("images/hero-jardin-960.webp"); }
  .hero-bg::after { background: linear-gradient(0deg, rgba(10, 35, 23, .75), rgba(10, 35, 23, .2) 45%); }
}
@media (max-width: 640px) {
  .hero-bg { background-image: linear-gradient(180deg, rgba(10, 35, 23, .9) 0%, rgba(10, 35, 23, .9) 100%), url("images/hero-jardin-960.webp"); }
  .hero-bg::after { background: linear-gradient(0deg, rgba(10, 35, 23, .35), transparent 40%); }
}

/* Récapitulatif des services */
.service-recap { background: var(--white); border-bottom: 1px solid var(--line); }
/* =========================================================
   Site multipage
   ========================================================= */

/* Navigation : page active */
.nav-links a[aria-current="page"] { opacity: 1; color: var(--terracotta); }

/* H1 de l'accueil, plus long */
.hero h1 { font-size: clamp(44px, 5.2vw, 74px); line-height: 1; }

/* Liens vers les pages depuis l'accueil */
.about-more { margin-top: 30px; }
.gallery .section-head-row { align-items: end; }

/* En-tête des pages internes */
.page-hero { position: relative; padding: 180px 0 96px; color: var(--white); background: var(--forest); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--page-hero-img, none) center / cover; opacity: .32; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 35, 23, .96) 0%, rgba(10, 35, 23, .82) 55%, rgba(10, 35, 23, .55) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--terracotta); }
.page-hero h1 { max-width: 15ch; margin: 18px 0 22px; font-size: clamp(42px, 5vw, 70px); line-height: 1.02; }
.page-hero p { max-width: 52ch; margin: 0; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .78); }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 34px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.breadcrumb a { color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb [aria-current] { color: var(--white); }
.section-title-center { margin: 0 auto 56px; text-align: center; }
.section-title-center .eyebrow { justify-content: center; }

/* Bandeau d'appel à l'action */
.cta-band { background: var(--forest); color: var(--white); padding: 84px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 12px; font: 400 clamp(32px, 3.4vw, 46px)/1.1 var(--serif); }
.cta-band p { margin: 0; max-width: 48ch; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Réalisations */
.projects { background: var(--offwhite); }
.project-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.project-filter { padding: 11px 20px; border-radius: 30px; border: 1px solid var(--line); background: var(--white); color: var(--forest); font: 600 15px var(--sans); cursor: pointer; transition: .2s; }
.project-filter:hover { border-color: var(--forest); }
.project-filter.is-active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.project-list { display: grid; gap: 40px; }
.project { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; padding: 44px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 50px rgba(18, 45, 31, .06); }
.project[hidden] { display: none; }
.project:nth-child(even) .project-info { order: 2; }
.project-num { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 20px; background: rgba(212, 163, 115, .16); color: var(--terracotta-dark); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project h2 { margin: 0 0 16px; font: 400 clamp(30px, 3vw, 40px)/1.1 var(--serif); color: var(--forest); letter-spacing: -.02em; }
.project-info > p { margin: 0 0 24px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.project-meta-list { list-style: none; margin: 0 0 22px; padding: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-meta-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--forest); font-size: 15px; font-weight: 600; line-height: 1.35; }
.project-meta-list .icon { color: var(--terracotta-dark); margin-top: 2px; }
.project-meta-list small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 14px; font-weight: 500; }
.project-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.project-items li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--charcoal); }
.project-items .icon { color: var(--terracotta-dark); margin-top: 2px; }
.project-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.project-shot { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--sage-light); cursor: zoom-in; }
.project-shot img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s, filter .3s; }
.project-shot:hover img { transform: scale(1.06); filter: brightness(1.05); }
.project-shot-main { grid-column: 1 / -1; border-radius: 18px; }
.project-shot-main img { aspect-ratio: 16 / 10; }
.project-shot:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.project-hint { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.project-compare .comparison { height: auto; aspect-ratio: 16 / 10; border-radius: 18px; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 40px 90px; background: rgba(8, 22, 15, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1280px, 100%); }
.lightbox img { display: block; max-width: 100%; max-height: 80vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { margin-top: 14px; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .75); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: var(--terracotta); color: var(--forest); border-color: var(--terracotta); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-open { overflow: hidden; }

/* À propos */
.about-story { background: var(--white); }
.about-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-story-media { position: relative; }
.about-story-media { padding: 0 26px 26px 0; isolation: isolate; }
.about-story-media::before { content: ""; position: absolute; z-index: -1; inset: 26px 0 0 26px; border: 2px solid var(--terracotta); border-radius: 6px; }
.about-story-media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px rgba(18, 45, 31, .16); }
.about-story-badge { position: absolute; right: -24px; bottom: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 140px; height: 140px; border-radius: 50%; background: var(--terracotta); color: var(--forest); font-size: 14px; text-align: center; line-height: 1.3; box-shadow: var(--shadow); }
.about-story-badge strong { font: 400 38px/1 var(--serif); margin-bottom: 4px; }
.about-story-copy h2 { margin: 16px 0 24px; font: 400 clamp(34px, 3.6vw, 50px)/1.08 var(--serif); color: var(--forest); letter-spacing: -.025em; }
.about-story-copy p { margin: 0 0 18px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.about-story-copy .signature { margin-top: 30px; }
.timeline-section { background: var(--cream); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--terracotta) 0 8px, transparent 8px 16px); opacity: .5; }
.timeline li { position: relative; padding: 0 10px; text-align: center; }
.timeline-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--forest); color: var(--terracotta); box-shadow: 0 0 0 8px var(--cream); }
.timeline-icon .icon { width: 28px; height: 28px; }
.timeline-step { display: block; margin-bottom: 6px; color: var(--terracotta-dark); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.timeline h3 { margin: 0 0 10px; font: 400 23px/1.2 var(--serif); color: var(--forest); }
.timeline p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.about-figures { background: var(--forest); color: var(--white); }
.about-figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.about-figures-grid div { padding: 54px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .12); }
.about-figures-grid div:last-child { border-right: 0; }
.about-figures-grid strong { display: block; font: 400 48px/1 var(--serif); color: var(--terracotta); }
.about-figures-grid span { display: block; margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.about-values { background: var(--white); }
.about-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-values-grid article { padding: 36px 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--offwhite); transition: transform .3s, box-shadow .3s; }
.about-values-grid article:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18, 45, 31, .08); }
.about-values-grid .value-icon { background: var(--forest); border-color: var(--forest); }
.about-values-grid article:hover .value-icon { background: var(--terracotta); color: var(--forest); }
.about-values-grid h3 { margin: 0 0 10px; font: 400 24px/1.2 var(--serif); color: var(--forest); }
.about-values-grid p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.about-guarantees { background: var(--cream); }
.about-guarantees-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.guarantee-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.guarantee-list li { display: flex; gap: 18px; align-items: center; padding: 20px 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--muted); }
.guarantee-list li > span { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: var(--forest); color: var(--terracotta); }
.guarantee-list strong { display: block; margin-bottom: 2px; color: var(--forest); font-size: 17px; }

/* Contact */
.contact-section { background: var(--offwhite); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-tile { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); color: var(--forest); transition: border-color .2s, transform .2s; }
.contact-tile > span { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--forest); color: var(--terracotta); }
.contact-tile small { display: block; color: var(--muted); font-size: 14px; }
.contact-tile strong { display: block; margin: 2px 0; font: 400 21px/1.25 var(--serif); }
.contact-tile em { font-style: normal; font-size: 14px; color: var(--muted); }
.contact-tile-main { background: var(--forest); border-color: var(--forest); color: var(--white); }
.contact-tile-main > span { background: var(--terracotta); color: var(--forest); }
.contact-tile-main small, .contact-tile-main em { color: rgba(255, 255, 255, .7); }
.contact-tile-main strong { font-size: 28px; }
.contact-tile-main:hover { transform: translateY(-2px); }
.contact-section .quote-form { border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(18, 45, 31, .08); }
.contact-area { border-top: 1px solid var(--line); }
.faq-section { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 26px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 36px 22px 0; cursor: pointer; list-style: none; color: var(--forest); font: 400 20px/1.3 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--sans); color: var(--terracotta-dark); transition: transform .3s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* Responsive des pages internes */
@media (max-width: 980px) {
  .page-hero { padding: 140px 0 70px; }
  .project, .about-story-grid, .about-guarantees-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .project { padding: 28px; }
  .project:nth-child(even) .project-info { order: 0; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px 22px; }
  .timeline::before { display: none; }
  .about-figures-grid { grid-template-columns: 1fr 1fr; }
  .about-figures-grid div:nth-child(2) { border-right: 0; }
  .about-figures-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-story-badge { right: 16px; }
  .lightbox { padding: 70px 16px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}
@media (max-width: 560px) {
  .project { padding: 20px; border-radius: 18px; }
  .project-meta-list { grid-template-columns: 1fr; }
  .project-items { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .cta-band-actions .btn { width: 100%; justify-content: center; }
  .about-figures-grid strong { font-size: 38px; }
}

/* ---------- Modules Capitech : conteneurs et versions de secours ---------- */
capi-devis,
capi-rdv { display: block; width: 100%; }
.capi-zone { min-width: 0; max-width: 760px; }
.capi-zone-head { margin-bottom: 28px; }
.devis-secours .privacy a { color: var(--forest); font-weight: 700; text-decoration: underline; }
.rdv-section { background: var(--cream); border-top: 1px solid var(--line); }
.rdv-wrap { max-width: 760px; }
.rdv-head { margin: 0 auto 32px; text-align: center; }
.rdv-secours { padding: 28px 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 24px 60px rgba(18, 45, 31, .08); }
.rdv-secours p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--charcoal); }
.rdv-secours a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
@media (max-width: 700px) { .rdv-secours { padding: 22px 20px; } }

/* ---------- Carrousel des prestations (deux lignes en sens opposés) ---------- */
.service-recap { overflow: hidden; }
.recap-rows { display: grid; gap: 18px; }
.recap-row { overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.recap-track { --recap-gap: 18px; display: flex; gap: var(--recap-gap); width: max-content; margin: 0; padding: 0; list-style: none; will-change: transform; }
.recap-card { position: relative; flex: 0 0 auto; display: flex; align-items: flex-end; gap: 14px; width: 320px; height: 260px; padding: 22px; border-radius: 16px; overflow: hidden; color: var(--white); background: var(--forest); isolation: isolate; }
.recap-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.recap-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 35, 23, .95) 0%, rgba(10, 35, 23, .72) 40%, rgba(10, 35, 23, .18) 78%, rgba(10, 35, 23, .05) 100%); }
.recap-card-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--terracotta); color: var(--forest-3); }
.recap-card-icon .icon { width: 20px; height: 20px; }
.recap-card strong { font: 400 21px/1.2 var(--serif); }
@media (max-width: 560px) { .recap-rows { gap: 12px; } .recap-track { --recap-gap: 12px; } .recap-card { width: 250px; height: 210px; padding: 16px; gap: 12px; } .recap-card-icon { width: 38px; height: 38px; } .recap-card strong { font-size: 18px; } }

/* ---------- Apparition discrète des blocs au défilement ---------- */
.js-reveal .reveal { opacity: 0; translate: 0 26px; transition: opacity 1s cubic-bezier(.19, 1, .22, 1), translate 1.1s cubic-bezier(.19, 1, .22, 1); transition-delay: var(--reveal-delai, 0ms); }
.js-reveal .reveal.is-visible { opacity: 1; translate: none; }

/* ---------- Blog : liste ---------- */
.blog-section { background: var(--offwhite); }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.blog-meta > * + *::before { content: "·"; margin-right: 14px; color: var(--sage); }
.blog-cat { color: var(--terracotta-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; margin-bottom: 40px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.blog-featured-media, .blog-card-media { position: relative; display: block; overflow: hidden; background: var(--sage-light); }
.blog-featured-media img, .blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.19, 1, .22, 1); }
.blog-featured:hover .blog-featured-media img, .blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-featured-media { min-height: 360px; }
.blog-featured-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 48px 46px; }
.blog-badge { padding: 6px 12px; border-radius: 20px; background: var(--forest); color: var(--terracotta); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.blog-featured h2 { margin: 0; font: 400 clamp(28px, 2.6vw, 38px)/1.12 var(--serif); color: var(--forest); }
.blog-featured p, .blog-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); transition: box-shadow .3s, border-color .3s; }
.blog-card:hover { border-color: rgba(212, 163, 115, .6); box-shadow: 0 20px 50px rgba(18, 45, 31, .1); }
.blog-card-media { aspect-ratio: 16 / 10; }
.blog-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 30px 30px; }
.blog-card h3 { margin: 0; font: 400 25px/1.2 var(--serif); color: var(--forest); }
.blog-card .text-link { margin-top: auto; }
.blog-featured h2 a:hover, .blog-card h3 a:hover { color: var(--terracotta-dark); }

/* ---------- Blog : article ---------- */
.article-hero .blog-meta { color: rgba(255, 255, 255, .7); }
.article-hero .blog-cat { color: var(--terracotta); }
.article-hero h1 { max-width: 20ch; font-size: clamp(36px, 4.4vw, 60px); }
.article-hero .breadcrumb { flex-wrap: wrap; }
.article-section { background: var(--offwhite); }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 320px; justify-content: space-between; gap: 64px; align-items: start; }
.article-body { font-size: 17px; line-height: 1.8; color: var(--charcoal); }
.article-body > :first-child { margin-top: 0; }
.article-lead { font-size: 20px; line-height: 1.7; color: var(--forest); }
.article-body h2 { margin: 48px 0 14px; font: 400 clamp(26px, 2.4vw, 32px)/1.2 var(--serif); color: var(--forest); }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 0; }
.article-body ul li { position: relative; margin: 10px 0; padding-left: 26px; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }
.article-body ol { list-style: none; counter-reset: etape; }
.article-body ol li { position: relative; margin: 14px 0; padding-left: 44px; counter-increment: etape; }
.article-body ol li::before { content: counter(etape); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: var(--terracotta); font-size: 14px; font-weight: 700; }
.article-body strong { color: var(--forest); }
.article-body a { color: var(--forest); font-weight: 600; text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 3px; }
.article-callout { margin: 26px 0; padding: 22px 26px; border-left: 4px solid var(--terracotta); border-radius: 0 14px 14px 0; background: var(--cream); }
.article-callout strong { display: block; margin-bottom: 6px; font: 400 21px var(--serif); }
.article-callout p { margin: 0; }
.article-note { font-size: 15px; color: var(--muted); }
.article-aside { position: sticky; top: 110px; display: grid; gap: 22px; }
.article-aside-card { display: grid; gap: 12px; padding: 28px; border-radius: 20px; background: var(--forest); color: var(--white); }
.article-aside-card small, .article-related small { color: var(--terracotta); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.article-aside-card strong { font: 400 24px/1.2 var(--serif); }
.article-aside-card p { margin: 0 0 6px; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.6; }
.article-aside-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255, 255, 255, .85); font-weight: 600; }
.article-related { padding: 24px 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.article-related small { color: var(--terracotta-dark); }
.article-related ul { display: grid; gap: 4px; margin-top: 12px; }
.article-related a { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); }
.article-related li:first-child a { border-top: 0; }
.article-related a span { font-size: 13px; color: var(--muted); }
.article-related a strong { font: 400 18px/1.3 var(--serif); color: var(--forest); transition: color .2s; }
.article-related a:hover strong { color: var(--terracotta-dark); }

@media (max-width: 980px)
{
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-media { min-height: 0; aspect-ratio: 16 / 10; }
    .blog-featured-body { padding: 32px 28px; }
    .article-layout { grid-template-columns: 1fr; gap: 48px; }
    .article-aside { position: static; }
}
@media (max-width: 760px)
{
    .blog-grid { grid-template-columns: 1fr; gap: 22px; }
    .blog-card-body { padding: 24px 22px; }
    .article-body { font-size: 16px; }
    .article-lead { font-size: 18px; }
}

/* ---------- Titres : pleine largeur et retour à la ligne équilibré ---------- */
h1, h2, h3 { text-wrap: balance; }
.section-title { max-width: none; }
.section-title p { max-width: 62ch; }
.section-title-center p { margin-inline: auto; }
.page-hero h1, .article-hero h1 { max-width: none; }
.page-hero p { max-width: 62ch; }
.section-head-row { gap: 40px; }
.section-head-row .section-title { flex: 1 1 auto; }
.section-head-row > :not(.section-title) { flex-shrink: 0; }
.service-recap .section-title-center { margin-bottom: 64px; }
/* Sections dont le titre occupait une colonne : le titre passe au-dessus, sur toute la largeur */
.values-layout { grid-template-columns: 1fr; gap: 56px; }
.values-cards { grid-template-columns: repeat(4, 1fr); }
.faq-grid, .about-guarantees-grid { grid-template-columns: 1fr; gap: 48px; }
.guarantee-list { grid-template-columns: repeat(2, 1fr); }
.about-story-title { margin-bottom: 56px; }
@media (max-width: 1100px) { .values-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .guarantee-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .values-cards { grid-template-columns: 1fr; } .service-recap .section-title-center { margin-bottom: 40px; } .about-story-media { padding: 0 16px 16px 0; } .about-story-media::before { inset: 16px 0 0 16px; } }

/* ---------- Zone d'intervention : carte réelle ---------- */
.area-title { margin-bottom: 44px; }
.zone-map-wrap { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: #e7ebe4; box-shadow: var(--shadow); }
.zone-map { height: 500px; background: #e7ebe4; }
.zone-map .leaflet-tile-pane { filter: grayscale(1) sepia(.28) hue-rotate(48deg) saturate(.75) brightness(1.04) contrast(.9); }
.zone-map .leaflet-control-attribution { font-size: 11px; background: rgba(255, 255, 255, .8); }
.zone-map .leaflet-control-zoom.leaflet-bar { border: 0; box-shadow: 0 8px 24px rgba(18, 45, 31, .14); }
.zone-map .leaflet-control-zoom a { color: var(--forest); }
.zone-pin { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--terracotta); color: var(--forest-3); border: 3px solid var(--white); box-shadow: 0 10px 24px rgba(18, 45, 31, .3); }
.zone-pin .icon { width: 22px; height: 22px; }
.zone-map .zone-label { padding: 6px 12px; border: 0; border-radius: 20px; background: var(--forest); color: var(--white); font: 700 13px var(--sans); box-shadow: 0 8px 20px rgba(18, 45, 31, .25); }
.zone-map .zone-label::before { display: none; }
.zone-legend { position: absolute; z-index: 500; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 12px 30px rgba(18, 45, 31, .14); color: var(--forest); pointer-events: none; }
.zone-legend-dot { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 2px dashed var(--terracotta-dark); background: rgba(27, 59, 43, .12); }
.zone-legend strong { display: block; font: 400 18px/1.2 var(--serif); }
.zone-legend small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.area-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.area-foot .area-pills { margin: 0; padding: 0; width: auto; }
.area-foot .btn { flex-shrink: 0; }
@media (max-width: 760px) { .zone-map { height: 380px; } .zone-legend { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; } .area-foot { flex-direction: column; align-items: stretch; } .area-foot .btn { justify-content: center; } }

/* ---------- Page Services ---------- */
.svc-jumps-band { position: relative; z-index: 2; margin-top: -56px; background: linear-gradient(transparent 56px, var(--white) 56px); }
.svc-jumps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-jump { position: relative; display: grid; gap: 8px; padding: 28px 28px 30px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--forest); transition: border-color .3s, transform .3s; }
.svc-jump:hover { border-color: var(--terracotta); transform: translateY(-3px); }
.svc-jump-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; background: var(--forest); color: var(--terracotta); }
.svc-jump strong { font: 400 23px/1.2 var(--serif); }
.svc-jump > span:not(.svc-jump-icon) { color: var(--muted); font-size: 15px; line-height: 1.6; padding-right: 30px; }
.svc-jump-arrow { position: absolute; right: 26px; bottom: 30px; color: var(--terracotta-dark); transform: rotate(90deg); }
.svc-section { background: var(--white); scroll-margin-top: 80px; }
.svc-section-alt { background: var(--offwhite); }
.svc-section .section-title { margin-bottom: 48px; }
.svc-body { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.svc-section-alt .svc-body { grid-template-columns: 1.1fr .9fr; }
.svc-section-alt .svc-media { order: 2; }
.svc-media { position: sticky; top: 110px; padding: 0 22px 22px 0; isolation: isolate; }
.svc-media::before { content: ""; position: absolute; z-index: -1; inset: 22px 0 0 22px; border: 2px solid var(--terracotta); border-radius: 6px; }
.svc-media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px rgba(18, 45, 31, .16); }
.svc-badge { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 20px; background: var(--terracotta); color: var(--forest-3); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.svc-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-items li { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 16px; background: var(--offwhite); border: 1px solid var(--line); }
.svc-section-alt .svc-items li { background: var(--white); }
.svc-items li > span { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--forest); color: var(--terracotta); }
.svc-items li > span .icon { width: 21px; height: 21px; }
.svc-items strong { display: block; margin-bottom: 6px; font: 400 19px/1.25 var(--serif); color: var(--forest); }
.svc-items p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.svc-foot p { margin: 0; color: var(--forest); font-weight: 600; font-size: 15px; line-height: 1.6; }
.svc-foot .btn { flex-shrink: 0; }
@media (max-width: 980px) { .svc-jumps { grid-template-columns: 1fr; } .svc-body, .svc-section-alt .svc-body { grid-template-columns: 1fr; gap: 36px; } .svc-section-alt .svc-media { order: 0; } .svc-media { position: relative; top: 0; } .svc-media img { aspect-ratio: 16 / 10; } }
@media (max-width: 640px) { .svc-items { grid-template-columns: 1fr; } .svc-foot { flex-direction: column; align-items: stretch; } .svc-foot .btn { justify-content: center; } .svc-media { padding: 0 14px 14px 0; } .svc-media::before { inset: 14px 0 0 14px; } .svc-jumps-band { margin-top: -36px; background: linear-gradient(transparent 36px, var(--white) 36px); } }
.area-foot .area-pills { justify-content: flex-start; }

/* ---------- Annonces Capitech ---------- */
/* Le bandeau d'annonce s'affiche dans l'en-tête fixe, au-dessus du menu : l'en-tête grandit avec lui,
   la hauteur fixe passe donc sur la barre de navigation. Sans annonce, la balise reste vide et rien ne change. */
.site-header
{
    display: flex;
    flex-direction: column;
    height: auto;
}

.site-header > .nav-wrap
{
    flex: none;
    height: 84px;
    transition: height .3s;
}

.site-header.is-scrolled > .nav-wrap
{
    height: 72px;
}

capi-annonces
{
    display: block;
}
