/* ============================================================
   ECS · Montpellier
   Plomberie · Chauffage · Climatisation
   Design system : rouge #E30613 + bleu #005BAA (logo ECS)
   Font: Montserrat (titres) + Inter (corps)
   ============================================================ */

:root {
    --ecs-red: #E30613;
    --ecs-red-dark: #B8050F;
    --ecs-red-soft: #FEE9EB;
    --ecs-blue: #005BAA;
    --ecs-blue-dark: #004080;
    --ecs-blue-soft: #E6EEF7;

    --ecs-ink: #0E2033;
    --ecs-ink-2: #1F2F44;
    --ecs-ink-3: #3A4A63;
    --ecs-muted: #6B7A8F;
    --ecs-muted-2: #A0AABA;
    --ecs-line: #E5EAF0;
    --ecs-line-2: #F1F4F8;

    --ecs-bg: #ffffff;
    --ecs-bg-soft: #F5F7FA;
    --ecs-bg-band: #EEF1F7;

    --ecs-rad: 14px;
    --ecs-rad-sm: 8px;
    --ecs-rad-lg: 22px;
    --ecs-rad-pill: 999px;

    --ecs-shadow-sm: 0 1px 2px rgba(14,32,51,.05), 0 2px 6px rgba(14,32,51,.04);
    --ecs-shadow: 0 4px 14px rgba(14,32,51,.07), 0 12px 30px rgba(14,32,51,.06);
    --ecs-shadow-lg: 0 10px 30px rgba(0,91,170,.14), 0 24px 60px rgba(14,32,51,.10);
    --ecs-shadow-red: 0 8px 20px rgba(227,6,19,.28);

    --ecs-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
    --ecs-font-display: 'Montserrat', 'Inter', system-ui, sans-serif;

    --ecs-text-xs: clamp(.75rem, 1.6vw, .8rem);
    --ecs-text-sm: clamp(.85rem, 1.8vw, .9rem);
    --ecs-text-base: 1rem;
    --ecs-text-lg: clamp(1.05rem, 2.1vw, 1.15rem);
    --ecs-text-xl: clamp(1.2rem, 2.5vw, 1.4rem);
    --ecs-text-2xl: clamp(1.5rem, 3.2vw, 1.85rem);
    --ecs-text-3xl: clamp(1.85rem, 4.2vw, 2.4rem);
    --ecs-text-4xl: clamp(2.3rem, 5.8vw, 3.4rem);
    --ecs-text-5xl: clamp(2.6rem, 7vw, 4rem);

    --ecs-wrap: 1240px;
    --ecs-pad-y: clamp(36px, 4vw, 56px);
}

@font-face { font-family: 'Inter'; font-weight: 400 800; font-display: swap; src: local('Inter'); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--ecs-font);
    font-size: var(--ecs-text-base);
    line-height: 1.65;
    color: var(--ecs-ink-3);
    background: var(--ecs-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--ecs-blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--ecs-red); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 {
    font-family: var(--ecs-font-display);
    color: var(--ecs-blue);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 300;
}
h1 { font-size: var(--ecs-text-4xl); }
h2 { font-size: var(--ecs-text-3xl); }
h3 { font-size: var(--ecs-text-xl); }

/* Overrides for headings on dark / colored backgrounds */
.ecs-hero h1,
.ecs-cta-banner__body h2,
.ecs-section--dark h2,
.ecs-section--dark h3,
.ecs-page-head h1,
.ecs-page-hero h1 {
    color: #fff !important;
}

.ecs-wrap { max-width: var(--ecs-wrap); margin: 0 auto; padding: 0 24px; }
.ecs-skip { position: absolute; top: -100px; left: 0; padding: 12px 18px; background: var(--ecs-ink); color: #fff; z-index: 9999; }
.ecs-skip:focus { top: 0; }

.ecs-icon { display: inline-flex; align-items: center; justify-content: center; width: var(--ecs-icon-size, 24px); height: var(--ecs-icon-size, 24px); flex-shrink: 0; }
.ecs-icon svg { width: 100%; height: 100%; }
.ecs-stars { color: #F5B300; letter-spacing: 2px; font-size: 1rem; }
.ecs-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ecs-red);
    margin-bottom: 12px;
}

/* ============================================================
   Buttons
   ============================================================ */
.ecs-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--ecs-rad-pill);
    background: var(--ecs-blue);
    color: #fff !important;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1;
    transition: all .18s;
    box-shadow: 0 8px 20px rgba(0,91,170,.28);
    white-space: nowrap;
}
.ecs-cta:hover { background: var(--ecs-blue-dark); transform: translateY(-2px); color: #fff !important; }
.ecs-cta--lg { padding: 16px 28px; font-size: 1rem; }
.ecs-cta--xl { padding: 18px 32px; font-size: 1.05rem; }
.ecs-cta--red { background: var(--ecs-red); box-shadow: var(--ecs-shadow-red); }
.ecs-cta--red:hover { background: var(--ecs-red-dark); }
.ecs-cta--blue { background: var(--ecs-blue); box-shadow: 0 8px 20px rgba(0,91,170,.28); }
.ecs-cta--blue:hover { background: var(--ecs-blue-dark); }
.ecs-cta--ghost {
    background: transparent;
    color: var(--ecs-ink) !important;
    border: 2px solid var(--ecs-ink);
    box-shadow: none;
}
.ecs-cta--ghost:hover { background: var(--ecs-ink); color: #fff !important; }
.ecs-cta--outline-white {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.5);
    box-shadow: none;
}
.ecs-cta--outline-white:hover { background: #fff; color: var(--ecs-ink) !important; border-color: #fff; }
.ecs-cta--full { width: 100%; }
.ecs-cta--head { padding: 12px 20px; font-size: .9rem; }

/* Filet de sécurité : un CTA ne doit jamais déborder de son conteneur.
   Le label se tronque proprement plutôt que de sortir du cadre. */
.ecs-cta {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}
.ecs-cta > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Rangée de 2 CTA côte à côte (cartes latérales services / zones) */
.ecs-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ecs-cta-row > .ecs-cta {
    flex: 1 1 140px;
    min-width: 0;
    text-align: center;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
}
@media (max-width: 520px) {
    .ecs-cta-row { flex-direction: column; }
    .ecs-cta-row > .ecs-cta { flex: 1 1 auto; width: 100%; }
}

/* ============================================================
   Header / Nav — Transparent variant for hero
   ============================================================ */
.ecs-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid var(--ecs-line);
    transition: background .3s, box-shadow .3s, border-color .3s;
}

/* Topbar inside header */
.ecs-topbar {
    font-size: var(--ecs-text-xs);
    transition: background .3s, border-color .3s;
}
.ecs-header:not(.ecs-header--transparent) .ecs-topbar {
    background: var(--ecs-ink);
    color: #fff;
}
.ecs-topbar__row {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 40px;
    flex-wrap: wrap;
}
.ecs-topbar__item { display: inline-flex; align-items: center; gap: 6px; color: #C6D0DC; }
.ecs-topbar__item a { color: #fff; }
.ecs-topbar__item a:hover { color: var(--ecs-red); }
.ecs-topbar__addr { color: #C6D0DC; }
.ecs-topbar__badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FFD84D;
    font-weight: 600;
}
@media (max-width: 720px) {
    .ecs-topbar__addr { display: none; }
    .ecs-topbar__badge { margin-left: 0; }
}

/* --- Transparent header (on hero) --- */
.ecs-header--transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.ecs-header--transparent .ecs-topbar {
    background: rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.ecs-header--transparent .ecs-topbar__item { color: rgba(255,255,255,.7); }
.ecs-header--transparent .ecs-topbar__item a { color: rgba(255,255,255,.9); }
.ecs-header--transparent .ecs-topbar__badge { color: #FFD84D; }

.ecs-header--transparent .ecs-brand { color: #fff; }
.ecs-header--transparent .ecs-brand__txt strong { color: #fff; }
.ecs-header--transparent .ecs-brand__txt em { color: rgba(255,255,255,.7); }
.ecs-header--transparent .ecs-nav__menu > ul > li > a,
.ecs-header--transparent .ecs-nav__menu > ul > li > button {
    color: rgba(255,255,255,.9);
}
.ecs-header--transparent .ecs-nav__menu > ul > li > a:hover,
.ecs-header--transparent .ecs-nav__menu > ul > li > button:hover {
    color: #fff;
    background: rgba(255,255,255,.12);
}
.ecs-header--transparent .ecs-cta--head {
    background: var(--ecs-red);
    color: #fff !important;
}
.ecs-header--transparent .ecs-burger { color: #fff; }

/* --- Scrolled state (white bg, sticky) --- */
.ecs-header--transparent.ecs-header--scrolled {
    position: fixed;
    background: #fff;
    border-bottom: 1px solid var(--ecs-line);
    box-shadow: var(--ecs-shadow-sm);
    animation: headerSlideDown .3s ease;
}
@keyframes headerSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
.ecs-header--scrolled .ecs-topbar {
    background: var(--ecs-ink);
    color: #fff;
    border-bottom: none;
}
.ecs-header--scrolled .ecs-topbar__item { color: #C6D0DC; }
.ecs-header--scrolled .ecs-topbar__item a { color: #fff; }
.ecs-header--scrolled .ecs-brand { color: var(--ecs-ink); }
.ecs-header--scrolled .ecs-brand__txt strong { color: var(--ecs-ink); }
.ecs-header--scrolled .ecs-brand__txt em { color: var(--ecs-muted); }
.ecs-header--scrolled .ecs-nav__menu > ul > li > a,
.ecs-header--scrolled .ecs-nav__menu > ul > li > button {
    color: var(--ecs-ink-2);
}
.ecs-header--scrolled .ecs-nav__menu > ul > li > a:hover,
.ecs-header--scrolled .ecs-nav__menu > ul > li > button:hover {
    color: var(--ecs-red);
    background: var(--ecs-red-soft);
}
.ecs-header--scrolled .ecs-burger { color: var(--ecs-ink); }

.ecs-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 24px;
}
.ecs-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ecs-ink); transition: color .2s; }
.ecs-brand img { width: 44px; height: 44px; object-fit: contain; }
.ecs-brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.ecs-brand__txt strong { font-size: 1.05rem; color: var(--ecs-ink); font-weight: 800; letter-spacing: -.01em; transition: color .2s; }
.ecs-brand__txt em { font-style: normal; font-size: .78rem; color: var(--ecs-muted); font-weight: 500; transition: color .2s; }

.ecs-nav__menu > ul { display: flex; align-items: center; gap: 4px; }
.ecs-nav__menu a,
.ecs-nav__menu > ul > li > button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    color: var(--ecs-ink-2);
    font-weight: 600;
    font-size: .95rem;
    border-radius: 8px;
    transition: all .15s;
}
.ecs-nav__menu a:hover,
.ecs-nav__menu > ul > li > button:hover { color: var(--ecs-red); background: var(--ecs-red-soft); }

.has-sub { position: relative; }
.ecs-sub {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    box-shadow: var(--ecs-shadow);
    padding: 12px;
    min-width: 340px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .18s;
    z-index: 100;
}
.ecs-sub--zones { grid-template-columns: 1fr 1fr; min-width: 280px; }
.has-sub:hover .ecs-sub,
.has-sub:focus-within .ecs-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.ecs-sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--ecs-ink-2);
    font-size: .9rem;
    font-weight: 500;
}
.ecs-sub a:hover { background: var(--ecs-blue-soft); color: var(--ecs-blue); }
.ecs-sub a > span { display: inline-block; line-height: 1.2; }

.ecs-burger { display: none; padding: 10px; }

/* Mobile menu */
.ecs-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 90vw);
    height: 100vh;
    background: #fff;
    box-shadow: -12px 0 32px rgba(14,32,51,.14);
    padding: 20px;
    z-index: 200;
    transition: right .28s ease;
    overflow-y: auto;
}
.ecs-mobile.is-open { right: 0; }
.ecs-mobile__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ecs-line); }
.ecs-mobile ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.ecs-mobile ul a, .ecs-mobile ul summary {
    display: block;
    padding: 12px 14px;
    color: var(--ecs-ink);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}
