/* =================================================================
   JLM DÉCORS ET AMÉNAGEMENTS (kit artisan) — Feuille de style
   Charte du logo : blanc cassé, noir, rouge, gris des triskèles.
   Titres et texte en Lexend (géométrique, comme le logo),
   emblème triskèle (icons.svg #triskel). Polices sous licence SIL OFL.
   ================================================================= */

@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/oswald-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/lexend-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lexend-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lexend-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Dancing Script"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/dancing-script-latin-700-normal.woff2") format("woff2"); }

:root {
    --red: #c62828;
    --red-dark: #a11f1f;
    --red-soft: #fbeeee;
    --ink: #1b1b1b;
    --ink-2: #2a2a2a;
    --paper: #ffffff;
    --stone: #f4f3ef;
    --line: #e2e0da;
    --field: #858585;
    --muted: #545454;

    --font-display: "Lexend", "Segoe UI", system-ui, sans-serif;
    --sage: #a7aaa2;
    --font-body: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-script: "Dancing Script", "Brush Script MT", cursive;

    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --radius: 4px;
    --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 12px 32px -12px rgba(20, 20, 20, .22);
    --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
h1, h2, h3 {
    margin: 0 0 .5em;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.005em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.ico { width: 1em; height: 1em; flex: none; fill: currentColor; }
.script { font-family: var(--font-script); font-weight: 700; color: var(--red); letter-spacing: 0; }
.red { color: var(--red); }
.break { overflow-wrap: break-word; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.kicker {
    display: inline-flex; align-items: center; gap: .6em;
    margin: 0 0 .9em;
    font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--red);
}
.kicker::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.kicker .ico { display: none; }
.kicker-light { color: #ff8a98; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    min-height: 48px; padding: .7em 1.35em;
    border: 2px solid transparent; border-radius: var(--radius);
    font-family: var(--font-display); font-weight: 500; font-size: 1.02rem;
    letter-spacing: .05em; text-transform: uppercase; line-height: 1.1;
    text-decoration: none; cursor: pointer;
    transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { font-size: .95em; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-danger { background: #fff; color: var(--red-dark); border-color: var(--red-dark); }
.btn-danger:hover { background: var(--red-dark); color: #fff; }
.btn-sm { min-height: 38px; padding: .45em .9em; font-size: .88rem; }
.btn-lg { min-height: 56px; padding: .85em 1.6em; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-weight: 600; color: var(--red); text-decoration: none;
    border-bottom: 2px solid transparent; transition: border-color .18s, gap .18s;
}
.link-arrow:hover { border-color: currentColor; gap: .75em; }
.link-arrow .ico { font-size: .85em; }

/* ---------- En-tête ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .3); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-hermine { width: 22px; height: 38px; transform: rotate(-28deg); }
.brand-text { display: flex; align-items: flex-end; gap: 6px; line-height: 1; }
.brand-top { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.brand-bottom { display: inline-flex; align-items: flex-end; gap: 2px; }
.brand-bottom .script { font-size: 1.35rem; line-height: .8; }
.brand-num { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; color: var(--red); line-height: .8; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; }
.nav a:not(.btn) {
    position: relative; display: block; padding: 6px 0;
    font-weight: 400; font-size: .98rem; text-decoration: none; color: var(--ink);
}
.nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav-quote { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
    display: inline-flex; align-items: center; gap: .55em;
    padding: .55em 1em; border-radius: var(--radius);
    background: var(--ink); color: #fff; text-decoration: none;
    font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; letter-spacing: .04em;
    white-space: nowrap;
}
.header-phone:hover { background: var(--red); }
.header-phone .ico { color: #ff8a98; }
.header-phone:hover .ico { color: #fff; }

.burger {
    display: none; width: 48px; height: 48px; padding: 0 12px;
    border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; cursor: pointer;
    flex-direction: column; justify-content: center; gap: 5px;
}
.burger span { display: block; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1060px) {
    .burger { display: flex; }
    .nav {
        position: absolute; top: 100%; left: 0; right: 0;
        display: none; flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 4px solid var(--red);
        padding: 8px var(--gutter) 24px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .4);
    }
    .nav-open .nav { display: flex; }
    .nav ul { flex-direction: column; gap: 0; }
    .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .nav a:not(.btn)::after { display: none; }
    .nav a[aria-current="page"] { color: var(--red); }
    .nav-quote { display: inline-flex; margin-top: 18px; }
}
@media (max-width: 560px) {
    :root { --header-h: 66px; }
    .header-inner { gap: 10px; }
    .header-actions { gap: 8px; margin-left: auto; }
    .header-phone span { display: none; }
    .header-phone { padding: 0; width: 44px; height: 44px; justify-content: center; font-size: 1.1rem; }
    .burger { width: 44px; height: 44px; padding: 0 10px; }
    .brand-top { font-size: 1.02rem; }
    .brand-hermine { width: 18px; height: 31px; }
    .brand-bottom .script { font-size: 1.15rem; }
    .brand-num { font-size: 1.4rem; }
}
@media (max-width: 370px) {
    .brand-hermine { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-stone { background: var(--stone); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > p:not(.kicker) { color: var(--muted); font-size: 1.1rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.section-head-row h2 { margin-bottom: 0; }
.section-foot { margin-top: 36px; }

/* ---------- Accueil : hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.hero-bg-num {
    position: absolute; right: -3vw; bottom: -10vw; z-index: -1;
    font-family: var(--font-display); font-weight: 700; font-size: clamp(260px, 42vw, 620px); line-height: .8;
    color: transparent; -webkit-text-stroke: 2px rgba(198, 40, 40, .12);
    pointer-events: none; user-select: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 12.5em; font-size: clamp(2.3rem, 4.6vw, 3.9rem); margin-bottom: .35em; }
.nowrap { white-space: nowrap; }
.hero-trades {
    margin: 0 0 1.1em;
    font-family: var(--font-body); font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.2; color: var(--red); letter-spacing: -.01em;
}
.hero-trades .dash { margin-inline: .35em; }
.hero-trades-line { display: block; }
.hero-lead { max-width: 56ch; font-size: 1.12rem; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* La carte de visite, en objet */
.hero-card-wrap { container-type: inline-size; perspective: 1200px; }
.biz-card {
    position: relative; aspect-ratio: 85 / 55;
    padding: 6cqw 6cqw 5cqw 36cqw;
    background: #fff; border: 1px solid var(--line); border-radius: 1.2cqw;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 30px 60px -24px rgba(20, 20, 20, .45);
    transform: rotate(-4deg);
    transition: transform .4s ease;
    display: flex; flex-direction: column; justify-content: center;
    line-height: 1.05;
}
.biz-card:hover { transform: rotate(-1.5deg) translateY(-4px); }
.biz-card-hermines .ico { position: absolute; color: var(--ink); }
.h1-hermine { width: 17cqw; height: 29cqw; left: 6cqw; top: 9cqw; transform: rotate(-36deg); }
.h2-hermine { width: 12cqw; height: 20cqw; left: 21cqw; top: 20cqw; transform: rotate(-36deg); }
.biz-card-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 6.4cqw; letter-spacing: -.01em; }
.biz-card-sub { margin: .8cqw 0 0; font-size: 2.5cqw; font-weight: 400; display: flex; align-items: flex-end; gap: 1cqw; }
.biz-card-sub .script { font-size: 6cqw; margin-left: auto; line-height: .7; }
.biz-card-num { font-family: var(--font-display); font-weight: 700; font-size: 8.4cqw; color: var(--red); line-height: .75; }
.biz-card-trades { margin: 2.6cqw 0 0; font-size: 3.2cqw; font-weight: 600; color: var(--red); line-height: 1.25; }
.biz-card-phone { margin: 3cqw 0 0; font-weight: 400; font-size: 5cqw; letter-spacing: .02em; }
.biz-card-address {
    align-self: flex-start; margin: 3.4cqw 0 0; padding: .9cqw 1.6cqw;
    background: var(--red); color: #fff; border-radius: .5cqw;
    font-size: 2.15cqw; font-weight: 400; white-space: nowrap;
}

/* ---------- Bandeau rouge ---------- */
.ribbon { background: var(--red); color: #fff; }
.ribbon-list {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
    padding-block: 18px;
    font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
}
.ribbon-list li { display: inline-flex; align-items: center; gap: .6em; }

/* ---------- Trois métiers ---------- */
.trades { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: none; }
.trade { position: relative; padding-top: 28px; border-top: 4px solid var(--ink); display: flex; flex-direction: column; }
.trade-num { font-family: var(--font-display); font-weight: 700; font-size: 4.2rem; line-height: 1; color: var(--red); margin-bottom: 12px; }
.trade h3 { font-size: 1.9rem; font-weight: 700; margin-bottom: .4em; }
.trade-lead { font-weight: 400; font-size: 1.1rem; color: var(--ink); }
.trade p:not(.trade-lead) { color: var(--muted); }
.trade .link-arrow { margin-top: auto; padding-top: 12px; align-self: flex-start; }

/* ---------- Spécialité joints ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.split-text p:not(.kicker) { color: var(--ink-2); }
.split-text .btn { margin-top: 12px; }
.method { position: relative; display: grid; gap: 0; }
.method li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 32px; }
.method li:not(:last-child)::before {
    content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line);
}
.method-step {
    width: 56px; height: 56px; display: grid; place-items: center;
    background: var(--ink); color: #fff; border-radius: 50%;
    font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
}
.method li:last-child .method-step { background: var(--red); }
.method h3 { margin: 12px 0 .3em; font-size: 1.3rem; }
.method p { color: var(--muted); }

/* ---------- Mosaïque photos ---------- */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(160px, 20vw, 260px); gap: 10px; }
.mosaic-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.mosaic-item:first-child { grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic-item:hover img { transform: scale(1.04); }

.towns li:first-child { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 22px 0; cursor: pointer; list-style: none;
    font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--red); font-size: 1.1rem; transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq summary:hover { color: var(--red); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 72ch; }

/* ---------- Bandeau d'appel final ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(64px, 8vw, 104px); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.cta h2 { color: #fff; max-width: 16ch; }
.cta-text p:not(.kicker) { color: #d4d4d4; max-width: 50ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-phone {
    font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5.6vw, 4.4rem);
    line-height: 1; letter-spacing: .02em; color: #fff; text-decoration: none; white-space: nowrap;
}
.cta-phone:hover { color: #ff8a98; }
.cta-hermine {
    position: absolute; right: 4%; top: -12%; width: 240px; height: 408px;
    color: rgba(255, 255, 255, .05); transform: rotate(-32deg); pointer-events: none;
}

/* ---------- En-tête des pages intérieures ---------- */
.page-head {
    position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px);
    background: var(--stone); border-bottom: 6px solid var(--red);
}
.page-head h1 { max-width: 20ch; }
.page-head p:not(.kicker) { max-width: 64ch; font-size: 1.12rem; color: var(--ink-2); }
.page-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips a {
    display: inline-flex; align-items: center; gap: .5em;
    padding: .5em 1.05em; border: 2px solid var(--ink); border-radius: var(--radius);
    font-family: var(--font-display); font-weight: 500; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase;
    text-decoration: none; background: #fff;
}
.chips a:hover, .chips a[aria-current="page"] { background: var(--ink); color: #fff; }
.chips .count { font-family: var(--font-body); font-size: .8rem; font-weight: 600; background: var(--red); color: #fff; border-radius: 999px; padding: .05em .55em; letter-spacing: 0; }
.chips-filter { margin: 0 0 32px; }

/* ---------- Prestations ---------- */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.service-grid.is-flipped .service-head { order: 2; }
.service-icon {
    display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px;
    background: var(--red); color: #fff; border-radius: var(--radius); font-size: 1.6rem;
}
.service-head p:not(.kicker) { font-size: 1.1rem; color: var(--ink-2); }
.service-body { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.service-sub { font-size: 1.05rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ico { color: var(--red); margin-top: .35em; }
.service-result { margin-top: 24px; padding: 14px 18px; background: var(--red-soft); border-left: 4px solid var(--red); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.timeline li { border-top: 3px solid var(--ink); padding-top: 18px; }
.timeline-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--red); margin-bottom: 12px; }
.timeline h3 { font-size: 1.3rem; }
.timeline p { color: var(--muted); }

/* ---------- Galerie ---------- */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery-item { break-inside: avoid; margin: 0 0 14px; }
.gallery-item a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.gallery-item img { width: 100%; transition: transform .5s; }
.gallery-item a:hover img { transform: scale(1.03); }
.gallery-tag {
    position: absolute; left: 10px; top: 10px; padding: .25em .7em;
    background: var(--ink); color: #fff; border-radius: var(--radius);
    font-family: var(--font-display); font-weight: 500; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
}
.gallery-item figcaption { padding: 8px 2px 0; font-size: .93rem; color: var(--muted); }
.pswp-legende {
    position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
    max-width: min(90vw, 720px); padding: 8px 16px; border-radius: var(--radius);
    background: rgba(0, 0, 0, .7); color: #fff; font-family: var(--font-body); font-size: .95rem; text-align: center;
}

.empty-state {
    max-width: 560px; margin: 0 auto; padding: 48px 28px; text-align: center;
    border: 2px dashed var(--field); border-radius: var(--radius); background: #fff;
}
.empty-state > .ico { font-size: 2.6rem; color: var(--red); margin: 0 auto 16px; }
.empty-state p { color: var(--muted); }
.empty-state .btn { margin-top: 12px; }
.empty { color: var(--muted); }

/* ---------- Formulaires ---------- */
.panel {
    background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--red);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px);
}
.panel > h2 { font-size: 1.9rem; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 400; font-size: .95rem; padding: 0; }
.optional { color: var(--muted); font-size: .85em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
    width: 100%; min-height: 50px; padding: 12px 14px;
    background: #fff; border: 1.5px solid var(--field); border-radius: var(--radius);
    font-weight: 300; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(198, 40, 40, .35); }
::placeholder { color: #767676; opacity: 1; }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
    content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
    transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--ink); }

.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; font-size: 1.9rem; color: #c9c4bd; padding: 2px; line-height: 0; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--red); }
.star-input input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 400; }
.alert .ico { margin-top: .3em; }
.alert a { color: inherit; font-weight: 600; }
.alert-success { background: #e7f4eb; color: #1c5530; border-left: 4px solid #2e7d45; }
.alert-error { background: var(--red-soft); color: #7e0a1a; border-left: 4px solid var(--red); }
.sent { text-align: center; padding: 24px 0; }
.sent > .ico { font-size: 3rem; color: #2e7d45; margin: 0 auto 16px; }
.sent p { color: var(--muted); }

/* ---------- Page contact ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact-card {
    position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px);
    background: var(--ink); color: #fff; border-radius: var(--radius);
}
.contact-hermine { position: absolute; right: -18px; top: -30px; width: 120px; height: 204px; color: rgba(255, 255, 255, .07); transform: rotate(-30deg); }
.contact-card-name { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.1; margin-bottom: 4px; }
.contact-card-name .script { font-size: 1.1em; }
.contact-card-name .red { color: #ff5d70; }
.contact-card-company { color: #cfcfcf; margin-bottom: 24px; }
.contact-card-phone {
    display: inline-block; margin-bottom: 24px;
    font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.6rem); letter-spacing: .02em;
    color: #fff; text-decoration: none; border-bottom: 3px solid var(--red);
}
.contact-card-phone:hover { color: #ff8a98; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ico { color: #ff8a98; margin-top: .35em; }
.contact-list a { color: #fff; }
.contact-card-zone { margin-top: 24px; padding-top: 20px; border-top: 1px solid #333; color: #cfcfcf; font-size: .95rem; }

/* ---------- Mentions légales ---------- */
.legal { display: grid; gap: 0; max-width: 900px; }
.legal-block { padding: 32px 0; border-bottom: 1px solid var(--line); }
.legal-block:first-child { padding-top: 0; }
.legal-block h2 { display: flex; align-items: center; gap: 14px; font-size: 1.6rem; }
.legal-block h2 .ico { color: var(--red); font-size: .85em; }
.legal-list { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 10px 24px; margin: 0; }
.legal-list-spaced { margin-top: 16px; }
.legal-list dt { font-weight: 600; }
.legal-list dd { margin: 0; }
.a-completer { background: #fff1a8; color: #5c4400; padding: 0 .35em; font-style: normal; font-weight: 600; }

/* ---------- 404 ---------- */
.page-404 { text-align: left; }
.big-404 {
    margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 16vw, 11rem); line-height: .9;
    color: transparent; -webkit-text-stroke: 2px var(--red);
}

/* ---------- Pied de page ---------- */
.site-footer { background: #0e0e0e; color: #d2d2d2; padding-top: clamp(56px, 7vw, 88px); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: #fff; line-height: 1.1; }
.footer-logo .red { color: #ff5d70; }
.footer-hermine { width: 22px; height: 38px; color: #fff; transform: rotate(-28deg); flex: none; }
.footer-brand p:not(.footer-logo) { max-width: 40ch; }
.footer-title { font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 18px; }
.footer-list { display: grid; gap: 10px; }
.footer-list a { color: #d2d2d2; text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { color: #ff8a98; margin-top: .35em; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #444; border-radius: 50%; color: #fff; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.credit {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    padding-block: 24px; border-top: 1px solid #2a2a2a;
}
.credit p { margin: 0; }
.credit strong { color: #fff; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding-block: 20px 28px; border-top: 1px solid #2a2a2a; font-size: .88rem; color: #a3a3a3;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom a { color: #a3a3a3; }
.footer-bottom a:hover { color: #fff; }

/* Barre d'appel sur téléphone */
.callbar { display: none; }
@media (max-width: 720px) {
    body { padding-bottom: 64px; }
    .callbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        display: grid; grid-template-columns: 1fr 1fr;
        padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
        box-shadow: 0 -6px 20px -10px rgba(0, 0, 0, .5);
    }
    .callbar a {
        display: flex; align-items: center; justify-content: center; gap: .55em; min-height: 60px;
        color: #fff; text-decoration: none;
        font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase;
    }
    .callbar .callbar-quote { background: var(--red); }
    .admin ~ .callbar { display: none; }
}

/* ---------- Administration ---------- */
.admin-login { display: grid; place-items: center; padding: clamp(40px, 8vw, 96px) var(--gutter); background: var(--stone); min-height: 70vh; }
.login-card { width: 100%; max-width: 440px; text-align: center; }
.login-card .form { text-align: left; margin-top: 20px; }
.login-hermine { width: 30px; height: 51px; margin: 0 auto 16px; transform: rotate(-28deg); }
.login-card h1 { font-size: 2.2rem; }
.login-card > p { color: var(--muted); }
.admin-alerts { display: grid; gap: 0; margin-top: 24px; }
.admin-alerts:empty { display: none; }
.admin-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.admin-block-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.admin-block-head h2 { display: flex; align-items: center; gap: 12px; font-size: 1.7rem; margin: 0; }
.admin-block-head h2 .ico { color: var(--red); font-size: .85em; }
.upload { display: grid; gap: 18px; margin-bottom: 32px; }
.dropzone {
    position: relative; display: grid; justify-items: center; gap: 6px; padding: 32px 20px; text-align: center;
    border: 2px dashed var(--field); border-radius: var(--radius); background: var(--stone); cursor: pointer;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--red); }
.dropzone:focus-within { outline: 3px solid var(--red); outline-offset: 2px; }
.dropzone > .ico { font-size: 2.2rem; color: var(--red); }
.dropzone strong { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.dropzone span { font-size: .9rem; color: var(--muted); max-width: 60ch; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-meta { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
.upload-note { font-size: .88rem; color: var(--muted); margin: 0; }
.upload .btn, .pass-form .btn { justify-self: start; }
.thumbs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.thumbs-bar p { margin: 0; color: var(--muted); }
.thumbs-bar-end { justify-content: flex-end; margin: 16px 0 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.thumb-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.thumb-card.is-unsorted { border: 2px dashed var(--red); }
.thumb { position: relative; aspect-ratio: 4 / 3; background: var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-flag { position: absolute; left: 8px; bottom: 8px; background: var(--red); color: #fff; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: var(--radius); }
.thumb form { position: absolute; top: 8px; right: 8px; }
.thumb-delete { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--red-dark); cursor: pointer; }
.thumb-delete:hover { background: var(--red-dark); color: #fff; }
.thumb-fields { display: grid; gap: 8px; padding: 10px; }
.thumb-fields input, .thumb-fields select { min-height: 40px; padding: 8px 10px; font-size: .9rem; }
.pass-form { max-width: 680px; }

/* ---------- Adaptations ---------- */
@media (max-width: 1060px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: none; }
    .hero-card-wrap { max-width: 520px; width: 100%; margin: 12px auto 0; }
    .trades { grid-template-columns: 1fr; gap: 40px; }
    .trade { display: grid; grid-template-columns: 110px 1fr; column-gap: 24px; }
    .trade > *:not(.trade-num) { grid-column: 2; }
    .trade-num { grid-row: 1 / span 4; }
    .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .split, .zone, .service-grid, .contact-layout, .cta-inner { grid-template-columns: 1fr; }
    .service-grid.is-flipped .service-head { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .mosaic { grid-template-columns: repeat(2, 1fr); }
    .mosaic-item:first-child { grid-row: span 1; grid-column: span 2; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .field-row, .upload-meta { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .trade { display: flex; }
    .trade-num { font-size: 3.2rem; }
    .timeline { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .legal-list { grid-template-columns: 1fr; gap: 2px; }
    .legal-list dd { margin-bottom: 10px; }
    .ribbon-list { justify-content: flex-start; font-size: .95rem; }
    .faq details p { padding-right: 0; }
    .cta-phone { font-size: 2.5rem; }
    .credit { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =================================================================
   JLM — identité reprise du logo
   ================================================================= */
h1, h2 { font-weight: 600; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-weight: 600; letter-spacing: -.01em; }
.btn, .ribbon-list, .chips a, .callbar a, .gallery-tag { letter-spacing: .03em; }
.btn { font-weight: 600; font-size: .95rem; }

/* Logo : JLM, M rouge, triskèle, « décors & aménagements » */
.brand-text { flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-top {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: .9; letter-spacing: .06em;
}
.brand-top .red, .footer-logo .red, .contact-card-name .red { color: var(--red); }
.brand-triskel { width: 26px; height: 26px; color: var(--ink); }
.brand:hover .brand-triskel { transform: rotate(120deg); }
.brand-triskel { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.brand-tagline { font-size: .74rem; font-weight: 400; letter-spacing: .14em; color: var(--muted); line-height: 1; }
.footer-logo { font-weight: 400; font-size: 2.2rem; letter-spacing: .06em; gap: 10px; }
.footer-logo .red { color: #ef6b6b; }
.footer-triskel { width: 30px; height: 30px; color: var(--sage); }
.contact-card-name { font-weight: 400; letter-spacing: .05em; }
.contact-card-name .red { color: #ef6b6b; }
.contact-card-sub { display: block; font-size: .5em; letter-spacing: .14em; color: #cfcfcf; margin-top: 4px; }
.contact-triskel { position: absolute; right: -24px; top: -24px; width: 170px; height: 170px; color: rgba(255, 255, 255, .07); }
.cta-triskel { position: absolute; right: 2%; top: -10%; width: 380px; height: 380px; color: rgba(255, 255, 255, .05); pointer-events: none; }
.login-triskel { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--red); }
@media (max-width: 560px) {
    .brand-top { font-size: 1.6rem; }
    .brand-tagline { font-size: .64rem; letter-spacing: .1em; }
    .brand-triskel { width: 22px; height: 22px; }
}

/* ---------- Hero ---------- */
.hero-jlm { background: linear-gradient(180deg, #fff 0%, var(--stone) 100%); }
.hero-triskel {
    position: absolute; z-index: -1; left: -120px; bottom: -140px; width: 460px; height: 460px;
    color: var(--sage); opacity: .18; pointer-events: none;
}
.hero-jlm .hero-grid { grid-template-columns: 1.15fr .85fr; }
.hero-jlm h1 { max-width: 14em; }
.hero-claim { margin: 0 0 .7em; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 400; color: var(--red); letter-spacing: -.01em; }
.hero-proofs { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-proofs li { display: grid; line-height: 1.2; }
.hero-proofs strong { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.hero-proofs span { font-size: .9rem; color: var(--muted); }
.hero-photo-jlm { position: relative; margin: 0; justify-self: end; width: min(100%, 440px); }
.hero-photo-jlm::before {
    content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
    border: 2px solid var(--red); border-radius: 6px;
}
.hero-photo-jlm img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); }
.hero-photo-tag {
    position: absolute; left: -28px; bottom: 34px; display: inline-flex; align-items: center; gap: .6em;
    padding: .7em 1.1em; background: var(--ink); color: #fff; border-radius: 4px;
    font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6);
}
.hero-photo-tag .ico { color: #ef6b6b; font-size: 1.3em; }

/* ---------- Métiers (4) ---------- */
.trades-4 { grid-template-columns: repeat(2, 1fr); row-gap: clamp(40px, 5vw, 60px); column-gap: clamp(32px, 5vw, 72px); }
.trade { border-top-width: 2px; }
.trade-num { font-weight: 300; font-size: 3.4rem; letter-spacing: -.04em; }
.trade h3 { font-size: 1.55rem; font-weight: 600; }

/* ---------- Pages locales ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.page-head-ville .hero-actions { margin-top: 26px; }
.ville-trades { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ville-trades li {
    display: flex; flex-direction: column; padding: clamp(22px, 3vw, 32px);
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    transition: border-color .25s, transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}
.ville-trades li:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.ville-trades h3 { font-size: 1.25rem; }
.ville-trades p { color: var(--muted); }
.ville-trades .link-arrow { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.ville-trades .service-icon { width: 50px; height: 50px; font-size: 1.3rem; margin-bottom: 16px; }
.ville-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ville-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.ville-photos img:first-child { grid-row: span 2; aspect-ratio: auto; }
.ville-photos .link-arrow { grid-column: 1 / -1; }
.split-text .checklist { margin: 18px 0 0; }
.ville-voisins { margin-top: 48px; }
.ville-voisins-title { font-size: 1.2rem; margin-bottom: 16px; }
.towns a { color: inherit; text-decoration: none; }
.towns li:has(a):hover { border-color: var(--red); color: var(--red); }

/* ---------- Secteur ---------- */
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.zone-card a {
    display: grid; gap: 4px; height: 100%; padding: 20px 22px; text-decoration: none;
    background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: 6px;
    transition: border-color .25s, transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}
.zone-card a:hover { border-left-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.zone-card-home a { border-left-color: var(--red); background: var(--red-soft); }
.zone-card-cp { font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--red); }
.zone-card-name { font-size: 1.15rem; font-weight: 600; }
.zone-card-text { font-size: .92rem; color: var(--muted); }
.zone-note { margin-top: 28px; color: var(--muted); }
.zone-note a { color: var(--red); font-weight: 600; }

/* ---------- Pied de page : 4 colonnes ---------- */
.footer-grid { grid-template-columns: 1.25fr .8fr 1.5fr 1fr; }
.footer-towns { grid-template-columns: 1fr 1fr; column-gap: 18px; font-size: .9rem; }

@media (max-width: 1060px) {
    .hero-jlm .hero-grid { grid-template-columns: 1fr; }
    .hero-photo-jlm { justify-self: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .trades-4, .ville-trades { grid-template-columns: 1fr; }
    .trades-4 .trade { display: flex; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-photo-tag { left: 10px; }
    .hero-photo-jlm::before { inset: 14px -10px -14px 14px; }
}