.ecs-mobile ul a:hover, .ecs-mobile ul summary:hover { background: var(--ecs-blue-soft); }
.ecs-mobile details ul { margin-top: 6px; margin-left: 12px; }
.ecs-mobile details ul a { font-size: .9rem; font-weight: 500; padding: 8px 12px; }

@media (max-width: 1024px) {
    .ecs-nav__menu, .ecs-cta--head { display: none; }
    .ecs-burger { display: inline-flex; }
    .ecs-nav { min-height: 56px; }
    .ecs-brand img { width: 38px; height: 38px; }
}

/* ============================================================
   HERO — style FixFlow (image sombre, headline blanc, CTA rouge)
   ============================================================ */
.ecs-hero {
    position: relative;
    background: var(--ecs-ink);
    color: #fff;
    overflow: hidden;
}
.ecs-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ecs-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}
@media (max-width: 720px) {
    .ecs-hero__bg img { object-position: center center; }
}
.ecs-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(14,32,51,.92) 0%,
        rgba(14,32,51,.82) 40%,
        rgba(14,32,51,.55) 65%,
        rgba(14,32,51,.35) 100%);
}
.ecs-hero__inner {
    position: relative;
    z-index: 2;
    padding: clamp(100px, 10vw, 120px) 24px clamp(30px, 4vw, 50px);
    max-width: var(--ecs-wrap);
    margin: 0 auto;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ecs-hero__txt { max-width: 640px; }
.ecs-hero__badge {
    display: inline-block;
    color: var(--ecs-red);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 8px;
}
.ecs-hero__badge {
    display: inline-block;
    color: var(--ecs-red);
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: 14px;
}
.ecs-hero h1 {
    font-size: clamp(1.8rem, 4.2vw, 2.8rem);
    color: #fff;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 14px;
    max-width: 620px;
}
.ecs-hero h1 .grad {
    background: linear-gradient(90deg, var(--ecs-red) 0%, #FF4757 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}
.ecs-hero__sub {
    color: rgba(255,255,255,.85);
    font-size: .98rem;
    line-height: 1.55;
    max-width: 520px;
    margin-bottom: 24px;
}
.ecs-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

/* review pill + awards row */
.ecs-hero__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: auto;
}
.ecs-hero__review {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--ecs-rad-pill);
    color: #fff;
    text-decoration: none;
    transition:
        background var(--ecs-dur-fast) var(--ecs-ease-out),
        transform var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-hero__review:hover {
    background: rgba(255,255,255,.14);
    transform: translateY(-2px);
    color: #fff;
}
.ecs-hero__review:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.ecs-hero__review-stars {
    color: #FFD84D;
    font-size: .95rem;
    letter-spacing: 2px;
    line-height: 1;
    flex-shrink: 0;
}
.ecs-hero__review-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.ecs-hero__review-txt strong { font-size: .95rem; font-weight: 800; color: #fff; }
.ecs-hero__review-txt small { font-size: .72rem; color: rgba(255,255,255,.75); }
.ecs-hero__review-arrow {
    display: inline-flex;
    color: rgba(255,255,255,.6);
    transition: transform var(--ecs-dur-fast) var(--ecs-ease-out), color var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-hero__review:hover .ecs-hero__review-arrow {
    transform: translateX(4px);
    color: #fff;
}
@media (max-width: 600px) {
    .ecs-hero__inner {
        min-height: auto;
        padding: 80px 20px 36px;
        justify-content: flex-start;
        gap: 20px;
    }
    .ecs-hero__ctas { flex-direction: column; align-items: stretch; }
    .ecs-hero__ctas .ecs-cta { justify-content: center; }
    .ecs-hero__badge { margin-bottom: 10px; font-size: .72rem; letter-spacing: .14em; }
    .ecs-hero h1 { font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.2; margin-bottom: 12px; }
    .ecs-hero__sub { font-size: .92rem; line-height: 1.5; margin-bottom: 18px; }
    .ecs-hero__ctas { margin-bottom: 32px; }
}
@media (max-width: 400px) {
    .ecs-hero__inner { padding-top: 80px; }
}

/* ============================================================
   QUICK BOOKING STRIP
   ============================================================ */
.ecs-quickbook {
    background: transparent;
    padding: 40px 0 0;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}
.ecs-quickbook__box {
    background: var(--ecs-blue-soft);
    border-radius: var(--ecs-rad);
    padding: 26px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: center;
    gap: 20px;
    box-shadow: var(--ecs-shadow);
}
.ecs-quickbook__txt strong {
    display: block;
    color: var(--ecs-ink);
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.2;
}
.ecs-quickbook__txt small { color: var(--ecs-muted); font-size: .9rem; }
.ecs-quickbook input {
    padding: 14px 18px;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad-pill);
    background: #fff;
    font-size: .95rem;
    color: var(--ecs-ink-2);
    font-family: inherit;
    width: 100%;
}
.ecs-quickbook input:focus { outline: 2px solid var(--ecs-blue); outline-offset: 1px; }
.ecs-quickbook button { padding: 14px 26px; }
@media (max-width: 900px) {
    .ecs-quickbook__box { grid-template-columns: 1fr; }
}

/* ============================================================
   Sections génériques
   ============================================================ */
.ecs-section { padding: var(--ecs-pad-y) 0; }
.ecs-section--soft { background: var(--ecs-bg-soft); }
.ecs-section--band { background: var(--ecs-bg-band); }
.ecs-section--dark { background: var(--ecs-ink); color: rgba(255,255,255,.85); }
.ecs-section--dark h2, .ecs-section--dark h3 { color: #fff; }

.ecs-section__head { max-width: 780px; margin: 0 auto 28px; text-align: center; }
.ecs-section__head h2 { margin-bottom: 14px; }
.ecs-section__head p { color: var(--ecs-muted); font-size: 1.05rem; }

/* ============================================================
   WHO WE ARE / ABOUT with tabs
   ============================================================ */
.ecs-about {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: center;
}
.ecs-about__media {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--ecs-shadow);
}
.ecs-about__media img {
    width: 100%;
    height: auto;
    display: block;
}
.ecs-about__body h2 { margin-bottom: 24px; }
.ecs-about__tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--ecs-line);
    margin-bottom: 20px;
}
.ecs-about__tab {
    padding: 12px 4px;
    margin-right: 32px;
    font-weight: 700;
    color: var(--ecs-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: all .15s;
}
.ecs-about__tab.is-active {
    color: var(--ecs-red);
    border-bottom-color: var(--ecs-red);
}
.ecs-about__panel { display: none; }
.ecs-about__panel.is-active { display: block; }
.ecs-about__panel p { color: var(--ecs-muted); margin-bottom: 22px; }
.ecs-about__checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ecs-about__check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ecs-ink-2);
    font-weight: 500;
    font-size: .95rem;
}
.ecs-about__check .ecs-icon {
    background: var(--ecs-red-soft);
    color: var(--ecs-red);
    border-radius: 50%;
    padding: 6px;
    width: 28px;
    height: 28px;
}
@media (max-width: 900px) {
    .ecs-about { grid-template-columns: 1fr; }
    .ecs-about__media {
        aspect-ratio: auto;
        max-width: 480px;
        margin: 0 auto;
    }
    .ecs-about__media img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
    .ecs-about__checks { grid-template-columns: 1fr; }
}

/* ============================================================
   STATS ROW
   ============================================================ */
.ecs-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.ecs-stat { text-align: center; }
.ecs-stat strong {
    display: block;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-family: var(--ecs-font-display);
    color: var(--ecs-ink);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -.03em;
}
.ecs-stat span { color: var(--ecs-muted); font-size: .95rem; }
@media (max-width: 720px) {
    .ecs-stats { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
/* --- New Services Design matching the Mockup --- */
.ecs-section__head-new {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: flex-end;
    margin-bottom: 28px;
    text-align: left;
}
.ecs-eyebrow-new {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ecs-blue);
    border-top: 3px solid var(--ecs-blue);
    padding-top: 8px;
    margin-bottom: 16px;
}
.ecs-section__head-left h2 {
    font-size: var(--ecs-text-4xl);
    line-height: 1.1;
    color: var(--ecs-blue);
    font-weight: 300;
}
.ecs-section__head-right p {
    color: var(--ecs-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 480px;
    margin-left: auto;
}
@media (max-width: 768px) {
    .ecs-section__head-new {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ecs-section__head-right p {
        margin-left: 0;
    }
}

.ecs-services-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 900px) {
    .ecs-services-new {
        grid-template-columns: 1fr;
    }
}

.ecs-service-card-new {
    position: relative;
    display: block;
    height: 190px;
    border-radius: 24px;
    overflow: hidden;
    color: #fff !important;
    box-shadow: var(--ecs-shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.ecs-service-card-new:hover {
    transform: translateY(-6px);
    box-shadow: var(--ecs-shadow-lg);
}
.ecs-service-card-new__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ecs-service-card-new:hover .ecs-service-card-new__bg {
    transform: scale(1.08);
}
.ecs-service-card-new__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14,32,51,0.78) 0%, rgba(14,32,51,0.30) 100%);
    transition: background 0.3s;
}
.ecs-service-card-new:hover .ecs-service-card-new__overlay {
    background: linear-gradient(90deg, rgba(0,91,170,0.78) 0%, rgba(14,32,51,0.35) 100%);
}
.ecs-service-card-new__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 40px;
    height: 100%;
}
.ecs-service-card-new__num {
    font-family: var(--ecs-font-display);
    font-size: clamp(3.8rem, 6vw, 4.8rem);
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.2);
    line-height: 1;
    transition: -webkit-text-stroke 0.3s, color 0.3s;
    user-select: none;
    flex-shrink: 0;
}
.ecs-service-card-new:hover .ecs-service-card-new__num {
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.6);
    color: rgba(255,255,255,0.03);
}
.ecs-service-card-new__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ecs-service-card-new__text h3 {
    font-family: var(--ecs-font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: #fff !important;
    margin: 0;
}
.ecs-service-card-new__text p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 600px) {
    .ecs-service-card-new {
        height: auto;
        min-height: 140px;
    }
    .ecs-service-card-new__content {
        gap: 20px;
        padding: 20px 24px;
    }
    .ecs-service-card-new__num {
        font-size: 3rem;
    }
}

.ecs-services-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--ecs-line);
    gap: 32px;
}
.ecs-services-bottom__left {
    text-align: left;
}
.ecs-services-bottom__badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ecs-red);
    margin-bottom: 8px;
}
.ecs-services-bottom__left p {
    font-size: 1.05rem;
    color: var(--ecs-muted);
    margin: 0;
}
.ecs-services-bottom__right {
    flex-shrink: 0;
}
.ecs-cta--yellow {
    background: #FFD84D;
    color: var(--ecs-ink) !important;
    box-shadow: 0 8px 20px rgba(255,216,77,0.25);
}
.ecs-cta--yellow:hover {
    background: #e6c245;
    transform: translateY(-2px);
    color: var(--ecs-ink) !important;
}

@media (max-width: 768px) {
    .ecs-services-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .ecs-services-bottom__right {
        width: 100%;
    }
    .ecs-services-bottom__right .ecs-cta {
        width: 100%;
    }
}

.ecs-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
@media (max-width: 1024px) { .ecs-services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .ecs-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ecs-services { grid-template-columns: 1fr; } }

.ecs-service-card {
    background: #fff;
    border: 1px solid var(--ecs-line-2);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s, border-color .3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(14,32,51,.03);
}
.ecs-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 91, 170, 0.08);
    border-color: rgba(0, 91, 170, 0.15);
}
.ecs-service-card__media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--ecs-bg-soft);
}
.ecs-service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1); }
.ecs-service-card:hover .ecs-service-card__media img { transform: scale(1.06); }
.ecs-service-card__icon {
    position: absolute;
    bottom: -20px;
    left: 24px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ecs-red) 0%, var(--ecs-red-dark) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(227,6,19,.2);
    transition: transform .3s;
}
.ecs-service-card:hover .ecs-service-card__icon {
    transform: scale(1.08) translateY(-2px);
}
.ecs-service-card__body { padding: 32px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.ecs-service-card__body h3 { margin-bottom: 10px; color: var(--ecs-blue); font-weight: 500; font-size: 1.15rem; font-family: var(--ecs-font-display); }
.ecs-service-card__body p { color: var(--ecs-muted); font-size: .9rem; margin-bottom: 18px; flex: 1; line-height: 1.55; }
.ecs-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ecs-red);
    font-weight: 700;
    font-size: .9rem;
    transition: color .2s;
}
.ecs-service-card__link svg { transition: transform 0.2s ease; }
.ecs-service-card__link:hover { color: var(--ecs-blue); }
.ecs-service-card__link:hover svg { transform: translateX(4px); }

/* ============================================================
   CTA BANNER
   ============================================================ */
/* Hallmark · component: cta-banner · genre: editorial · theme: ECS brand (ink + red accent)
 * background image full-bleed, gradient overlay, centered stack
 * states: default · hover · focus-visible (on interactive CTAs) · reduced-motion safe
 * contrast: pass (WCAG AA on all text vs. overlay floor)
 */
.ecs-cta-banner {
    position: relative;
    border-radius: var(--ecs-rad-lg);
    overflow: hidden;
    isolation: isolate;
    padding: clamp(72px, 10vw, 120px) clamp(28px, 6vw, 80px);
    text-align: center;
    color: #fff;
    background: var(--ecs-ink);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ecs-cta-banner__visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
}
.ecs-cta-banner__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: none;
}
.ecs-cta-banner__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(14,32,51,.55) 0%, rgba(14,32,51,.85) 70%, rgba(14,32,51,.92) 100%),
        linear-gradient(180deg, rgba(14,32,51,.35) 0%, rgba(14,32,51,.75) 100%);
}
.ecs-cta-banner__body {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.ecs-cta-banner__body > .ecs-eyebrow { color: #FF6B7A; margin-bottom: 0; }
.ecs-cta-banner__body h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0;
    max-width: 640px;
}
.ecs-cta-banner__body p {
    color: rgba(255,255,255,.88);
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0;
    max-width: 560px;
}
.ecs-cta-banner__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.ecs-cta-banner__phone .num {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.3rem, 2.8vw, 1.6rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.01em;
}
.ecs-cta-banner__phone .num .ecs-icon {
    color: var(--ecs-red);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    padding: 8px;
    width: 40px;
    height: 40px;
}
.ecs-cta-banner__phone .or {
    color: rgba(255,255,255,.6);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 600;
}
.ecs-cta-banner__phone a.num {
    color: #fff;
    text-decoration: none;
    transition: color .18s var(--ecs-ease-out, ease-out);
}
.ecs-cta-banner__phone a.num:hover { color: var(--ecs-red); }
.ecs-cta-banner__phone a.num:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
    border-radius: 6px;
}
.ecs-cta-banner .ecs-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
@media (max-width: 640px) {
    .ecs-cta-banner { padding: 60px 22px; min-height: 340px; }
    .ecs-cta-banner__phone { flex-direction: column; gap: 12px; }
    .ecs-cta-banner__phone .or { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ecs-cta-banner__phone a.num { transition: none; }
}

/* ============================================================
   Hallmark · site-wide microinteractions
   Primitives (max 3): reveal-rise · nudge · pulse
   Rule: transform/opacity only, never layout properties
   ============================================================ */
:root {
    --ecs-ease-out: cubic-bezier(.2, .8, .2, 1);
    --ecs-ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --ecs-dur-fast: 150ms;
    --ecs-dur-base: 320ms;
    --ecs-dur-slow: 520ms;
}

/* reveal-rise — fade + subtle rise on scroll-in */
.ecs-reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity var(--ecs-dur-slow) var(--ecs-ease-out),
        transform var(--ecs-dur-slow) var(--ecs-ease-out);
    will-change: opacity, transform;
}
.ecs-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.ecs-reveal--delay-1 { transition-delay: 60ms; }
.ecs-reveal--delay-2 { transition-delay: 120ms; }
.ecs-reveal--delay-3 { transition-delay: 180ms; }
.ecs-reveal--delay-4 { transition-delay: 240ms; }

/* stagger children automatically inside a grid/list marked ecs-reveal-stagger */
.ecs-reveal-stagger > * {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition:
        opacity var(--ecs-dur-slow) var(--ecs-ease-out),
        transform var(--ecs-dur-slow) var(--ecs-ease-out);
    will-change: opacity, transform;
}
.ecs-reveal-stagger.is-visible > * { opacity: 1; transform: translate3d(0, 0, 0); }
.ecs-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.ecs-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 60ms; }
.ecs-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 120ms; }
.ecs-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 180ms; }
.ecs-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.ecs-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 300ms; }
.ecs-reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 360ms; }
.ecs-reveal-stagger.is-visible > *:nth-child(n+8) { transition-delay: 420ms; }

/* nudge — arrow slide on link hover (already used by some cards; formalise here) */
.ecs-nudge svg { transition: transform var(--ecs-dur-fast) var(--ecs-ease-out); }
.ecs-nudge:hover svg { transform: translateX(4px); }

/* pulse — single attention beat on primary CTA, one time */
@keyframes ecs-pulse-once {
    0%   { box-shadow: 0 0 0 0 rgba(227,6,19,.45); }
    70%  { box-shadow: 0 0 0 14px rgba(227,6,19,0); }
    100% { box-shadow: 0 0 0 0 rgba(227,6,19,0); }
}
.ecs-cta--pulse { animation: ecs-pulse-once 1.8s var(--ecs-ease-out) 800ms 1; }

/* CTA lift already exists via .ecs-cta:hover; keep motion primitive count tight */

/* Reduced motion — collapse to opacity crossfade at 150ms max */
@media (prefers-reduced-motion: reduce) {
    .ecs-reveal,
    .ecs-reveal-stagger > * {
        transform: none !important;
        transition: opacity 150ms linear !important;
    }
    .ecs-nudge svg { transition: none; }
    .ecs-cta--pulse { animation: none; }
    .ecs-service-card:hover,
    .ecs-step:hover,
    .ecs-zone-card:hover,
    .ecs-article-card:hover { transform: none; }
    .ecs-service-card__media img,
    .ecs-article-card__media img { transition: none !important; }
}

/* ============================================================
   ZONES
   ============================================================ */
.ecs-zones-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
@media (max-width: 900px) { .ecs-zones-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .ecs-zones-grid { grid-template-columns: repeat(2, 1fr); } }

.ecs-zone-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    color: var(--ecs-ink-2);
    transition: all .18s;
}
.ecs-zone-card:hover {
    border-color: var(--ecs-red);
    color: var(--ecs-red);
    transform: translateY(-2px);
    box-shadow: var(--ecs-shadow-sm);
}
.ecs-zone-card .ecs-icon { color: var(--ecs-blue); }
.ecs-zone-card:hover .ecs-icon { color: var(--ecs-red); }
.ecs-zone-card__txt { display: flex; flex-direction: column; line-height: 1.1; }
.ecs-zone-card__txt strong { font-size: .95rem; font-weight: 700; color: var(--ecs-ink); }
.ecs-zone-card:hover .ecs-zone-card__txt strong { color: var(--ecs-red); }
.ecs-zone-card__txt small { font-size: .78rem; color: var(--ecs-muted); }

/* ============================================================
   TIMELINE — Customer Journey (Notre méthode)
   ============================================================ */
/* --- New Method/Steps layout matching the Mockup --- */
.ecs-method-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}
.ecs-method-left {
    text-align: left;
}
.ecs-method-left h2 {
    font-size: var(--ecs-text-4xl);
    line-height: 1.1;
    color: var(--ecs-blue);
    margin-bottom: 20px;
    font-weight: 300;
}
.ecs-method-desc {
    color: var(--ecs-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 32px;
}
.ecs-method-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 28px 12px 12px;
    background: var(--ecs-blue);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--ecs-rad-pill);
    box-shadow: 0 8px 20px rgba(0, 91, 170, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ecs-method-btn:hover {
    background: var(--ecs-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 91, 170, 0.3);
}
.ecs-method-btn__circle {
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ecs-blue);
    transition: transform 0.3s;
}
.ecs-method-btn__circle svg {
    width: 14px;
    height: 14px;
    transform: rotate(-90deg); /* points right! */
    transition: transform 0.3s;
}
.ecs-method-btn:hover .ecs-method-btn__circle {
    transform: scale(1.05);
}
.ecs-method-btn:hover .ecs-method-btn__circle svg {
    transform: rotate(-90deg) translateX(2px);
}

/* Method Card (Right column) */
.ecs-method-card {
    background: #fff;
    border: 1px solid var(--ecs-line-2);
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--ecs-shadow);
    text-align: left;
}
.ecs-method-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--ecs-line-2);
}
.ecs-method-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.ecs-method-step {
    font-family: var(--ecs-font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ecs-muted);
}
.ecs-method-item h3 {
    font-family: var(--ecs-font-display);
    font-size: 1.15rem;
    color: var(--ecs-blue);
    font-weight: 500;
    margin: 0;
}
.ecs-method-item p {
    font-size: 0.88rem;
    color: var(--ecs-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .ecs-method-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ecs-method-card {
        padding: 30px 24px;
        border-radius: 24px;
    }
}

/* Legacy steps (for other pages) */
.ecs-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .ecs-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ecs-steps { grid-template-columns: 1fr; } }

.ecs-step {
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    padding: 30px 26px;
    text-align: left;
    position: relative;
    transition: all .2s;
}
.ecs-step:hover { box-shadow: var(--ecs-shadow); transform: translateY(-2px); border-color: transparent; }
.ecs-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ecs-red) 0%, var(--ecs-red-dark) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: var(--ecs-shadow-red);
}
.ecs-step h3 { margin-bottom: 8px; color: var(--ecs-blue); font-size: 1.05rem; }
.ecs-step p { color: var(--ecs-muted); font-size: .92rem; }

/* ============================================================
   CAROUSEL
   ============================================================ */
.ecs-carousel {
    position: relative;
}
.ecs-carousel__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 4px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.ecs-carousel__track::-webkit-scrollbar { display: none; }
.ecs-carousel__slide {
    scroll-snap-align: start;
    flex: 0 0 auto;
}
.ecs-carousel__slide img {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--ecs-rad);
    width: 320px;
    height: auto;
    transition: transform .2s;
}
.ecs-carousel__slide img:hover { transform: scale(1.03); }
.ecs-carousel__slide--review {
    width: 380px;
    flex-shrink: 0;
    display: flex;
}
.ecs-carousel__slide--review .ecs-review {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.ecs-carousel--reviews .ecs-carousel__track {
    padding: 12px 4px;
    gap: 20px;
}
.ecs-carousel--reviews .ecs-carousel__btn--prev { left: -20px; }
.ecs-carousel--reviews .ecs-carousel__btn--next { right: -20px; }
@media (max-width: 900px) {
    .ecs-carousel__slide--review { width: 300px; }
    .ecs-carousel--reviews .ecs-carousel__btn { display: none; }
}
@media (max-width: 480px) {
    .ecs-carousel__slide--review { width: 88vw; max-width: 340px; }
}
.ecs-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--ecs-line);
    box-shadow: var(--ecs-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ecs-ink);
    transition: all .18s;
    cursor: pointer;
}
.ecs-carousel__btn:hover {
    background: var(--ecs-red);
    color: #fff;
    border-color: var(--ecs-red);
}
.ecs-carousel__btn--prev { left: -24px; }
.ecs-carousel__btn--prev .ecs-icon { transform: rotate(90deg); }
.ecs-carousel__btn--next { right: -24px; }
.ecs-carousel__btn--next .ecs-icon { transform: rotate(-90deg); }
@media (max-width: 900px) {
    .ecs-carousel__btn { display: none; }
    .ecs-carousel__slide img { width: 280px; }
    .ecs-carousel__slide--review { width: 320px; }
}

/* Bubble Carousel Styles */
/* ============================================================
   Related services chip strip (SEO net linking)
   ============================================================ */
.ecs-related-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 20px 0;
}
.ecs-related-strip__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad-pill);
    color: var(--ecs-ink-2);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    transition:
        transform var(--ecs-dur-fast) var(--ecs-ease-out),
        border-color var(--ecs-dur-fast) var(--ecs-ease-out),
        color var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-related-strip__chip:hover {
    transform: translateY(-2px);
    border-color: var(--ecs-red);
    color: var(--ecs-red);
}
.ecs-related-strip__chip .ecs-icon { color: var(--ecs-red); }

/* Hallmark · blog carousel — aligned with new article cards */
.ecs-carousel--bubble { padding: 8px 0; }
.ecs-carousel--bubble .ecs-carousel__track {
    padding: 16px 4px;
    gap: 24px;
}
.ecs-carousel__slide--blog {
    width: 360px;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.ecs-carousel__slide--blog .ecs-article-card { height: 100%; }
.ecs-carousel--bubble .ecs-carousel__btn {
    width: 52px;
    height: 52px;
    background: #fff;
    box-shadow: var(--ecs-shadow);
    border: 1px solid var(--ecs-line);
    color: var(--ecs-ink);
    transition:
        transform var(--ecs-dur-fast) var(--ecs-ease-out),
        background var(--ecs-dur-fast) var(--ecs-ease-out),
        color var(--ecs-dur-fast) var(--ecs-ease-out),
        border-color var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-carousel--bubble .ecs-carousel__btn:hover {
    background: var(--ecs-red);
    color: #fff;
    border-color: var(--ecs-red);
    transform: translateY(-50%) scale(1.04);
    box-shadow: var(--ecs-shadow-red);
}
.ecs-carousel--bubble .ecs-carousel__btn:focus-visible {
    outline: 3px solid var(--ecs-blue);
    outline-offset: 3px;
}
.ecs-carousel--bubble .ecs-carousel__btn--prev { left: -20px; }
.ecs-carousel--bubble .ecs-carousel__btn--next { right: -20px; }

/* header row : title left, "voir tous" link right */
.ecs-carousel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.ecs-carousel-head__title { max-width: 640px; }
.ecs-carousel-head__title h2 { margin-bottom: 8px; }
.ecs-carousel-head__title p { color: var(--ecs-muted); }
.ecs-carousel-head__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ecs-red);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    flex-shrink: 0;
}
.ecs-carousel-head__link:hover { color: var(--ecs-red-dark); }

@media (max-width: 900px) {
    .ecs-carousel__slide--blog { width: 300px; }
    .ecs-carousel--bubble .ecs-carousel__track { gap: 18px; padding: 12px 4px; }
    .ecs-carousel--bubble .ecs-carousel__btn { display: none; }
}

/* ============================================================
   REALISATIONS (legacy grid fallback)
   ============================================================ */
.ecs-real-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.ecs-real-grid img {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--ecs-rad-sm);
    transition: transform .2s;
}
.ecs-real-grid img:hover { transform: scale(1.03); }
@media (max-width: 780px) { .ecs-real-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   REVIEWS
   ============================================================ */
.ecs-rating-band {
    background: linear-gradient(135deg, var(--ecs-blue-soft) 0%, #fff 100%);
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.ecs-rating-band__big { display: flex; align-items: center; gap: 14px; }
.ecs-rating-band__big strong { font-size: 3rem; font-weight: 800; color: var(--ecs-ink); line-height: 1; font-family: var(--ecs-font-display); }
.ecs-rating-band__meta { display: flex; flex-direction: column; color: var(--ecs-muted); font-size: .9rem; }
.ecs-rating-band__meta span:first-child { color: var(--ecs-ink); font-weight: 700; }
.ecs-rating-band .ecs-cta { margin-left: auto; }
@media (max-width: 600px) { .ecs-rating-band .ecs-cta { margin-left: 0; width: 100%; } }

.ecs-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .ecs-reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ecs-reviews { grid-template-columns: 1fr; } }

.ecs-review {
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    padding: 24px;
    transition: all .18s;
}
.ecs-review:hover { box-shadow: var(--ecs-shadow); border-color: transparent; }
.ecs-review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ecs-review__avt {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ecs-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.ecs-review__who { display: flex; flex-direction: column; line-height: 1.2; }
.ecs-review__who strong { color: var(--ecs-ink); font-size: .95rem; }
.ecs-review__who small { color: var(--ecs-muted); font-size: .78rem; }
.ecs-review__stars { color: #F5B300; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.ecs-review__text { color: var(--ecs-ink-3); font-size: .93rem; margin-bottom: 12px; }
.ecs-review__date { color: var(--ecs-muted-2); font-size: .78rem; }

/* ============================================================
   GMB / MAP
   ============================================================ */
.ecs-gmb {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
    align-items: stretch;
}
.ecs-gmb__info {
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    padding: 30px;
}
.ecs-gmb__info h3 { margin-bottom: 20px; color: var(--ecs-blue); font-family: var(--ecs-font-display); font-weight: 500; }
.ecs-gmb__row { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.ecs-gmb__row .ecs-icon { color: var(--ecs-red); flex-shrink: 0; margin-top: 2px; }
.ecs-gmb__row span { display: flex; flex-direction: column; font-size: .92rem; color: var(--ecs-ink-3); }
.ecs-gmb__row strong { color: var(--ecs-ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 2px; }
.ecs-gmb__row a { color: var(--ecs-ink-3); }
.ecs-gmb__info .ecs-cta { margin-top: 6px; width: 100%; }
.ecs-gmb__map {
    border-radius: var(--ecs-rad);
    overflow: hidden;
    border: 1px solid var(--ecs-line);
    min-height: 420px;
}
.ecs-gmb__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 900px) { .ecs-gmb { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ — 2-column grid variant
   ============================================================ */
.ecs-faq { max-width: 820px; margin: 0 auto; }
.ecs-faq--grid {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.ecs-faq__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (max-width: 768px) {
    .ecs-faq--grid { grid-template-columns: 1fr; }
}
.ecs-faq__item {
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    padding: 0;
    margin-bottom: 0;
    transition: all .18s;
}
.ecs-faq__item[open] { box-shadow: var(--ecs-shadow-sm); border-color: var(--ecs-red-soft); }
.ecs-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 24px;
    font-weight: 500;
    color: var(--ecs-blue);
    font-family: var(--ecs-font-display);
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
}
.ecs-faq__item summary::-webkit-details-marker { display: none; }
.ecs-faq__item summary .ecs-icon { color: var(--ecs-red); transition: transform .2s; }
.ecs-faq__item[open] summary .ecs-icon { transform: rotate(180deg); }
.ecs-faq__item p { padding: 0 24px 20px; color: var(--ecs-muted); font-size: .95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.ecs-footer {
    background: var(--ecs-ink);
    color: rgba(255,255,255,.75);
    padding-top: 72px;
    margin-top: 0;
}
.ecs-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
}
.ecs-footer__brand .ecs-brand { color: #fff; margin-bottom: 16px; }
.ecs-footer__brand .ecs-brand__txt strong { color: #fff; font-size: 1.15rem; }
.ecs-footer__brand .ecs-brand__txt em { color: rgba(255,255,255,.6); }
.ecs-footer__brand p { color: rgba(255,255,255,.7); font-size: .92rem; margin-bottom: 18px; }
.ecs-footer__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--ecs-rad-pill);
    color: #fff;
    font-size: .88rem;
}
.ecs-footer__rating .ecs-stars { font-size: .9rem; }
.ecs-footer__rating strong { color: #fff; }

.ecs-footer__col h4 {
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.ecs-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.ecs-footer__col ul a {
    color: rgba(255,255,255,.7);
    font-size: .92rem;
    transition: color .15s;
}
.ecs-footer__col ul a:hover { color: var(--ecs-red); }
.ecs-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .92rem;
    color: rgba(255,255,255,.75);
}
.ecs-footer__contact .ecs-icon { color: var(--ecs-red); margin-top: 3px; flex-shrink: 0; }
.ecs-footer__contact a { color: rgba(255,255,255,.85); }
.ecs-footer__contact a:hover { color: var(--ecs-red); }

.ecs-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
}
.ecs-footer__bottom .ecs-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .ecs-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
    .ecs-footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STICKY MOBILE BAR (2 boutons) + BOTTOM SHEET (form)
   ============================================================ */
.ecs-sticky-bar {
    display: none;
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 150;
    gap: 10px;
    padding-bottom: env(safe-area-inset-bottom);
}
.ecs-sticky-bar__btn {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: var(--ecs-rad-pill);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    font-family: inherit;
    transition:
        transform var(--ecs-dur-fast) var(--ecs-ease-out),
        background var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-sticky-bar__btn:active { transform: scale(.98); }
.ecs-sticky-bar__btn--quote {
    background: #fff;
    color: var(--ecs-blue);
    border: 2px solid var(--ecs-blue);
    box-shadow: 0 8px 24px rgba(0,91,170,.16);
}
.ecs-sticky-bar__btn--quote:hover { background: var(--ecs-blue-soft); }
.ecs-sticky-bar__btn--call {
    background: var(--ecs-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,91,170,.32);
}
.ecs-sticky-bar__btn--call:hover { background: var(--ecs-blue-dark); }
.ecs-sticky-bar__btn:focus-visible {
    outline: 3px solid var(--ecs-blue);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .ecs-sticky-bar { display: flex !important; }
    body { padding-bottom: 96px; }
}

/* Legacy alias (retro-compat si autre code utilise encore) */
.ecs-sticky-call { display: none !important; }

/* ---------- Bottom sheet ---------- */
.ecs-sheet {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    visibility: hidden;
}
.ecs-sheet.is-open {
    pointer-events: auto;
    visibility: visible;
}
.ecs-sheet__scrim {
    position: absolute;
    inset: 0;
    background: rgba(14,32,51,.5);
    opacity: 0;
    transition: opacity var(--ecs-dur-base) var(--ecs-ease-out);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.ecs-sheet.is-open .ecs-sheet__scrim { opacity: 1; }
.ecs-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 22px 22px 0 0;
    max-height: 92vh;
    overflow-y: auto;
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform var(--ecs-dur-base) var(--ecs-ease-out);
    box-shadow: 0 -18px 40px rgba(14,32,51,.18);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.ecs-sheet.is-open .ecs-sheet__panel { transform: translateY(0); }
.ecs-sheet__handle {
    display: block;
    width: 100%;
    padding: 6px 0 12px;
    background: none;
    border: 0;
    cursor: pointer;
}
.ecs-sheet__handle > span {
    display: block;
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: var(--ecs-line);
    margin: 0 auto;
}
.ecs-sheet__head { text-align: left; margin-bottom: 16px; }
.ecs-sheet__head .ecs-eyebrow { margin-bottom: 6px; }
.ecs-sheet__head h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: var(--ecs-ink);
    overflow-wrap: anywhere;
    line-height: 1.2;
}
.ecs-sheet__head p { color: var(--ecs-muted); font-size: .92rem; }
.ecs-sheet__form { gap: 12px; }
.ecs-sheet__form label { font-size: .82rem; }
.ecs-sheet__form input,
.ecs-sheet__form select,
.ecs-sheet__form textarea {
    font-size: 16px; /* évite zoom iOS */
    padding: 11px 14px;
}
.ecs-sheet__form textarea { min-height: 90px; }
.ecs-sheet__form .ecs-form__legal { margin-top: 8px; }
.ecs-sheet__form .ecs-form__legal a { color: var(--ecs-red); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
    .ecs-sheet__scrim,
    .ecs-sheet__panel { transition: none; }
}

/* Bloque le scroll body quand la sheet est ouverte */
body.ecs-sheet-open {
    overflow: hidden;
}

/* ============================================================
   Author bio (E-E-A-T on blog posts)
   ============================================================ */
.ecs-author-bio {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 24px;
    background: var(--ecs-bg-soft);
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad-lg);
    margin: 40px 0 0;
    align-items: start;
}
.ecs-author-bio__avt {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ecs-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -.02em;
    flex-shrink: 0;
}
.ecs-author-bio__body { min-width: 0; }
.ecs-author-bio__label {
    display: block;
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ecs-muted);
    font-weight: 700;
    margin-bottom: 2px;
}
.ecs-author-bio__body strong {
    display: block;
    color: var(--ecs-ink);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.01em;
}
.ecs-author-bio__body > span[itemprop="jobTitle"] {
    display: block;
    color: var(--ecs-muted);
    font-size: .85rem;
    margin-bottom: 8px;
}
.ecs-author-bio__body p {
    color: var(--ecs-ink-3);
    font-size: .93rem;
    line-height: 1.6;
    margin-bottom: 10px;
}
.ecs-author-bio__body a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ecs-red);
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
}
@media (max-width: 560px) {
    .ecs-author-bio { grid-template-columns: 1fr; text-align: center; padding: 22px 20px; }
    .ecs-author-bio__avt { margin: 0 auto; }
}

/* ============================================================
   Page templates helpers
   ============================================================ */
.ecs-page-hero {
    background: linear-gradient(135deg, var(--ecs-ink) 0%, var(--ecs-blue-dark) 100%);
    color: #fff;
    padding: 90px 0 60px;
    text-align: center;
}
.ecs-page-hero h1 { color: #fff; margin-bottom: 14px; }
.ecs-page-hero p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto; }
.ecs-breadcrumbs { color: rgba(255,255,255,.65); font-size: .85rem; margin-bottom: 14px; }
.ecs-breadcrumbs a { color: rgba(255,255,255,.85); }

.ecs-prose {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ecs-ink-2);
}
.ecs-prose p {
    margin-bottom: 24px;
}
.ecs-prose h2 {
    font-size: 1.8rem;
    color: var(--ecs-blue);
    font-family: var(--ecs-font-display);
    margin: 48px 0 20px;
    font-weight: 300;
}
.ecs-prose h3 {
    font-size: 1.4rem;
    color: var(--ecs-blue);
    font-family: var(--ecs-font-display);
    margin: 40px 0 16px;
    font-weight: 400;
}
.ecs-prose ul, .ecs-prose ol {
    margin-bottom: 24px;
    padding-left: 24px;
}
.ecs-prose li {
    margin-bottom: 8px;
}
.ecs-prose blockquote {
    margin: 32px 0;
    padding: 16px 24px;
    border-left: 4px solid var(--ecs-red);
    background: var(--ecs-blue-soft);
    font-style: italic;
    color: var(--ecs-blue);
    border-radius: 0 16px 16px 0;
}

/* Blog Cards & Grid (Hallmark style) */
/* Hallmark · blog listing + cards · editorial voice
 * grid: 12-col with featured spanning 8-4 on md+, 3-col below
 * card style: flat white, hairline border, editorial typography, red verb-landmark
 */
.ecs-articles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
@media (max-width: 900px) { .ecs-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 560px) { .ecs-articles { grid-template-columns: 1fr; gap: 20px; } }

/* Featured article — first card spans 2 columns with horizontal layout on md+ */
.ecs-articles__featured {
    grid-column: 1 / -1;
    margin-bottom: 12px;
}
.ecs-articles__featured .ecs-article-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad-lg);
    overflow: hidden;
}
.ecs-articles__featured .ecs-article-card__media { padding-top: 0; aspect-ratio: 4/3; }
.ecs-articles__featured .ecs-article-card__body { padding: 42px 44px; justify-content: center; }
.ecs-articles__featured .ecs-article-card__body h3 { font-size: 1.9rem; line-height: 1.15; }
.ecs-articles__featured .ecs-article-card__body p { font-size: 1rem; -webkit-line-clamp: 4; line-clamp: 4; }
@media (max-width: 780px) {
    .ecs-articles__featured .ecs-article-card { grid-template-columns: 1fr; }
    .ecs-articles__featured .ecs-article-card__media { aspect-ratio: 16/9; }
    .ecs-articles__featured .ecs-article-card__body { padding: 28px 26px; }
    .ecs-articles__featured .ecs-article-card__body h3 { font-size: 1.4rem; }
}

.ecs-article-card {
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition:
        transform var(--ecs-dur-fast) var(--ecs-ease-out),
        border-color var(--ecs-dur-fast) var(--ecs-ease-out),
        box-shadow var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-article-card:hover {
    transform: translateY(-3px);
    border-color: var(--ecs-red-soft);
    box-shadow: var(--ecs-shadow);
}
.ecs-article-card:focus-within {
    outline: 3px solid var(--ecs-blue);
    outline-offset: 3px;
}
.ecs-article-card__media {
    display: block;
    position: relative;
    overflow: hidden;
    padding-top: 62%;
    background: var(--ecs-bg-soft);
}
.ecs-article-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ecs-dur-slow) var(--ecs-ease-out);
}
.ecs-article-card:hover .ecs-article-card__media img { transform: scale(1.04); }
.ecs-article-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--ecs-red);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--ecs-rad-pill);
    z-index: 2;
    pointer-events: none;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: var(--ecs-shadow-red);
}
.ecs-article-card__body {
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}
.ecs-article-card__meta {
    font-size: .78rem;
    color: var(--ecs-muted);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.ecs-article-card__meta .ecs-icon { color: var(--ecs-red); }
.ecs-article-card__body h3 {
    font-size: 1.2rem;
    line-height: 1.25;
    color: var(--ecs-ink);
    font-weight: 800;
    letter-spacing: -.015em;
    margin: 0;
    font-family: var(--ecs-font-display);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ecs-article-card__body h3 a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(var(--ecs-red), var(--ecs-red));
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size var(--ecs-dur-base) var(--ecs-ease-out), color var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-article-card:hover .ecs-article-card__body h3 { color: var(--ecs-red); }
.ecs-article-card__body p {
    font-size: .93rem;
    color: var(--ecs-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ecs-article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ecs-red);
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    margin-top: 4px;
    transition: gap var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-article-card__link:hover { color: var(--ecs-red-dark); gap: 10px; }
.ecs-article-card__link svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: transform 0.2s;
}

/* ============================================================
   Hallmark · page-contact · form-first, mobile discipline
   Gates 34/49/50/51/52 : no overflow, no 2-line CTA, minmax(0, 1fr)
   ============================================================ */
.ecs-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: start;
}
.ecs-contact-layout > * { min-width: 0; }

.ecs-contact-form-card {
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad-lg);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(14,32,51,.06);
    min-width: 0;
}
.ecs-contact-form-card__title {
    font-size: clamp(1.4rem, 2.6vw, 1.7rem);
    color: var(--ecs-ink);
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -.015em;
    overflow-wrap: anywhere;
}

.ecs-form--flat { padding: 0; background: transparent; border: 0; box-shadow: none; }
.ecs-form__submit { width: 100%; justify-content: center; margin-top: 6px; }
.ecs-form__legal {
    text-align: center;
    color: var(--ecs-muted);
    font-size: .82rem;
    margin-top: 12px;
    line-height: 1.5;
}
.ecs-form__legal a { color: var(--ecs-blue); text-decoration: underline; }
.ecs-form__legal a:hover { color: var(--ecs-red); }

.ecs-contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.ecs-contact-info__title {
    font-size: clamp(1.2rem, 2.2vw, 1.4rem);
    color: var(--ecs-ink);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 4px;
}
.ecs-contact-info__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    box-shadow: 0 4px 15px rgba(14,32,51,.03);
    text-decoration: none;
    color: var(--ecs-ink);
    min-width: 0;
    transition:
        transform var(--ecs-dur-fast) var(--ecs-ease-out),
        border-color var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-contact-info__card:hover {
    transform: translateY(-2px);
    border-color: var(--ecs-red-soft);
}
.ecs-contact-info__icon {
    background: var(--ecs-blue-soft);
    color: var(--ecs-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ecs-contact-info__card--phone .ecs-contact-info__icon { background: var(--ecs-red-soft); color: var(--ecs-red); }
.ecs-contact-info__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.ecs-contact-info__body strong {
    color: var(--ecs-ink);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}
.ecs-contact-info__body span,
.ecs-contact-info__body a { color: var(--ecs-ink-2); font-size: .95rem; line-height: 1.5; }
.ecs-contact-info__body .tel {
    color: var(--ecs-red);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
}
.ecs-contact-info__map {
    border-radius: var(--ecs-rad);
    overflow: hidden;
    border: 1px solid var(--ecs-line);
    box-shadow: 0 4px 15px rgba(14,32,51,.03);
    margin-top: 6px;
    aspect-ratio: 4 / 3;
}
.ecs-contact-info__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ---------- Tablet ≤ 900px : 1 col, form au-dessus ---------- */
@media (max-width: 900px) {
    .ecs-contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .ecs-contact-form-card { padding: 32px; }
}

/* ---------- Mobile ≤ 640px : padding compressé, inputs 100% ---------- */
@media (max-width: 640px) {
    .ecs-contact-form-card {
        padding: 24px 20px;
        border-radius: 18px;
    }
    .ecs-contact-form-card__title {
        font-size: 1.35rem;
        margin-bottom: 18px;
    }
    .ecs-form { gap: 14px; }
    .ecs-form label { font-size: .84rem; }
    .ecs-form input,
    .ecs-form select,
    .ecs-form textarea {
        font-size: 16px; /* évite le zoom iOS Safari */
        padding: 12px 14px;
    }
    .ecs-form textarea { min-height: 110px; }
    .ecs-contact-info { gap: 12px; }
    .ecs-contact-info__card { padding: 16px 18px; gap: 12px; }
    .ecs-contact-info__icon { width: 36px; height: 36px; }
    .ecs-contact-info__body strong { font-size: .78rem; }
    .ecs-contact-info__body .tel { font-size: 1.1rem; }
    .ecs-contact-info__map { aspect-ratio: 3 / 2; }
}

/* ---------- Very small ≤ 380px : marges plus serrées ---------- */
@media (max-width: 380px) {
    .ecs-contact-form-card { padding: 20px 16px; }
    .ecs-contact-info__card { padding: 14px 16px; }
    .ecs-contact-info__body .tel { font-size: 1.05rem; }
}


/* Contact form */
.ecs-form {
    display: grid;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    padding: 32px;
    box-shadow: var(--ecs-shadow-sm);
}
.ecs-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .ecs-form__row { grid-template-columns: 1fr; } }
.ecs-form label { display: block; font-weight: 600; color: var(--ecs-ink); font-size: .88rem; margin-bottom: 6px; }
.ecs-form input, .ecs-form select, .ecs-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad-sm);
    font-family: inherit;
    font-size: .95rem;
    color: var(--ecs-ink);
    background: #fff;
}
.ecs-form input:focus, .ecs-form select:focus, .ecs-form textarea:focus {
    outline: 2px solid var(--ecs-blue);
    outline-offset: 1px;
    border-color: var(--ecs-blue);
}
.ecs-form textarea { min-height: 130px; resize: vertical; }
.ecs-form__hp { position: absolute; left: -9999px; }
.ecs-form__success {
    background: #E8F5E9;
    color: #1B5E20;
    padding: 14px 18px;
    border-radius: var(--ecs-rad-sm);
    font-weight: 600;
    margin-bottom: 18px;
}

/* ============================================================
   Page headers (services, zones, avis, about, contact, legal)
   ============================================================ */
.ecs-page-head {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: clamp(80px, 10vw, 120px) 0 clamp(50px, 6vw, 80px);
    background: var(--ecs-ink);
}
.ecs-page-head__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ecs-page-head__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ecs-page-head__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14,32,51,0.92) 0%, rgba(14,32,51,0.7) 50%, rgba(14,32,51,0.35) 100%);
    z-index: 1;
}
.ecs-page-head .ecs-wrap { position: relative; z-index: 2; }
.ecs-page-head h1 {
    color: #fff;
    font-size: var(--ecs-text-4xl);
    margin-bottom: 16px;
    max-width: 900px;
}
.ecs-page-head .ecs-eyebrow { color: #FF6B7A; }
.ecs-page-head__lead {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    max-width: 780px;
    margin-bottom: 26px;
}
.ecs-page-head__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.ecs-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    margin-bottom: 20px;
}
.ecs-crumbs a { color: rgba(255,255,255,.85); }
.ecs-crumbs a:hover { color: #FF6B7A; }
.ecs-crumbs .sep { color: rgba(255,255,255,.4); }

/* Page-head CTAs on dark background: white outline instead of dark */
.ecs-page-head .ecs-cta--ghost {
    color: #fff !important;
    border-color: rgba(255,255,255,.5);
}
.ecs-page-head .ecs-cta--ghost:hover {
    background: #fff;
    color: var(--ecs-ink) !important;
    border-color: #fff;
}
/* Legacy alias for old templates */
.ecs-cta--outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.5);
    box-shadow: none;
}
.ecs-cta--outline:hover { background: #fff; color: var(--ecs-ink) !important; border-color: #fff; }

/* Utility helpers */
.center { text-align: center; }
.mt-6 { margin-top: 40px; }
.mb-6 { margin-bottom: 40px; }
.ecs-page-head__meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; color: rgba(255,255,255,.85); font-size: .95rem; }

/* ============================================================
   Conversion Two-Column Layout (Services & Zones inner pages)
   ============================================================ */
.ecs-conversion-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: stretch;
    text-align: left;
}
.ecs-conversion-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ecs-conversion-media {
    position: relative;
    flex: 1;
    margin-top: 24px;
    min-height: 240px; /* baseline min height */
}
.ecs-conversion-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--ecs-shadow);
}
.ecs-conversion-info h2 {
    font-size: var(--ecs-text-3xl);
    line-height: 1.15;
    color: var(--ecs-blue);
    margin-bottom: 16px;
    font-weight: 300;
}
.ecs-conversion-info > p {
    color: var(--ecs-muted);
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 32px;
}
.ecs-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ecs-benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.ecs-benefit-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ecs-blue-soft);
    color: var(--ecs-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.ecs-benefit-item strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ecs-blue);
    font-family: var(--ecs-font-display);
    margin-bottom: 2px;
}
.ecs-benefit-item p {
    font-size: 0.9rem;
    color: var(--ecs-muted);
    line-height: 1.5;
    margin: 0;
}

.ecs-conversion-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Devis Form Card */
.ecs-form-card {
    background: #fff;
    border: 1px solid var(--ecs-line-2);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--ecs-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ecs-form-card h3 {
    font-size: 1.25rem;
    color: var(--ecs-blue);
    font-weight: 500;
    margin-bottom: 4px;
}
.ecs-form-card p {
    font-size: 0.88rem;
    color: var(--ecs-muted);
    margin-bottom: 24px;
}
.ecs-form-devis {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ecs-form-field {
    text-align: left;
}
.ecs-form-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ecs-ink-2);
    margin-bottom: 6px;
}
.ecs-form-field input,
.ecs-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--ecs-line);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--ecs-ink);
    background: #fff;
    transition: border-color 0.2s, outline 0.2s;
}
.ecs-form-field input:focus,
.ecs-form-field textarea:focus {
    outline: 2px solid var(--ecs-blue);
    outline-offset: 1px;
    border-color: var(--ecs-blue);
}
.ecs-form-field textarea {
    min-height: 100px;
    resize: vertical;
}

@media (max-width: 900px) {
    .ecs-conversion-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ecs-form-card {
        padding: 24px;
    }
    .ecs-conversion-media {
        display: block;
        height: auto;
    }
    .ecs-conversion-media img {
        height: 280px;
    }
}

.ecs-cta--blue-outline {
    background: transparent;
    color: var(--ecs-blue) !important;
    border: 2px solid var(--ecs-blue);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ecs-cta--blue-outline:hover {
    background: var(--ecs-blue-soft);
    border-color: var(--ecs-blue);
}

/* ============================================================
   Internal linking hub (Hallmark component)
   ============================================================ */
.ecs-hub__title {
    font-size: 1.05rem;
    color: var(--ecs-ink);
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -.01em;
}
.ecs-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.ecs-hub-grid--dense { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) {
    .ecs-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ecs-hub-grid--dense { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .ecs-hub-grid,
    .ecs-hub-grid--dense { grid-template-columns: 1fr; }
}
.ecs-hub-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    color: var(--ecs-ink-2);
    transition: transform var(--ecs-dur-fast) var(--ecs-ease-out),
                border-color var(--ecs-dur-fast) var(--ecs-ease-out),
                box-shadow var(--ecs-dur-fast) var(--ecs-ease-out);
    text-decoration: none;
}
.ecs-hub-card:hover {
    transform: translateY(-2px);
    border-color: var(--ecs-red);
    box-shadow: var(--ecs-shadow-sm);
}
.ecs-hub-card__label {
    font-weight: 700;
    color: var(--ecs-ink);
    font-size: .98rem;
    display: block;
}
.ecs-hub-card__sub {
    display: block;
    color: var(--ecs-muted);
    font-size: .84rem;
    margin-top: 4px;
}
.ecs-hub-card > .ecs-icon:last-child {
    margin-left: auto;
    color: var(--ecs-red);
    flex-shrink: 0;
}
.ecs-hub-card--sm { padding: 14px 16px; }
.ecs-hub-card--sm > .ecs-icon { color: var(--ecs-blue); }
.ecs-hub-card--sm strong { display: block; font-size: .92rem; font-weight: 700; color: var(--ecs-ink); }
.ecs-hub-card--sm small { display: block; color: var(--ecs-muted); font-size: .78rem; }
.ecs-hub-card--sm:hover > .ecs-icon { color: var(--ecs-red); }
.ecs-hub-card:focus-visible {
    outline: 3px solid var(--ecs-blue);
    outline-offset: 3px;
}

/* ============================================================
   Single blog post (Hallmark redesign)
   ============================================================ */
.ecs-post { background: #fff; }
.ecs-post__hero {
    position: relative;
    background: var(--ecs-ink);
    color: #fff;
    padding: clamp(72px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
    overflow: hidden;
    isolation: isolate;
}
.ecs-post__hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ecs-post__hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
    filter: saturate(.9);
}
.ecs-post__hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0,91,170,.35) 0%, transparent 60%),
        linear-gradient(180deg, rgba(14,32,51,.55) 0%, rgba(14,32,51,.92) 100%);
}
.ecs-post__hero .ecs-wrap { position: relative; z-index: 1; }
.ecs-post__hero .ecs-crumbs { color: rgba(255,255,255,.7); }
.ecs-post__hero .ecs-crumbs a { color: rgba(255,255,255,.9); }
.ecs-post__hero .ecs-crumbs a:hover { color: #FF6B7A; }
.ecs-post__eyebrow {
    display: inline-block;
    background: rgba(227,6,19,.15);
    color: #FF6B7A;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--ecs-rad-pill);
    border: 1px solid rgba(227,6,19,.28);
    margin-bottom: 18px;
}
.ecs-post__title {
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -.025em;
    max-width: 940px;
    margin-bottom: 26px;
}
.ecs-post__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    color: rgba(255,255,255,.78);
    font-size: .9rem;
    font-weight: 500;
}
.ecs-post__meta .avt {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.15);
    background: var(--ecs-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
}
.ecs-post__meta .dot {
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,.35);
    border-radius: 50%;
}
.ecs-post__meta .item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ecs-post__cover {
    max-width: var(--ecs-wrap);
    margin: -60px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
.ecs-post__cover img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
    border-radius: var(--ecs-rad-lg);
    box-shadow: 0 30px 60px rgba(14,32,51,.18);
}
.ecs-post__body {
    padding: clamp(48px, 6vw, 72px) 0;
}
.ecs-post__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 60px;
    align-items: start;
}
.ecs-post__content .ecs-prose {
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ecs-ink-3);
}
.ecs-post__content .ecs-prose p { margin-bottom: 20px; }
.ecs-post__content .ecs-prose h2 { font-size: 1.75rem; margin: 44px 0 16px; color: var(--ecs-ink); }
.ecs-post__content .ecs-prose h3 { font-size: 1.35rem; margin: 32px 0 12px; color: var(--ecs-ink); }
.ecs-post__content .ecs-prose a { color: var(--ecs-red); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ecs-post__content .ecs-prose a:hover { color: var(--ecs-blue); }
.ecs-post__content .ecs-prose blockquote {
    border-left: 4px solid var(--ecs-red);
    padding: 6px 22px;
    margin: 24px 0;
    color: var(--ecs-ink);
    font-style: normal;
    background: var(--ecs-red-soft);
    border-radius: 0 var(--ecs-rad-sm) var(--ecs-rad-sm) 0;
}
.ecs-post__content .ecs-prose ul,
.ecs-post__content .ecs-prose ol { padding-left: 24px; margin-bottom: 20px; }
.ecs-post__content .ecs-prose li { margin-bottom: 6px; }
.ecs-post__content .ecs-prose img { border-radius: var(--ecs-rad-sm); margin: 24px 0; }

.ecs-post__aside {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ecs-post-card {
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    padding: 26px 24px;
}
.ecs-post-card--dark {
    background: linear-gradient(160deg, var(--ecs-ink) 0%, var(--ecs-blue-dark) 100%);
    color: #fff;
    border: 0;
    text-align: center;
}
.ecs-post-card--dark h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.ecs-post-card--dark p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 18px; }
.ecs-post-card--dark .ecs-cta { width: 100%; margin-bottom: 8px; }
.ecs-post-card--dark .tel {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -.01em;
    text-decoration: none;
}
.ecs-post-card--dark .tel:hover { color: #FF6B7A; }
.ecs-post-card__title {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ecs-muted);
    font-weight: 700;
    margin-bottom: 14px;
}
.ecs-post-card__list { display: flex; flex-direction: column; gap: 6px; }
.ecs-post-card__list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ecs-ink-2);
    font-size: .92rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background var(--ecs-dur-fast) var(--ecs-ease-out),
                color var(--ecs-dur-fast) var(--ecs-ease-out);
    text-decoration: none;
}
.ecs-post-card__list a:hover { background: var(--ecs-red-soft); color: var(--ecs-red); }
.ecs-post-card__list a .ecs-icon { color: var(--ecs-red); flex-shrink: 0; }

.ecs-post__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--ecs-line);
}
.ecs-post__nav a {
    display: block;
    padding: 20px 22px;
    background: var(--ecs-bg-soft);
    border-radius: var(--ecs-rad);
    color: var(--ecs-ink);
    text-decoration: none;
    transition: transform var(--ecs-dur-fast) var(--ecs-ease-out),
                background var(--ecs-dur-fast) var(--ecs-ease-out);
    border: 1px solid transparent;
}
.ecs-post__nav a:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: var(--ecs-line);
}
.ecs-post__nav a small {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ecs-red);
    font-weight: 700;
    margin-bottom: 6px;
}
.ecs-post__nav .next { text-align: right; }
@media (max-width: 900px) {
    .ecs-post__grid { grid-template-columns: 1fr; gap: 40px; }
    .ecs-post__aside { position: static; }
    .ecs-post__nav { grid-template-columns: 1fr; }
    .ecs-post__nav .next { text-align: left; }
}

/* ============================================================
   Performance (LCP, CLS, PSI)
   ============================================================ */

/* content-visibility: skip below-fold layout/paint until near viewport
   Réduit le temps de rendu initial de 30-50% sur les pages longues.
   Attaché aux sections qui ne sont jamais au-dessus du fold. */
.ecs-section--soft,
.ecs-section--band,
.ecs-cta-banner,
.ecs-gmb,
.ecs-hub-grid,
.ecs-reviews,
.ecs-real-grid,
.ecs-faq,
.ecs-footer,
.ecs-carousel--bubble {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

/* Prevent CLS: réserve la place pour les images tant qu'elles chargent */
.ecs-service-card__media,
.ecs-article-card__media,
.ecs-hero__bg,
.ecs-post__hero-bg {
    background: var(--ecs-bg-soft);
}

/* Ne surchargez pas le hero (LCP element) */
.ecs-hero {
    content-visibility: visible;
}

/* Above-the-fold : jamais content-visibility */
.ecs-header,
.ecs-topbar,
.ecs-nav,
.ecs-hero,
.ecs-quickbook,
.ecs-page-head,
.ecs-post__hero,
.ecs-post__cover {
    content-visibility: visible;
}

/* GPU-friendly transforms (déjà appliqué mais explicit) */
.ecs-hub-card,
.ecs-article-card,
.ecs-service-card,
.ecs-step,
.ecs-zone-card,
.ecs-cta {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ============================================================
   Hallmark · page-about · mobile discipline
   Gates:
   - overflow-wrap: anywhere + min-width: 0 on all headers  (gate 51)
   - minmax(0, 1fr) on image-bearing grid tracks              (gate 50)
   - Section heads collapse 1 col on mobile                   (gate 52)
   - No 2-line clickable text on CTAs                         (gate 49)
   - No horizontal scroll                                     (gate 34)
   ============================================================ */

/* Safety net: kill any accidental horizontal scroll on the About page */
html, body { overflow-x: clip; }

/* --- Story two-column block --- */
.ecs-about-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.ecs-about-story__body { min-width: 0; }
.ecs-about-story__body h2 {
    margin: 12px 0 20px;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.ecs-about-story__body p {
    color: var(--ecs-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 14px;
}
.ecs-about-story__body p:last-of-type { margin-bottom: 26px; }
.ecs-about-story__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ecs-about-story__ctas .ecs-cta {
    white-space: nowrap;
    min-width: 0;
}
.ecs-about-story__media {
    border-radius: var(--ecs-rad-lg);
    overflow: hidden;
    box-shadow: var(--ecs-shadow-lg);
    background: var(--ecs-bg-soft);
    min-width: 0;
}
.ecs-about-story__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Force H1 sur cette page à ne jamais casser la mise en page */
.ecs-page-head h1 {
    overflow-wrap: anywhere;
    hyphens: auto;
    min-width: 0;
}

/* ---------- Tablet ≤ 900px : story → 1 col centrée ---------- */
@media (max-width: 900px) {
    .ecs-about-story {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .ecs-about-story__body { order: 1; text-align: left; }
    .ecs-about-story__ctas { margin-bottom: 8px; }
    .ecs-about-story__media {
        order: 2;
        max-width: 520px;
        margin: 0 auto;
        border-radius: var(--ecs-rad-lg);
    }
    .ecs-about-story__media img {
        aspect-ratio: 4 / 5;
        object-fit: cover;
        object-position: center top;
    }
}

/* ---------- Mobile ≤ 640px : compact + CTAs pleins + espacement média ---------- */
@media (max-width: 640px) {
    .ecs-about-story {
        gap: 40px;
    }
    .ecs-about-story__body h2 {
        font-size: clamp(1.5rem, 6vw, 1.9rem);
        line-height: 1.2;
        margin: 10px 0 18px;
    }
    .ecs-about-story__body h2 br { display: none; }
    .ecs-about-story__body p { font-size: .98rem; line-height: 1.65; }
    .ecs-about-story__body p:last-of-type { margin-bottom: 8px; }
    .ecs-about-story__ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 24px;
        margin-bottom: 16px;
    }
    .ecs-about-story__ctas .ecs-cta {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }
    .ecs-about-story__media {
        max-width: 420px;
        border-radius: 20px;
        box-shadow: 0 12px 32px rgba(14,32,51,.12), 0 4px 12px rgba(14,32,51,.06);
    }
    .ecs-about-story__media img {
        aspect-ratio: 4 / 5;
        object-fit: cover;
        object-position: center 20%;
    }
}

/* ---------- Very small ≤ 400px : safety extra ---------- */
@media (max-width: 400px) {
    .ecs-about-story { gap: 32px; }
    .ecs-about-story__media {
        max-width: 100%;
        border-radius: 16px;
    }
    .ecs-about-story__media img {
        aspect-ratio: 4 / 5;
    }
    .ecs-about-story__body h2 { font-size: 1.4rem; }
    .ecs-about-story__ctas { margin-top: 20px; }
}

/* ---------- Steps mobile fine-tune ---------- */
@media (max-width: 520px) {
    .ecs-steps { gap: 14px; }
    .ecs-step { padding: 24px 22px; }
    .ecs-step h3 {
        font-size: 1rem;
        overflow-wrap: anywhere;
        min-width: 0;
    }
    .ecs-step p { font-size: .92rem; }
}

/* ---------- Stats mobile discipline ---------- */
@media (max-width: 720px) {
    .ecs-stats { gap: 22px 16px; }
    .ecs-stat strong {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        overflow-wrap: anywhere;
        min-width: 0;
    }
    .ecs-stat span { font-size: .85rem; }
}

/* ---------- Page-head H1 mobile: reduce vertical space ---------- */
@media (max-width: 600px) {
    .ecs-page-head { padding: 70px 0 44px; }
    .ecs-page-head h1 {
        font-size: clamp(1.6rem, 6vw, 2rem);
        line-height: 1.2;
    }
    .ecs-page-head__lead { font-size: .98rem; line-height: 1.55; }
    .ecs-page-head__meta { font-size: .82rem; gap: 8px 14px; }
}

/* ============================================================
   Service SEO prose · design éditorial (contenu unique)
   ============================================================ */
.ecs-service-prose { max-width: 100%; }

/* Intro : quote-block bleu accent-left */
.ecs-service-prose__intro {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.65;
    color: var(--ecs-ink);
    padding: 24px 28px;
    margin-bottom: 48px;
    background: linear-gradient(90deg, var(--ecs-blue-soft) 0%, transparent 100%);
    border-left: 4px solid var(--ecs-blue);
    border-radius: 0 var(--ecs-rad) var(--ecs-rad) 0;
    max-width: 100%;
    font-weight: 500;
}
.ecs-service-prose__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* Cases : titre éditorial + cards list */
.ecs-service-prose__cases h2 {
    font-size: clamp(1.4rem, 2.8vw, 1.7rem);
    margin-bottom: 24px;
    color: var(--ecs-ink);
    letter-spacing: -.015em;
    overflow-wrap: anywhere;
    line-height: 1.2;
    position: relative;
    padding-left: 20px;
}
.ecs-service-prose__cases h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--ecs-blue);
    border-radius: 2px;
}
/* Cases list — cards numérotées avec accent brand */
.ecs-cases-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
    counter-reset: ecs-case;
}
.ecs-cases-list__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: flex-start;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    position: relative;
    transition:
        transform var(--ecs-dur-fast) var(--ecs-ease-out),
        border-color var(--ecs-dur-fast) var(--ecs-ease-out),
        box-shadow var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-cases-list__item:hover {
    transform: translateY(-3px);
    border-color: var(--ecs-blue);
    box-shadow: 0 8px 24px rgba(0,91,170,.08);
}
.ecs-cases-list__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--ecs-blue);
    border-radius: var(--ecs-rad) 0 0 var(--ecs-rad);
    opacity: 0;
    transition: opacity var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-cases-list__item:hover::before { opacity: 1; }
.ecs-cases-list__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border-radius: var(--ecs-rad-sm);
    background: var(--ecs-blue-soft);
    color: var(--ecs-blue);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -.01em;
    font-family: var(--ecs-font-display);
    flex-shrink: 0;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.ecs-cases-list__body { min-width: 0; }
.ecs-cases-list__body strong {
    display: block;
    color: var(--ecs-ink);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.35;
    margin-bottom: 6px;
    letter-spacing: -.005em;
}
.ecs-cases-list__body p {
    color: var(--ecs-ink-3);
    font-size: .93rem;
    line-height: 1.6;
    margin: 0;
}

/* Compact variant : utilisée dans page-zone.php dans le sidebar */
.ecs-cases-list--compact .ecs-cases-list__item {
    padding: 14px 16px;
    gap: 14px;
}
.ecs-cases-list--compact .ecs-cases-list__num {
    min-width: 32px;
    height: 32px;
    font-size: .82rem;
}
.ecs-cases-list--compact .ecs-cases-list__body strong { font-size: .93rem; }
.ecs-cases-list--compact .ecs-cases-list__body p { font-size: .85rem; }

@media (max-width: 480px) {
    .ecs-cases-list__item { padding: 16px 18px; gap: 14px; }
    .ecs-cases-list__num { min-width: 36px; height: 36px; font-size: .85rem; }
    .ecs-cases-list__body strong { font-size: .95rem; }
    .ecs-cases-list__body p { font-size: .88rem; }
}

/* Sidebar : 3 boxes distinctes avec icônes + accents brand */
.ecs-service-prose__side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 100px;
}
.ecs-service-prose__box {
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    padding: 26px;
    position: relative;
    overflow: hidden;
}
.ecs-service-prose__box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ecs-line);
}
.ecs-service-prose__box:nth-child(1)::before { background: var(--ecs-blue); }
.ecs-service-prose__box:nth-child(2)::before { background: linear-gradient(90deg, var(--ecs-blue) 0%, #7dd3fc 100%); }
.ecs-service-prose__box:nth-child(3)::before { background: linear-gradient(90deg, #10B981 0%, #34d399 100%); }
.ecs-service-prose__box h3 {
    font-size: .78rem;
    color: var(--ecs-blue);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ecs-service-prose__box h3::before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ecs-blue-soft);
    display: inline-block;
    position: relative;
}
.ecs-service-prose__box:nth-child(1) h3::before {
    background: var(--ecs-blue-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005BAA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center/12px no-repeat;
}
.ecs-service-prose__box:nth-child(2) h3::before {
    background: var(--ecs-blue-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005BAA' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/></svg>") center/12px no-repeat;
}
.ecs-service-prose__box:nth-child(3) h3 { color: #059669; }
.ecs-service-prose__box:nth-child(3) h3::before {
    background: #DCFCE7 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/></svg>") center/12px no-repeat;
}
.ecs-service-prose__box p {
    color: var(--ecs-ink-3);
    font-size: .93rem;
    line-height: 1.65;
    margin: 0;
}
.ecs-service-prose__box--accent {
    background: linear-gradient(160deg, #ECFDF5 0%, #fff 100%);
    border-color: #A7F3D0;
}

@media (max-width: 900px) {
    .ecs-service-prose__grid { grid-template-columns: 1fr; gap: 32px; }
    .ecs-service-prose__side { position: static; }
}
@media (max-width: 640px) {
    .ecs-service-prose__intro { padding: 20px 22px; margin-bottom: 32px; }
    .ecs-service-prose__cases h2 { font-size: 1.25rem; padding-left: 16px; }
    .ecs-service-prose__cases h2::before { width: 3px; }
    .ecs-service-prose__cases li { padding: 16px 18px 16px 54px; font-size: .93rem; }
    .ecs-service-prose__cases li::before { left: 18px; width: 22px; height: 22px; }
    .ecs-service-prose__cases li::after { left: 24px; }
    .ecs-service-prose__box { padding: 22px 20px; }
}

/* ============================================================
   Commercial block: pricing table + FAQ per service
   ============================================================ */
.ecs-svc-commercial {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) {
    .ecs-svc-commercial { grid-template-columns: 1fr; gap: 40px; }
}

.ecs-svc-commercial header {
    margin-bottom: 20px;
}
.ecs-svc-commercial header h2 {
    font-size: clamp(1.35rem, 2.6vw, 1.65rem);
    margin: 8px 0 8px;
    color: var(--ecs-ink);
    line-height: 1.2;
    letter-spacing: -.015em;
}
.ecs-svc-commercial header p {
    color: var(--ecs-muted);
    font-size: .95rem;
    margin: 0;
}

.ecs-price-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
}
.ecs-price-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    transition:
        transform var(--ecs-dur-fast) var(--ecs-ease-out),
        border-color var(--ecs-dur-fast) var(--ecs-ease-out),
        box-shadow var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-price-list li:hover {
    transform: translateY(-2px);
    border-color: var(--ecs-blue);
    box-shadow: var(--ecs-shadow-sm);
}
.ecs-price-list__label { min-width: 0; }
.ecs-price-list__label strong {
    display: block;
    color: var(--ecs-ink);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 3px;
}
.ecs-price-list__label small {
    color: var(--ecs-muted);
    font-size: .82rem;
    line-height: 1.4;
    display: block;
}
.ecs-price-list__price {
    color: var(--ecs-blue);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -.01em;
    white-space: nowrap;
    text-align: right;
    padding: 8px 14px;
    background: var(--ecs-blue-soft);
    border-radius: var(--ecs-rad-pill);
    flex-shrink: 0;
}
@media (max-width: 480px) {
    .ecs-price-list li { grid-template-columns: 1fr; gap: 8px; }
    .ecs-price-list__price { text-align: left; justify-self: start; }
}

.ecs-svc-commercial__faq .ecs-faq { max-width: 100%; }
.ecs-svc-commercial__faq .ecs-faq__item summary { font-size: .95rem; }

/* ============================================================
   Réalisations · marquee auto-scroll (Hallmark)
   Motion : translate-x infini, pause au hover, respect reduced-motion
   ============================================================ */
.ecs-realisations { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 80px); }

.ecs-marquee {
    position: relative;
    overflow: hidden;
    padding: 12px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.ecs-marquee__track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: ecs-marquee-scroll 90s linear infinite;
    will-change: transform;
}
.ecs-marquee:hover .ecs-marquee__track { animation-play-state: paused; }

@keyframes ecs-marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

.ecs-marquee__item {
    position: relative;
    flex: 0 0 auto;
    width: clamp(220px, 22vw, 320px);
    aspect-ratio: 4 / 3;
    margin: 0;
    border-radius: var(--ecs-rad);
    overflow: hidden;
    background: var(--ecs-bg-soft);
    box-shadow: 0 6px 20px rgba(14,32,51,.08);
    transition: transform var(--ecs-dur-fast) var(--ecs-ease-out), box-shadow var(--ecs-dur-fast) var(--ecs-ease-out);
}
.ecs-marquee__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(14,32,51,.16);
}
.ecs-marquee__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--ecs-dur-slow) var(--ecs-ease-out);
}
.ecs-marquee__item:hover img { transform: scale(1.04); }

.ecs-marquee__item figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.ecs-marquee__cat {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255,255,255,.94);
    color: var(--ecs-blue);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--ecs-rad-pill);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 640px) {
    .ecs-marquee__track { animation-duration: 60s; gap: 14px; }
    .ecs-marquee__item { width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
    .ecs-marquee__track { animation: none; }
    .ecs-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        -webkit-mask-image: none;
                mask-image: none;
    }
    .ecs-marquee__item { scroll-snap-align: start; }
}

/* ============================================================
   Mega-links (link equity distribution avant footer)
   ============================================================ */
.ecs-megalinks {
    background: var(--ecs-bg-band);
    padding: clamp(48px, 6vw, 72px) 0;
    border-top: 1px solid var(--ecs-line);
}
.ecs-megalinks__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.ecs-megalinks__head h2 { font-size: clamp(1.4rem, 2.6vw, 1.7rem); margin: 8px 0 10px; color: var(--ecs-ink); }
.ecs-megalinks__head p { color: var(--ecs-muted); font-size: .98rem; }
.ecs-megalinks__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.ecs-megalinks__zone {
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad);
    padding: 20px 22px;
    min-width: 0;
}
.ecs-megalinks__zone h3 {
    font-size: .95rem;
    color: var(--ecs-ink);
    font-weight: 800;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ecs-line);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -.01em;
}
.ecs-megalinks__zone h3 small {
    color: var(--ecs-muted);
    font-weight: 500;
    font-size: .78rem;
    margin-left: auto;
}
.ecs-megalinks__zone h3 .ecs-icon { color: var(--ecs-blue); }
.ecs-megalinks__zone ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ecs-megalinks__zone a {
    display: block;
    padding: 6px 8px;
    color: var(--ecs-ink-3);
    font-size: .88rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background var(--ecs-dur-fast) var(--ecs-ease-out), color var(--ecs-dur-fast) var(--ecs-ease-out);
    overflow-wrap: anywhere;
}
.ecs-megalinks__zone a:hover {
    background: var(--ecs-blue-soft);
    color: var(--ecs-blue);
}

/* ============================================================
   Zone SEO prose (contenu local unique par zone)
   ============================================================ */
.ecs-zone-prose {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch; /* les 2 colonnes ont la même hauteur */
}
.ecs-zone-prose__local {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ecs-zone-prose__local h2 {
    font-size: 1.55rem;
    color: var(--ecs-ink);
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}
.ecs-zone-prose__intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ecs-ink-2);
    margin-bottom: 24px;
    font-weight: 500;
}
.ecs-zone-prose__facts {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1; /* remplit la hauteur disponible de la colonne */
}
.ecs-zone-prose__fact {
    padding: 16px 20px;
    background: var(--ecs-bg-soft);
    border-left: 3px solid var(--ecs-blue);
    border-radius: 0 var(--ecs-rad-sm) var(--ecs-rad-sm) 0;
    min-width: 0;
}
.ecs-zone-prose__label {
    display: block;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ecs-blue);
    font-weight: 800;
    margin-bottom: 6px;
}
.ecs-zone-prose__fact p {
    color: var(--ecs-ink-3);
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
}
.ecs-zone-prose__service {
    background: #fff;
    border: 1px solid var(--ecs-line);
    border-radius: var(--ecs-rad-lg);
    padding: 28px;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* Le dernier paragraphe (Garantie) est poussé en bas pour absorber
   l'écart de hauteur entre les deux colonnes sans laisser de trou visuel. */
.ecs-zone-prose__service > p:last-child { margin-top: auto; margin-bottom: 0; padding-top: 8px; }
.ecs-zone-prose__service h3 {
    font-size: 1.2rem;
    color: var(--ecs-ink);
    margin-bottom: 14px;
    overflow-wrap: anywhere;
}
.ecs-zone-prose__service h4 {
    font-size: .82rem;
    color: var(--ecs-blue);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
    margin: 20px 0 12px;
}
.ecs-zone-prose__service p {
    color: var(--ecs-ink-3);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.ecs-zone-prose__service ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 16px;
}
.ecs-zone-prose__service li {
    color: var(--ecs-ink-3);
    font-size: .92rem;
    line-height: 1.55;
    margin-bottom: 6px;
}
.ecs-zone-prose__service strong { color: var(--ecs-ink); font-weight: 700; }

@media (max-width: 1024px) {
    .ecs-zone-prose { gap: 24px; }
    .ecs-zone-prose__service { padding: 24px; }
}
@media (max-width: 900px) {
    .ecs-zone-prose {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        align-items: start;
    }
    /* En 1 colonne, plus besoin de forcer les hauteurs */
    .ecs-zone-prose__service { height: auto; display: block; }
    .ecs-zone-prose__service > p:last-child { margin-top: 0; padding-top: 0; }
    .ecs-zone-prose__facts { flex: 0 1 auto; }
}
@media (max-width: 640px) {
    .ecs-zone-prose { gap: 24px; }
    .ecs-zone-prose__local h2 { font-size: clamp(1.2rem, 5.5vw, 1.4rem); line-height: 1.25; }
    .ecs-zone-prose__intro { font-size: .96rem; line-height: 1.6; margin-bottom: 20px; }
    .ecs-zone-prose__fact { padding: 14px 16px; }
    .ecs-zone-prose__fact p { font-size: .9rem; line-height: 1.55; }
    .ecs-zone-prose__label { font-size: .72rem; letter-spacing: .12em; overflow-wrap: anywhere; }
    .ecs-zone-prose__service { padding: 22px 18px; border-radius: var(--ecs-rad); }
    .ecs-zone-prose__service h3 { font-size: clamp(1.05rem, 4.8vw, 1.15rem); line-height: 1.25; }
    .ecs-zone-prose__service h4 { font-size: .74rem; letter-spacing: .12em; margin: 18px 0 10px; }
    .ecs-zone-prose__service p { font-size: .92rem; }
}
@media (max-width: 400px) {
    .ecs-zone-prose__fact { padding: 13px 14px; }
    .ecs-zone-prose__service { padding: 20px 16px; }
}
